/* ================= 轮播图样式 ================= */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 10;
    user-select: none;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* ================= 业务咨询三列模块 ================= */
.consult-section {
    width: 100%;
    background-color: #f4f4f4;
    padding: 25px 20px; 
}

.consult-container {
    max-width: 1660px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
}

.consult-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px; 
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.consult-card:hover {
    opacity: 0.95; 
}

.consult-inner {
    width: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.consult-inner img { max-width:100%;}

.consult-inner h3 {
    font-family: "楷体", "KaiTi", "STKaiti", "华文楷体", serif;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.consult-inner p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 1px;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.card-primary { background-color: #1E4C4C; }
.card-primary .consult-inner { background-color: #DCA23E; }

.card-secondary { background-color: #448EB5; }
.card-secondary .consult-inner { background-color: #1E4C4C; }

.card-tertiary { background-color: #1E4C4C; }
.card-tertiary .consult-inner { background-color: #58B038; }

/* ================= 三张整图区块 ================= */
.full-image-section {
    width: 100%;
    line-height: 0; 
}

.full-image-section img {
    width: 100%;
    height: auto; 
    display: block;
}

/* ================= 客户LOGO滚动区 ================= */
.product-slider-section {
    background-color: #ffffff;
    padding: 50px 20px;
}

.product-slider-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 90px;
    transition: opacity 0.3s, transform 0.3s;
}

.slider-arrow svg {
    height: 100%;
    width: auto;
    display: block;
}

.slider-arrow:hover {
    opacity: 0.7;
}

.slider-arrow.prev:hover { transform: translateX(-5px); }
.slider-arrow.next:hover { transform: translateX(5px); }

.product-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.product-track {
    display: flex;
    gap: 12px;
    transition: transform 0.5s ease-in-out;
    justify-content: flex-start;
}

.product-item {
    width: 20%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item img {
    width: 100%;
    max-height: 258px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.product-item:hover img {
    transform: scale(1.05);
}

/* ================= 品牌整图区块 ================= */
.brand-full-image {
    width: 100%;
    line-height: 0;
}

.brand-full-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= 响应式 ================= */
@media screen and (max-width: 1024px) {
    .carousel-btn { width: 36px; height: 36px; font-size: 18px; }
    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }
    .dot { width: 8px; height: 8px; }

    .consult-section { padding: 20px 15px; }
    .consult-card { padding: 15px; }
    .consult-inner { padding: 30px 10px; }
    .consult-inner h3 { font-size: 24px; margin-bottom: 15px; letter-spacing: 1px; }
    .consult-inner p { font-size: 13px; letter-spacing: 0.5px; }

    .product-slider-section { padding: 35px 15px; }
    .product-slider-inner { gap: 15px; }
    .slider-arrow { height: 75px; }
    .product-track { gap: 10px; }
    .product-item { width: 25%; }
    .product-item img { max-height: 180px; }
}

@media screen and (max-width: 768px) {
    .consult-section { padding: 15px 15px; }
    .consult-container { flex-direction: column; gap: 0; }
    .consult-card { padding: 15px; }
    .consult-inner { padding: 30px 20px; }
    .consult-inner h3 { font-size: 28px; margin-bottom: 15px; }
    .consult-inner p { font-size: 14px; }

    .product-slider-section { padding: 25px 10px; }
    .product-slider-inner { gap: 8px; }
    .slider-arrow { height: 58px; }
    .product-track { gap: 8px; }
    .product-item { width: 50%; }
    .product-item img { max-height: 120px; }
}