/**
 * 首页样式 v2 —— 明亮简洁内容型
 * 品牌色：深蓝 #2374B9 / 主蓝 #3E9BDF / 金色仅用于导航下划线
 * 原则：白底大留白、扁平卡片（细边框无阴影）、真实摄影图
 */

.idx { overflow-x: hidden; }

/* ============ 宽屏容器 ============ */
.idx .w1200 {
    width: auto;
    max-width: 1840px;
    margin: 0 auto;
    padding-left: 44px;
    padding-right: 44px;
    box-sizing: border-box;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .idx .w1200 { padding-left: 28px; padding-right: 28px; }
}

/* ============ Hero 轮播（满幅实景·深色影调） ============ */
.hero-wrap { background: #fff; }
.hero {
    padding: 104px 0 118px;
    color: #fff;
    position: relative;
}
/* 轮播图为满幅实景照片，左侧无任何渐变遮挡；文字用白色+投影保证可读 */
.hero .w1200 { position: relative; z-index: 1; }
.hs1 { background: #10233A url(/assets/index/images/hero/hero-pc-1-v2.jpg) center/cover no-repeat; }
.hs2 { background: #10233A url(/assets/index/images/hero/hero-pc-2-v2.jpg) center/cover no-repeat; }
.hs3 { background: #10233A url(/assets/index/images/hero/hero-pc-3-v2.jpg) center/cover no-repeat; }

.hero-eyebrow {
    font-size: 15px; letter-spacing: 2px; color: #F5C542;
    font-weight: 700; margin-bottom: 16px;
    text-shadow: 0 1px 8px rgba(0, 15, 35, .6);
}
.hero h1 {
    font-size: 44px; line-height: 1.28; font-weight: 700;
    color: #fff; margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(0, 15, 35, .6);
}
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0, 15, 35, .55); }
.hero-btns { margin-bottom: 34px; }
.hb {
    display: inline-block; padding: 13px 36px; border-radius: 4px;
    font-size: 16px; font-weight: 600; margin-right: 14px;
    border: 1px solid transparent;
    transition: all .22s; text-decoration: none;
}
.hb.gold { background: #3E9BDF; color: #fff; }
.hb.gold:hover { background: #2374B9; color: #fff; text-decoration: none; }
.hb.ghost { border-color: rgba(35, 116, 185, .45); color: #2374B9; }
.hb.ghost:hover { background: #2374B9; color: #fff; border-color: #2374B9; text-decoration: none; }
/* 轮播图上的幽灵按钮：白色描边配深色照片 */
.hero .hb.ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.hero .hb.ghost:hover { background: rgba(255, 255, 255, .95); color: #10355C; border-color: #fff; text-decoration: none; }
.hb.wa { background: #25D366; color: #fff; }
.hb.wa:hover { background: #1fbf5b; color: #fff; text-decoration: none; }

.hero-pagination {
    position: absolute; bottom: 22px; left: 0; right: 0;
    text-align: center; z-index: 5;
}
.hero-pagination .swiper-pagination-bullet {
    width: 9px; height: 9px; border-radius: 5px;
    background: #b9c7d4; opacity: 1;
    margin: 0 5px !important; transition: all .25s;
}
.hero-pagination .swiper-pagination-bullet-active {
    width: 26px; background: #3E9BDF;
}

/* 文字入场动画 */
.hero .hero-eyebrow, .hero h1, .hero .hero-sub, .hero .hero-btns {
    opacity: 0; transform: translateY(22px);
}
.swiper-slide-active .hero-eyebrow { animation: heroIn .55s .12s forwards; }
.swiper-slide-active h1 { animation: heroIn .55s .3s forwards; }
.swiper-slide-active .hero-sub { animation: heroIn .55s .48s forwards; }
.swiper-slide-active .hero-btns { animation: heroIn .55s .66s forwards; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* 骑跨搜索条：轮播与服务卡片之间居中 */
.hero-searchbar {
    position: relative; z-index: 3;
    margin-top: 0;
    padding: 34px 0 0;  /* 与 .svc 顶部留白对称 */
}
.hero-searchbar .w1200 { display: flex; justify-content: center; }
.hero-search {
    display: flex; align-items: center; width: 100%; max-width: 940px;
    background: #fff; border-radius: 10px; padding: 6px 6px 6px 18px;
    border: 1px solid #e6ecf2;
}
.hero-search svg { width: 20px; height: 20px; color: #8aa0b5; flex: 0 0 auto; }
.hero-search input {
    flex: 1; border: 0; outline: 0; padding: 10px 12px; font-size: 15px; color: #2374B9;
}
.hero-search button {
    border: 0; background: #3E9BDF; color: #fff; font-size: 15px;
    padding: 12px 30px; border-radius: 7px; cursor: pointer;
}
.hero-search button:hover { background: #2374B9; }

/* ============ 通用 Section ============ */
.sec { padding: 68px 0; }
.idx .prod, .idx .flow-sec { background: #f7f9fb; }
.sec-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 36px;
}
.sec-head h2 {
    font-size: 26px; color: #2374B9; font-weight: 700; line-height: 1.3; margin: 0;
}
.sec-head em {
    display: block; font-style: normal; font-size: 12px;
    letter-spacing: 3px; color: #9aa9b8; margin-top: 6px; font-weight: 400;
}
.sec-more { font-size: 14px; color: #3E9BDF; white-space: nowrap; padding-bottom: 4px; }
.sec-more:hover { color: #2374B9; text-decoration: none; }

/* ============ 服务优势（去卡片化） ============ */
.svc { padding: 10px 0 58px; background: #fff !important; }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.svc-card { text-align: left; }
.svc-card svg { width: 34px; height: 34px; color: #3E9BDF; margin-bottom: 12px; }
.svc-card h3 { font-size: 16px; color: #2374B9; margin-bottom: 8px; font-weight: 700; }
.svc-card p { font-size: 13px; color: #7c8ea0; line-height: 1.75; margin: 0; }

/* ============ 产品中心 ============ */
.prod-tabs { margin-bottom: 26px; }
.prod-tabs a {
    display: inline-block; padding: 6px 2px; margin: 0 22px 8px 0;
    font-size: 15px; color: #63788c; position: relative;
    transition: color .2s;
}
.prod-tabs a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
    background: #3E9BDF; transform: scaleX(0); transition: transform .25s;
}
.prod-tabs a:hover { color: #2374B9; text-decoration: none; }
.prod-tabs a:hover::after { transform: scaleX(1); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    border: 1px solid #e6ecf2; display: block; text-decoration: none;
    transition: border-color .22s, transform .22s;
}
.prod-card:hover {
    border-color: #3E9BDF; transform: translateY(-3px); text-decoration: none;
}
.prod-card .img { display: block; overflow: hidden; background: #fff; }
.prod-card .img img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
    transition: transform .35s;
}
.prod-card:hover .img img { transform: scale(1.04); }
.prod-card .name {
    display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
    font-size: 15px; color: #2374B9; font-weight: 600; padding: 14px 14px 4px;
}
.prod-card .std { display: block; font-size: 12px; color: #93a5b5; padding: 0 14px 14px; }

/* ============ 我们的advantages（白底极简四栏） ============ */
.adv { background: #fff !important; border-top: 1px solid #eef2f6; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.adv-card { border-top: 2px solid #3E9BDF; padding-top: 20px; }
.adv-card .num {
    font-size: 14px; font-weight: 700; color: #3E9BDF;
    letter-spacing: 2px; display: block; margin-bottom: 12px;
}
.adv-card h3 { font-size: 17px; color: #2374B9; margin-bottom: 10px; font-weight: 700; }
.adv-card p { font-size: 13.5px; color: #6b7f92; line-height: 1.9; margin: 0; }

/* ============ 关于我们（白底左图右文） ============ */
.about-band { background: #f7f9fb !important; padding: 72px 0; }
.about-flex { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.ab-img img { width: 100%; display: block; border-radius: 10px; }
.ab-txt .sec-head h2 { color: #2374B9; }
.ab-txt .sec-head em { color: #9aa9b8; }
.ab-p { color: #52687e; font-size: 15px; line-height: 2; max-width: 780px; margin: 0 0 14px; }
.ab-stats { margin: 18px 0 28px; }
.ab-stats span {
    display: inline-block; margin-right: 26px;
    color: #2374B9; font-size: 15px; font-weight: 600;
}
.ab-stats b { color: #3E9BDF; font-size: 22px; margin-right: 6px; font-weight: 800; }
.about-band .hero-btns { margin-bottom: 0; }

/* ============ 服务对象 ============ */
.serve-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.serve-card {
    background: #fff; border: 1px solid #e6ecf2; border-radius: 8px;
    overflow: hidden; transition: border-color .22s;
}
.serve-card .img { display: block; overflow: hidden; }
.serve-card .img img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
    transition: transform .4s;
}
.serve-card:hover { border-color: #3E9BDF; }
.serve-card:hover .img img { transform: scale(1.06); }
.serve-card h3 { font-size: 14px; color: #2374B9; margin: 0; padding: 12px 10px 14px; font-weight: 600; text-align: center; }

/* ============ 报价流程 ============ */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.flow-grid li {
    background: #fff; border: 1px solid #e6ecf2; border-radius: 8px; overflow: hidden;
    transition: border-color .22s;
}
.flow-grid li:hover { border-color: #3E9BDF; }
.flow-grid li .img { display: block; position: relative; overflow: hidden; }
.flow-grid li .img img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
    transition: transform .4s;
}
.flow-grid li:hover .img img { transform: scale(1.05); }
.flow-grid li .step {
    position: absolute; top: 10px; left: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: #3E9BDF; color: #fff; font-size: 15px; font-weight: 700;
}
.flow-grid li h3 { font-size: 15px; color: #2374B9; font-weight: 700; margin: 14px 16px 5px; }
.flow-grid li p { font-size: 13px; color: #8296a8; margin: 0 16px 16px; line-height: 1.7; }

/* ============ 工程案例 ============ */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-card {
    display: flex; background: #fff; border-radius: 8px; overflow: hidden;
    border: 1px solid #e6ecf2; text-decoration: none;
    transition: border-color .22s;
}
.case-card:hover { border-color: #3E9BDF; text-decoration: none; }
.case-card .img { flex: 0 0 240px; overflow: hidden; }
.case-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.case-card:hover .img img { transform: scale(1.04); }
.case-card .txt { padding: 22px 20px; display: flex; flex-direction: column; }
.case-card .txt b { font-size: 12px; color: #3E9BDF; letter-spacing: 1px; margin-bottom: 8px; font-weight: 700; }
.case-card .txt h3 {
    font-size: 16px; color: #2374B9; font-weight: 700; line-height: 1.5; margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-card .txt p {
    font-size: 13px; color: #7c8ea0; line-height: 1.8; margin: 0 0 12px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-card .txt i { font-style: normal; font-size: 13px; color: #3E9BDF; font-weight: 600; }

/* ============ CTA（浅底扁平） ============ */
.cta-band { background: #fff; border-top: 1px solid #eef2f6; border-bottom: 1px solid #eef2f6; padding: 42px 0; }
.cta-band .w1200 { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-txt h3 { color: #2374B9; font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.cta-txt p { color: #6b7f92; font-size: 14px; margin: 0; }
.cta-btns .hb { margin: 0 0 0 14px; }

/* ============ 大屏 ≥1600px ============ */
@media screen and (min-width: 1600px) {
    .hero { padding: 128px 0 140px; }
    .hero h1 { font-size: 50px; }
    .hero-sub { font-size: 19px; }
    .hero-search { max-width: 940px; }
    .sec { padding: 88px 0; }
    .svc { padding-bottom: 64px; }
    .sec-head { margin-bottom: 42px; }
    .sec-head h2 { font-size: 30px; }
    .svc-grid { gap: 32px; }
    .prod-grid { gap: 24px; }
    .adv-grid { gap: 44px; }
    .serve-grid { gap: 20px; }
    .case-grid { gap: 24px; }
    .case-card .img { flex: 0 0 320px; }
    .case-card .txt { padding: 28px 26px; }
}

/* ============ 平板 ≤1024px ============ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .idx .w1200 { padding-left: 28px; padding-right: 28px; }
}

/* ============ 手机 ≤768px ============ */
@media screen and (max-width: 768px) {
    .idx .w1200 { padding-left: 16px; padding-right: 16px; }
    .hero { padding: 46px 0 52px; }
    /* 移动端切换竖版实景轮播图：上方暗调虚化区域承载白色文字，主体居中偏下 */
    .hs1 { background-image: url(/assets/index/images/hero/hero-m-1-v2.jpg); }
    .hs2 { background-image: url(/assets/index/images/hero/hero-m-2-v2.jpg); }
    .hs3 { background-image: url(/assets/index/images/hero/hero-m-3-v2.jpg); }
    .hs1, .hs2, .hs3 { background-position: center; }
    .hero-eyebrow { font-size: 13px; }
    .hero h1 { font-size: 27px; }
    .hero-sub { font-size: 14px; margin-bottom: 24px; }
    .hb { padding: 11px 24px; font-size: 15px; margin-right: 10px; }

    .sec { padding: 46px 0; }
    .sec-head { margin-bottom: 24px; }
    .sec-head h2 { font-size: 21px; }

    .svc { padding: 6px 0 42px; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
    .svc-card svg { width: 28px; height: 28px; }
    .svc-card h3 { font-size: 14px; }
    .svc-card p { font-size: 12px; }

    .prod-tabs a { font-size: 14px; margin-right: 18px; }
    .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .prod-card .name { font-size: 13px; padding: 10px 10px 4px; }
    .prod-card .std { font-size: 11px; padding: 0 10px 10px; }

    .adv { padding-top: 46px; }
    .adv-grid { grid-template-columns: 1fr; gap: 22px; }

    .about-band { padding: 46px 0; }
    .about-flex { grid-template-columns: 1fr; gap: 26px; }
    .ab-p { font-size: 14px; }
    .ab-stats span { margin-right: 16px; font-size: 14px; }
    .ab-stats b { font-size: 18px; }

    .serve-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .serve-card h3 { font-size: 13px; padding: 10px 8px 12px; }

    .flow-grid { grid-template-columns: 1fr; gap: 12px; }
    .flow-grid li h3 { margin: 12px 14px 4px; }
    .flow-grid li p { margin: 0 14px 14px; }

    .case-card { flex-direction: column; }
    .case-card .img { flex: none; height: 175px; }

    .cta-band .w1200 { flex-direction: column; text-align: center; }
    .cta-txt h3 { font-size: 19px; }
    .cta-btns .hb { margin: 8px 6px 0; }
}
