@media (max-width: 1100px) {
    .service-grid,
    .project-grid,
    .showcase-grid,
    .reference-logo-grid,
    .reference-groups,
    .lighting-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 32px), 720px);
    }

    .main-nav {
        position: fixed;
        inset: 71px 16px auto;
        display: grid;
        gap: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.96);
        color: var(--ink);
        padding: 12px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        backdrop-filter: blur(18px);
    }

    .site-header.nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 14px 10px;
    }

    .menu-toggle {
        display: block;
    }

    .hero-swiper,
    .hero-slide {
        /*min-height: 86vh;*/
    }

    .hero-slide {
        padding: 138px 0 74px;
    }

    .hero-content {
        padding-inline: 2rem;
    }

    .hero-slide-right .hero-content {
        margin-left: 0;
        text-align: left;
    }

    .hero-slide-right .hero-content h1,
    .hero-slide-right .hero-content p {
        margin-left: 0;
    }

    .hero-slide-right .hero-actions {
        justify-content: flex-start;
    }

    .homepage-showcase-band {
        padding: 28px 0 18px;
    }

    .hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 54px;
        max-width: 60%;
        letter-spacing: 0.45rem;
    }

    .hero p,
    .page-hero p {
        font-size: 14px;
    }

    .split-grid,
    .feature-grid,
    .contact-grid,
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .section-light,
    .services-section,
    .project-section,
    .listing-section,
    .references-section {
        padding: 88px 0;
    }

    .section-heading h2,
    .feature-copy h2,
    .cta-inner h2 {
        font-size: 38px;
    }

    .section-heading-with-actions {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .feature-visual {
        min-height: 360px;
    }

    .detail-sidebar {
        position: static;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 24px;
    }

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

    .detail-download-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .detail-download-arrow {
        display: none;
    }

    .showcase-card span {
        background: rgba(0, 0, 0, 0.65);
    }

    .showcase-card-contain {
        min-height: 420px;
    }

    .showcase-card-contain img {
        padding: 24px 24px 88px;
    }

    .lighting-card {
        min-height: 300px;
        padding: 28px 22px 24px;
    }

    .lighting-card strong {
        font-size: 21px;
    }
}

@media (max-width: 640px) {
    .brand {
        width: 156px;
        height: 60px;
    }

    .hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 42px;
        max-width: 100%;
        letter-spacing: 0.18rem;
    }

    .hero p,
    .page-hero p {
        font-size: 13px;
        letter-spacing: 0.06em;
    }

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

    .hero-slide-overlay-left,
    .hero-slide-overlay-right {
        background: linear-gradient(0deg, rgba(0, 0, 0, calc(var(--hero-overlay) * 0.64)), rgba(0, 0, 0, calc(var(--hero-overlay) * 0.18)) 48%, rgba(0, 0, 0, 0) 100%);
    }

    .service-grid,
    .project-grid,
    .showcase-grid,
    .reference-logo-grid,
    .reference-groups,
    .lighting-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .reference-logo-card {
        min-height: 220px;
    }

    .reference-group {
        padding: 24px 20px;
    }

    .reference-group strong {
        margin-bottom: 16px;
        font-size: 17px;
    }

    .reference-group li {
        font-size: 15px;
        line-height: 1.6;
    }

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

    .project-card {
        min-height: 360px;
    }

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

    .showcase-card-contain {
        min-height: 360px;
    }

    .showcase-card-contain img {
        padding: 20px 20px 82px;
    }

    .showcase-card span {
        font-size: 19px;
    }

    .carousel-nav {
        width: 100%;
        justify-content: flex-end;
    }

    .carousel-arrow {
        width: 48px;
        height: 48px;
    }

    .project-meta {
        margin-top: 216px;
    }

    .testimonial-slide p {
        font-size: 28px;
    }

    .contact-info a {
        font-size: 24px;
    }

    .detail-sidebar-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .detail-sidebar-item img {
        width: 72px;
        height: 72px;
    }

    .detail-gallery-grid {
        grid-template-columns: 1fr;
    }

    .detail-gallery-item img {
        height: 260px;
    }

    .detail-hero-actions,
    .detail-download-card {
        width: 100%;
    }

    .detail-download-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .detail-download-icon {
        width: 68px;
        height: 68px;
    }

    .detail-download-copy strong {
        font-size: 18px;
    }

    .lighting-card {
        min-height: auto;
        gap: 14px;
        padding: 26px 20px 22px;
    }

    .lighting-card-icon {
        width: 108px;
        height: 108px;
    }

    .lighting-card-icon svg {
        width: 52px;
        height: 52px;
    }

    .lighting-card-icon img {
        width: 52px;
        height: 52px;
    }

    .lighting-card strong {
        font-size: 19px;
    }

    .lighting-card p {
        font-size: 14px;
    }

    .hero-content {
        padding-inline: 1rem;
    }

    .hero h1,
    .page-hero h1 {
        max-width: 100%;
    }

    .hero p,
    .page-hero p {
        max-width: 100%;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-swiper, .hero-slide {
        min-height: 100vh;
    }

    .hero-slide {
        display: grid;
        grid-template-rows: 80vh 20vh;
        align-items: stretch;
        padding: 0;
    }

    .hero-media,
    .hero-slide-overlay {
        bottom: 20vh;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        grid-row: 2;
        padding: 18px 16px 22px;
        background: var(--black);
        text-align: center;
        color: #7d6d49 !important;
    }

    .hero h1,
    .page-hero h1 {
        display: block;
        margin: 0;
        color: #7d6d49 !important;
        font-size: 22px;
        line-height: 1.2;
        letter-spacing: 0.08rem;
        max-width: 100%;
    }

    .hero p {
        margin: 0;
        color: #7d6d49 !important;
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: 0.04em;
        text-align: center;
    }

    .hero-actions {
        margin-top: 14px;
    }

    .hero-pagination {
        bottom: calc(20vh + 16px) !important;
    }

    .showcase-carousel-wrap {
        margin-top: 28px;
    }

    .homepage-showcase-band {
        padding: 18px 0 10px;
    }

}
