/* NANOSO homepage, 2026-11 redesign */
.nx-home main { background: var(--color-white); }
.nx-section { padding: clamp(72px, 9vw, 120px) 0; }
.nx-soft { background: #f4f7f5; }
.nx-dark { background: var(--color-forest); color: #e7f1ed; }
.nx-dark h2 { color: #fff; }
.nx-lead { font-size: 1.12rem; line-height: 1.7; color: var(--color-muted); margin: 18px 0 0; max-width: 620px; }
.nx-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--color-forest); border-bottom: 1.5px solid var(--color-teal); padding-bottom: 3px; }
.nx-link:hover { color: var(--color-teal); }
.nx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.nx-head-center { justify-content: center; text-align: center; }
.nx-head-center .nx-lead { margin-inline: auto; }
.nx-eyebrow-light { color: #7fd6c6; }

/* Hero */
.nx-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0b2e27; }
.nx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.nx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,36,30,.92) 0%, rgba(8,36,30,.72) 45%, rgba(8,36,30,.25) 100%), linear-gradient(0deg, rgba(8,36,30,.6) 0%, rgba(8,36,30,0) 45%); }
.nx-hero-inner { position: relative; z-index: 1; padding: 120px 0 64px; }
.nx-kicker { margin: 0 0 22px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fe0d1; }
.nx-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.045em; line-height: 1.02; max-width: 820px; }
.nx-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.86); max-width: 600px; margin: 24px 0 34px; }
.nx-hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 56px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22); max-width: 760px; }
.nx-hero-stats div { padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(255,255,255,.22); }
.nx-hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.nx-hero-stats dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nx-hero-stats dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 700; color: #fff; }

/* Logos */
.nx-logos { padding: 40px 0; border-bottom: 1px solid var(--color-line); }
.nx-logos-label { text-align: center; margin: 0 0 26px; font-size: .9rem; color: var(--color-muted); }
.nx-logo-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 28px; align-items: center; }
.nx-logo-row img { max-height: 38px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .62; transition: opacity .2s, filter .2s; }
.nx-logo-row img:hover { filter: none; opacity: 1; }

/* Split layouts */
.nx-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.nx-points { list-style: none; padding: 0; margin: 32px 0 34px; display: grid; gap: 18px; }
.nx-points li { padding-left: 18px; border-left: 2px solid var(--color-teal); }
.nx-points strong { display: block; color: var(--color-forest); }
.nx-points span { color: var(--color-muted); font-size: .96rem; }
.nx-tech-media { position: relative; padding-bottom: 12%; }
.nx-tech-media img { border-radius: 20px; object-fit: cover; box-shadow: 0 24px 60px rgba(13,63,52,.12); }
.nx-tech-main { width: 88%; aspect-ratio: 4/3; }
.nx-tech-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; border: 6px solid #fff; }

/* Categories */
.nx-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nx-cats a { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--color-line); transition: transform .2s, box-shadow .2s; }
.nx-cats a:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(13,63,52,.1); }
.nx-cats img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.nx-cats div { padding: 20px 22px 24px; }
.nx-cats h3 { font-size: 1.15rem; }
.nx-cats p { margin: 6px 0 0; color: var(--color-muted); font-size: .94rem; }

/* Sites */
.nx-sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nx-sites article { border-radius: 18px; overflow: hidden; border: 1px solid var(--color-line); background: #fff; }
.nx-site-media { aspect-ratio: 16/10; background: #e9f1ee; }
.nx-site-media img { width: 100%; height: 100%; object-fit: cover; }
.nx-site-plain { display: flex; align-items: flex-end; padding: 26px; background: linear-gradient(135deg, var(--color-forest), #146b5b); }
.nx-site-plain span { color: rgba(255,255,255,.92); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.nx-site-body { padding: 22px 24px 26px; }
.nx-site-city { margin: 0 0 6px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-teal); }
.nx-site-body p:last-child { margin: 8px 0 0; color: var(--color-muted); font-size: .96rem; line-height: 1.6; }

/* Quality */
.nx-split-quality { grid-template-columns: 1fr 1fr; }
.nx-checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.nx-checks li { position: relative; padding-left: 30px; font-size: 1.04rem; color: #e7f1ed; }
.nx-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid #7fd6c6; border-bottom: 2px solid #7fd6c6; transform: rotate(-45deg); }
.nx-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-certs img { width: 100%; border-radius: 8px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); }

/* Process */
.nx-steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--color-line); }
.nx-steps li { padding: 22px 20px 0 0; }
.nx-steps span { font-size: .8rem; font-weight: 800; color: var(--color-teal); letter-spacing: .1em; }
.nx-steps strong { display: block; margin: 8px 0 6px; color: var(--color-forest); }
.nx-steps p { margin: 0; font-size: .92rem; color: var(--color-muted); line-height: 1.55; }
.nx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-gallery figure { margin: 0; }
.nx-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.nx-gallery figcaption { margin-top: 10px; font-size: .9rem; color: var(--color-muted); }

/* CTA */
.nx-cta { background: linear-gradient(120deg, var(--color-forest), #11604f); padding: 80px 0; color: #fff; }
.nx-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.nx-cta h2 { color: #fff; }
.nx-cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 14px 0 0; line-height: 1.65; }
.nx-cta .nx-actions { flex-shrink: 0; }

@media (max-width: 1020px) {
  .nx-logo-row { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .nx-split, .nx-split-quality { grid-template-columns: 1fr; }
  .nx-cats, .nx-sites { grid-template-columns: repeat(2, 1fr); }
  .nx-steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .nx-gallery { grid-template-columns: repeat(2, 1fr); }
  .nx-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nx-hero { min-height: 0; }
  .nx-hero-inner { padding: 72px 0 40px; }
  .nx-hero::after { background: linear-gradient(0deg, rgba(8,36,30,.94) 0%, rgba(8,36,30,.78) 60%, rgba(8,36,30,.55) 100%); }
  .nx-hero-stats { margin-top: 36px; gap: 14px; }
  .nx-hero-stats div { border-right: 0; padding-right: 0; margin-right: 0; width: 100%; }
  .nx-head { flex-direction: column; align-items: flex-start; }
  .nx-head-center { align-items: center; }
  .nx-logo-row { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .nx-logo-row img { max-height: 28px; }
  .nx-sites { grid-template-columns: 1fr; }
  .nx-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nx-cats div { padding: 12px 12px 14px; }
  .nx-cats h3 { font-size: .98rem; }
  .nx-cats p { font-size: .82rem; }
  .nx-steps { grid-template-columns: 1fr 1fr; }
  .nx-certs { gap: 10px; }
  .nx-actions .button { flex: 1 1 auto; }
}

/* Technology page */
.nx-tech-hero { padding-top: clamp(56px, 7vw, 96px); }
.nx-tech-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.04em; }
.nx-actions-dark { margin-top: 30px; align-items: center; gap: 22px; }
.nx-patent { margin: 26px 0 0; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-teal); }
.nx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nx-compare article { background: #fff; border: 1px solid var(--color-line); border-radius: 18px; padding: 30px 32px; }
.nx-compare ul { margin: 16px 0 0; padding-left: 20px; color: var(--color-muted); line-height: 1.8; }
.nx-compare-win { border-color: var(--color-teal) !important; box-shadow: 0 18px 44px rgba(13,63,52,.08); }
.nx-compare-win h3 { color: var(--color-teal); }
.nx-site-steel { background: linear-gradient(135deg, #5d6b6a, #9aa7a5); }
.nx-inline { color: var(--color-forest); text-decoration: underline; }
.nx-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.nx-gallery figcaption strong { display: block; color: var(--color-forest); }
.nx-steps-4 { grid-template-columns: repeat(4, 1fr); }
.nx-faq-wrap .faq-list { max-width: 880px; }
@media (max-width: 1020px) { .nx-compare { grid-template-columns: 1fr; } .nx-gallery-3 { grid-template-columns: 1fr 1fr 1fr; } .nx-steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .nx-gallery-3 { grid-template-columns: 1fr; } .nx-steps-4 { grid-template-columns: 1fr; } }

/* Products page */
.nx-page-head { padding: clamp(64px, 8vw, 110px) 0 48px; }
.nx-page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -.04em; max-width: 900px; }
.nx-pt0 { padding-top: 0; }
.nx-cats-products div .nx-site-city { margin-bottom: 4px; }
.nx-card-plain { aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 24px; background: linear-gradient(135deg, var(--color-forest), #146b5b); }
.nx-card-plain span { color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.nx-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nx-chips li { background: #fff; border: 1px solid var(--color-line); border-radius: 14px; padding: 18px 20px; }
.nx-chips strong { display: block; color: var(--color-forest); }
.nx-chips span { font-size: .92rem; color: var(--color-muted); }
.nx-logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); border-radius: 18px; overflow: hidden; }
.nx-logo-grid img { background: #fff; width: 100%; height: 120px; object-fit: contain; padding: 34px; filter: grayscale(1); opacity: .7; }
@media (max-width: 640px) { .nx-chips { grid-template-columns: 1fr; } .nx-logo-grid img { height: 90px; padding: 24px; } .nx-cats-products { grid-template-columns: 1fr 1fr; } }
.nx-cats-products a:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; align-items: stretch; }
.nx-cats-products a:last-child .nx-card-plain { aspect-ratio: auto; min-height: 170px; }
.nx-cats-products a:last-child > div:last-child { display: flex; flex-direction: column; justify-content: center; padding: 26px 32px; }
@media (max-width: 640px) { .nx-cats-products a:last-child { grid-template-columns: 1fr; } .nx-cats-products a:last-child .nx-card-plain { min-height: 120px; } }
