@media (max-width: 1180px) {
    .service-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sector-pills {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .why-item {
        border-left: 0;
        border: 1px solid rgba(11, 46, 94, 0.12);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.74);
        padding: 24px 20px;
    }
}

@media (max-width: 1100px) {
    .yaco-navbar {
        height: 74px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-panel {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;
        background: #ffffff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 20px 38px rgba(8, 31, 63, 0.12);
    }

    .nav-panel.is-open {
        display: flex;
    }

    .main-menu,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-menu a,
    .client-access,
    .nav-actions .btn-yaco {
        width: 100%;
        justify-content: center;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 52px 0;
    }

    .hero-copy h1 {
        font-size: 2.45rem;
    }

    .hero-visual {
        min-height: 300px;
    }

    .camera-module {
        right: 40px;
        width: 220px;
        height: 160px;
    }

    .service-grid,
    .sector-card-grid,
    .project-grid,
    .detail-grid,
    .contact-layout,
    .split-section {
        grid-template-columns: 1fr;
    }

    .method-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 34px;
    }

    .method-timeline::before {
        display: none;
    }

    .final-cta-inner {
        grid-template-columns: 1fr;
        padding: 28px 0;
        text-align: center;
    }

    .cta-icon {
        display: none;
    }

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

@media (max-width: 760px) {
    .container,
    .narrow-container {
        width: min(100% - 28px, var(--container));
    }

    .brand-copy strong {
        font-size: 1.25rem;
    }

    .brand-copy small {
        font-size: 0.55rem;
    }

    .brand-mark {
        width: 38px;
        height: 34px;
    }

    .hero-section,
    .hero-inner {
        min-height: auto;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 2rem;
    }

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

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

    .hero-visual {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

    .section-heading h2 {
        font-size: 1.65rem;
    }

    .service-grid-home,
    .why-grid,
    .sector-pills,
    .method-timeline {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 168px;
    }

    .service-grid-home .service-card p {
        display: block;
    }

    .sector-pill {
        justify-content: flex-start;
    }

    .method-timeline {
        padding-left: 18px;
        gap: 18px;
    }

    .method-step {
        display: grid;
        grid-template-columns: 42px 56px 1fr;
        column-gap: 12px;
        align-items: center;
        text-align: left;
    }

    .method-step::before {
        content: "";
        position: absolute;
        left: 16px;
        top: 38px;
        bottom: -20px;
        border-left: 1px dashed rgba(11, 46, 94, 0.35);
    }

    .method-step:last-child::before {
        display: none;
    }

    .method-number,
    .method-icon {
        margin: 0;
    }

    .method-icon {
        height: auto;
    }

    .method-step h3 {
        margin-top: 0;
    }

    .method-step p {
        grid-column: 3;
    }

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

    .service-detail-head {
        grid-template-columns: 1fr;
        min-height: 320px;
        padding: 36px 0;
    }

    .detail-icon {
        display: none;
    }

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

    .footer-bottom-inner {
        display: grid;
        justify-items: start;
        padding: 16px 0;
    }
}

@media (max-width: 520px) {
    .yaco-navbar {
        width: min(100% - 24px, 1280px);
    }

    .brand {
        gap: 8px;
    }

    .compact-hero .container {
        min-height: 230px;
    }

    .page-hero p,
    .hero-copy p {
        font-size: 0.96rem;
    }

    .highlight-panel,
    .about-panel,
    .detail-panel,
    .contact-card,
    .form-card,
    .project-card,
    .sector-card {
        padding: 22px;
    }

    .yaco-table th,
    .yaco-table td {
        padding: 12px;
        white-space: nowrap;
    }
}
