/* ==========================================================================
   Battery Premium - Custom Styles
   Complements Tailwind CSS (loaded via CDN)
   ==========================================================================

   Color Palette:
   --bp-primary:    #070f40  (deep blue)
   --bp-accent:     #ffbd1e  (yellow)
   --bp-accent-dark: #e6a810
   --bp-bg-light:   #f7f8fc
   --bp-text:       #1a1a2e
   --bp-text-light: #6b7280
   --bp-border:     #e5e7eb

   ========================================================================== */

:root {
    --bp-primary: #070f40;
    --bp-primary-light: #0a1460;
    --bp-accent: #ffbd1e;
    --bp-accent-dark: #e6a810;
    --bp-white: #ffffff;
    --bp-bg-light: #f7f8fc;
    --bp-bg-dark: #050a26;
    --bp-text: #1a1a2e;
    --bp-text-light: #6b7280;
    --bp-border: #e5e7eb;
    --bp-success: #10b981;
    --bp-error: #ef4444;
    --bp-primary-muted: #f7f9fc;
    --bp-primary-subtle: #e8ebf5;
    --bp-accent-muted: #fff8e6;

    /* Semantic z-index scale */
    --z-dropdown: 20;
    --z-sticky: 30;
    --z-overlay: 40;
    --z-modal-backdrop: 50;
    --z-modal: 60;
    --z-modal-vr: 70;
    --z-toast: 80;
    --z-tooltip: 90;

    /* Shadow tokens */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(7, 15, 64, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 8px 24px rgba(255, 189, 30, 0.3);
    --shadow-accent-lg: 0 8px 24px rgba(255, 189, 30, 0.35);

    /* Border-radius tokens */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Base
   ========================================================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', system-ui, sans-serif;
    color: var(--bp-text);
    background: var(--bp-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', 'Barlow', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--bp-accent);
    color: var(--bp-primary);
}

.btn-primary:hover {
    background: var(--bp-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-lg);
}

.btn-secondary {
    background: var(--bp-primary);
    color: var(--bp-white);
}

.btn-secondary:hover {
    background: var(--bp-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--bp-primary);
    color: var(--bp-primary);
}

.btn-outline:hover {
    background: var(--bp-primary);
    color: var(--bp-white);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--bp-white);
}

.btn-outline-light:hover {
    background: var(--bp-white);
    color: var(--bp-primary);
    border-color: var(--bp-white);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-link {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--bp-text);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bp-accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bp-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header scrolled state */
.header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Header logo text */
#site-header .logo-font {
    font-family: 'Poppins', sans-serif;
}

/* Product dropdown */
.product-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bp-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--bp-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
}

.product-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-dropdown .font-heading {
    font-family: 'Poppins', sans-serif;
}

.product-dropdown a:not(.font-heading) {
    font-family: 'Inter', system-ui, sans-serif;
}

/* 下拉面板的上下留白。
   模板里写的是 Tailwind 的 py-8，但 .container-custom 的 padding: 0 24px
   和它优先级相同，而 style.css 在 tailwind.css 之后加载，会把它整个覆盖掉，
   结果面板内容上下都贴住边缘。这里用更具体的选择器把垂直内边距补回来。
   只写上下两向，左右仍是 .container-custom 的 24px 不动。 */
.product-dropdown .container-custom {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Search bar */
.search-wrapper {
    position: relative;
}

/* 展开的输入框悬浮在导航之上，不参与顶栏的 flex 排版：
   1024–1440px 已经没有「把输入框推开」的余量，内联展开会把导航挤成两行、
   顶栏高度跳动（实测 1210/1300/1440 都会），所以改成浮层。 */
.search-expand {
    position: absolute;
    right: 54px;              /* 46px 按钮 + 8px 间距 */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    z-index: var(--z-dropdown);
    transition: width 0.3s ease, opacity 0.3s ease;
}

.search-wrapper:hover .search-expand,
.search-expand:focus-within {
    width: 240px;
    opacity: 1;
}

.search-expand input {
    background: var(--bp-white);
    box-shadow: 0 8px 24px rgba(7, 15, 64, 0.12);
}

/* 搜索按钮：填满品牌黄 + 深蓝图标，做成顶栏里明确的行动入口；
   悬停/键盘聚焦时压深一档并抬起 1px。 */
.header-search-btn {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 14px;
    background: var(--bp-accent);
    color: var(--bp-primary);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(230, 168, 16, 0.4);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.header-search-btn svg {
    width: 22px;
    height: 22px;
}

.header-search-btn:hover,
.header-search-btn:focus-visible {
    background: var(--bp-accent-dark);
    box-shadow: 0 8px 20px rgba(230, 168, 16, 0.5);
    transform: translateY(-1px);
}

.header-search-btn:focus-visible {
    outline: 2px solid var(--bp-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .search-expand,
    .header-search-btn {
        transition-duration: 0.01ms;
    }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.product-card {
    background: var(--bp-white);
    border-radius: 12px;
    padding: 0 0 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bp-bg-light);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card h3 {
    padding: 16px 24px 0;
}

.product-card p {
    padding: 0 24px;
}

.product-card .text-accent-dark {
    padding: 0 24px;
}

/* ==========================================================================
   Badge
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    font-family: 'Sora', 'Barlow', sans-serif;
}

.badge-yellow {
    background: rgba(255, 189, 30, 0.15);
    color: var(--bp-accent-dark);
}

.badge-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--bp-success);
}

.badge-blue {
    background: rgba(7, 15, 64, 0.08);
    color: var(--bp-primary);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-tag {
    display: inline-block;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bp-accent-dark);
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--bp-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--bp-text-light);
    max-width: 640px;
    line-height: 1.6;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 15, 64, 0.85) 0%, rgba(7, 15, 64, 0.6) 50%, rgba(7, 15, 64, 0.3) 100%);
}

/* ==========================================================================
   Marquee (Country list)
   ========================================================================== */

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bp-white), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bp-white), transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-left 60s linear infinite;
}

.marquee-track.reverse {
    animation: marquee-right 60s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.country-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bp-bg-light);
    border: 1px solid var(--bp-border);
    border-radius: 50px;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--bp-primary);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.country-item:hover {
    background: var(--bp-primary);
    color: var(--bp-white);
    border-color: var(--bp-primary);
}

.country-flag {
    width: 28px;
    height: 20px;
    border-radius: 2px;
    object-fit: contain;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Floating Social Bar
   ========================================================================== */

.floating-social {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: var(--z-overlay);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bp-white);
    border: 1px solid var(--bp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    text-decoration: none;
}

.social-icon-btn:hover {
    background: var(--bp-accent);
    border-color: var(--bp-accent);
    transform: translateX(-4px);
    box-shadow: 0 8px 20px rgba(255, 189, 30, 0.3);
}

.social-icon-btn.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-icon-btn.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Product Gallery (Detail page)
   ========================================================================== */

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bp-bg-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bp-border);
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.gallery-main:hover img {
    transform: scale(1.5);
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid var(--bp-border);
    background: var(--bp-bg-light);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--bp-accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.tab-button {
    padding: 16px 32px;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--bp-text-light);
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: var(--bp-primary);
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bp-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button.active::after {
    transform: scaleX(1);
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */

.accordion-item {
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bp-white);
}

.accordion-item.active {
    border-color: var(--bp-accent);
    box-shadow: 0 8px 24px rgba(7, 15, 64, 0.06);
}

.accordion-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--bp-primary);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--bp-accent-dark);
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bp-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    background: var(--bp-accent);
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content-inner {
    padding: 0 24px 20px;
    color: var(--bp-text-light);
    line-height: 1.7;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 16px;
    text-align: left;
}

.stat-icon-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: var(--bp-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 15px;
    color: var(--bp-text-light);
    font-weight: 500;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-card {
    background: var(--bp-white);
    border: 1px solid var(--bp-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(7, 15, 64, 0.08);
    transform: translateY(-4px);
}

.testimonial-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 60px;
    color: var(--bp-bg-light);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ==========================================================================
   Form
   ========================================================================== */

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--bp-border);
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: var(--bp-text);
    background: var(--bp-white);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--bp-accent);
    box-shadow: 0 0 0 3px rgba(255, 189, 30, 0.12);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-label {
    display: block;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--bp-primary);
    margin-bottom: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--bp-accent);
    transform: translateX(4px);
}

/* Footer 顶部 WhatsApp 联系条 */
.footer-whatsapp-bar {
    background: var(--bp-primary-light);
    padding: 28px 0;
    text-align: center;
}

/* 桌面端改为左右分栏：左文案、右按钮 */
@media (min-width: 768px) {
    .footer-whatsapp-bar {
        text-align: left;
    }
}

.footer-whatsapp-title {
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.footer-whatsapp-sub {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.btn-whatsapp {
    background: var(--bp-accent);
    color: var(--bp-primary);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 189, 30, 0.28);
}

.btn-whatsapp:hover {
    background: var(--bp-accent-dark);
    color: var(--bp-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 189, 30, 0.4);
}

/* 顶栏 WhatsApp 按钮：仅桌面端显示（移动端已有悬浮按钮与页脚入口，
   避免挤压汉堡菜单）。
   导航一行的自然宽度是 656px：1024–1199px 放不下「图标 + WhatsApp 文字」，
   会让导航折成两行，所以这段区间只显示圆形图标按钮；
   ≥1200px 空间足够，才显示完整文字。 */
.header-whatsapp {
    display: none;
    font-size: 14px;
    /* 顶栏按钮与页脚 .btn-whatsapp 一致，同为品牌黄 */
    background: var(--bp-accent);
    color: var(--bp-primary);
    box-shadow: 0 4px 14px rgba(230, 168, 16, 0.4);
}

.header-whatsapp:hover {
    background: var(--bp-accent-dark);
    color: var(--bp-primary);
    box-shadow: 0 8px 22px rgba(230, 168, 16, 0.5);
}

@media (min-width: 1024px) {
    .header-whatsapp {
        display: inline-flex;
        width: 41px;
        height: 41px;
        padding: 0;
        gap: 0;
    }

    .header-whatsapp .header-whatsapp-label {
        display: none;
    }
}

@media (min-width: 1200px) {
    .header-whatsapp {
        width: auto;
        height: auto;
        padding: 10px 18px;
        gap: 8px;
    }

    .header-whatsapp .header-whatsapp-label {
        display: inline;
    }
}

/* 首页「关于我们」正文：纯黑色 */
.homepage-about-text {
    color: #000000;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--bp-text-light);
}

.breadcrumb a {
    color: var(--bp-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--bp-primary);
}

.breadcrumb .current {
    color: var(--bp-primary);
    font-weight: 500;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bp-white);
    z-index: var(--z-modal);
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider-accent {
    width: 60px;
    height: 3px;
    background: var(--bp-accent);
    border-radius: 2px;
}

/* Section padding */
.section-padding {
    padding: 140px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 90px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .stat-number {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 70px 0;
    }
}

/* Filter sidebar */
.filter-group {
    border-bottom: 1px solid var(--bp-border);
    padding: 20px 0;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    color: var(--bp-text);
    transition: color 0.3s ease;
}

.filter-checkbox:hover {
    color: var(--bp-primary);
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--bp-accent);
    cursor: pointer;
}

/* Video wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bp-primary);
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--bp-accent-dark);
}

/* Gallery thumbnails for company section */
.gallery-thumb-small {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.gallery-thumb-small.active {
    border-color: var(--bp-accent);
}

.gallery-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video wrapper image */
.video-wrapper .gallery-main-img {
    z-index: 1;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
    border-left: 2px solid var(--bp-border);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bp-accent);
    border: 2px solid var(--bp-white);
    box-shadow: 0 0 0 2px var(--bp-accent);
}

/* ==========================================================================
   Tab Content
   ========================================================================== */
.tab-content.active {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Certification images */
.cert-image {
    width: auto;
    max-width: 100%;
    height: 44px;
    object-fit: contain;
}

.cert-image-sm {
    width: auto;
    max-width: 100%;
    height: 30px;
    object-fit: contain;
}

/* Shipping icons */
.yunshu-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.yunshu-icon:hover {
    opacity: 1;
}

/* Accordion Group */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   Spec Table
   ========================================================================== */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--bp-border);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 16px 24px;
    font-size: 15px;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--bp-primary);
    width: 240px;
    font-family: 'Sora', 'Barlow', sans-serif;
}

.spec-table td:last-child {
    color: var(--bp-text);
}

.spec-table tr:hover {
    background: var(--bp-bg-light);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--bp-border);
    font-size: 15px;
    font-weight: 500;
    color: var(--bp-text);
    background: var(--bp-white);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.pagination-button:hover {
    border-color: var(--bp-primary);
    color: var(--bp-primary);
}

.pagination-button.active {
    background: var(--bp-primary);
    border-color: var(--bp-primary);
    color: var(--bp-white);
}

/* ==========================================================================
   Info Card (Contact page)
   ========================================================================== */
.info-card {
    padding: 32px;
    background: var(--bp-white);
    border: 1px solid var(--bp-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    border-color: var(--bp-accent);
    box-shadow: 0 8px 24px rgba(7, 15, 64, 0.08);
    transform: translateY(-4px);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(7, 15, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--bp-primary);
}

/* ==========================================================================
   Scroll Down Hint
   ========================================================================== */
.scroll-down-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bp-white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ==========================================================================
   Inquiry Modal
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop, 50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bp-white);
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px 0;
}

.modal-header h3 {
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--bp-primary);
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bp-bg-light);
    color: var(--bp-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: var(--bp-primary);
    color: var(--bp-white);
}

.modal-body {
    padding: 20px 32px 32px;
}

.modal-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bp-bg-light);
    border-radius: 10px;
    margin-bottom: 24px;
    border: 1px solid var(--bp-border);
}

.modal-product-info img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--bp-white);
}

.modal-product-info .product-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--bp-primary);
    line-height: 1.3;
}

.modal-product-info .product-label {
    font-size: 12px;
    color: var(--bp-text-light);
}

/* Modal Form */
.modal-form .form-group {
    margin-bottom: 18px;
}

.modal-form .form-group label {
    display: block;
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--bp-primary);
    margin-bottom: 6px;
}

.modal-form .form-group label .required {
    color: var(--bp-error);
    margin-left: 2px;
}

.modal-form .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: var(--bp-text);
    background: var(--bp-white);
    transition: all 0.25s ease;
    outline: none;
}

.modal-form .form-input:focus {
    border-color: var(--bp-accent);
    box-shadow: 0 0 0 3px rgba(255, 189, 30, 0.12);
}

.modal-form .form-input::placeholder {
    color: #b0b7c3;
}

.modal-form textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.modal-form .form-input.error {
    border-color: var(--bp-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.modal-form .field-error {
    font-size: 12px;
    color: var(--bp-error);
    margin-top: 4px;
    display: none;
}

.modal-form .field-error.show {
    display: block;
}

/* Modal Submit Button */
.modal-submit-btn {
    width: 100%;
    padding: 14px 32px;
    background: var(--bp-accent);
    color: var(--bp-primary);
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-submit-btn:hover {
    background: var(--bp-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.modal-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-submit-btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--bp-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.modal-submit-btn.loading .spinner {
    display: inline-block;
}

.modal-submit-btn.loading .btn-text {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Hint */
.modal-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 189, 30, 0.1);
    border-radius: 8px;
    margin-top: 16px;
}

.modal-hint svg {
    width: 18px;
    height: 18px;
    color: var(--bp-accent-dark);
    flex-shrink: 0;
}

.modal-hint span {
    font-size: 13px;
    color: #92400e;
    font-weight: 500;
}

/* Modal Footer */
.modal-footer {
    text-align: center;
    margin-top: 14px;
}

.modal-footer p {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}

/* Modal Success State */
.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.modal-success .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-success .success-icon svg {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.modal-success h4 {
    font-family: 'Sora', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--bp-primary);
    margin-bottom: 8px;
}

.modal-success p {
    font-size: 14px;
    color: var(--bp-text-light);
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
}

/* Hide form when success */
.modal-form.hidden {
    display: none;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

    header,
    footer,
    .floating-social,
    .back-to-top,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    .section-padding {
        padding: 20px 0;
    }
}


/* ================= ABOUT PAGE ================= */


/* Hero 宽度占满屏幕，高度按图片自身比例自适应 */
.about-hero {
    position: relative;
}


.about-hero-bg {
    display: block;
}


.about-hero-bg img {
    display: block;
    width: 100%;
    height: auto;
}



.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(5, 15, 50, .85),
            rgba(5, 15, 50, .35));
}


.hero-play-btn {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .6);

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

}



.about-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--bp-primary);
}


.about-tag.light {
    color: var(--bp-white);
}


.about-company-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* 公司图片三联：左侧大图占 50% 宽并跨两行，右侧上下两张；
   左图高度 = 右侧两图总高度（含间距，两列顶底对齐）
   行高必须用 minmax(0, 1fr)：1fr 等价于 minmax(auto, 1fr)，
   图片的原始宽高比会把行撑得比容器高，导致左图与右列总高度不再相等 */
.about-company-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    height: 620px;
    margin-top: 56px;
}

.about-company-mosaic .about-company-img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    object-fit: cover;
}

.about-company-img--left {
    grid-column: 1;
    grid-row: 1 / span 2;
}

@media (max-width: 768px) {
    .about-company-mosaic {
        height: 460px;
        gap: 12px;
        margin-top: 40px;
    }
}




.figure-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}



.figure-icon {
    width: 50px;
    height: 50px;
    margin: auto;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}



.figure-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.figure-card strong {


    display: block;

    font-size: 28px;

    font-weight: 700;

    color: var(--bp-primary);


}


.figure-card span {

    font-size: 13px;

    color: var(--bp-text-light);

}




.factory-video {

    height: 350px;

    border-radius: 12px;

    overflow: hidden;

    position: relative;

}



.factory-video img {

    width: 100%;
    height: 100%;
    object-fit: cover;

}



.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    padding: 8px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}




.factory-item img {


    width: 100%;

    aspect-ratio: 4/3;

    object-fit: cover;

    border-radius: 10px;


}



.factory-item span {


    display: block;

    text-align: center;

    font-size: 13px;

    margin-top: 8px;

    font-weight: 600;

}

.vr-play-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}



.clients-section {


    background: var(--bp-bg-dark);

    padding: 120px 0;


}



/* ================= CLIENT MARQUEE ================= */


.client-marquee {

    position: relative;

    overflow: hidden;

    width: 100%;

    margin-top: 40px;


}



.client-track {


    display: flex;

    gap: 28px;

    width: max-content;


    animation:
        client-scroll 45s linear infinite;


}



.client-marquee:hover .client-track {


    animation-play-state: paused;


}



.client-item {


    width: 230px;

    height: 300px;

    background: #fff;

    padding: 10px;

    border-radius: 14px;


    flex-shrink: 0;


    box-shadow:
        0 10px 30px rgba(0, 0, 0, .15);


    transition: .3s;


}



.client-item:hover {


    transform:
        translateY(-8px);


}




.client-item img {


    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 10px;


}




@keyframes client-scroll {


    0% {

        transform: translateX(0);

    }


    100% {

        transform: translateX(-50%);

    }


}





/* 两侧白色朦胧遮罩 */


.client-fade {


    position: absolute;

    top: 0;

    bottom: 0;

    width: 160px;

    z-index: 5;

    pointer-events: none;


}



.client-fade.left {


    left: 0;


    background:

        linear-gradient(90deg,
            #061333 0%,
            rgba(6, 19, 51, .8) 35%,
            transparent 100%);


}



.client-fade.right {


    right: 0;


    background:

        linear-gradient(270deg,
            #061333 0%,
            rgba(6, 19, 51, .8) 35%,
            transparent 100%);


}





@media(max-width:768px) {


    .client-item {


        width: 180px;

        height: 240px;


    }



    .client-fade {
        width: 60px;
    }


    .client-track {
        gap: 18px;
        animation-duration: 35s;
    }


}



.cert-images {


    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    margin-top: 40px;

}


.cert-images img {


    width: 100%;

    height: 220px;

    object-fit: contain;

}




.cert-logo-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    font-size: 30px;
    font-weight: 700;
    color: #333;
}



@media(max-width:768px) {
    .cert-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-logo-row {
        gap: 20px;
        font-size: 20px;
        flex-wrap: wrap;
    }


}


/* ==========================================================================
   VR 360° Factory Tour Modal
   ========================================================================== */

/* ---- Modal overlay & container ---- */

.vr-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal-vr);
    display: none;
    align-items: center;
    justify-content: center;
}

.vr-modal.vr-modal--active {
    display: flex;
}

.vr-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
}

.vr-modal__container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bp-white);
    color: #172033;
}

@media (min-width: 1024px) {
    .vr-modal__container {
        width: 92vw;
        max-width: 1400px;
        height: 88vh;
        max-height: 900px;
        border-radius: 14px;
        box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    }

    .vr-modal__close {
        top: 20px;
        right: 20px;
    }

    .vr-modal__nav {
        border-radius: 0 0 14px 14px;
    }
}

/* ---- Close button ---- */

.vr-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: calc(var(--z-modal-vr) + 10);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
}

.vr-modal__close:hover,
.vr-modal__close:focus-visible {
    background: #fff;
    border-color: #94a3b8;
    color: #172033;
}

.vr-modal__close:focus-visible {
    outline: 2px solid #0a1460;
    outline-offset: 2px;
}

/* ---- VR viewer container ---- */

.vr-modal__viewer {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #e9eef5;
}

.vr-modal__viewer .psv-container {
    width: 100% !important;
    height: 100% !important;
}

/* ---- Loading overlay ---- */

.vr-modal__loading {
    position: absolute;
    inset: 0;
    z-index: calc(var(--z-modal-vr) + 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #fff;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vr-modal__loading.vr-loading--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vr-loading__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #0a1460;
    border-radius: 50%;
    animation: vr-spin 0.8s linear infinite;
}

.vr-loading__text {
    font-size: 13px;
    color: #64748b;
    font-family: 'Barlow', system-ui, sans-serif;
    letter-spacing: 0.04em;
}

@keyframes vr-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Scene navigation bar ---- */

.vr-modal__nav {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 11px 16px;
    background: #fff;
    border-top: 1px solid #e6ebf2;
    transition: min-height 0.24s ease, padding 0.24s ease;
}

.vr-modal__nav.vr-scene-nav--collapsed {
    min-height: 42px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.vr-scene-nav--collapsed .vr-scene-nav__track {
    display: none;
}

.vr-scene-nav__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0;
    border: 0;
}

.vr-scene-nav__title {
    color: #66748a;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Barlow', system-ui, sans-serif;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.vr-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #dde5ee;
    border-radius: 6px;
    color: #55637a;
    font-size: 11px;
    font-family: 'Barlow', system-ui, sans-serif;
    cursor: pointer;
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
}

.vr-nav-toggle:hover {
    background: #f5f7fa;
    border-color: #c8d3df;
    color: #172033;
}

.vr-nav-toggle__icon {
    display: inline-block;
    transition: transform 0.24s ease;
}

/* ---- Scene nav track ---- */

.vr-scene-nav__track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vr-scene-nav__track::-webkit-scrollbar {
    display: none;
}

/* ---- Scene nav card ---- */

.vr-nav-card {
    position: relative;
    flex: 0 0 auto;
    width: 186px;
    height: 56px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.vr-nav-card:hover {
    border-color: #b8c5d3;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.vr-nav-card--active {
    border-color: #0a1460;
    box-shadow: 0 0 0 1px #0a1460;
}

.vr-nav-card__thumb {
    position: relative;
    flex: 0 0 84px;
    width: 84px;
    overflow: hidden;
}

.vr-nav-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-nav-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(15, 23, 42, 0.16) 100%);
}

.vr-nav-card__index {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 50%;
    color: #334155;
    font-size: 9px;
    font-weight: 700;
    font-family: 'Barlow', system-ui, sans-serif;
}

.vr-nav-card__label {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 10px;
    background: #fff;
}

.vr-nav-card__name {
    width: 100%;
    overflow: hidden;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Barlow', system-ui, sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.vr-nav-card__caption {
    display: none;
}

.vr-nav-card--active .vr-nav-card__name {
    color: #0a1460;
}

/* ---- PSV toolbar overrides ---- */

.vr-modal__viewer .psv-navbar {
    position: absolute !important;
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    width: auto !important;
    max-width: calc(100% - 32px);
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px !important;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid #e3eaf3 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.vr-modal__viewer .psv-navbar::-webkit-scrollbar {
    display: none;
}

.vr-modal__viewer .psv-navbar .psv-button {
    flex: 0 0 auto;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    color: #48576d !important;
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out !important;
}

.vr-modal__viewer .psv-navbar .psv-button:hover {
    background: #f5f7fa !important;
    border-color: #dbe3ec !important;
    color: #172033 !important;
}

.vr-modal__viewer .psv-navbar .psv-button--active {
    background: #0a1460 !important;
    border-color: #0a1460 !important;
    color: #fff !important;
}

.vr-modal__viewer .psv-caption {
    display: none !important;
}

.vr-modal__viewer .psv-zoom-range {
    width: 82px !important;
    height: 3px !important;
    margin: 0 4px !important;
    background: #e2e8f0 !important;
    border-radius: 2px !important;
}

.vr-modal__viewer .psv-zoom-range-progress {
    background: #0a1460 !important;
}
/* ---- Hotspot markers ---- */

.vr-marker {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    animation: vr-marker-pulse 2s ease-in-out infinite;
}

.vr-marker svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.vr-marker--link::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--marker-color, #16a34a);
    opacity: 0;
    animation: vr-marker-ring 1.8s ease-out infinite;
}

@keyframes vr-marker-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes vr-marker-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.vr-marker:hover {
    animation-play-state: paused;
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

.vr-modal__viewer .psv-tooltip {
    background: #fff !important;
    border: 1px solid #dbe3ec !important;
    border-radius: 7px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
    color: #172033 !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    font-family: 'Barlow', system-ui, sans-serif !important;
}

/* ---- Info popup (inside VR modal) ---- */

.vr-popup {
    position: absolute;
    inset: 0;
    z-index: calc(var(--z-modal-vr) + 3);
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vr-popup.vr-popup--visible {
    display: flex;
    pointer-events: auto;
}

.vr-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    animation: vr-fade-in 0.2s ease-out;
}

.vr-popup__body {
    position: relative;
    width: min(430px, 90%);
    max-width: 430px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
    animation: vr-popup-slide-up 0.24s cubic-bezier(0.2, 0, 0, 1);
}

.vr-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #edf2f7;
}

.vr-popup__title {
    color: #172033;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Barlow', system-ui, sans-serif;
}

.vr-popup__close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #dde5ee;
    border-radius: 6px;
    color: #55637a;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
}

.vr-popup__close:hover {
    background: #f5f7fa;
    border-color: #c8d3df;
    color: #172033;
}

.vr-popup__content {
    color: #46556b;
    font-size: 14px;
    line-height: 1.65;
    font-family: 'Barlow', system-ui, sans-serif;
}

.vr-popup__content h3 {
    margin-bottom: 7px;
    color: #0a1460;
    font-size: 15px;
}

.vr-popup__content p {
    color: #66748a;
}

@keyframes vr-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes vr-popup-slide-up {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ---- Fullscreen mode ---- */

body.vr-fullscreen-active .vr-modal__nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

body.vr-fullscreen-active .vr-modal__viewer .psv-navbar {`n    bottom: 92px;
}

/* ---- Factory video trigger hover effect ---- */

#factory-vr-trigger {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#factory-vr-trigger:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

#factory-vr-trigger:hover .video-play {
    background: var(--bp-accent);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 768px) {
    .vr-modal__nav {
        min-height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 10px;
    }

    .vr-modal__nav.vr-scene-nav--collapsed {
        min-height: 36px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .vr-scene-nav__header {
        flex: 0 0 100%;
        justify-content: space-between;
        height: 26px;
    }

    .vr-scene-nav__track {
        flex: 0 0 100%;
        height: 52px;
    }

    .vr-nav-card {
        width: 150px;
        height: 52px;
    }

    .vr-nav-card__thumb {
        flex-basis: 70px;
        width: 70px;
    }

    .vr-nav-card__name {
        font-size: 11px;
    }
}

/* Phone portrait */
@media (max-width: 480px) {
    .vr-scene-nav__header {
        height: 24px;
    }

    .vr-scene-nav__track {
        height: 48px;
    }

    .vr-nav-card {
        width: 132px;
        height: 48px;
    }

    .vr-nav-card__thumb {
        flex-basis: 62px;
        width: 62px;
    }

    .vr-nav-card__index {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .vr-nav-card__name {
        font-size: 10px;
    }

    .vr-popup__body {
        padding: 20px;
        width: 92%;
    }

    .vr-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .vr-modal__viewer .psv-navbar {
        left: 10px !important;
        bottom: 10px !important;
        max-width: calc(100% - 20px);
        padding: 4px !important;
    }
}

/* Phone landscape */
@media (max-height: 480px) and (orientation: landscape) {
    .vr-modal__nav {
        min-height: 58px;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 7px 8px;
    }

    .vr-modal__nav.vr-scene-nav--collapsed {
        min-height: 32px;
    }

    .vr-scene-nav__header {
        flex: 0 0 auto;
        height: 28px;
    }

    .vr-scene-nav__track {
        flex: 1 1 auto;
        height: 44px;
    }

    .vr-nav-card {
        width: 140px;
        height: 44px;
    }

    .vr-nav-card__thumb {
        flex-basis: 68px;
        width: 68px;
    }
}
/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-redesign {
    background: var(--bp-white);
}

/* ---- Hero ----
   高度不再固定：图片层与文字层叠在同一网格格子，
   整块高度取「图片高度」与「文字高度」的较大者 */

.contact-hero {
    display: grid;
    position: relative;
    overflow: hidden;
}

.contact-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--bp-accent);
    margin-bottom: 16px;
    font-family: 'Sora', 'Barlow', sans-serif;
}

.contact-heading {
    font-size: 42px;
    font-weight: 800;
    color: var(--bp-white);
    line-height: 1.15;
    margin: 0 0 18px;
    font-family: 'Sora', 'Barlow', sans-serif;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 28px;
}

/* ---- Form + Info grid ---- */

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.contact-form-card {
    background: var(--bp-white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-info-card {
    background: var(--bp-white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    align-self: start;
}

/* 「Información de Contacto」标题上方的客服插图（kefu_ds.png） */
.contact-info-icon {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    margin: 0 auto 20px;
}

/* ---- Form fields ---- */

.inquiry-form label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin: 20px 0 8px;
    color: var(--bp-primary);
    font-family: 'Sora', 'Barlow', sans-serif;
}

.inquiry-form label:first-of-type {
    margin-top: 0;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    height: 48px;
    background: var(--bp-white);
    border: 1px solid var(--bp-border);
    padding: 0 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--bp-text);
    font-family: 'Barlow', sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: var(--bp-accent);
    box-shadow: 0 0 0 3px rgba(255, 189, 30, 0.12);
}

.inquiry-form textarea {
    height: 120px;
    padding-top: 14px;
    resize: vertical;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    font-size: 13px;
    color: var(--bp-text-light);
}

.form-bottom .btn {
    padding: 14px 36px;
    font-size: 15px;
}

/* ---- Contact info items ---- */

.contact-item {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    font-size: 14px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bp-primary-muted);
    border-radius: var(--radius-md);
}

.contact-item span img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.contact-item b {
    color: var(--bp-primary);
    display: block;
    margin-bottom: 2px;
    font-family: 'Sora', 'Barlow', sans-serif;
}

.contact-item p {
    margin: 0;
    color: var(--bp-text-light);
    line-height: 1.6;
}

/* ---- Trust row ---- */

.trust-row small {
    font-weight: 400;
    color: var(--bp-text-light);
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

/* ---- Custom banner ---- */

.custom-banner h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Sora', 'Barlow', sans-serif;
}

.custom-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-heading {
        font-size: 32px;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 28px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .form-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .form-bottom .btn {
        width: 100%;
    }
}
