/* ================= 首页 index.css — 对齐 UI 截图 ================= */

/* 白底导航 */
.page-home .header--light {
    position: relative;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.page-home .header--light .header-inner {
    height: 88px;
}

.page-home .header--light .logo img {
    height: 48px;
    width: auto;
}

.page-home .header--light .nav {
    gap: 28px;
}

.page-home .header--light .nav li a {
    color: #333;
    font-size: 15px;
    opacity: 1;
    border-bottom: 3px solid transparent;
    padding-bottom: 6px;
}

.page-home .header--light .nav li a:hover {
    color: #1a4a8e;
}

.page-home .header--light .nav li a.active {
    color: #222;
    border-bottom-color: #222;
    font-weight: 500;
}

/* Hero */
.page-home .hero-factory {
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-home .hero-factory .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-home .hero-factory .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.page-home .hero-factory .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-home .hero-factory .hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.page-home .hero-factory .hero-content p {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* 工厂介绍 */
.page-home .factory-intro {
    padding: 90px 0 100px;
    background: #fff url('切图 209@2x.png') no-repeat center center;
    background-size: 85% auto;
}

.page-home .factory-intro-box {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.page-home .factory-intro-text {
    flex: 1;
    max-width: 52%;
}

.page-home .factory-address {
    font-size: 22px;
    font-weight: 500;
    color: #282828;
    line-height: 1.5;
    margin-bottom: 28px;
}

.page-home .factory-desc-main {
    font-size: 16px;
    line-height: 28px;
    color: #444;
    margin-bottom: 0;
}

.page-home .factory-stats-inline {
    display: flex;
    align-items: flex-end;
    margin-top: 48px;
    padding-top: 0;
    border-top: none;
}

.page-home .factory-stat {
    padding: 0 36px;
    text-align: left;
}

.page-home .factory-stat:first-child {
    padding-left: 0;
}

.page-home .factory-stat-top {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.page-home .factory-stat-num {
    font-size: 52px;
    font-weight: 600;
    color: #1a4a8e;
    line-height: 1;
}

.page-home .factory-stat-unit {
    font-size: 16px;
    color: #666;
}

.page-home .factory-stat-label {
    font-size: 14px;
    color: #888;
}

.page-home .factory-stat-sep {
    width: 1px;
    height: 60px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.page-home .factory-intro-img-wrap {
    flex: 0 0 46%;
    max-width: 46%;
    position: relative;
}

.page-home .factory-intro-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.page-home .factory-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    border-radius: 2px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.page-home .factory-slide.active {
    opacity: 1;
    z-index: 1;
}

.page-home .factory-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.page-home .factory-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.page-home .factory-dot.active {
    background: #fff;
    box-shadow: 0 0 0 1px #999;
}

/* 展厅介绍 — 白卡片 + Z 字交替 */
.page-home .exhibition-hall {
    padding: 80px 0 120px;
    background: #f7f8fa;
}

.page-home .exhibition-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.page-home .exhibition-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 偶数行：文左图右 */
.page-home .exhibition-row:nth-child(even) {
    flex-direction: row-reverse;
}

.page-home .exhibition-img {
    flex: 0 0 50%;
    max-width: 50%;
}

.page-home .exhibition-img img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.page-home .exhibition-text {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-home .exhibition-text h4 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-home .exhibition-en {
    font-size: 22px;
    color: #222;
    font-weight: 600;
    margin-left: 6px;
}

.page-home .title-deco {
    display: block;
    width: 28px;
    height: 2px;
    background: #2a4477;
    margin-bottom: 22px;
    position: relative;
}

.page-home .title-deco::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #2a4477;
    border-right: 2px solid #2a4477;
    background: transparent;
    border-radius: 0;
}

.page-home .exhibition-text p {
    font-size: 15px;
    color: #666;
    line-height: 30px;
    margin-bottom: 16px;
}

.page-home .exhibition-text p:last-child {
    margin-bottom: 0;
}

/* 加工流程 — 7×2 圆角玻璃卡片 */
.page-home .process-flow {
    position: relative;
    padding: 100px 0 110px;
    overflow: hidden;
}

.page-home .process-flow-bg {
    position: absolute;
    inset: 0;
    background: url(hsbj.jpg) center/cover no-repeat;
    z-index: 0;
}

.page-home .process-flow-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 18, 38, 0.28) 0%, rgba(0, 12, 28, 0.42) 100%);
}

.page-home .process-flow-inner {
    position: relative;
    z-index: 1;
}

.page-home .process-flow .section-title {
    margin-bottom: 56px;
}

.page-home .process-flow .section-title.white-title h2 {
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 300;
    font-size: 44px;
    letter-spacing: 3px;
}

.page-home .process-flow .section-title.white-title h2::after {
    background: rgba(255, 255, 255, 0.7) !important;
    width: 32px;
    height: 2px;
    bottom: -8px;
}

.page-home .process-flow .section-title.white-title h3 {
    font-size: 36px;
    font-weight: 600;
    margin-top: 8px;
}

.page-home .process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px 14px;
    margin-bottom: 56px;
}

.page-home .process-step {
    display: block;
    padding: 0;
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    perspective: 800px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.page-home .process-step:not(.active) {
    opacity: 0.92;
}

.page-home .process-step:hover:not(.active) {
    opacity: 1;
}

.page-home .process-step.active {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.page-home .process-step-inner {
    display: block;
    position: relative;
    width: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.page-home .process-step:hover .process-step-inner {
    transform: rotateY(180deg);
}

.page-home .process-step-front,
.page-home .process-step-back {
    display: block;
    backface-visibility: hidden;
    border-radius: 12px;
}

.page-home .process-step-front {
    position: relative;
    z-index: 2;
}

.page-home .process-step-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
}

.page-home .process-step-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.page-home .process-desc-block {
    max-width: 100%;
    text-align: left;
}

.page-home .process-desc-title {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 22px;
    line-height: 1.6;
}

.page-home .process-desc-block p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 16px;
}

.page-home .process-desc-block p:last-child {
    margin-bottom: 0;
}

/* 工厂资质 */
.page-home .factory-qual {
    padding: 90px 0 100px;
    background: #fafafa url('切图 209@2x.png') no-repeat center;
    background-size: cover;
}

.page-home .qual-carousel-wrap {
    overflow: hidden;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.page-home .qual-card-item p {
    font-size: 14px;
    color: #666;
}

.page-home .qual-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.page-home .qual-card-item {
    flex: 0 0 25%;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
}

.page-home .qual-card-img {
    background: #fff;
    padding: 18px;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.page-home .qual-card-img img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.page-home .qual-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.page-home .qual-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.page-home .qual-nav-btn.active-style {
    background: #1a4a8e;
    border-color: #1a4a8e;
    color: #fff;
}

.page-home .qual-nav-btn:hover {
    border-color: #1a4a8e;
    color: #1a4a8e;
}

.page-home .qual-nav-btn.active-style:hover {
    background: #153d75;
    color: #fff;
}

/* 检测报告 */
.page-home .testing-report {
    padding: 90px 0 100px;
    background: #fff;
}

.page-home .report-main {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.page-home .report-left {
    flex: 0 0 36%;
    max-width: 420px;
    padding: 28px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.page-home .report-heading {
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 18px;
}

.page-home .report-intro {
    font-size: 15px;
    color: #555;
    line-height: 28px;
    margin-bottom: 32px;
}

.page-home .report-pagination {
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-home .report-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #bbb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.page-home .report-nav-btn.active-style {
    background: #1a4a8e;
    border-color: #1a4a8e;
    color: #fff;
}

.page-home .report-page-num {
    font-size: 16px;
    color: #333;
    min-width: 56px;
    text-align: center;
}

.page-home .report-right {
    flex: 1;
    display: flex;
    gap: 18px;
}

.page-home .report-thumb {
    width: 33%;
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.page-home .report-thumb img {
    width: 99%;
    min-height: 300px;
    object-fit: contain;
    display: block;
    background: #fff;
}

.page-home .report-footer-text p {
    font-size: 15px;
    color: #555;
    line-height: 28px;
    margin-bottom: 14px;
}

/* 响应式 */
@media (max-width: 992px) {
    .page-home .hero-factory { height: 480px; }
    .page-home .hero-factory .hero-content h1 { font-size: 38px; letter-spacing: 4px; }
    .page-home .factory-intro-box { flex-direction: column; }
    .page-home .factory-intro-text,
    .page-home .factory-intro-img-wrap { max-width: 100%; flex: none; width: 100%; }
    .page-home .exhibition-list { gap: 56px; }
    .page-home .exhibition-row,
    .page-home .exhibition-row:nth-child(even) { flex-direction: column; gap: 0; }
    .page-home .exhibition-img,
    .page-home .exhibition-text { max-width: 100%; flex: none; width: 100%; }
    .page-home .exhibition-text { padding: 32px 28px; }
    .page-home .process-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .page-home .qual-card-item { flex: 0 0 50%; }
    .page-home .report-main { flex-direction: column; }
    .page-home .report-left { max-width: 100%; }
    .page-home .report-right { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .page-home .header--light .nav { gap: 12px; flex-wrap: wrap; }
    .page-home .factory-stat-sep { display: none; }
    .page-home .factory-stat { width: 33%; padding: 8px 0; }
    .page-home .process-grid { grid-template-columns: repeat(3, 1fr); }
    .page-home .qual-card-item { flex: 0 0 100%; }
    .page-home .report-thumb { flex: 0 0 100%; }
}
