@media (max-width: 1180px) {
    .desktop-nav,
    .header-contact {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(0, 0, 0, .66);
        opacity: 0;
        pointer-events: none;
        transition: opacity .28s ease;
        backdrop-filter: blur(8px);
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav {
        position: fixed;
        inset: 0 0 0 auto;
        display: grid;
        grid-template-rows: auto 1fr auto auto;
        gap: 18px;
        width: min(410px, 90vw);
        height: 100dvh;
        padding: 22px;
        border-left: 1px solid rgba(242, 211, 138, .22);
        background:
            linear-gradient(155deg, rgba(7, 7, 8, .98), rgba(25, 20, 12, .96)),
            linear-gradient(90deg, transparent, rgba(214, 168, 76, .12));
        box-shadow: -24px 0 80px rgba(0, 0, 0, .42);
        transform: translateX(105%);
        pointer-events: none;
        transition: transform .34s cubic-bezier(.22, 1, .36, 1);
        backdrop-filter: blur(18px);
    }

    .mobile-nav.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .mobile-nav-close {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 8px;
        color: #ffffff;
        background: rgba(255, 255, 255, .07);
    }

    .mobile-nav-links {
        display: grid;
        align-content: start;
        gap: 10px;
        padding-top: 6px;
    }

    .mobile-nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        padding: 14px 15px;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 8px;
        color: rgba(255, 255, 255, .86);
        background: rgba(255, 255, 255, .055);
        font-weight: 800;
        transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
    }

    .mobile-nav-links a:hover,
    .mobile-nav-links a.active {
        color: #111111;
        border-color: rgba(242, 211, 138, .82);
        background: linear-gradient(135deg, #f2d38a, #d6a84c);
        transform: translateX(-4px);
    }

    .mobile-lang {
        width: 100%;
        min-height: 48px;
    }

    .mobile-phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 48px;
        border: 1px solid rgba(242, 211, 138, .28);
        border-radius: 8px;
        color: #f2d38a;
        background: rgba(255, 255, 255, .055);
        font-weight: 900;
    }

    .feature-grid,
    .portfolio-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .container,
    .hero-content,
    .hero-stats,
    .page-hero-content,
    .header-inner,
    .top-header-inner,
    .footer-bottom {
        width: min(100% - 34px, 1180px);
    }

    .header-inner {
        min-height: 66px;
        padding: 0 12px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
    }

    .logo-copy strong {
        font-size: 1.05rem;
    }

    .logo-copy small {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 166px 0 28px;
    }

    .hero-content,
    .split-layout,
    .process-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-self: stretch;
        width: 100%;
        min-height: 270px;
    }

    .hero-stats,
    .portfolio-grid,
    .service-grid,
    .service-detail-grid,
    .trade-grid,
    .responsibility-grid,
    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 56svh;
        padding: 174px 0 64px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container,
    .hero-content,
    .hero-stats,
    .page-hero-content,
    .header-inner,
    .top-header-inner,
    .footer-bottom {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        padding: 0 0 10px;
    }

    .top-header-inner {
        justify-content: center;
    }

    .top-header-inner > span {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .language-pill {
        min-width: 42px;
        height: 42px;
    }

    .hero-media {
        opacity: .72;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(3, 3, 4, .95), rgba(3, 3, 4, .72)),
            linear-gradient(180deg, transparent 42%, rgba(6, 6, 6, .96) 100%);
    }

    h1 {
        font-size: clamp(2.45rem, 14vw, 3.6rem);
    }

    h2 {
        font-size: clamp(1.85rem, 10vw, 2.8rem);
    }

    .hero-actions {
        display: grid;
    }

    .hero-stats div,
    .feature-card,
    .service-card,
    .service-detail,
    .process-item,
    .trade-card,
    .responsibility-card,
    .contact-cards article,
    .contact-form {
        padding: 22px;
    }

    .process-item {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        min-height: 280px;
    }

    .footer-bottom {
        display: grid;
    }

    .floating-mail {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}
