/* NetPro hybrid homepage — mockup sections + enterprise bands */

.np-root {
  --np-header-h: 4.25rem;
}

.np-container {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

.np-header--home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid transparent;
  border-bottom-color: transparent;
}

@media (min-width: 1024px) {
  /* Solid header on desktop home — no hero image visible through menu while scrolling */
  .np-header--home,
  .np-header--home.is-scrolled,
  .np-header--home:not(.is-scrolled) {
    background: var(--np-bg2);
    background-color: var(--np-bg2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--np-line);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--np-line) 85%, transparent);
  }

  .np-header--home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--np-bg2);
  }

  .np-header--home .np-header-inner,
  .np-header--home:not(.is-scrolled) .np-header-inner,
  .np-header--home .np-header-desk {
    background: var(--np-bg2);
  }

  .np-header--home:not(.is-scrolled) .np-nav-primary-wrap .nav a,
  .np-header--home:not(.is-scrolled) .np-nav-mega-btn,
  .np-header--home .np-nav-primary-wrap .nav a {
    text-shadow: none;
    color: var(--np-muted);
  }

  .np-header--home .np-nav-mega-btn {
    text-shadow: none;
    color: var(--np-text);
  }

  .np-header--home .np-nav-primary-wrap .nav a:hover,
  .np-header--home .np-nav-primary-wrap .nav-current a {
    color: var(--np-text);
  }
}

@media (max-width: 1023px) {
  .np-header--home {
    position: sticky;
  }
}

@media (max-width: 1023px) {
  .np-header--home:not(.is-scrolled) .np-header-inner {
    background: transparent;
  }

  .np-header--home:not(.is-scrolled) .np-nav-primary-wrap .nav a,
  .np-header--home:not(.is-scrolled) .np-nav-mega-btn {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(255, 255, 255, 0.7);
  }

  .np-header--home.is-scrolled {
    background: var(--np-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--np-line);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  }
}

/* Inner pages (solutions, about, contact) — same fixed chrome as home when scrolled */
.np-header--page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: var(--np-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--np-line);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1023px) {
  .np-header--page {
    position: sticky;
  }
}

.np-page-header-spacer {
  height: 4.25rem;
  flex-shrink: 0;
}

.np-body.np-has-page-header {
  padding-top: 0;
}

/* Flex header — avoids 3-column grid overflow on Samsung / RTL mobile */
.np-header-inner--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.np-header-inner--flex .np-logo {
  flex-shrink: 0;
  min-width: 0;
}

.np-header-inner--flex .np-nav-desktop {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  max-width: 100%;
}

.np-header-inner--flex .np-header-actions {
  flex-shrink: 0;
  min-width: 0;
}

/* Mobile / desktop nav visibility → assets/css/responsive.css */

.np-mobile-solutions-btn {
  display: none;
}

.np-mega-grid--solutions {
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 1fr);
}

.np-mega .np-mega-links {
  max-width: 100%;
}

.np-mega-links a {
  display: block;
  padding: 0.35rem 0;
  color: var(--np-text);
  text-decoration: none;
  font-size: 0.92rem;
}

.np-mega-links a:hover {
  color: var(--np-accent);
}

/* Full viewport hero (image only, no text overlay) */
.np-hero-full {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #c5c9ce;
  isolation: isolate;
}

.np-hero-full__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.np-hero-full__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.08) 0%,
    transparent 40%,
    transparent 100%
  );
}

.np-hero-full__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem var(--space-gutter, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.55), transparent);
}

.np-hero-full__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.np-hero-full__phone {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.np-hero-full__phone:hover {
  color: var(--np-accent);
}

/* Intro below hero */
.np-intro {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  background: var(--np-bg2);
}

.np-intro-title {
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
}

.np-intro-body {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.np-intro-body p {
  margin: 0 0 1.25rem;
  color: var(--np-muted);
  line-height: 1.75;
}

.np-intro-signature {
  font-size: 0.85rem;
  color: var(--np-muted);
  margin-top: 1.75rem;
}

/* Media grid — tiles match 16:9 source videos */
.np-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
}

.np-media-grid .np-hover-video.np-media-tile {
  display: block;
  width: 100%;
  min-height: 0;
}

.np-media-tile {
  background: #0a0a0a;
}

/* Hover-to-play videos */
.np-hover-video {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
  border-radius: var(--np-radius-sm, 8px);
  border: 1px solid var(--np-line, rgba(255, 255, 255, 0.08));
  isolation: isolate;
}

.np-hover-video:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 3px;
}

.np-hover-video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.np-hover-video.is-playing .np-hover-video__el {
  transform: scale(1.02);
}

/* Light bottom scrim so hint text stays readable over poster frame */
.np-hover-video__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.55) 0%,
    rgba(3, 7, 18, 0.12) 28%,
    transparent 55%
  );
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.np-hover-video.is-playing .np-hover-video__veil,
.np-hover-video:focus-within .np-hover-video__veil {
  opacity: 0;
}

.np-hover-video__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.np-hover-video__hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.np-hover-video.is-playing .np-hover-video__label,
.np-hover-video.is-playing .np-hover-video__hint,
.np-hover-video:focus-within .np-hover-video__label,
.np-hover-video:focus-within .np-hover-video__hint {
  opacity: 0;
}

.np-media-grid .np-hover-video.np-media-tile--wide {
  min-height: 0;
}

.np-media-grid .np-hover-video.np-media-tile--split {
  min-height: 0;
}

.np-video-frame.np-hover-video {
  display: block;
  margin-bottom: 1rem;
  aspect-ratio: 2.05 / 1;
}

.np-video-frame.np-hover-video .np-hover-video__hint {
  bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .np-hover-video__el {
    transition: none;
  }
  .np-hover-video__hint::after {
    content: " · " attr(data-tap);
  }
}

.np-media-tile--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.np-media-tile--split {
  aspect-ratio: 16 / 9;
}

.np-media-tile__label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .np-media-grid {
    grid-template-columns: 1fr;
  }
  .np-media-tile--split {
    aspect-ratio: 16 / 9;
  }
}

/* Sector typography */
.np-sector {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.np-sector-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.25rem;
  text-align: right;
}

.np-sector-lines {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: right;
}

.np-sector-lines li {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: var(--np-muted);
  line-height: 1.3;
}

.np-sector-copy {
  text-align: right;
  max-width: 40rem;
  color: var(--np-muted);
  line-height: 1.75;
}

/* Services grid 10 */
.np-services-10 {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.np-services-10-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .np-services-10-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* שורה שלישית: 2 כרטיסים במרכז (4+4+2 כמו בתמונה) */
  .np-services-10-grid > .np-svc-card:nth-child(9) {
    grid-column: 2;
  }

  .np-services-10-grid > .np-svc-card:nth-child(10) {
    grid-column: 3;
  }
}

.np-svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius);
  background: var(--np-bg2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.np-svc-card:hover {
  border-color: color-mix(in srgb, var(--np-accent) 40%, var(--np-line));
  box-shadow: var(--np-shadow);
  transform: translateY(-2px);
}

.np-svc-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--np-accent) 12%, transparent);
  color: var(--np-accent);
}

.np-svc-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.np-svc-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.np-svc-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--np-muted);
  line-height: 1.5;
}

/* Support band */
.np-support-band {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: color-mix(in srgb, var(--np-accent) 6%, var(--np-bg));
  border-block: 1px solid var(--np-line);
}

.np-support-band-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .np-support-band-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.np-support-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Video blocks */
.np-video-blocks {
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.np-video-block {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.np-video-block:last-child {
  margin-bottom: 0;
}

.np-video-frame {
  aspect-ratio: 2.05 / 1;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--np-radius-sm);
  margin-bottom: 1rem;
}

.np-video-frame__mark {
  width: 2.65rem;
  height: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.np-service-video {
  margin: 0 auto 2rem;
  max-width: min(900px, 100%);
}

.np-service-video .np-video-frame--service {
  margin-bottom: 0;
}

.np-video-block p {
  margin: 0;
  text-align: right;
  color: var(--np-muted);
}

/* Service page template */
.np-service-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--np-line);
}

.np-service-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.np-service-lede {
  font-size: 1.15rem;
  color: var(--np-muted);
  max-width: 40rem;
  line-height: 1.65;
}

.np-service-section {
  padding: 2.5rem 0;
}

.np-service-section h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.np-service-list {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: var(--np-muted);
  line-height: 1.75;
}

.np-service-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--np-radius);
  background: color-mix(in srgb, var(--np-accent) 8%, var(--np-bg2));
  border: 1px solid color-mix(in srgb, var(--np-accent) 25%, var(--np-line));
  text-align: center;
}

.np-body.np-has-fixed-header {
  padding-top: 0;
}

.np-home-spacer {
  height: var(--np-header-h, 4.25rem);
}

/* Desktop home: hero fills viewport below fixed header — image not under menu */
@media (min-width: 1024px) {
  .np-body.np-has-fixed-header .np-site {
    padding-top: var(--np-header-h, 4.25rem);
  }

  .np-body.np-has-fixed-header .np-home-spacer {
    display: none;
  }

  .np-body.np-has-fixed-header .np-hero-full {
    min-height: calc(100vh - var(--np-header-h, 4.25rem));
    min-height: calc(100dvh - var(--np-header-h, 4.25rem));
    margin-top: 0;
    overflow: hidden;
  }

  .np-body.np-has-fixed-header .np-hero-full__img {
    object-position: center bottom;
  }
}

/* ——— Impeccable polish v2 — דף בית (חזותי עדין, מאי 2026) ——— */
.np-home-flow {
  --np-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.np-body:has(.np-home-flow) {
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

.np-hero-full__img {
  filter: contrast(1.03) saturate(1.04);
}

.np-hero-full__shade {
  background: linear-gradient(
    180deg,
    rgba(3, 7, 18, 0.14) 0%,
    transparent 42%,
    transparent 66%,
    rgba(3, 7, 18, 0.22) 100%
  );
}

.np-header--home.is-scrolled {
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--np-line) 80%, transparent),
    0 8px 28px rgba(0, 0, 0, 0.12);
}

.np-header--home:not(.is-scrolled) .np-nav-primary-wrap .nav a {
  transition: color 0.2s var(--np-ease);
}

.np-home-flow .np-intro-title,
.np-home-flow .np-sector-title,
.np-home-flow .np-section-title,
.np-home-flow .np-cta-title,
.np-home-flow .np-support-band h2 {
  text-wrap: balance;
}

.np-home-flow .np-intro-body p {
  color: color-mix(in srgb, var(--np-muted) 88%, var(--np-text));
}

.np-home-flow .np-sector-lines li {
  color: color-mix(in srgb, var(--np-muted) 72%, var(--np-text));
}

.np-home-flow .np-sector-copy,
.np-home-flow .np-video-block p {
  color: color-mix(in srgb, var(--np-muted) 86%, var(--np-text));
  line-height: 1.72;
}

.np-media-tile,
.np-media-grid .np-hover-video.np-media-tile,
.np-home-flow .np-video-frame.np-hover-video {
  border-radius: 8px;
  overflow: hidden;
}

.np-home-flow .np-hover-video {
  transition:
    border-color 0.25s var(--np-ease),
    box-shadow 0.25s var(--np-ease);
}

.np-home-flow .np-hover-video:hover {
  border-color: color-mix(in srgb, var(--np-accent) 38%, var(--np-line));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.np-home-flow .np-svc-card {
  transition:
    border-color 0.22s var(--np-ease),
    box-shadow 0.22s var(--np-ease),
    transform 0.22s var(--np-ease);
}

.np-home-flow .np-svc-card:active {
  transform: translateY(0);
}

.np-home-flow .np-svc-card__desc {
  color: color-mix(in srgb, var(--np-muted) 90%, var(--np-text));
}

.np-home-flow .np-tech-pill {
  transition:
    border-color 0.2s var(--np-ease),
    color 0.2s var(--np-ease),
    background 0.2s var(--np-ease);
}

.np-home-flow .np-tech-pill:hover {
  border-color: color-mix(in srgb, var(--np-accent) 35%, var(--np-line));
  color: var(--np-text);
  background: color-mix(in srgb, var(--np-accent) 6%, transparent);
}

.np-home-flow .np-trust-bar-ph {
  transition:
    border-color 0.2s var(--np-ease),
    background 0.2s var(--np-ease);
}

.np-home-flow .np-stat-label {
  color: color-mix(in srgb, var(--np-muted) 92%, var(--np-text));
}

.np-home-flow .np-stat-value {
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .np-hero-full__img {
    filter: none;
  }

  .np-hover-video.is-playing .np-hover-video__el {
    transform: none;
  }

  .np-home-flow .np-svc-card:hover,
  .np-home-flow .np-svc-card:active {
    transform: none;
  }
}

/* ——— Impeccable polish v3 — CSS בסיכון נמוך (מאי 2026) ——— */
.np-body:has(.np-home-flow) ::selection {
  background: color-mix(in srgb, var(--np-accent) 38%, #030712);
  color: var(--np-text);
}

.np-home-flow #services,
.np-home-flow #projects,
.np-home-flow #cta {
  scroll-margin-top: 5rem;
}

.np-home-flow .np-btn:focus-visible,
.np-home-flow .np-svc-card:focus-visible,
.np-header--home .np-nav-primary-wrap .nav a:focus-visible,
.np-header--home .np-btn:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 3px;
}

.np-home-flow .np-btn:focus:not(:focus-visible),
.np-header--home .np-nav-primary-wrap .nav a:focus:not(:focus-visible) {
  outline: none;
}

.np-home-flow .np-kicker {
  margin-bottom: 0.6rem;
}

.np-home-flow .np-section-lede,
.np-home-flow .np-support-band .np-section-lede {
  color: color-mix(in srgb, var(--np-muted) 84%, var(--np-text));
  line-height: 1.65;
}

.np-home-flow .np-section-head-center .np-section-lede {
  max-width: 52ch;
  margin-inline: auto;
}

.np-home-flow .np-sector-lines {
  margin-bottom: 1.85rem;
}

.np-home-flow .np-sector-lines li {
  line-height: 1.38;
}

.np-home-flow .np-sector-lines li + li {
  margin-top: 0.1em;
}

@media (min-width: 768px) {
  .np-home-flow .np-support-band-inner > div:first-child {
    padding-inline-end: clamp(1.5rem, 4vw, 2.5rem);
    border-inline-end: 1px solid color-mix(in srgb, var(--np-line) 65%, transparent);
  }

  .np-home-flow .np-support-band-inner > div:last-child {
    padding-inline-start: clamp(1.5rem, 4vw, 2.5rem);
  }
}

.np-home-flow .np-glass-strip {
  border-block-color: color-mix(in srgb, var(--np-line) 50%, transparent);
}

.np-home-flow .np-stats.np-glass-strip {
  padding-block: 0.35rem;
}

.np-home-flow .np-project-fallback.np-glass {
  opacity: 0.78;
  border-style: solid;
  border-color: color-mix(in srgb, var(--np-line) 55%, transparent);
  background: color-mix(in srgb, var(--np-bg2) 55%, transparent);
  font-size: 0.92rem;
  line-height: 1.6;
}

.np-home-flow .np-cta-panel {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 7%, transparent),
    0 14px 44px rgba(0, 0, 0, 0.2);
}

.np-home-flow .np-cta-copy {
  color: color-mix(in srgb, var(--np-muted) 82%, var(--np-text));
  line-height: 1.65;
}

/* ——— Impeccable polish v4 — המשך ליטוש דף בית (מאי 2026) ——— */
.np-home-flow {
  font-feature-settings: "kern" 1, "liga" 1;
}

.np-header--home {
  transition:
    background 0.3s var(--np-ease),
    box-shadow 0.3s var(--np-ease),
    border-color 0.3s var(--np-ease);
}

.np-home-flow > .np-section:not(.np-hero-full) + .np-section,
.np-home-flow > section.np-section + section.np-section {
  border-top: 1px solid color-mix(in srgb, var(--np-line) 32%, transparent);
}

.np-home-flow .np-intro-title {
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}

.np-home-flow .np-intro-body {
  max-width: 44rem;
}

.np-home-flow .np-intro-body p:last-child {
  margin-bottom: 0;
}

.np-home-flow .np-media-grid {
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

.np-home-flow .np-section-head {
  margin-bottom: 2.25rem;
}

.np-home-flow .np-section-title {
  letter-spacing: -0.035em;
}

.np-home-flow .np-services-10-grid {
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.np-home-flow .np-svc-card__title {
  color: color-mix(in srgb, var(--np-text) 96%, var(--np-muted));
}

.np-home-flow .np-tech-stack-label,
.np-home-flow .np-trust-bar-label {
  color: color-mix(in srgb, var(--np-muted) 78%, var(--np-text));
  letter-spacing: 0.1em;
}

.np-home-flow .np-trust-bar-ph:hover {
  border-color: color-mix(in srgb, var(--np-accent) 28%, var(--np-line-strong));
  background: color-mix(in srgb, var(--np-accent) 4%, transparent);
}

.np-home-flow .np-video-block {
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.np-home-flow .np-video-block p {
  max-width: 42rem;
  margin-inline-start: auto;
}

.np-home-flow .np-projects .np-section-lede {
  max-width: 48ch;
}

@media (min-width: 720px) {
  .np-home-flow .np-stats-grid {
    gap: 2rem;
  }

  .np-home-flow .np-stat:not(:last-child) {
    border-inline-end: 1px solid color-mix(in srgb, var(--np-line) 45%, transparent);
    padding-inline-end: 1.5rem;
  }
}

.np-home-flow .np-cta-actions {
  gap: 0.85rem;
}

.np-home-flow .np-btn,
.np-body:has(.np-home-flow) .np-main .np-btn {
  transition:
    transform 0.2s var(--np-ease),
    box-shadow 0.22s var(--np-ease),
    border-color 0.22s var(--np-ease),
    background 0.22s var(--np-ease);
}

.np-body:has(.np-home-flow) .np-main .np-blog .np-section-title {
  text-wrap: balance;
}

.np-body:has(.np-home-flow) .np-main .np-post-card {
  border-radius: 8px;
}

.np-body:has(.np-home-flow) .np-main .np-post-card:focus-within {
  outline: none;
}

.np-body:has(.np-home-flow) .np-main .np-post-card-link:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.np-body:has(.np-home-flow) .np-main .np-post-card-excerpt {
  color: color-mix(in srgb, var(--np-muted) 88%, var(--np-text));
  line-height: 1.6;
}

.np-body:has(.np-home-flow) .np-main .np-section-cta {
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .np-header--home {
    transition: none;
  }

  .np-home-flow .np-btn:hover,
  .np-body:has(.np-home-flow) .np-main .np-post-card:hover {
    transform: none;
  }

  .np-body:has(.np-home-flow) .np-main .np-post-card:hover .np-post-card-media img {
    transform: none;
    filter: none;
  }

  .np-home-flow .np-cta-glow {
    display: none;
  }

  .np-mobile-sticky-cta {
    transition: none;
  }
}

/* ——— Impeccable full package v5 (מאי 2026) ——— */
.np-hero-full__copy {
  max-width: min(36rem, 100%);
}

.np-hero-full__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.np-hero-full__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.np-hero-full__cta-secondary {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.np-hero-full__cta-secondary:hover {
  border-color: color-mix(in srgb, var(--np-accent) 55%, #fff) !important;
  color: #fff !important;
}

.np-proof-strip {
  padding: 1.15rem 0;
  background: color-mix(in srgb, var(--np-bg2) 92%, var(--np-bg));
  border-bottom: 1px solid var(--np-line);
}

.np-proof-strip__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

@media (max-width: 640px) {
  .np-proof-strip__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.np-proof-strip__value {
  display: block;
  font-family: var(--np-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--np-text);
}

.np-proof-strip__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--np-muted) 82%, var(--np-text));
}

.np-trust-bar-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--np-radius-sm);
  border: 1px solid color-mix(in srgb, var(--np-line) 80%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--np-muted) 70%, var(--np-text));
  background: color-mix(in srgb, var(--np-bg2) 60%, transparent);
  transition:
    border-color 0.2s var(--np-ease, ease),
    color 0.2s var(--np-ease, ease);
}

.np-home-flow .np-trust-bar-name:hover {
  border-color: color-mix(in srgb, var(--np-accent) 30%, var(--np-line));
  color: var(--np-text);
}

.np-home-flow .np-project-grid .np-project-card {
  border-radius: 8px;
}

.np-home-flow .np-project-link:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.np-nav-primary-wrap .nav a,
.np-drawer-primary .nav a {
  cursor: pointer;
}

.np-skip:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 2px;
}

.np-body:has(.np-home-flow) .np-footer {
  border-top: 1px solid color-mix(in srgb, var(--np-line) 45%, transparent);
}

.np-body:has(.np-home-flow) .np-footer-bar {
  color: color-mix(in srgb, var(--np-muted) 88%, var(--np-text));
}

.np-body:has(.np-home-flow) .np-footer-bar a {
  transition: color 0.2s var(--np-ease, ease);
}

.np-body:has(.np-home-flow) .np-footer-bar a:hover {
  color: var(--np-accent);
}

.np-drawer .np-btn:focus-visible,
.np-drawer-primary .nav a:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 3px;
}

.np-mobile-sticky-cta {
  display: none;
  position: fixed;
  z-index: 90;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 1.5rem), 22rem);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 1023px) {
  .np-body:has(.np-home-flow) .np-mobile-sticky-cta {
    display: inline-flex;
  }

  .np-body:has(.np-home-flow) {
    padding-bottom: 4.5rem;
  }
}
