@media (max-width: 1160px) {
  .main-nav a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }

  .main-nav .quote-link {
    padding-right: 18px;
    padding-left: 18px;
  }

  .product-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 920px) {
  body {
    padding-bottom: 56px;
  }

  .top-info {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    min-height: 72px;
    padding: 0 16px;
    overflow: visible;
    z-index: 90;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 36px;
    max-width: min(210px, calc(100vw - 104px));
  }

  .brand-text {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: var(--green);
    border-color: var(--green);
    position: relative;
    z-index: 2;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: var(--black);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    padding: 10px;
    background: var(--panel);
    border-top: 3px solid var(--green);
    box-shadow: var(--shadow);
  }

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

  .main-nav a,
  .main-nav .quote-link {
    min-height: 44px;
    padding: 12px;
    margin: 0;
    clip-path: none;
  }

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

  .main-nav .quote-link {
    justify-content: center;
    margin-top: 6px;
  }

  .hero-home {
    min-height: auto;
    padding: 74px 18px;
    background-position: center;
  }

  .hero-copy,
  .hero-copy > *,
  .section-heading,
  .section-heading > * {
    min-width: 0;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(38px, 9vw, 58px);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  h2 {
    font-size: clamp(30px, 7vw, 42px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy > p,
  .page-hero p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .eyebrow {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: flex-start;
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .eyebrow::before {
    margin-top: 8px;
  }

  .trust-row,
  .product-grid,
  .feature-grid,
  .process-grid,
  .application-grid,
  .gallery-grid,
  .certificate-grid,
  .counter-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .media-stack {
    min-height: 360px;
  }

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

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 16px;
    margin-left: 16px;
  }

  .floating-contact {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(16, 16, 16, 0.12);
    box-shadow: 0 -12px 28px rgba(16, 16, 16, 0.14);
  }

  .floating-contact a {
    height: 52px;
    min-width: 0;
  }

  .back-top {
    bottom: 64px;
  }
}

@media (max-width: 620px) {
  body,
  main,
  .hero-home,
  .section,
  .page-hero {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .brand-logo {
    height: 34px;
    max-width: min(190px, calc(100vw - 96px));
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(28px, 8.2vw, 36px);
    line-height: 1.12;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7.4vw, 31px);
    line-height: 1.12;
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-copy p,
  .section-heading p,
  .page-hero p,
  .application-grid p,
  .solution-list p {
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
  }

  .hero-copy .eyebrow,
  .page-hero .eyebrow {
    max-width: calc(100vw - 36px);
    font-size: 12px;
  }

  .page-hero h1 {
    max-width: min(100%, 340px);
    font-size: clamp(26px, 7vw, 30px);
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .page-hero p {
    max-width: min(100%, 340px);
  }

  .section-heading h2 {
    font-size: clamp(25px, 7vw, 30px);
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
  }

  .application-grid h3,
  .solution-list h2,
  .gallery-grid figcaption {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions,
  .trust-row,
  .product-grid,
  .feature-grid,
  .process-grid,
  .application-grid,
  .gallery-grid,
  .certificate-grid,
  .counter-grid,
  .package-grid,
  .detail-meta,
  .certificate-grid.large,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn,
  .cta-section .btn,
  .inquiry-form .btn {
    width: 100%;
    clip-path: none;
  }

  .hero-home::after,
  .btn {
    clip-path: none;
  }

  .section {
    padding: 58px 16px;
  }

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

  .media-stack {
    min-height: auto;
  }

  .media-stack img {
    position: static;
    width: 100%;
    height: auto;
  }

  .media-stack img + img {
    margin-top: 14px;
    border: 0;
  }

  .media-badge {
    right: 12px;
    bottom: 12px;
    width: 106px;
    height: 106px;
    font-size: 13px;
  }

  .tab-buttons {
    display: grid;
  }

  .tab-buttons button {
    width: 100%;
  }

  .filter-bar {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px;
    margin-right: -16px;
    margin-left: -16px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-bar button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .product-body,
  .feature-card,
  .package-card {
    padding: 24px;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .card-actions .text-link {
    min-height: 46px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .contact-panel,
  .inquiry-form {
    padding: 24px;
  }

  .form-intro {
    padding: 18px;
  }
}
