@media (max-width: 1100px) {
  .hero-layout,
  .section-grid,
  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
    max-width: 720px;
    margin-inline: auto;
  }

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

  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 28px;
  }

  .process::before {
    display: none;
  }

  .detail-media {
    position: static;
  }

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

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
  }

  .header-cta {
    display: none;
  }

  .language-switch {
    margin-left: auto;
  }

  [dir="rtl"] .language-switch {
    margin-right: auto;
    margin-left: 0;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }

  [dir="rtl"] .header-actions {
    margin-right: auto;
    margin-left: 0;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .primary-nav a:hover,
  .primary-nav a.active {
    background: var(--color-blue-soft);
  }

  .primary-nav a::after {
    display: none;
  }

  body.home .site-header:not(.is-scrolled) {
    color: #fff;
  }

  body.nav-open .site-header {
    color: var(--color-primary);
  }

  .brand img {
    width: 130px;
  }

  .hero-proof,
  .stats-row,
  .value-panel {
    grid-template-columns: 1fr;
  }

  .cta-band-content {
    display: grid;
  }

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

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

  .hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .hero-layout {
    gap: 28px;
  }

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

  .hero-visual::before {
    inset: 28px 0 22px 26px;
  }

  .hero-factory {
    width: 96%;
  }

  .hero-products {
    left: -12px;
    width: 72%;
  }

  .logo-chip {
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
  }

  .logo-chip img {
    width: 94px;
  }

  .card-grid,
  .product-grid,
  .cert-grid,
  .process,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 76px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .process-number {
    width: 64px;
    height: 64px;
    border-width: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .detail-main-image,
  .detail-main-image img {
    min-height: 300px;
    height: 300px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.35rem, 14vw, 3.6rem);
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .page-hero {
    padding-bottom: 52px;
  }

  .section {
    padding-block: 58px;
  }

  .product-image,
  .product-image img {
    min-height: 190px;
    height: 190px;
  }
}
