@charset "utf-8";
/* ==========================================================================
   style.css —— 首页专属样式
   说明：存放首页各模块样式（banner、关于我们、产品中心、八大系列、
        视频、领袖、社会责任、新闻、浮动广告等）；公共样式在 common.css。
   ========================================================================== */

/* ---------- 主体 ---------- */
.main {
    position: relative;
    background: #fff;
    overflow: hidden;
}

/* ==========================================================================
   1. Banner 大图轮播（满屏高度）
   ========================================================================== */
.banner,
.banner .carousel {
    position: relative;
    overflow: hidden;
    height: 100vh;
}
.banner .carousel-inner,
.banner .carousel-item {
    height: 100vh;
}
.banner .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 轮播切换时的缓慢缩放动画 */
@keyframes scaleUpDown {
    from { transform: scale(1.2); }
    to   { transform: scale(1); }
}
.banner .carousel-inner .carousel-item {
    animation: scaleUpDown 3.2s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 文案区（居中偏左） */
.banner .carousel-caption {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    margin: -54px auto 0;
    text-align: left;
    color: #fff;
    padding: 0 15px;
    z-index: 2;
}
.banner .carousel-caption h1 {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 15px;
}
.banner .carousel-caption p {
    font-size: 18px;
    margin-top: 15px;
}
.banner .carousel-caption .banner-yuan img {
    max-width: 100%;
}

/* 底部左侧：向下滑动 */
.banner .ban-zs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    font-size: 16px;
    line-height: 53px;
    color: #fff;
    background-color: #333333;
    z-index: 2;
}
.banner .ban-zs a { color: #fff; }
.banner .ban-zs a i { margin-right: 8px; font-size: 20px; }

/* 底部右侧：品牌 slogan */
.banner .chun {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    padding: 35px 0 35px 40px;
    font-size: 16px;
    line-height: 32px;
    color: #616161;
    background-color: #fdfbf5;
    z-index: 2;
}
.banner .chun span {
    display: block;
    font-size: 26px;
    font-weight: bold;
    padding-bottom: 20px;
    border-bottom: 2px solid #808080;
}

/* 数字指示器（01/02/03/04） */
.banner .carousel-indicators {
    position: absolute;
    right: 0;
    left: auto;
    bottom: 200px;
    width: 10%;
    margin-right: 5%;
    display: block;
    z-index: 2;
}
.banner .carousel-indicators button {
    position: relative;
    display: block;
    width: 30px;
    height: auto;
    padding: 0;
    margin: 0 0 5px;
    text-indent: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    opacity: 1;
}
.banner .carousel-indicators button.active {
    background: transparent;
}
/* 当前帧数字下方的白色细线，随切换展开（与设计稿 index.css 一致） */
.banner .carousel-indicators button::after {
    position: absolute;
    bottom: 8px;
    left: 25px;
    display: inline-block;
    width: 0%;
    height: 1px;
    content: "";
    background-color: #fff;
    transition: all 0.3s;
}
.banner .carousel-indicators button.active::after {
    position: absolute;
    left: 25px;
    display: inline-block;
    width: 100%;
    height: 1px;
    content: "";
    background-color: #fff;
}

/* ==========================================================================
   2. 关于我们（左侧 HTML 文字 / 右侧视频占位）
   按设计稿 about.jpg 还原：英文大标题 + 细线 + 简介 + 品牌标识 + 三组数据
   ========================================================================== */
.about {
    width: 100%;
    padding: 150px 0 160px;
    background: #fdfbf5;
}
.about-inner {
    padding-right: 0;
}
/* 2.1 英文主标题（字号按设计稿 about.jpg 在 1440 视口下的实际显示尺寸还原） */
.about-en {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
    color: #4a4a4a;
}
.about-line {
    width: 100%;
    height: 1px;
    background: #d8d8d8;
    margin: 16px 0 26px;
}
/* 2.2 公司简介正文 */
.about-desc {
    font-size: 13px;
    line-height: 24px;
    color: #6b6b6b;
    text-align: justify;
}
/* 2.3 春格儿品牌标识 + 了解我们 */
.about-brand {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 22px 0 30px;
}
.about-brand img {
    display: block;
    width: 96px;
    height: auto;
}
.about-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9a7c50;
    font-size: 15px;
    letter-spacing: normal;
}
.about-more i {
    font-size: 15px;
    transition: transform 0.3s;
}
.about-more:hover {
    color: #b3936b;
}
.about-more:hover i {
    transform: translateX(6px);
}
/* 2.4 三组核心数据（数字在 global.js 中做递增计数动画） */
.about-stat {
    display: flex;
}
.stat-item {
    flex: 1;
    padding-left: 24px;
    border-left: 1px solid #d9d9d9;
}
.stat-item:first-child {
    padding-left: 0;
    border-left: none;
}
.stat-num {
    color: #a98a5e;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}
.stat-num em {
    font-size: 13px;
    font-style: normal;
    margin-left: 2px;
}
.stat-item p {
    margin-top: 6px;
    font-size: 12px;
    color: #6b6b6b;
    white-space: nowrap;
}
/* 2.5 右侧视频位：封面图 + 透明点击层；填入视频地址后由脚本接管播放 */
.about-video .video-box {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}
.about-video .video-box img {
    display: block;
    width: 100%;
    transition: transform 0.8s ease;
}
.about-video .video-box:hover img {
    transform: scale(1.02);
}
.video-hit {
    position: absolute;
    inset: 0;
    cursor: default;
}
.video-box:not([data-video=""]) .video-hit {
    cursor: pointer;
}
/* 视频播放弹层（填入视频地址后才会启用） */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
}
.video-modal-inner {
    position: relative;
    width: min(900px, 100%);
}
.video-modal-inner video {
    display: block;
    width: 100%;
}
.video-close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

/* ==========================================================================
   3. 产品中心 / 全球战略（Swiper 背景切换 + 底部栏目 tab，hover 切换背景大图）
   ========================================================================== */
.product {
    position: relative;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
    background-color: #8a734c; /* 兜底背景色，实际背景图由 Swiper 提供 */
}
/* 背景层：Swiper 绝对定位铺满整个模块 */
.product .product-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.product .product-swiper .swiper-wrapper,
.product .product-swiper .swiper-slide {
    height: 100%;
}
.product .product-swiper .swiper-slide {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
/* 前景层：标题 + tab，盖在背景之上 */
.product .product-inner {
    position: relative;
    z-index: 1;
}
.product .product-title {
    padding-top: 50px;
}
.product .product-title .p0 {
    font-weight: bolder;
    font-size: clamp(24px, 2.4vw, 34px);
}
.product .product-title .p0 span {
    display: block;
    font-size: clamp(17px, 1.7vw, 24px);
    font-weight: bold;
}
.product .product-title .p0 span::after {
    content: "";
    display: block;
    margin-top: 10px;
    width: 30px;
    height: 2px;
    background-color: #dedad8;
}
.product .product-title .p1 {
    font-size: clamp(13px, 1.4vw, 20px);
    font-weight: bold;
    line-height: 2;
}
.product .product-box {
    margin-top: 340px;
}
.product .product-box .product-list a {
    /* 字号随视口收缩、单行不换行（4 栏 → 2 栏 → 1 栏） */
    padding: 26px 10px;
    text-align: center;
    font-size: clamp(14px, 1.25vw, 18px);
    white-space: nowrap;
    border-top-left-radius: 10px;
    background: #fff;
    border-bottom: 10px solid #745023;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s;
    color: #2b2b2b;
    cursor: pointer;
}
.product .product-box .product-list a:hover,
.product .product-box .product-list.active a {
    color: #fff;
    background: #b3936b;
}

/* 通用标题（首页多个模块共用）：字号随屏宽连续缩放，767px 约 26px、1000px 起封顶 34px */
.com-title h3 {
    font-size: clamp(22px, 3.4vw, 34px);
    color: #616161;
    font-weight: bold;
}
.com-title h3 span {
    font-size: clamp(15px, 2.4vw, 24px);
    display: block;
}
.com-title h3 a {
    font-size: 20px;
    color: #616161;
}
.com-title h3 a:hover {
    color: #e34f23;
}

/* ==========================================================================
   4. 八大系列
   ========================================================================== */
.cate {
    background: #fdfbf5;
    padding: clamp(70px, 11vw, 160px) 0;
    position: relative;
}
#certify {
    position: relative;
    margin-top: 50px;
}
#certify .swiper-slide {
    width: 1000px;
    height: 563px;
    background: #fff;
}
#certify .swiper-slide .cate-link {
    display: block;
    width: 100%;
    height: 100%;
}
#certify .swiper-slide .cate-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 遮罩：非当前项显示半透明遮罩，当前项隐藏 */
#certify .layer-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    transition: all 0.5s;
    background-color: #3e3e3e;
}
#certify .swiper-slide-active .layer-mask {
    display: none;
}
/* 系列标题：字号与标题条高度都随屏宽等比缩放，窄屏不再用 26px/60px 顶满 */
.cate-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(40px, 4.3vw, 60px);
    text-align: center;
    font-size: clamp(16px, 1.9vw, 26px);
    line-height: clamp(40px, 4.3vw, 60px);
    color: #fff;
    background-color: rgba(62, 62, 62, 0.38);
    transition: all 0.2s ease;
}
#certify .swiper-slide-active:hover .cate-title {
    bottom: 0;
    height: 100%;
    line-height: 400px;
    transition-delay: 0.2s;
}
/* 左右切换按钮（圆形白底，hover 变金色）
   位置按「卡片两侧剩余空间」算，空间不够时兜底贴容器内侧 6px，避免算出负值被裁掉一半 */
#certify .swiper-button-prev,
#certify .swiper-button-next {
    width: 45px;
    height: 45px;
    top: 50%;
    margin-top: -22.5px; /* 高度 45px 的一半，精确垂直居中 */
    color: #a7a7a7;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}
#certify .swiper-button-prev {
    left: max(6px, calc((100% - 1000px) / 2 - 60px));
}
#certify .swiper-button-next {
    right: max(6px, calc((100% - 1000px) / 2 - 60px));
}
#certify .swiper-button-prev::after,
#certify .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}
#certify .swiper-button-prev:hover,
#certify .swiper-button-next:hover {
    background: #b3936b;
    color: #fff;
}

/* ==========================================================================
   5. 展示视频 —— 左侧轮播 + 右侧 HIGHLIGHTS 面板，色块错位咬合
   --------------------------------------------------------------------------
   设计稿（1920 基准）实测：
     · 照片  0..1144 × 7..737，即 1145x731（与模板现有 gu-video1..5.jpg 同尺寸）
     · 金色面板 #b3936c：左起 x=743、顶边 y=186、右/下贴边（743..1920 × 186..831）
     · 照片压在金色面板之上：面板在图片右侧只露 1145..1920，图片下缘以下
       （y>737）再露出 743..1144 这一条 —— 就是设计里的“错位交叉”
     · 面板文字左起 x≈1189（距面板左缘 446）
   ========================================================================== */
.gu {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 824;
    background: #fdfbf5;
}
/* 左侧轮播：宽度 1145/1920、高宽比 1145/731，图片 100% 完整显示（不裁切） */
.gu-media {
    position: absolute;
    left: 0;
    top: 0;
    width: 59.635%;
    aspect-ratio: 1145 / 731;
    z-index: 2;
    overflow: hidden;
    background: #14161a;
}
.gu-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.gu-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.gu-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* 左右切换箭头 */
.gu-swiper .gu-prev,
.gu-swiper .gu-next {
    position: absolute;
    top: 50%;
    width: clamp(30px, 2.292vw, 44px);
    height: clamp(30px, 2.292vw, 44px);
    margin-top: calc(clamp(30px, 2.292vw, 44px) / -2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: clamp(16px, 1.354vw, 26px);
    line-height: clamp(30px, 2.292vw, 44px);
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}
.gu-swiper .gu-prev { left: 0.729vw; }
.gu-swiper .gu-next { right: 0.729vw; }
.gu-swiper .gu-prev:hover,
.gu-swiper .gu-next:hover {
    background: #b3936b;
}
/* 金色面板：左缘 743/1920、顶边 (186-7)/824，贴右贴底，压在照片下层 */
.gu-side {
    position: absolute;
    left: 38.698%;
    right: 0;
    top: 21.723%;
    bottom: 0;
    z-index: 1;
    padding: 0;
    background: #b3936c;
}
/* 面板内文字：按 1920 设计稿换算成 vw，随宽度等比缩放 */
.gu-panel {
    padding: 6.04vw 0 0 23.229vw;
    background: transparent;
}
.gu-en {
    font-size: clamp(21px, 1.771vw, 46px);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.1;
    color: #fff;
}
.gu-en span {
    display: block;
    margin-top: 0.156vw;
    font-size: clamp(13px, 1.094vw, 28px);
    font-weight: 500;
    letter-spacing: normal;
}
.gu-desc {
    max-width: 25.21vw;
    margin: 2.344vw 0 0;
    font-size: clamp(10px, 0.703vw, 17px);
    line-height: max(16px, 1.406vw);
    text-indent: 0;
    color: #fff;
}
.gu-more {
    position: relative;
    display: block;
    width: 24.48vw;
    max-width: 100%;
    margin-top: 7.5vw;
    padding-bottom: 0.26vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
    font-size: clamp(12px, 0.781vw, 20px);
    color: #fff;
}
.gu-slash {
    position: absolute;
    right: 0;
    top: 0;
    font-style: normal;
    color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 992px) and (max-width: 1199px) {
    .gu-desc { max-width: 340px; font-size: 12px; line-height: 20px; }
    .gu-more { width: 330px; max-width: 100%; font-size: 12px; }
}

/* ==========================================================================
   6. 领袖
   ========================================================================== */
.leader {
    padding: 160px 0;
    position: relative;
    background-color: #fdfbf5;
}
.leader-box {
    position: relative;
}
.leader-box img {
    width: 100%;
    display: block;
}

/* ==========================================================================
   7. 领域 / 社会责任
   ========================================================================== */
.lingyu {
    position: relative;
}
.lingyu .com-title h3 {
    color: #fff;
}
.lingyu .lingyu-swiper .lingyu-list {
    position: relative;
    overflow: hidden;
    /* 上下留白随屏宽收放，避免手机端出现大片空白红底 */
    padding: clamp(70px, 10vw, 140px) 0 clamp(150px, 24vw, 340px);
    color: #fff;
    /* 背景图由 HTML 内联 style 从后台栏目大图读取，这里只保留通用铺满方式 */
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.lingyu .lingyu-title {
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: bold;
    padding-bottom: 30px;
}
.lingyu .lingyu-title::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #fff;
    display: block;
    margin-bottom: 20px;
}
.lingyu .lingyu-swiper .lingyu-list p {
    font-size: 14px;
    width: 440px;
    max-width: 100%;
    color: #fff;
}
.lingyu .lingyu-more {
    background: url(../img/chunw.png) no-repeat left center;
    padding-left: 130px;
    line-height: 100px;
    display: block;
    color: #fff;
}
/* 左右切换按钮（图片箭头，hover 变金色边框与底色） */
.lingyu .lingyu-swiper .swiper-button-next,
.lingyu .lingyu-swiper .swiper-button-prev {
    width: 14px;
    height: 26px;
    bottom: 50%;
    top: auto;
    border: 1px solid #fff;
    padding: 20px;
    transition: all 0.3s;
}
.lingyu .lingyu-swiper .swiper-button-next {
    background: url(../img/next.png) no-repeat center;
    right: 12%;
}
.lingyu .lingyu-swiper .swiper-button-prev {
    background: url(../img/prev.png) no-repeat center;
    right: 14.2%;
    left: auto;
}
.lingyu .lingyu-swiper .swiper-button-next::after,
.lingyu .lingyu-swiper .swiper-button-prev::after {
    display: none;
}
.lingyu .lingyu-swiper .swiper-button-next:hover,
.lingyu .lingyu-swiper .swiper-button-prev:hover {
    border-color: #b3936b;
    background-color: rgba(179, 147, 107, 0.35);
}
/* 进度条分页 */
.lingyu .lingyu-swiper .swiper-pagination {
    width: 92%;
    bottom: 20px;
}
.lingyu .lingyu-swiper .swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.3);
}
.lingyu .lingyu-swiper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #b3936b;
}

/* ==========================================================================
   8. 新闻 / 资讯中心
   ========================================================================== */
.news {
    background: #fdfbf5;
    padding: 160px 0 100px;
    position: relative;
}
.news .news-box {
    margin: 30px 0;
}
.news .news-box .news-img img {
    width: 90%;
    /* 后台每条新闻的缩略图尺寸不一（有横图也有超长竖图），锁定设计稿的 593×269 比例并居中裁切，保证三条高度一致 */
    aspect-ratio: 593 / 269;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin-bottom: 20px;
}
.news .news-box .news-list {
    border-bottom: 1px solid #6e6e6e;
    padding-right: 50px;
    background: url(../img/arrow.png) no-repeat right center;
    margin-bottom: 13px;
    min-width: 0;
    flex: 1;
    box-sizing: border-box;
}
.news .news-box .news-list:last-child {
    margin-bottom: 0;
}
.news .news-box .news-list .news-title {
    font-size: 22px;
    line-height: 3.5;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #616161;
    font-weight: bold;
}
.news .news-box .news-list .news-desc {
    /* 内页新闻列表的 .news-desc 在 ≤991 是 display:none，这里显式恢复，首页这一行手机端也要在 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.8;
}
/* 后台没有填「摘要」时，用发布日期补齐这一行，避免版式出现空档 */
.news .news-box .news-list .news-desc:empty::after {
    content: attr(data-date);
    font-size: 14px;
    color: #9a9a9a;
    letter-spacing: normal;
}

/* ==========================================================================
   9. 浮动广告（原来是一张 1920×102 整图做背景，窄屏会被裁掉，改成 HTML 结构）
   ========================================================================== */
.adv {
    background: #b3936c;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: block;
    padding-right: 46px; /* 给右侧关闭按钮留位置，避免压住表单 */
    box-sizing: border-box;
    animation: show 0.5s;
}
.adv-in {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
    width: 100%;
    max-width: 1400px;
    min-height: 102px;
    margin: 0 auto;
    padding: 10px clamp(14px, 4.4vw, 52px);
    box-sizing: border-box;
}
.adv-brand {
    flex: 0 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 1.5vw, 29px);
    line-height: 1.15;
    letter-spacing: normal;
    color: #fff;
    white-space: nowrap;
}
.adv-copy {
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
}
.adv-copy p {
    margin: 0;
}
.adv-line1 {
    font-size: clamp(12.5px, 1.05vw, 17px);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: normal;
}
.adv-line2 {
    margin-top: 4px !important;
    font-size: clamp(11px, 0.82vw, 13px);
    line-height: 1.4;
    letter-spacing: normal;
}
.adv-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 492px;
    min-width: 0;
    margin: 0;
}
.adv-input,
.adv-submit {
    height: 36px;
    padding: 0 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: clamp(12px, 0.78vw, 15px);
    line-height: 36px;
    box-sizing: border-box;
}
.adv-input {
    /* 输入框自身有默认最小宽度，必须显式放开才能跟着容器收缩 */
    flex: 1 1 0;
    min-width: 0;
    max-width: 156px;
    outline: none;
}
.adv-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}
.adv-input:focus {
    background: rgba(255, 255, 255, 0.3);
}
.adv-submit {
    /* 按钮按文字撑开并禁止换行，避免「免费获取产品信息」折成两行 */
    flex: 0 0 auto;
    width: auto;
    padding: 0 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
}
.adv-submit:hover {
    background: rgba(255, 255, 255, 0.34);
}
/* 平板及以下：品牌与文案一行、表单换到第二行 */
@media (max-width: 1199px) {
    .adv-in {
        flex-wrap: wrap;
        row-gap: 10px;
        min-height: 0;
        padding: 12px 14px;
    }
    .adv-brand {
        font-size: 18px;
        letter-spacing: normal;
    }
    .adv-copy {
        flex: 1 1 200px;
    }
    .adv-line1 {
        font-size: 14px;
    }
    .adv-line2 {
        font-size: 12.5px;
    }
    .adv-form {
        flex: 1 1 100%;
        justify-content: flex-end;
    }
    .adv-input {
        flex: 0 1 200px;
        max-width: 200px;
        height: 32px;
        line-height: 32px;
        font-size: 12.5px;
        padding: 0 8px;
    }
    .adv-submit {
        height: 32px;
        line-height: 32px;
        font-size: 12.5px;
        padding: 0 10px;
        box-sizing: border-box;
    }
}
/* 手机：品牌 / 文案 / 表单三行堆叠，文案只留主标题 */
@media (max-width: 560px) {
    .adv {
        padding-right: 42px;
    }
    .adv-in {
        padding: 10px;
        row-gap: 6px;
        gap: 6px;
    }
    .adv-brand {
        flex: 1 1 100%;
        font-size: 14px;
        letter-spacing: normal;
    }
    .adv-copy {
        flex: 1 1 100%;
    }
    .adv-line1 {
        font-size: 12.5px;
        line-height: 1.4;
    }
    .adv-line2 {
        display: none;
    }
    .adv-input {
        flex: 1 1 0;
        max-width: none;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    .adv-submit {
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        padding: 0 8px;
    }
}
@keyframes show {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#btn1,
#btn2 {
    position: fixed;
    z-index: 9999;
    bottom: 30px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    background: #fff;
    border: 0;
    cursor: pointer;
}
#btn2 {
    background: #333333;
    color: #fff;
    display: none;
}
@media (max-width: 991px) {
    #btn1,
    #btn2 {
        bottom: 8px;
        right: 6px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1199px) {
    #certify .swiper-slide {
        width: 700px;
        height: 400px;
    }
    /* 卡片宽度降到 700，箭头位置同步按 700 计算 */
    #certify .swiper-button-prev { left: max(6px, calc((100% - 700px) / 2 - 60px)); }
    #certify .swiper-button-next { right: max(6px, calc((100% - 700px) / 2 - 60px)); }
    .product .product-box {
        margin-top: 200px;
    }
    .about-en { font-size: 26px; }
    .stat-num { font-size: 22px; }
}

@media (max-width: 991px) {
    .banner .carousel-caption h1 { font-size: 34px; }
    .banner .carousel-caption p { font-size: 16px; }
    .banner .chun { width: 45%; }
    .banner .chun span { font-size: 20px; }
    /* 与设计稿一致：中小屏仍保留 01–04 指示器，只按比例收窄 */
    .banner .carousel-indicators { width: 16%; bottom: 140px; margin-right: 3%; }
    .about, .cate, .leader, .news { padding: clamp(60px, 9vw, 100px) 0; }
    .about-inner { padding-right: 0; margin-bottom: 40px; }
    .about-video .video-box { margin-top: 0; }
    .about-brand { margin: 22px 0 26px; }
    #certify .swiper-slide { width: 100%; height: auto; }
    #certify .swiper-button-prev { left: 0; }
    #certify .swiper-button-next { right: 0; }
    .product .product-box { margin-top: 80px; }
    .gu { aspect-ratio: auto; }
    .gu-media { position: relative; width: 100%; }
    .gu-side { position: static; width: 100%; top: auto; }
    .gu-panel { padding: 40px 20px 46px; }
    .gu-en { font-size: 24px; }
    .gu-en span { margin-top: 6px; font-size: 15px; letter-spacing: normal; }
    .gu-desc { max-width: 100%; margin-top: 20px; font-size: 13px; line-height: 24px; }
    .gu-more { width: 100%; max-width: 100%; margin-top: 40px; font-size: 13px; padding-bottom: 8px; }
}

@media (max-width: 767px) {
    .banner .carousel-caption { top: 34%; }
    .banner .carousel-caption h1 { font-size: 26px; }
    .banner .carousel-caption p { font-size: 14px; }
    .banner .chun { width: 100%; padding: 18px 20px; }
    .banner .chun span { font-size: 18px; padding-bottom: 12px; }
    .banner .ban-zs { display: none; }
    .com-title h3 { font-size: 26px; }
    .news .news-box .news-list .news-title { font-size: 18px; }
    .about-en { font-size: 22px; letter-spacing: normal; }
    .about-desc { font-size: 12.5px; line-height: 1.9; }
    .about-brand { gap: 18px; }
    .about-brand img { width: 80px; }
    .stat-item { padding-left: 10px; }
    .stat-num { font-size: 20px; }
    .stat-num em { font-size: 12px; }
    .stat-item p { font-size: 12px; white-space: normal; }
    /* 八大系列箭头：窄屏卡片已铺满，箭头改为 34px 贴内边，避免 45px 大圆压掉太多图 */
    #certify .swiper-button-prev,
    #certify .swiper-button-next { width: 34px; height: 34px; margin-top: -17px; left: 6px; right: auto; }
    #certify .swiper-button-next { right: 6px; left: auto; }
    #certify .swiper-button-prev::after,
    #certify .swiper-button-next::after { font-size: 15px; }
}
