@media (max-width: 1100px) {
    .nav-menu {
        gap: 18px;
    }

    .nav-cta {
        display: none;
    }

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

    .hero-panel {
        min-height: 320px;
    }

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

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

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

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 78px 0;
    }

    .nav-wrap {
        min-height: 74px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        background: rgba(8, 8, 8, 0.97);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

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

    .nav-menu a {
        font-size: 24px;
    }

    .hero {
        min-height: auto;
        padding: 128px 0 72px;
    }

    .hero-content {
        gap: 34px;
        padding-top: 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .btn {
        width: 100%;
    }

    .power-card {
        top: 24px;
        right: 22px;
        width: 184px;
    }

    .mini-stats {
        left: 22px;
        bottom: 22px;
    }

    .mini-stats div {
        width: 116px;
    }

    .services-grid,
    .reference-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(16, 14, 9, 0.18);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        right: 14px;
        bottom: 14px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 10px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-panel {
        min-height: 360px;
    }

    .power-card {
        left: 18px;
        right: 18px;
        width: auto;
    }

    .mini-stats {
        grid-template-columns: 1fr;
    }

    .mini-stats div {
        width: 126px;
    }

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

    .project-card,
    .project-card img {
        min-height: 330px;
    }

    .contact-form {
        padding: 20px;
    }

    .map-section iframe {
        height: 340px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
