﻿/* ===== 白底红缀·圆润风格 - 合信广告装饰 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-card: #ffffff;
    --orange: #ff6700;
    --orange-dark: #e55c00;
    --orange-light: #fff3e8;
    --text-dark: #333333;
    --text-body: #666666;
    --text-muted: #999999;
    --border-light: #e5e5e5;
    --shadow-card: 0 2px 12px rgba(0,0,0,0.04);
    --shadow-hover: 0 6px 28px rgba(255,103,0,0.10);
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

body {
    font-family: var(--font);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #333333;
    transition: all 0.3s;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--orange);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    padding: 8px 18px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    border-radius: 6px;
    transition: all 0.25s;
    font-weight: 500;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav a.active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 600; }
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    padding: 8px;
}

/* ===== Hero ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #fff8f2 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,103,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.hero .container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-carousel {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.hero-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.hero-carousel-slide {
    flex: 0 0 100%;
    height: 100%;
}
.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.hero-carousel-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: default;
    transition: all 0.3s;
}
.hero-carousel-dots span.active { background: #fff; width: 20px; border-radius: 3px; }
.hero-visual-box { display: none; width: 100%; max-width: 480px; aspect-ratio: 4/3; background: linear-gradient(135deg, #fef0f2, #fce4e8); border-radius: var(--radius-lg); align-items: center; justify-content: center; margin: 0 auto; }
.hero-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #222;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 46px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0;
}
.hero h1 span { color: var(--orange); }
.hero .sub-slogan {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-weight: 400;
}
.hero p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.9;
}
.hero-btns { display: flex; gap: 14px; }
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,103,0,0.25);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,103,0,0.3); }
.btn-outline {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}
.btn-outline:hover { background: #f0f0f0; transform: translateY(-2px); }
.hero-visual { flex: 1; text-align: center; }
.hero-visual-box {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #fef0f2, #fce4e8);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.hero-visual-box::after {
    content: '合信广告装饰';
    font-size: 22px;
    color: var(--orange);
    letter-spacing: 6px;
    opacity: 0.5;
    font-weight: 500;
}

/* ===== 数据条 ===== */
.stats {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { position: relative; padding: 10px 0; }
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border-light);
}
.stat-item h3 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 700;
}
.stat-item p { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ===== 通用 Section ===== */
.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .sub {
    display: inline-block;
    font-size: 12px;
    color: #999;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
    background: #f0f0f0;
    padding: 4px 16px;
    border-radius: 20px;
}
.section-title h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}
.section-title h2 span { color: var(--orange); }
.section-title p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}
.section-gray { background: var(--bg-light); }

/* ===== 服务卡片 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    padding: 36px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #f0f0f0;
}
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--orange);
    background: #f0f0f0;
}
.service-card h3 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== 案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.case-card {
    background: var(--bg-card);
    padding: 28px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f0f0f0; }
.case-card-icon { font-size: 36px; margin-bottom: 12px; }
.case-card h4 { font-size: 14px; color: var(--text-dark); margin-bottom: 4px; font-weight: 600; }
.case-card p { font-size: 13px; color: var(--text-muted); }

/* ===== 客户Logo滚动条（两排） ===== */
.logo-scroll-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-scroll-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border-light);
    height: 180px;
}
.logo-scroll-track {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: 180px;
    grid-auto-flow: column;
    height: 180px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.logo-scroll-item {
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
}
.logo-scroll-item:nth-child(even) { border-bottom: none; }
.logo-scroll-item:last-child { border-bottom: none; }
.logo-scroll-item img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}
.logo-scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
}
.logo-scroll-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ===== 优势 ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.advantage-card {
    background: var(--bg-card);
    padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f0f0f0; }
.advantage-num {
    font-size: 42px;
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 12px;
}
.advantage-card h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}
.advantage-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== 覆盖区域 ===== */
.region-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.region-tag {
    padding: 10px 28px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-body);
    transition: all 0.25s;
    font-weight: 500;
}
.region-tag:hover { border-color: var(--orange); color: var(--orange); background: #f0f0f0; }

/* ===== 关于页 ===== */
.page-banner {
    padding: 130px 0 60px;
    background: linear-gradient(135deg, #fff8f2 0%, #f5f5f5 100%);
    text-align: center;
}
.page-banner h1 {
    font-size: 34px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 10px;
}
.page-banner p { font-size: 15px; color: var(--text-muted); }

.about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.about-text { flex: 1; }
.about-text p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 2;
    margin-bottom: 16px;
}
.about-text ul { margin-bottom: 20px; }
.about-text ul li {
    font-size: 14px;
    color: var(--text-body);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}
.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}
.about-stats { flex: 0 0 260px; }
.about-stat-item {
    padding: 24px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    text-align: center;
    border-left: 4px solid var(--orange);
    transition: all 0.3s;
}
.about-stat-item:hover { background: #f0f0f0; }
.about-stat-item h4 { font-size: 26px; color: var(--orange); font-weight: 700; }
.about-stat-item p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ===== 时间线 ===== */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #f0f0f0;
    border-radius: 2px;
}
.timeline-item {
    padding-left: 56px;
    padding-bottom: 40px;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--orange);
    border-radius: 50%;
    border: 4px solid #f0f0f0;
}
.timeline-year {
    font-size: 14px;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 4px;
}
.timeline-title {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
}
.timeline-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== 服务页详情 ===== */
.service-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-detail-card {
    background: var(--bg-card);
    padding: 40px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
}
.service-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f0f0f0; }
.service-detail-card .service-icon { margin: 0 auto 20px; }
.service-detail-card h3 { font-size: 16px; color: var(--text-dark); font-weight: 600; margin-bottom: 10px; }
.service-detail-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.service-detail-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    color: var(--orange);
    font-weight: 500;
    background: #f0f0f0;
    padding: 4px 14px;
    border-radius: 20px;
}

/* ===== 联系页 ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-info h3 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 28px;
}
.contact-info h3 span { color: var(--orange); }
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-item h4 { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }
.contact-item p { font-size: 15px; color: var(--text-dark); }
.contact-item .phone-lg {
    font-size: 22px;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-form {
    background: var(--bg-light);
    padding: 36px;
    border-radius: var(--radius);
}
.contact-form h3 { font-size: 18px; color: var(--text-dark); font-weight: 700; margin-bottom: 6px; }
.contact-form .form-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.25s;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,103,0,0.08); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group textarea { height: 120px; resize: vertical; }
.form-group select { appearance: auto; }
.btn-red {
    background: var(--orange);
    color: #fff;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.btn-red:hover { background: var(--orange-dark); }

/* ===== 地图 ===== */
.map-wrap { margin-top: 40px; }
.map-box {
    height: 260px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.map-box:hover { border-color: var(--orange); background: #f0f0f0; }
.map-box-icon { font-size: 36px; margin-bottom: 10px; }
.map-box-title { font-size: 15px; color: var(--text-dark); font-weight: 600; margin-bottom: 4px; }
.map-box-addr { font-size: 13px; color: var(--text-muted); }
.map-box-hint { font-size: 12px; color: #bbb; margin-top: 10px; }

/* ===== CTA ===== */
.cta-section {
    padding: 70px 0;
    background: #333333;
    text-align: center;
}
.cta-section h2 {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}
.cta-section p { color: rgba(255,255,255,0.5); margin-bottom: 28px; font-size: 15px; }
.cta-section .btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cta-section .btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.cta-phone {
    font-size: 26px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 18px;
    opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo .logo-icon { background: var(--orange); }
.footer-brand p { font-size: 14px; color: #8a8a9a; line-height: 1.9; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #8a8a9a; transition: color 0.25s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li {
    font-size: 14px;
    color: #8a8a9a;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #5a5a6a;
}
.footer-bottom span:last-child { color: rgba(255,103,0,0.5); }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero p { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-scroll-track { grid-auto-columns: 140px; }
    .logo-scroll-item { width: 140px; height: 90px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .about-content { flex-direction: column; }
    .about-stats { flex: 1; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .contact-wrap { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 72px; left: 0; width: 100%; background: rgba(255,255,255,0.98); flex-direction: column; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
    .nav.open { display: flex; }
    .mobile-toggle { display: block; }
    .nav a { color: #333; padding: 12px 18px; font-size: 16px; }
    .nav a:hover { color: var(--orange); background: #f5f5f5; }
    .nav a.active { color: var(--orange); background: #fff5ee; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero .sub-slogan { font-size: 15px; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .logo-scroll-track { grid-auto-columns: 120px; height: 160px; }
    .logo-scroll-item { width: 120px; height: 80px; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 24px; }
    .service-detail { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .contact-form { padding: 24px; }
}
@media (max-width: 480px) {
    .logo-scroll-viewport { height: 140px; }
    .logo-scroll-track { grid-auto-columns: 100px; height: 140px; }
    .logo-scroll-item { width: 100px; height: 70px; padding: 10px; }
}

/* ===== 首页案例展示（左右两列，前端友好） ===== */
.home-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.home-case-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}
.home-case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.home-case-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.home-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.home-case-img img:hover { transform: scale(1.05); }
.home-case-body {
    padding: 18px 20px;
}
.home-case-body h3 { font-size: 16px; color: var(--text-dark); font-weight: 600; margin-bottom: 6px; }
.home-case-body h3::before { content: ''; display: inline-block; width: 4px; height: 16px; background: var(--orange); border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.home-case-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 992px) {
    .home-cases-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .home-case-img { height: 180px; }
    .home-case-card { flex-direction: column; }
}

/* ===== 最新动态 ===== */
.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: var(--bg-light);
}
.news-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 36px;
}
.news-card-body { padding: 18px; }
.news-card-body h3 {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-body h3 a { color: inherit; }
.news-card-body h3 a:hover { color: var(--orange); }
.news-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.news-card-meta { font-size: 12px; color: #bbb; display: flex; gap: 12px; }
.news-card-meta span { display: flex; align-items: center; gap: 3px; }
.news-card-meta i { font-size: 13px; }

.latest-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}
.latest-empty i { font-size: 36px; margin-bottom: 10px; color: #ddd; }
.latest-loading { grid-column: 1 / -1; }

/* ===== 首页案例展示（左右两列） ===== */
@media (max-width: 992px) {
    .home-cases-grid { grid-template-columns: 1fr; }
    .latest-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .home-case-img { height: 180px; }
    .latest-news-grid { grid-template-columns: 1fr; }
    .news-card-img, .news-card-img-placeholder { height: 200px; }
}


/* ===== 友情链接 ===== */
.footer-links-row {
    text-align: center;
    padding-top: 14px;
    font-size: 13px;
    color: #5a5a6a;
}
.footer-links-row a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
    transition: color 0.3s;
}
.footer-links-row a:hover {
    color: #ff6700;
}
