/* Huicheng Law Group - Responsive Styles */

@media (max-width: 1100px) {
    h1 {
        font-size: 3.7rem;
    }

    h2 {
        font-size: 2.55rem;
    }

    .nav-links {
        gap: 18px;
    }

    .logo {
        width: 218px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hero-panel {
        max-width: 620px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .container,
    .nav,
    .hero-shell,
    .footer-content,
    .footer-bottom {
        width: min(100% - 32px, 1180px);
    }

    .nav {
        height: 72px;
    }

    .logo {
        width: 198px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        padding: 12px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding-top: 118px;
    }

    .hero::after {
        display: none;
    }

    .two-column,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .credibility-grid,
    .network-grid,
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .credibility-item,
    .credibility-item:first-child {
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .credibility-item:first-child {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 2.05rem;
    }

    .hero-copy,
    .lead,
    .section-intro {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-btn,
    .secondary-link {
        width: 100%;
        text-align: center;
    }

    .secondary-link {
        border: 1px solid rgba(244, 230, 200, 0.32);
        padding: 13px 18px;
    }

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

    .attorney-card {
        grid-template-columns: 1fr;
    }

    .attorney-photo {
        width: 132px;
        height: 132px;
    }

    .lang-switcher {
        display: none;
    }
}

@media print {
    .header,
    .footer,
    .contact-form,
    .cta-btn,
    .secondary-link {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .section,
    .hero {
        padding: 20pt 0;
        background: #fff !important;
        color: #000;
    }

    h1,
    h2,
    h3,
    p {
        color: #000 !important;
    }
}
