/* ========================================
   robot.css - 智行无界(机器人)页面专用样式
   复用 solution.css 的基础布局,本页仅扩展自定义部分
   ======================================== */

/* ===== Hero 背景 ===== */
.solution-hero--robot {
    background-image: url('../img/bg/hero-zngs.jpg');
    background-size: cover;
    background-position: center;
}

/* ===== 区块描述 ===== */
.robot-sec__desc {
    max-width: 980px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.85;
    color: #5a6b7d;
}

/* ===== 智能露营车：导语 + 双角度产品图 + 能力要点 ===== */
.camp-lead {
    max-width: 920px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
    color: #5a6b7d;
}
.camp-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 28px;
}
.camp-shot {
    position: relative;
    margin: 0;
    height: 440px;
    background: #f4f8fe;
    border: 1px solid #e6eef8;
    overflow: hidden;
}
.camp-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 16px 44px;
    transition: transform 0.4s;
}
.camp-shot:hover img {
    transform: scale(1.05);
}
.camp-shot figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 14px;
    background: rgba(15, 30, 60, 0.65);
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}
.camp-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.camp-points li {
    padding: 22px 20px 20px;
    background: #f4f8fe;
    border: 1px solid #e6eef8;
}
.camp-points strong {
    display: block;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 3px solid #1677ff;
    font-size: 16px;
    line-height: 1.4;
    color: #252525;
}
.camp-points span {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: #5a6b7d;
}

/* ===== 两足机器人：项目介绍 + 多角度图片画廊 ===== */
.robot-intro {
    max-width: 980px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 16px;
    line-height: 1.95;
    color: #5a6b7d;
}
.robot-intro p {
    margin: 0 0 16px;
}
.robot-intro p:last-child {
    margin-bottom: 0;
}

.robot-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
}
/* 两足机器人专用：2 张大图并排，完整显示不裁剪 */
.robot-gallery--biped {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.robot-gallery--biped .robot-gallery__item {
    height: 480px;
    background: #f4f8fe;
}
.robot-gallery--biped .robot-gallery__item img {
    object-fit: contain;
    padding: 20px;
}
.robot-gallery__item {
    position: relative;
    margin: 0;
    height: 280px;
    background: #f4f8fe;
    overflow: hidden;
}
.robot-gallery__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.robot-gallery__item:hover img {
    transform: scale(1.05);
}
.robot-gallery__label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 14px;
    background: rgba(15, 30, 60, 0.65);
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* ===== 智能跟随车：能力/场景卡片 + 图片占位（与软件页同风格） ===== */
.sw-block-title {
    font-size: 24px;
    font-weight: 700;
    color: #252525;
    text-align: center;
    margin: 0 0 28px;
}
.sw-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 52px;
}
.sw-features--4 {
    grid-template-columns: repeat(4, 1fr);
}
.sw-feature {
    padding: 30px 26px;
    background: #ffffff;
    border: 1px solid #e6eef8;
    box-shadow: 0 4px 16px rgba(15, 30, 60, 0.06);
    transition: all 0.3s;
}
.sw-feature:hover {
    background: #E6F4FA;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.14);
}
.sw-feature h4 {
    font-size: 19px;
    font-weight: 700;
    color: #252525;
    margin: 0 0 12px;
    padding-left: 16px;
    border-left: 4px solid #1677ff;
}
.sw-feature p {
    font-size: 14px;
    line-height: 1.8;
    color: #5a6b7d;
    margin: 0;
}

/* 图片占位区：四张并排，用户后续自行放图 */
.sw-shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}
.sw-shot {
    position: relative;
    margin: 0;
    height: 320px;
    background: #f4f8fe;
    overflow: hidden;
}
.sw-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .camp-gallery {
        gap: 16px;
    }
    .camp-shot {
        height: 340px;
    }
    .camp-points {
        grid-template-columns: repeat(2, 1fr);
    }
    .robot-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .robot-gallery__item {
        height: 240px;
    }
    .robot-gallery--biped {
        grid-template-columns: 1fr;
    }
    .robot-gallery--biped .robot-gallery__item {
        height: 360px;
    }
    .sw-features,
    .sw-features--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sw-shots {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .camp-lead {
        font-size: 15px;
        margin-bottom: 24px;
    }
    .camp-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }
    .camp-shot {
        height: 280px;
    }
    .camp-points {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .robot-intro {
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 32px;
    }
    .robot-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .robot-gallery__item {
        height: 220px;
    }
    .robot-gallery--biped {
        gap: 14px;
    }
    .robot-gallery--biped .robot-gallery__item {
        height: 300px;
    }
    .sw-features,
    .sw-features--4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .sw-block-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .sw-shots {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .sw-shot {
        height: 220px;
    }
}
