/* --------------------------------------------------
 * 四川鼎富贸易有限公司 - 响应式规则
 * -------------------------------------------------- */

/* <= 1200px */
@media (max-width: 1200px) {
    :root {
        --spacing-xl: 5rem;
    }

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

    .navbar {
        height: 80px;
    }
}

/* <= 992px */
@media (max-width: 992px) {
    :root {
        --spacing-lg: 3rem;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
        padding-bottom: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item > a {
        justify-content: space-between;
        padding: 0.75rem 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        background: rgba(4, 31, 22, 0.12);
    }

    .dropdown-menu a {
        color: var(--color-text-light);
        padding-left: 0;
    }

    main { padding-top: 80px; }
}

/* <= 768px */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-xl: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panels {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .flow-map .flow-steps {
        flex-direction: column;
    }

    .honeycomb-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .hex-card {
        width: 180px;
    }

    .stats-row,
    .process-steps,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .ai-panel {
        right: 16px;
        width: calc(100% - 32px);
    }
}

/* <= 576px */
@media (max-width: 576px) {
    :root {
        --font-size-base: 15px;
    }

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

    .section {
        padding: 3rem 0;
    }

    .page-hero {
        padding: var(--spacing-md);
    }

    .ai-assistant-floating button {
        width: 56px;
        height: 56px;
    }
}
