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

    .header-search {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(3,1fr);
    }

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

    .footer-grid>div:nth-child(3) {
        display: none;
    }
}

@media (max-width:980px) {
    .topbar__social {
        display: none;
    }

    .site-header__inner {
        height: 76px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 17px;
        right: 17px;
        top: 76px;
        background: #fff;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 100px);
        overflow: auto;
    }

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

    .main-nav>a,.nav-dropdown>button {
        padding: 12px 10px;
        width: 100%;
        text-align: left;
    }

    .main-nav>a::after,.nav-dropdown>button::after {
        display: none;
    }

    .nav-dropdown__menu {
        position: static;
        width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: var(--warm);
        display: none;
        margin: 0 10px 8px;
    }

    .nav-dropdown.is-open .nav-dropdown__menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown__menu {
        transform: none;
    }

    .header-search {
        display: flex;
        border: 1px solid var(--border);
        margin: 8px 10px;
        padding: 8px;
    }

    .header-search input {
        flex: 1;
        width: auto;
    }

    .nav-order {
        text-align: center !important;
        margin-top: 8px;
    }

    .home-hero__grid,.story-home__grid,.about-intro,.product-detail__grid,.product-information,.story-hero__grid,.contact-layout {
        grid-template-columns: 1fr;
    }

    .home-hero__visual {
        order: -1;
    }

    .home-hero__visual {
        max-width: 620px;
        margin: auto;
    }

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

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

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

    .service-grid article:nth-child(2) {
        border-right: 0;
    }

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

    .article-layout {
        grid-template-columns: 1fr;
    }

    .story-sidebar {
        position: static;
        max-width: 480px;
    }

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

    .footer-grid>div:first-child {
        grid-column: 1/-1;
    }

    .footer-grid>div:nth-child(3) {
        display: flex;
    }
}

@media (max-width:680px) {
    .topbar__inner {
        justify-content: center;
        gap: 10px;
    }

    .topbar__inner>span {
        display: none;
    }

    .announcement {
        font-size: 10px;
    }

    .section {
        padding: 66px 0;
    }

    .home-hero {
        padding: 42px 0 55px;
    }

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

    .home-hero__content>p {
        font-size: 16px;
    }

    .hero-badge {
        left: 0;
        bottom: 5px;
    }

    .showcase-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px;
    }

    .showcase-card img {
        width: 80%;
        margin: 20px auto -15px;
    }

    .section-heading--split,.contact-cta__inner,.footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid,.product-grid--catalog,.commitment-grid,.service-grid,.value-grid,.process-grid,.mission-grid,.footer-grid {
        grid-template-columns: 1fr;
    }

    .service-grid article {
        border-right: 0;
        border-bottom: 1px solid #dacdaf;
        padding-bottom: 17px;
    }

    .service-grid article:last-child {
        border: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .gallery-item--1 {
        grid-column: span 2;
    }

    .gallery-item--4 {
        grid-column: span 2;
    }

    .about-stamp {
        right: 6px;
        bottom: -30px;
        width: 115px;
        height: 115px;
    }

    .story-teaser {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .product-information h2,.story-teaser h2,.contact-info h2 {
        font-size: 34px;
    }

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

    .contact-form__full {
        grid-column: auto;
    }

    .contact-info,.contact-form-card {
        padding: 27px;
    }

    .catalog-search {
        flex-direction: column;
    }

    .catalog-search .btn {
        width: 100%;
    }

    .page-hero {
        padding: 62px 0;
    }

    .page-hero h1 {
        font-size: 43px;
    }

    .footer-grid>div:first-child {
        grid-column: auto;
    }

    .floating-contact {
        right: 13px;
        bottom: 13px;
    }

    .lightbox {
        padding: 25px;
    }

    .lightbox button {
        right: 10px;
        top: 0;
    }

    .button-row .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .brand {
        width: 145px;
        height: 62px;
    }

    .brand-logo {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .brand {
        width: 125px;
        height: 54px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-title,
    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.25;
    }

    .hero-description,
    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .main-nav > a,
    .nav-dropdown > button {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14.5px;
    }

    h1 {
        font-size: 2rem;
    }

    h2,
    .section-title {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}@media (max-width: 768px) {
    .footer-logo {
        max-width: 160px;
        max-height: 75px;
    }
}
