/* ===== 基础 ===== */
:root {
    --primary-color: #3c7dc1;
    --orange-color: #e35e00;
    --color-white:#fff;
    --color-dark: #5c6287;
    --color-blue-light: #c7e2f9;
    --body-text-color: #757F95;
    --box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', sans-serif;
    transition: all 0.3s ease-out 0s;
}
html {
    scroll-behavior: smooth;
}
.navbar {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.85);
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9fafc;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
    margin: 0px;
    font-weight: 600;
    line-height: 1.2;
}
h4 {
    font-size: 22px;
}
table {
    border-collapse: collapse;
    min-width: 100%;
}
table th, table td {
    padding: .25rem;
    color: var(--color-dark);
    border: 1px solid #ececff;
}
/* ===== 按钮 ===== */
.theme-btn{
    display: flex;
    font-size: 16px;
    color: var(--color-white);
    padding: 5px 0;
    transition: all 0.5s;
    position: relative;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    border: none;
    background: var(--primary-color);
    z-index: 1;
    align-items: center;
    justify-content: center;
    animation: breathe 1700ms infinite alternate;
}
.theme-btn::before{
  content: "";
  height: 300px;
  width: 300px;
  background: var(--orange-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) scale(0);
  transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}
.theme-btn:hover::before {
  transform: translateY(-50%) translateX(-50%) scale(1);
}
.theme-btn i{
  margin-left: 8px;
  transform: rotate(-40deg);
  transition: all .3s ease-in-out;
}
.theme-btn:hover i{
  transform: rotate(0deg);
}

.container {
    width: 98%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 2rem 0;
}
.grid-40 {
    display: grid;
    grid-template-columns: 40% repeat(3, 1fr);
    gap: 10px;justify-items: center;
    margin: 2rem 0;
}
.grid-50 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;justify-items: center;
    margin: 2rem 0;
}
.grid-30 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;justify-items: center;
    margin: 2rem 0;
}

/*        @media (min-width: 576px) {
    .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}*/

/* ===== 导航栏 ===== */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;opacity: 0.95;
    z-index: 1030;
}
.navbar .container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.logo{flex:1}
.logo img{
    height: 40px;width: 186px;
}
img.svg:hover{
     filter: brightness(0.7) sepia(0) saturate(8.3) hue-rotate(-180deg);
}
.navbar-toggler {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    cursor: pointer;
    color: #555;
    display: block; 
    transition: background 0.2s;
}
.navbar-toggler:hover {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--color-white)
}
.navbar-collapse {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-top: 1rem;
}
.navbar-collapse.show {
    display: block;
}
.navbar-nav{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    color: #3a4e5a;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-link.activate{
    border-bottom-color: var(--primary-color);
}
.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
/* 语言切换样式 (下拉菜单) */
.lang-switch {
    position: relative;
}
.lang-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e66;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 40px;
    transition: background 0.2s;
}
.lang-btn:hover {
    color: #1a73e8;
    background: #f0f4fa;
}
.lang-icon {
    font-size: 1.2rem;
}
.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}
.lang-dropdown {
    position: absolute;
    top: 37px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    min-width: 150px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1001;
    border: 1px solid #e9edf2;
}
.lang-switch.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-switch.open .dropdown-arrow {
    transform: rotate(180deg);
}
.lang-dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #1f2b48;
    font-size: 0.95rem;
    transition: background 0.15s;
}

.lang-dropdown a:hover {
    background-color: #eef2fc;
    color: #1a73e8;
}

/* 桌面端导航 */
@media (min-width: 768px) {
    .navbar-toggler {
        display: none;
    }
    .navbar-collapse {
        display: flex;
        flex-basis: auto;
        width: auto;
        margin-top: 0;
    }
    .navbar-nav {
        flex-direction: row;
        gap: 1.5rem;
    }
    .nav-link {
        padding: 0.25rem 0;
    }
}

/* ===== 轮播区域 (全宽无留白) ===== */
.carousel-wrapper {
    width: 100%;
    background-color: var(--color-blue-light);
}
.carousel-wrapper h2{
    color: var(--color-white)
}
.carousel {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    height: 100%;
    display: flex;gap:10px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 5rem;
    text-align: center;padding-top: 6rem;
}
.slide-1 { background-image: url(../../img/001.jpg); }
.slide-2 { background-image: url(../../img/002.jpg);}
.slide-3 { background-image: url(../../img/004.jpg);}
.slide-4 { background-image: url(../../img/006.jpg);}
.slide-5 { background-image: url(../../img/003.jpg);}
.slide-04 { background-image: url(../../img/video-wifi/001.jpg); }
.slide-content h2 {
    font-size: 2.8rem;
    font-weight: 600;
}
.slide-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}
.slide-content .theme-btn{
    padding: 0 15px;
}
.slide-content h2,.slide-content p{
    text-shadow: 0 2px 12px rgba(0,0,0,7);
    text-align: left;
}
/* 左右按钮 */
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }
.carousel-control-prev:hover, .carousel-control-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.prev-left:before{margin-left: -3px;font-size: 1.5rem}
.prev-right:before{margin-right: -3px;font-size: 1.5rem}

/* ===== 指示器 (进度条样式：背景轨道 + 前景填充动画) ===== */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.indicator {
    width: 80px;               /* 固定轨道宽度 */
    height: 6px;                /* 高度较小，呈胶囊状 */
    background-color: rgba(255, 255, 255, 0.5); /* 半透明白色背景轨道 */
    border-radius: 10px;        /* 圆角 */
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;            /* 隐藏溢出的填充部分 */
}
/* 前景填充条 */
.indicator::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: none;             /* 动画通过keyframes控制 */
}
/* 激活状态时前景填充动画 */
.indicator.active::after {
    animation: progress-fill 5s linear forwards;  /* 5秒内宽度从0到100% */
}
@keyframes progress-fill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== 产品卡片 ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
}
/*.section-title:after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}*/
.heading-divider {margin: 0 auto;
    position: relative;
    border-bottom: 4px solid var(--primary-color);
    width: 90px;
    height: 4px;
    border-radius: 50px;
}
.heading-divider:after {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    height: 6px;
    width: 15px;
    border-radius: 0px;
    background-color: var(--color-white);
    -webkit-animation: heading-move 5s infinite linear;
    animation: heading-move 5s infinite linear;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}
.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    border: 1px solid #f0f0f0;
}
.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 35px rgba(43,122,120,0.15);
    border-color: var(--primary-color);
}
.product-card img {
    width: 2.5rem
}
.product-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.product-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #163a3a;
}
.product-card p {
    color: #5f6c7a;
}

/*产品图片*/
.service-item {
    position: relative;
    padding: 15px;
    background: var(--color-white);
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-img {
    display: block;
    width: 100%;
    border-radius: 20px;transition: all 0.3s ease-out 0s;
}
.service-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background: var(--primary-color);
    border: 8px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon img {
    width: 30px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease-out 0s;
}
.service-item:hover .service-icon img{
    transform: rotateY(-360deg);
}
.service-title {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-dark);
    font-size: 22px;font-weight: 600;
}
.service-title:hover {
    color: var(--primary-color);
}
.service-item ul{
    color: var(--body-text-color);
    margin-top: 5px;
    margin-bottom: 20px;
    padding-left: 20px;
}
.service-item ul li{
    list-style-type: circle;
}
.service-item h4{
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}
.door-item {
    padding: 15px;
    background: var(--color-white);
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    text-align:center;
    font-size: 1.5rem;
    color:  var(--primary-color);
    font-weight: 600;
}
.door-item:hover{
    background: var(--primary-color);
    color: var(--color-white);
}
/* ===== 公司信息区域 ===== */
.about-area {
    background: var(--color-blue-light);
    border-radius: 40px;
    padding: 2rem;
    margin: 2rem 0;
}
.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}
.about-text {
    flex: 1 1 300px;
}
.about-title{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.about-title img{
    width: 3rem;
}
.about-title h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.about-text p {
    text-indent: 2rem;
    font-size: 1.1rem;
    color: var(--color-dark);
}
.about-features {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.about-pro{
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
.about-pro a{
    background: var(--color-white);
    color: var(--primary-color);
    display: flex;gap: 0.2rem;
    align-items: center;
    flex-direction: column;
    border-radius: 1rem;
    padding: 0.5rem;
    transition: all 0.3s ease-out 0s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.about-pro a:hover{
    color: var(--orange-color);
    box-shadow: 0 8px 18px rgba(59,118,180,0.55);
}
.about-pro a:hover img{
     filter: brightness(0.7) sepia(0) saturate(8.3) hue-rotate(-180deg);
}
.about-pro img{
    width:3rem;
}
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 1rem 1.8rem;
    border-radius: 60px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    transition: 0.2s;
}
.feature-item:hover {
    transform: translateX(8px);
    background: var(--color-white);
    box-shadow: 0 8px 18px rgba(59,118,180,0.55);
}
.feature-item i {
    color: var(--primary-color);
}
.feature-item i:before {
    font-size: 2rem;
}
.feature-item span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-dark);
}
/* ===== 联系方式 ===== */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 1.5rem 0 2.5rem;
}
.contact-block {
    flex: 1;
    background: white;
    padding: 1rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 22px rgba(0,0,0,0.02);
    border: 1px solid var(--primary-color);
    transition: 0.3s;
}
.contact-block i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}
.contact-block h4 {
    color: var(--color-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.contact-block img{
    max-width: 134px;
}
.contact-block:hover {
    background: var(--primary-color);
    color: var(--color-white);
    transform: scale(1.03);
}
.contact-block:hover h4,.contact-block:hover i {
    color: var(--color-white);
}
.contact-block:hover img {
    filter: brightness(2) sepia(0.8) saturate(0) hue-rotate(-180deg);
}
/* ===== 底部 ===== */
.footer {
    background: var(--primary-color);
    color: var(--color-white);
    padding: 1rem 0;
    text-align: center;
    border-radius: 30px 30px 0 0;
}
/* ===== 返回顶部 ===== */
.topcontrol {
    position: fixed; bottom: 60px; right: 20px; cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 22px;
    height: 40px;
    text-align: center;
    transition: all 0.2s ease 0s;
    width: 40px;
    opacity: 0;
    visibility: hidden;
    background: var(--primary-color);
}
.topcontrol:before{content: "⬆"}
.topcontrol.show {opacity: 1;visibility: visible;}
.topcontrol:hover{
    background: var(--orange-color);
}
/*页面内容*/
.video-item {
    border: 1px solid var(--color-white);
    transition: all 0.3s ease 0s;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--color-white);
}
.video-item:hover {
    border: 1px solid var(--primary-color);
}
.video-item:hover img {
    border: 1px solid var(--primary-color);
    transform: scale(1.1);
}
.pro-text-col{
    grid-column-start:2; grid-column-end:4
}
.text-item:hover{
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.pro-item{
    background: var(--color-white);
    border-radius: 20px;
    padding: 20px;
}
.pro-item h4{margin: 10px 0;}
.spec li{
    line-height: 30px;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-dark);
}
/*JS动画二，门禁动画*/
.hero {
    position: relative;
    width: 100%;
    height: 480px;
    background-color: var(--primary-color);
    overflow: hidden;
}
.contents {
    inset: 0;
    width: 100%;
    height: 100%;
}
.content {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    will-change: opacity;
}
.content.active {
    opacity: 1;
}
.bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 0.5s ease;
    will-change: transform;
}
.content.active .bg-layer {
    transform: scale(1);
}
.text-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    padding-right: 10%;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,7);
    z-index: 2;
}
.text-layer h2 {
    color: var(--color-white);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.text-layer p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.button-bar {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 30;
    pointer-events: none;
}
.nav-btn {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    pointer-events: auto;
    white-space: nowrap;
    user-select: none;
}
.nav-btn:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
}
.nav-btn.current {
    background-color: #1e293b;
    color: white;
    border-color: #ffffff;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.3);
}
.door-type-box{
    position: relative;
}
.door-type{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    width: 60px;
    height: 60px;
    border: 6px solid var(--color-white);
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.door-type img{
    width: 60%;
}
.pro-item h3 {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.3rem;
}
/* ========= 画廊（图片浏览器）========= */
.door-card {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    overflow: hidden;
}
/* ===== 左侧画廊 (flex固定比例, 缩略图不再撑开) ===== */
.gallery-area {
    flex: 1;
    background: #f9fbfd;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    min-width: 420px;
}
/* 主图容器 - 固定比例 4:3 */
.main-figure {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: white;
    border-radius: 1.8rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    border: 1px solid #e9ecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

        .main-figure img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            transition: opacity 0.22s ease-in-out;
            opacity: 1;
            border-radius: 0.9rem;
        }
        /* 缩略图区域 - 完全独立，不再影响右侧尺寸 */
        .thumb-strip {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            position: relative;
        }

        /* 滚动容器固定宽度，不参与flex伸缩 (已经是块级) */
        .thumb-scroll {
            flex: 1;
            overflow: hidden;
            border-radius: 1.5rem;
        }

        .thumb-track {
            display: flex;
            gap: 0.8rem;
            transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
            will-change: transform;
            padding: 0.25rem 0 0.5rem 0;
        }

        /* 缩略图卡片 - 统一宽高 */
        .thumb-card {
            flex: 0 0 auto;
            width: 90px;
            height: 80px;
            background: #fff;
            border-radius: 1.2rem;
            border: 2px solid transparent;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
            cursor: pointer;
            transition: border 0.18s, transform 0.1s;
        }

        .thumb-card.active-thumb {
            border-color: var(--primary-color);
            box-shadow: 0 10px 18px -8px var(--primary-color);;
            transform: scale(1.02);
        }

        .thumb-card img {
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
            border-radius: 0.4rem;
            pointer-events: none;
        }

        /* 箭头按钮 */
        .arrow-btn {width: 20px;
    height: 100%;
    border-radius: 7px;
            background: white;
            border: 1px solid #dce2ec;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 300;
            color: #1e293b;
            cursor: pointer;
            flex-shrink: 0;
            transition: 0.15s;
            user-select: none;
            opacity: 0.8;
        }

        .arrow-btn:hover {
            background: #f0f4fe;
            border-color: #8ba2c0;
            opacity: 1;
        }

        .arrow-btn.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
/* ===== 右侧信息区===== */
.door-info {
    flex: 1;
    padding: 1rem;
    border-left: 1px solid #eef2f6;
}
.door-info h3{
    font-size: 1.5rem;
    border-bottom: 1px solid #e3eaf2;
    padding-bottom: 0.5rem;
}
.door-info p {
    text-indent: 2rem;
    color: var(--body-text-color);
    border-bottom: 1px solid #e3eaf2;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.door-info ul{
    color: var(--body-text-color);
    border-bottom: 1px solid #e3eaf2;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.door-info ul li{
    list-style-type: circle;
    line-height: 2rem;
}
.door-info .door-iso{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.2rem 1rem;
    align-items: center;
    justify-items: center;
    padding-top: 0.5rem;
}
.title-box{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}
.title-box h3{
    font-size: 1.5rem;
}
.title-box span{
    flex: 1 1 0%;
    width: 100%;
    background-color: var(--color-dark);
    height: 1px;
}

.car-p {
    text-indent: 2rem;
    color: var(--body-text-color);
    padding-top: 0.5rem;
}
/* ===== CSS动画 ===== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.product-card:nth-child(odd) {
    animation: float 5s infinite;
}
@keyframes heading-move {
    0% {
      transform: translateX(-1px);
    }
    50% {
      transform: translateX(75px);
    }
    100% {
      transform: translateX(-1px);
    }
}
/*蓝色呼吸灯*/
@keyframes breathe {
    0% {box-shadow:0 1px 2px rgba(59,118,180,0.1);}
    100% {box-shadow:0 1px 15px rgba(59,118,180,1);}
}
/* 移动端 */
@media (max-width: 768px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 15px;
        width: 50%;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        padding: 1.2rem 1.5rem;
        margin-top: 8px;
        z-index: 1029;
        border: 1px solid rgba(0,0,0,0.05);
    }
    .navbar-collapse.show {
        display: block;
    }
    .navbar-nav {
        gap: 1.2rem;
    }
    .nav-link {
        font-size: 1.2rem;
        padding: 0.6rem 0;
    }
    .grid-40 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-40 .img-item{
        display: none;
    }
    .grid-40 .pro-text-col{
        grid-column-start:1; grid-column-end:3
    }
    .grid-50 {
        grid-template-columns: repeat(1, 1fr);
    }
    .carousel{
        height:260px;
    }
    .slide-content{
        padding-top: 3rem;
        gap:5px;
    }
    .slide-content h2 {
        font-size: 1.8rem;
        font-weight: 300;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .indicator{width:40px}
    .text-layer h2 { font-size: 2.4rem; }
    .text-layer p { font-size: 1rem; }
    .nav-btn { font-size: 1rem; padding: 8px 18px; }
    .gallery-section {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .gallery-area {
        padding-right: 0;
    }
    .door-info {
        border-left: none;
    }
    .door-info .door-iso{
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-30 {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-row{
        display: block;
    }
    .contact-block{
        margin-bottom: 1rem;
    }
}
@media (max-width: 540px) {
    .grid-40 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-40 .text-item{
        display: none
    }
    .about-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}