/* ==========================================================================
   响应式样式 - 盛创汇世建站
   断点：1200px / 992px / 768px / 576px
   ========================================================================== */

/* ========== 大屏桌面 (≤1200px) ========== */
@media (max-width: 1200px) {
    :root {
        --container-max: 1140px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-header .section-title {
        font-size: 2.2rem;
    }

    .hero-visual {
        height: 450px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 2rem;
    }
}

/* ========== 平板 (≤992px) ========== */
@media (max-width: 992px) {
    :root {
        --space-2xl: 4rem;
        --space-xl: 3rem;
    }

    /* 导航 */
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .header-top .top-info {
        gap: 1rem;
    }

    .header-top .top-info span:nth-child(2) {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        height: 350px;
        order: -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    /* 服务网格 */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid .service-card:nth-child(2),
    .service-grid .service-card:nth-child(3) {
        transform: none;
    }

    /* 错位布局 */
    .offset-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offset-block.reverse {
        direction: ltr;
    }

    /* 统计 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* 资讯网格 */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 资讯列表 */
    .news-list-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    /* 团队 */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 案例 */
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 价格 */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    /* 荣誉 */
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 评价 */
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 相关文章 */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 工艺步骤 */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* 资讯列表项 */
    .news-list-main .news-item {
        grid-template-columns: 200px 1fr;
    }

    /* 页面Banner */
    .page-banner h1 {
        font-size: 2.5rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 2rem;
    }

    /* 时间线 */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        padding-right: 0;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }
}

/* ========== 手机 (≤768px) ========== */
@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
        --space-xl: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* 导航顶部栏 */
    .header-top {
        display: none;
    }

    .navbar .container {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-brand .brand-name {
        font-size: 1.1rem;
    }

    .navbar-brand .brand-slogan {
        font-size: 0.65rem;
    }

    .navbar-brand img {
        height: 34px;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .hero-stat .stat-num {
        font-size: 1.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-img-main {
        width: 80%;
        height: 80%;
    }

    .hero-img-sub {
        width: 55%;
        height: 40%;
    }

    .hero-card-float {
        padding: 0.75rem 1rem;
    }

    .hero-card-float .card-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* 章节标题 */
    .section-header .section-title {
        font-size: 1.75rem;
    }

    .section-header .section-desc {
        font-size: 0.95rem;
    }

    /* 服务网格 */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* 统计 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    /* 资讯网格 */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* 资讯列表项 */
    .news-list-main .news-item {
        grid-template-columns: 1fr;
    }

    .news-list-main .news-item .news-item-img {
        height: 200px;
    }

    /* 团队 */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card .team-img {
        height: 320px;
    }

    /* 案例 */
    .case-grid {
        grid-template-columns: 1fr;
    }

    /* 价格 */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    /* 荣誉 */
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 评价 */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* 相关文章 */
    .related-grid {
        grid-template-columns: 1fr;
    }

    /* 工艺步骤 */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* 页面Banner */
    .page-banner {
        padding: 8rem 0 3rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    /* 表单 */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-content .btn {
        width: 100%;
    }

    /* 文章详情 */
    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .article-share {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* 面包屑 */
    .breadcrumb {
        padding-top: 6rem;
    }

    /* 浮动咨询 */
    .float-consult {
        bottom: 1rem;
        left: 1rem;
    }

    .float-consult .consult-btn {
        width: 42px;
        height: 42px;
    }

    /* 返回顶部 */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}

/* ========== 小手机 (≤576px) ========== */
@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.78rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section-header .section-title {
        font-size: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 1.75rem;
    }

    .pricing-card .plan-price .price-num {
        font-size: 2rem;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.88rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .navbar-brand .brand-text {
        display: none;
    }
}
