/* НАП: homepage header and first screen only. */
body[data-page="home"] .site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #d7e5f2;
  box-shadow: none;
  font-family: Manrope, Arial, sans-serif;
}

body[data-page="home"] .site-header .nav-inner {
  width: calc(100% - 48px);
  max-width: 1280px;
  height: 88px;
  min-height: 88px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

body[data-page="home"] .site-header .brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 310px;
  min-width: 0;
}

body[data-page="home"] .site-header .brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

body[data-page="home"] .site-header .desktop-nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  gap: 27px;
}

body[data-page="home"] .site-header .desktop-nav a {
  color: #001c51;
  font-size: 15px;
  font-weight: 700;
  border-bottom-width: 2px;
}

body[data-page="home"] .site-header .desktop-nav a:is(:hover, .is-active) {
  border-bottom-color: #0099de;
}

body[data-page="home"] .site-header .nav-actions {
  grid-column: 3;
  grid-row: 1;
}

body[data-page="home"] .site-header .nav-actions .button {
  min-width: 0;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #002f86;
  border-radius: 8px;
  background: #002f86;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
}

body[data-page="home"] .site-header .nav-actions .button:hover {
  background: #001c51;
  border-color: #001c51;
}

body[data-page="home"] .site-header :is(a, button):focus-visible {
  outline: 3px solid #0099de;
  outline-offset: 4px;
}

body[data-page="home"] .license-strip {
  height: auto;
  min-height: 40px;
  padding: 8px 24px;
  overflow: visible;
  background: #001c51;
  border: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

body[data-page="home"] .license-track {
  display: block;
  width: auto;
  max-width: 1280px;
  margin: 0 auto;
  white-space: normal;
  animation: none;
  transform: none;
}

body[data-page="home"] .license-track span { padding-right: 0; }
body[data-page="home"] .license-track span:nth-child(2) { display: none; }

body[data-page="home"] .license-track span:first-child {
  display: block;
  color: #fff;
}

body[data-page="home"] .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background: #002f86;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
}

body[data-page="home"] .home-hero::before,
body[data-page="home"] .home-hero::after,
body[data-page="home"] .home-hero .hero-composition::before {
  content: none;
}

body[data-page="home"] .home-hero .nap-ambient {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("../assets/brand/nap-hero-background.svg") center center / cover no-repeat;
}

body[data-page="home"] .home-hero .nap-ambient::before,
body[data-page="home"] .home-hero .nap-ambient::after,
body[data-page="home"] .home-hero .nap-ambient span {
  content: none;
  display: none;
}

body[data-page="home"] .home-hero .hero-composition {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 1280px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 58px;
  padding: 70px 0 0;
}

body[data-page="home"] .home-hero .hero-intro {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  z-index: 2;
  min-width: 0;
  padding-top: 18px;
}

body[data-page="home"] .home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 29px;
  color: #EAF5FC;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .095em;
}

body[data-page="home"] .home-hero .eyebrow::before {
  content: "";
  flex: none;
  width: 27px;
  height: 3px;
  background: #0099de;
}

body[data-page="home"] .home-hero .hero-intro h1 {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 5.05vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: normal;
  text-wrap: initial;
}

body[data-page="home"] .home-hero .hero-intro h1 .underline-txt {
  color: #54caff;
  text-decoration: none;
}

body[data-page="home"] .home-hero .hero-statement {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  z-index: 2;
  width: 100%;
  max-width: 590px;
  margin: 0;
  padding: 33px 0 0;
}

body[data-page="home"] .home-hero .hero-statement .lead {
  max-width: 560px;
  margin: 0;
  color: #e7f3ff;
  font-size: 18px;
  line-height: 1.65;
}

body[data-page="home"] .home-hero .hero-statement .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: none;
  margin-top: 32px;
}

body[data-page="home"] .home-hero .hero-statement .actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

body[data-page="home"] .home-hero .hero-statement .actions .button-dark {
  background: #0077c8;
  border: 2px solid #0077c8;
  color: #fff;
}

body[data-page="home"] .home-hero .hero-statement .actions .button-dark:hover {
  background: #006cb6;
  border-color: #006cb6;
  color: #fff;
}

body[data-page="home"] .home-hero .hero-statement .actions .button-outline {
  background: transparent;
  border: 2px solid #d6edff;
  color: #fff;
}

body[data-page="home"] .home-hero .hero-statement .actions .button-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #002f86;
}

body[data-page="home"] .home-hero :is(a, button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

body[data-page="home"] .home-hero .hero-portrait {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  z-index: 2;
  width: min(100%, 470px);
  height: auto;
  margin: 0 60px 0 0;
  overflow: visible;
  justify-self: end;
  transform: none;
  padding: 12px;
  background: #001c51;
  box-shadow: 14px 14px 0 #0099de;
}

body[data-page="home"] .home-hero .hero-portrait::before {
  content: none;
}

body[data-page="home"] .home-hero .hero-portrait::after {
  content: none;
}

body[data-page="home"] .home-hero .hero-portrait img {
  display: block;
  width: 100%;
  height: clamp(440px, 38vw, 540px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 18%;
  clip-path: none;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

body[data-page="home"] .home-hero .hero-portrait-name {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  margin: 0;
  padding: 16px 4px 2px;
  background: transparent;
  color: #fff;
  text-align: left;
  text-shadow: none;
}

body[data-page="home"] .home-hero .hero-portrait-name b {
  font-size: 16px;
  font-weight: 800;
}

body[data-page="home"] .home-hero .hero-portrait-name span {
  color: #d8ebff;
  font-size: 16px;
  text-shadow: none;
}

body[data-page="home"] .home-hero .hero-bottom {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin: 66px 0 0;
  padding: 22px 0 33px;
  border-top: 1px solid rgba(255, 255, 255, .38);
  border-bottom: 0;
}

body[data-page="home"] .home-hero .home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(850px, 79%);
  margin: 0;
  padding: 0;
  border: 0;
}

body[data-page="home"] .home-hero .home-stats > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: auto;
  min-width: 0;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, .4);
}

body[data-page="home"] .home-hero .home-stats > div:first-child {
  border-left: 0;
  padding-left: 0;
}

body[data-page="home"] .home-hero .home-stats strong {
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(2.3rem, 3.5vw, 3.2rem) !important;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-page="home"] .home-hero .home-stats span {
  color: #e0f1ff;
  font-size: 16px;
}

@media (max-width: 1100px) {
  body[data-page="home"] .site-header .nav-inner {
    grid-template-columns: 275px minmax(0, 1fr) auto;
    gap: 18px;
  }

  body[data-page="home"] .site-header .brand { width: 275px; }
  body[data-page="home"] .site-header .desktop-nav { gap: 15px; }

  body[data-page="home"] .home-hero .hero-composition {
    column-gap: 38px;
    padding-top: 62px;
  }

  body[data-page="home"] .home-hero .hero-intro h1 { font-size: clamp(3.35rem, 5.1vw, 4.5rem); }
  body[data-page="home"] .home-hero .hero-portrait { margin-right: 0; }
}

@media (max-width: 960px) {
  body[data-page="home"] .site-header .nav-inner {
    display: flex;
    justify-content: space-between;
    height: 72px;
    min-height: 72px;
  }

  body[data-page="home"] .site-header .brand { width: 295px; }
  body[data-page="home"] .site-header .desktop-nav,
  body[data-page="home"] .site-header .nav-actions { display: none; }

  body[data-page="home"] .site-header .menu-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    flex: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #8fb7da;
    border-radius: 8px;
    background: #fff;
  }

  body[data-page="home"] .site-header .menu-toggle span,
  body[data-page="home"] .site-header .menu-toggle::after {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    background: #002f86;
    border-radius: 0;
    opacity: 1;
  }

  body[data-page="home"] .site-header .menu-toggle::after { content: ""; }

  body[data-page="home"] .site-header .mobile-nav:not([hidden]) {
    background: #fff;
    border-top: 1px solid #d7e5f2;
  }

  body[data-page="home"] .site-header .mobile-nav a {
    color: #001c51;
    border-bottom-color: #d7e5f2;
  }

  body[data-page="home"] .site-header .mobile-nav a.is-active {
    border-bottom-color: #0099de;
  }

  body[data-page="home"] .home-hero .hero-composition {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    column-gap: 26px;
  }

  body[data-page="home"] .home-hero .hero-intro h1 { font-size: clamp(3rem, 5.8vw, 4rem); }
  body[data-page="home"] .home-hero .hero-portrait img { height: 420px; }
}

@media (max-width: 700px) {
  body[data-page="home"] .license-strip {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    overflow: visible;
    padding: 10px 18px;
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
  }

  body[data-page="home"] .license-track {
    display: block;
    width: auto;
    white-space: normal;
    animation: none;
    transform: none;
  }

  body[data-page="home"] .license-track span { padding-right: 0; }
  body[data-page="home"] .license-track span:nth-child(2) { display: none; }

  body[data-page="home"] .site-header .nav-inner {
    width: calc(100% - 36px);
    height: 70px;
    min-height: 70px;
  }

  body[data-page="home"] .site-header .brand { width: min(268px, calc(100vw - 112px)); }

  body[data-page="home"] .home-hero .nap-ambient {
    background-size: 100% 100%;
  }

  body[data-page="home"] .home-hero .hero-composition {
    width: calc(100% - 36px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 43px 0 0;
  }

  body[data-page="home"] .home-hero .hero-intro {
    order: 1;
    width: 100%;
    padding: 0;
  }

  body[data-page="home"] .home-hero .eyebrow {
    gap: 9px;
    margin-bottom: 22px;
    font-size: 16px;
    letter-spacing: .06em;
  }

  body[data-page="home"] .home-hero .eyebrow::before { width: 19px; }

  body[data-page="home"] .home-hero .hero-intro h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 9.05vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: 0;
  }

  body[data-page="home"] .home-hero .hero-statement {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 23px 0 0;
  }

  body[data-page="home"] .home-hero .hero-statement .lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  body[data-page="home"] .home-hero .hero-statement .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
  }

  body[data-page="home"] .home-hero .hero-statement .actions .button {
    width: 100%;
    min-height: 52px;
    margin: 0;
  }

  body[data-page="home"] .home-hero .hero-portrait {
    order: 3;
    width: calc(100% - 20px);
    margin: 34px 0 0;
  }

  body[data-page="home"] .home-hero .hero-portrait img {
    width: 100%;
    height: clamp(275px, 74vw, 360px);
    aspect-ratio: auto;
    object-position: center 17%;
    clip-path: none;
  }

  body[data-page="home"] .home-hero .hero-portrait-name {
    padding: 15px 0 0;
    font-size: 16px;
  }

  body[data-page="home"] .home-hero .hero-bottom {
    order: 4;
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-top: 42px;
    padding: 20px 18px 28px;
    background: #001c51;
  }

  body[data-page="home"] .home-hero .home-stats { width: 100%; }

  body[data-page="home"] .home-hero .home-stats > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0 10px;
  }

  body[data-page="home"] .home-hero .home-stats > div:first-child { padding-left: 0; }

  body[data-page="home"] .home-hero .home-stats strong {
    font-size: clamp(1.8rem, 7.5vw, 2.25rem) !important;
  }

  body[data-page="home"] .home-hero .home-stats span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .home-hero .hero-statement .actions .button { transition: none; }
}
