
/* NOA-O SITE 0.6.0 — responsive + homepage polish */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

img,
picture,
svg,
video,
iframe {
  max-width: 100%;
}

.noao-mainnav__mobile-actions {
  display: none;
}

.noao-why {
  padding: 105px 0;
  background: #fff;
}

.noao-why__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.noao-why__lead h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.noao-why__items {
  border-top: 1px solid var(--n-border);
}

.noao-why__items article {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--n-border);
}

.noao-why__items strong {
  color: var(--n-text);
  font-size: 17px;
}

.noao-why__items p {
  margin: 0;
  color: var(--n-muted);
  line-height: 1.7;
}

/* Touch targets */
.noao-mainnav a,
.noao-groupbar a,
.noao-selection-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

/* Prevent long technical references from breaking layouts. */
.noao-product-card__title,
.noao-product-page__title,
.noao-selection-item__info strong {
  overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 1199px) {
  .noao-header__inner {
    gap: 18px;
  }

  .noao-mainnav {
    gap: 14px;
  }

  .noao-mainnav a {
    font-size: 13px;
  }

  .noao-why__grid {
    gap: 55px;
  }
}

/* Mobile navigation + tablet layouts */
@media (max-width: 991px) {
  .noao-header {
    position: sticky;
    top: 0;
  }

  .noao-header__inner {
    min-height: 70px;
    position: relative;
  }

  .noao-menu-toggle {
    width: 46px;
    height: 46px;
    padding: 9px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
  }

  .noao-mainnav {
    top: 70px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 16px 24px 28px;
    gap: 0;
    box-shadow: 0 18px 30px rgba(11,17,23,.10);
  }

  .noao-mainnav > a {
    width: 100%;
    min-height: 52px;
    border-bottom: 1px solid var(--n-border);
  }

  .noao-mainnav__mobile-actions {
    width: 100%;
    display: grid;
    gap: 8px;
    margin-top: 18px;
  }

  .noao-mainnav__mobile-actions a {
    justify-content: center;
    min-height: 50px;
    border: 1px solid var(--n-border);
    text-decoration: none;
  }

  .noao-mainnav__mobile-project {
    background: var(--n-brand);
    border-color: var(--n-brand) !important;
    color: #fff !important;
  }

  .noao-header__actions {
    margin-left: auto;
  }

  .noao-header__actions .noao-selection-link,
  .noao-header__project,
  .noao-search {
    display: none !important;
  }

  .noao-hero__inner {
    min-height: auto;
  }

  .noao-hero__content {
    padding-right: 0;
  }

  .noao-entry-card {
    min-height: 220px;
    padding: 36px;
  }

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

  .noao-why {
    padding: 78px 0;
  }

  .noao-why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .noao-product-page__top,
  .noao-product-page__details,
  .noao-product-advice,
  .noao-product-final {
    grid-template-columns: 1fr !important;
  }

  .noao-product-page__summary {
    padding-inline: 0;
  }
}

/* Phones */
@media (max-width: 767px) {
  .container,
  body#category .container,
  body#product .container {
    width: calc(100% - 30px) !important;
    max-width: none !important;
  }

  .noao-groupbar {
    display: none;
  }

  .noao-brand__logo {
    width: 116px;
    max-height: 44px;
  }

  .noao-hero__content {
    padding: 58px 0 48px;
  }

  .noao-hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .noao-hero__lead {
    font-size: 16px;
  }

  .noao-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .noao-hero__actions .noao-btn {
    width: 100%;
  }

  .noao-hero__proof {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
  }

  .noao-hero__visual {
    min-height: 310px;
  }

  .noao-hero__orb {
    width: 300px;
    height: 300px;
    right: -85px;
    top: 16px;
  }

  .noao-entry-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .noao-entry-card h2 {
    margin-top: 36px;
    font-size: 29px;
  }

  .noao-proofbar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .noao-proofbar__grid > div {
    padding: 24px 12px;
  }

  .noao-proofbar strong {
    font-size: 19px;
  }

  .noao-section,
  .noao-group,
  .noao-final {
    padding: 68px 0;
  }

  .noao-section__head {
    margin-bottom: 34px;
  }

  .noao-solution-grid,
  .noao-sector-grid,
  .noao-group-grid,
  .noao-sav__items {
    grid-template-columns: 1fr;
  }

  .noao-solution-grid article {
    min-height: 205px;
  }

  .noao-solution-grid h3 {
    margin-top: 54px;
  }

  .noao-feature__inner {
    min-height: 0;
  }

  .noao-feature__visual {
    min-height: 320px;
  }

  .noao-feature__visual strong {
    font-size: 40px;
  }

  .noao-feature__content {
    padding: 44px 0;
  }

  .noao-lacoustics__inner {
    gap: 40px;
  }

  .noao-lacoustics__badge {
    aspect-ratio: 4 / 3;
  }

  .noao-lacoustics__badge strong {
    font-size: 29px;
  }

  .noao-process {
    grid-template-columns: 1fr 1fr;
  }

  .noao-process li {
    min-height: 175px;
  }

  .noao-process strong {
    margin-top: 48px;
  }

  .noao-why {
    padding: 68px 0;
  }

  .noao-why__items article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .noao-final__inner {
    gap: 30px;
  }

  .noao-final__inner > div:last-child,
  .noao-final .noao-btn {
    width: 100%;
  }

  .noao-footer {
    padding-top: 55px;
  }

  .noao-footer__top {
    gap: 34px;
  }

  .noao-category-hero {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }

  .noao-category-hero__content {
    padding: 42px 24px !important;
  }

  .noao-category-hero__visual {
    min-height: 220px !important;
  }

  .noao-category-hero__visual > div {
    width: 220px;
    height: 220px;
  }

  .noao-subcategories {
    grid-template-columns: 1fr !important;
  }

  .noao-product-page__top {
    padding: 20px 0 50px !important;
  }

  .noao-product-page__title {
    font-size: clamp(40px, 12vw, 54px) !important;
  }

  .noao-product-page__trust > div {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  .noao-product-advice,
  .noao-product-final {
    padding: 26px !important;
  }

  .noao-product-documents__grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .noao-proofbar__grid,
  .noao-process {
    grid-template-columns: 1fr;
  }

  .noao-process li {
    min-height: 145px;
  }

  .noao-sector-grid div {
    padding-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
