


.np-wa {
  --wa: #25d366;
  --wa-dark: #1ebe5b;

  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;

  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;

  background: radial-gradient(circle at 34% 28%, #4ce585 0%, var(--wa) 46%, var(--wa-dark) 100%);
  box-shadow:
    0 10px 26px rgba(20, 140, 70, .42),
    0 2px 6px rgba(12, 60, 32, .28),
    inset 0 -2px 6px rgba(0, 0, 0, .16),
    inset 0 2px 5px rgba(255, 255, 255, .34);

  -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.22, .9, .3, 1), box-shadow .18s,
              bottom .3s cubic-bezier(.2, .8, .25, 1);
  animation: np-wa-breath 3.4s ease-in-out infinite;
}

.np-wa__ico {
  width: 33px;
  height: 33px;
  display: block;
  color: #fff;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(10, 70, 38, .45));
  position: relative;
  z-index: 2;
}

.np-wa::before,
.np-wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: np-wa-ring 2.6s cubic-bezier(.2, .7, .3, 1) infinite;
  pointer-events: none;
}

.np-wa::after { animation-delay: 1.3s; }

@keyframes np-wa-ring {
  0%   { transform: scale(1);    opacity: .55; border-width: 2px; }
  70%  { transform: scale(1.75); opacity: 0;   border-width: 1px; }
  100% { transform: scale(1.75); opacity: 0;   border-width: 1px; }
}

@keyframes np-wa-breath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

.np-wa:hover  { transform: scale(1.08); box-shadow: 0 14px 32px rgba(20, 140, 70, .5), 0 2px 6px rgba(12, 60, 32, .3); }
.np-wa:active { transform: scale(.94); }
.np-wa:focus-visible { outline: 3px solid #1a2c51; outline-offset: 4px; }

.np-wa__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: #fff;
  color: #1a2c51;
  font: 700 14px/1 'Open Sans', 'Open Sans Fallback', system-ui, sans-serif;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(26, 44, 81, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

@media (hover: hover) and (min-width: 900px) {
  .np-wa:hover .np-wa__label,
  .np-wa:focus-visible .np-wa__label { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@media (max-width: 599px) {
  .np-wa { width: 56px; height: 56px; }
  .np-wa__ico { width: 30px; height: 30px; }
}

body.header-mob-open .np-wa,
body.is-menu .np-wa { bottom: -110px; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .np-wa { animation: none; }
  .np-wa::before, .np-wa::after { animation: none; opacity: 0; }
}


.np-btn--wa {
  background: #25d366;
  color: #0b3d20;
  box-shadow: 0 6px 18px rgba(20, 140, 70, .34);
}
.np-btn--wa:hover { background: #1ebe5b; color: #08301a; }



:root { --np-note: #5B6893; } 

.np-intro2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 26px;
}
.np-intro2 .np-h { margin-bottom: 0; }

.np-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.np-cmp__c {
  background: #fff;
  border: 1px solid var(--np-line, #e3e8f5);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(16, 36, 80, .04), 0 16px 40px -26px rgba(16, 36, 80, .4);
}
.np-cmp__h { padding: 18px 22px 4px; }
.np-cmp__c img { width: 100%; display: block; background: #fff; }
.np-cmp__t { padding: 2px 22px 22px; font-size: 15px; line-height: 1.55; }
.np-cmp__t b { color: var(--np-head, #1a2c51); }

.np-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 14px;
  line-height: 1;
}
.np-chip--ok  { background: #E8F0FF; color: var(--np-accent, #1e6aff); border: 1px solid #C9DCFB; }
.np-chip--bad { background: #F2F0EC; color: #8A7C63; border: 1px solid #E2DCD1; }

.np-figrow {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--np-line, #e3e8f5);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 28px;
  align-items: center;
}
.np-figrow .np-h3 { margin: 6px 0 10px; }
.np-figrow p { margin: 0; font-size: 15px; line-height: 1.6; }

.np-fig2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.np-fig2 figure { margin: 0; text-align: center; }
.np-fig2 img { width: 100%; max-width: 230px; display: block; margin: 0 auto 10px; }
.np-fig2 figcaption i {
  display: block;
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
  color: var(--np-note, #7C88AE);
  margin-top: 7px;
}

@media (max-width: 980px) {
  .np-intro2, .np-cmp, .np-figrow { grid-template-columns: 1fr; gap: 16px; }
  .np-fig2 { gap: 12px; }
}



:root { --np-bar-h: 68px; }

.np-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--np-line, #e3e8f5);
  box-shadow: 0 -8px 26px rgba(9, 22, 45, .1);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.2, .8, .25, 1);
}
body.np-bar-on .np-bar { transform: none; }

.np-bar__p { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.np-bar__p b { display: block; font-size: 17px; font-weight: 800; color: var(--np-head, #1a2c51); white-space: nowrap; }
.np-bar__p i { display: block; font-style: normal; font-size: 12px; color: var(--np-note, #7C88AE); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.np-bar .np-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  align-self: center;
  white-space: nowrap;
  padding: 13px 18px;
  font-size: 15px;
}

@media (max-width: 719px) { .np-bar { display: flex; } }

@media (max-width: 719px) {
  body.np-bar-on .np-wa { bottom: calc(var(--np-bar-h) + 26px); }
}

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



.np-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.np-toc a {
  background: #fff;
  border: 1px solid var(--np-line, #e3e8f5);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 14.5px;
  color: var(--np-head, #1a2c51);
  text-decoration: none;
  transition: border-color .18s, background .18s, transform .12s;
}
.np-toc a:hover { border-color: var(--np-accent, #1e6aff); background: var(--np-soft, #f6f8ff); }
.np-toc a:active { transform: scale(.97); }
.np-toc a.is-here { background: var(--np-accent, #1e6aff); border-color: var(--np-accent, #1e6aff); color: #fff; }

@media (max-width: 719px) {
  .np-toc {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .np-toc::-webkit-scrollbar { display: none; }
  .np-toc a { flex: none; scroll-snap-align: start; }
}
