/* bristol NetTerrier Ankündigung. Всё под .ntt; :not(#n) поднимает специфичность над темой Impreza. */
.ntt {
  --ntt-ink: #001724;
  --ntt-navy: #0b2332;
  --ntt-teal: #57d8c2;
  --ntt-neon: #19eaa0;
  --ntt-cyan: #00c8ff;
  --ntt-snow: #f9f9f9;
  --ntt-brand: #0f2f4c;
  font-family: Calibri, Carlito, "Source Sans Pro", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.4;
  text-align: left;
}
.ntt *, .ntt *::before, .ntt *::after { box-sizing: border-box; }
.ntt[hidden], .ntt [hidden] { display: none !important; }

/* строка WPBakery без отступов, баннер на всю ширину */
.l-section:has(.ntt-band) { padding: 0 !important; }
.l-section-h:has(.ntt-band) { padding: 0 !important; max-width: none !important; }
.l-section:has(.ntt-band) .vc_column-inner { padding: 0 !important; }
.l-section:has(.ntt-band) .g-cols { margin: 0 !important; }
.ntt-preview > .ntt-band { display: none; }
.ntt-preview[data-ntt-preview="a"] > .ntt-a,
.ntt-preview[data-ntt-preview="b"] > .ntt-b,
.ntt-preview[data-ntt-preview="c"] > .ntt-c,
.ntt-preview[data-ntt-preview="d"] > .ntt-d,
.ntt-preview[data-ntt-preview="e"] > .ntt-e,
.ntt-preview[data-ntt-preview="f"] > .ntt-f,
.ntt-preview[data-ntt-preview="g"] > .ntt-g { display: block; }

/* ---------- общие элементы ---------- */
.ntt:not(#n) .ntt-h {
  margin: 0;
  padding: 0;
  font-family: inherit !important;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
  color: inherit;
  text-wrap: balance;
}
.ntt:not(#n) .ntt-p {
  margin: 16px 0 0;
  padding: 0;
  max-width: 34em;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.4;
  color: inherit;
  opacity: 0.86;
}
.ntt:not(#n) .ntt-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ntt-teal);
}
.ntt-pill {
  display: inline-block;
  padding: 3px 10px 2px;
  border-radius: 99px;
  background: var(--ntt-neon);
  color: var(--ntt-ink);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.ntt:not(#n) .ntt-wordmark { display: block; width: 196px; height: auto; margin: 0 0 14px; }

.ntt-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ntt:not(#n) .ntt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 2px solid var(--ntt-teal);
  border-radius: 12px;
  background: var(--ntt-teal);
  color: var(--ntt-ink) !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.ntt:not(#n) .ntt-btn svg { transition: transform .3s; }
.ntt:not(#n) .ntt-btn:hover {
  background: #74e2cf;
  border-color: #74e2cf;
  box-shadow: 0 10px 30px -10px rgba(87, 216, 194, 0.8);
}
.ntt:not(#n) .ntt-btn:hover svg { transform: translateX(4px); }
.ntt:not(#n) .ntt-btn-ghost { background: transparent; color: inherit !important; border-color: currentColor; opacity: 0.9; }
.ntt:not(#n) .ntt-btn-ghost:hover { background: rgba(87, 216, 194, 0.12); border-color: var(--ntt-teal); box-shadow: none; }
.ntt:not(#n) a:focus-visible,
.ntt:not(#n) button:focus-visible { outline: 2px solid var(--ntt-cyan); outline-offset: 3px; }

/* ---------- собака на радаре ---------- */
.ntt-dog {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, #06202d 0 63%, transparent 64%);
}
.ntt:not(#n) .ntt-dog img { position: relative; display: block; width: 100%; height: 100%; max-width: none; border-radius: 0; }
.ntt-sweep {
  position: absolute;
  inset: 4.5%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(25, 234, 160, 0.05) 82%, rgba(25, 234, 160, 0.55) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.ntt-ring {
  position: absolute;
  inset: 4.5%;
  border-radius: 50%;
  border: 2px solid var(--ntt-neon);
  opacity: 0;
  pointer-events: none;
}
.ntt-bubble {
  position: absolute;
  top: 2%;
  right: -6%;
  padding: 10px 22px 8px;
  border-radius: 22px 22px 22px 4px;
  background: #fff;
  color: var(--ntt-ink);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
  transform-origin: 0 100%;
  transform: rotate(6deg);
}
.ntt-bubble::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: -12px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-left-color: #fff;
}

/* ---------- баннеры ---------- */
.ntt-band { position: relative; isolation: isolate; overflow: hidden; }
.ntt-in {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 64px);
}

/* A — радар, тёмный */
.ntt-a { background: var(--ntt-ink); color: var(--ntt-snow); }
.ntt-a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 22% 50%, rgba(25, 234, 160, 0.16), transparent 70%),
    radial-gradient(40% 70% at 95% 10%, rgba(0, 200, 255, 0.12), transparent 70%);
}
.ntt-a .ntt-in { grid-template-columns: minmax(220px, 400px) minmax(0, 1fr); }

/* B — WOW, игривый */
.ntt-b { background: linear-gradient(120deg, #0b2332 0%, #0f3a4a 55%, #13564f 100%); color: var(--ntt-snow); }
.ntt-b::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(100deg, #000, transparent 60%);
  mask-image: linear-gradient(100deg, #000, transparent 60%);
}
.ntt-b .ntt-in { grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); }
.ntt-b .ntt-dog { transform: rotate(-4deg); }

/* C — продукт, светлый, в стиле сайта */
.ntt-c { background: linear-gradient(180deg, #f9faff, #ebeff9); color: var(--ntt-brand); }
.ntt-c .ntt-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.ntt-c:not(#n) .ntt-eyebrow { color: #0993b8; }
.ntt:not(#n) .ntt-facts { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ntt:not(#n) .ntt-facts li {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  font-size: 17px;
  line-height: 1.3;
  list-style: none;
}
.ntt:not(#n) .ntt-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ntt-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23001724' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ntt-facts b { display: block; }
.ntt-facts span { opacity: 0.8; }
.ntt-shot { position: relative; }
.ntt:not(#n) .ntt-shot > img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(15, 47, 76, 0.28)); }
.ntt-dog-badge { position: absolute; left: -4%; bottom: -6%; width: 34%; max-width: 190px; margin: 0; box-shadow: 0 14px 34px -10px rgba(0, 23, 36, 0.6); }

@media (max-width: 820px) {
  .ntt-a .ntt-in, .ntt-b .ntt-in, .ntt-c .ntt-in, .ntt-f .ntt-in { grid-template-columns: 1fr; }
  .ntt-band .ntt-dog { max-width: 240px; margin-left: 0; }
  .ntt-bubble { right: -18%; }
  .ntt-c .ntt-shot { order: -1; }
}

/* ---------- попапы ---------- */
.ntt-pop { position: fixed; z-index: 100000; }
.ntt:not(#n) .ntt-x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--ntt-snow) !important;
  cursor: pointer;
  transition: background-color .2s;
}
.ntt:not(#n) .ntt-x:hover { background: rgba(255, 255, 255, 0.22) !important; }

.ntt-modal { inset: 0; display: grid; place-items: center; padding: 16px; }
.ntt-backdrop { position: absolute; inset: 0; background: rgba(0, 12, 20, 0.72); backdrop-filter: blur(4px); }
.ntt-dialog {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 32px 32px 26px;
  border: 1.5px solid rgba(87, 216, 194, 0.55);
  border-radius: 24px;
  background: radial-gradient(90% 60% at 50% 0%, rgba(25, 234, 160, 0.2), transparent 70%), var(--ntt-ink);
  color: var(--ntt-snow);
  text-align: center;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
}
.ntt-dialog .ntt-dog { max-width: 210px; margin-bottom: 22px; }
.ntt-dialog .ntt-bubble { font-size: 28px; right: -30%; }
.ntt-dialog:not(#n) .ntt-eyebrow { justify-content: center; }
.ntt-dialog:not(#n) .ntt-h { font-size: 28px; }
.ntt-dialog:not(#n) .ntt-p { margin-inline: auto; font-size: 17px; }
.ntt-dialog .ntt-cta { justify-content: center; margin-top: 22px; }
.ntt:not(#n) .ntt-later {
  margin: 14px 0 0;
  padding: 4px 8px;
  border: 0;
  background: none !important;
  color: var(--ntt-snow) !important;
  opacity: 0.65;
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ntt:not(#n) .ntt-later:hover { opacity: 1; }

.ntt-toast {
  /* слева: справа внизу значок reCAPTCHA и переключатель языка */
  left: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(calc(100vw - 40px), 390px);
  padding: 18px 46px 18px 18px;
  border: 1.5px solid rgba(87, 216, 194, 0.55);
  border-radius: 18px;
  background: var(--ntt-ink);
  color: var(--ntt-snow);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.7);
}
.ntt-toast:not(#n) .ntt-eyebrow { margin-bottom: 6px; }
.ntt-toast:not(#n) .ntt-h { font-size: 21px; }
.ntt-toast:not(#n) .ntt-p { margin-top: 4px; font-size: 15px; }
.ntt:not(#n) .ntt-link { display: inline-block; margin-top: 8px; color: var(--ntt-teal) !important; font-size: 16px; font-weight: 700; text-decoration: none !important; }
.ntt:not(#n) .ntt-link:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.ntt-toast:not(#n) .ntt-x { top: 8px; right: 8px; width: 30px; height: 30px; }

/* ---------- переключатель на черновике ---------- */
.ntt-switch {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  max-width: calc(100vw - 24px);
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.94);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 10px 40px -8px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
}
.ntt-switch-label { padding: 2px 8px; border-radius: 6px; background: #ffb300; color: #000; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; }
.ntt-switch-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ntt-switch-group > span { opacity: 0.6; margin-right: 2px; }
.ntt-switch:not(#n) button {
  height: 30px;
  min-width: 0;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent !important;
  color: #fff !important;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
.ntt-switch:not(#n) button:hover { border-color: #fff; }
.ntt-switch:not(#n) button[aria-pressed="true"] { background: #fff !important; color: #000 !important; border-color: #fff; font-weight: 700; }

/* ---------- движение ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ntt-sweep { animation: ntt-spin 5s linear infinite; }
  .ntt-ring { animation: ntt-ping 5s ease-out infinite; }
  .ntt-ring-2 { animation-delay: 2.5s; }
  .ntt-bubble { animation: ntt-wow 8s cubic-bezier(.3, 1.6, .5, 1) infinite; }
  .ntt-b .ntt-in > .ntt-dog { animation: ntt-tilt 8s ease-in-out infinite; }
  .ntt-band.is-in .ntt-copy > * { animation: ntt-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ntt-band.is-in .ntt-copy > :nth-child(2) { animation-delay: .08s; }
  .ntt-band.is-in .ntt-copy > :nth-child(3) { animation-delay: .16s; }
  .ntt-band.is-in .ntt-copy > :nth-child(4) { animation-delay: .24s; }
  .ntt-band.is-in .ntt-copy > :nth-child(n+5) { animation-delay: .32s; }
  .ntt-band.is-in:not(.ntt-b) .ntt-in > .ntt-dog, .ntt-band.is-in .ntt-shot { animation: ntt-pop .8s cubic-bezier(.2, .9, .3, 1.15) both; }
  .ntt-dialog { animation: ntt-pop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
  .ntt-backdrop { animation: ntt-fade .3s both; }
  .ntt-toast { animation: ntt-slide .5s cubic-bezier(.2, .9, .3, 1.1) both; }

  @keyframes ntt-spin { to { transform: rotate(360deg); } }
  @keyframes ntt-ping { 0% { opacity: .7; transform: scale(.9); } 40%, 100% { opacity: 0; transform: scale(1.22); } }
  @keyframes ntt-wow {
    0%, 4% { opacity: 0; transform: rotate(-8deg) scale(.3); }
    9%, 92% { opacity: 1; transform: rotate(6deg) scale(1); }
    97%, 100% { opacity: 0; transform: rotate(6deg) scale(.85); }
  }
  @keyframes ntt-tilt { 0%, 4%, 100% { transform: rotate(-4deg); } 10%, 92% { transform: rotate(3deg); } }
  @keyframes ntt-rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes ntt-pop { from { opacity: 0; transform: scale(.9); } }
  @keyframes ntt-fade { from { opacity: 0; } }
  @keyframes ntt-slide { from { opacity: 0; transform: translateY(30px); } }
}

/* ================= дополнительные варианты ================= */

/* D — «сцена»: по центру, гигантское WOW на фоне, радар встаёт из-за нижнего края */
.ntt-d { background: radial-gradient(70% 90% at 50% 100%, #0d3b3f 0%, var(--ntt-ink) 70%); color: var(--ntt-snow); text-align: center; }
.ntt-giant {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: -1;
  font-size: clamp(160px, 34vw, 560px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(87, 216, 194, 0.16);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  user-select: none;
}
.ntt-d .ntt-in { grid-template-columns: 1fr; justify-items: center; padding-bottom: 0; gap: 40px; }
.ntt-d .ntt-copy { display: grid; justify-items: center; }
.ntt-d:not(#n) .ntt-eyebrow { justify-content: center; }
.ntt-d:not(#n) .ntt-h { font-size: clamp(32px, 4.4vw, 64px); }
.ntt-d .ntt-cta { justify-content: center; }
.ntt-dog-rise { width: min(78vw, 520px); max-width: none; margin-bottom: calc(min(78vw, 520px) * -0.5); }

/* E — workflow: четыре шага и бегущий импульс */
.ntt-e { background: var(--ntt-navy); color: var(--ntt-snow); }
.ntt-e::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(45% 80% at 100% 0%, rgba(0, 200, 255, 0.14), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(25, 234, 160, 0.12), transparent 70%);
}
.ntt-e .ntt-in { grid-template-columns: 1fr; gap: 36px; }
.ntt:not(#n) .ntt-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.ntt-steps::before, .ntt-steps::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 22px;
  right: 12%;
  height: 2px;
  background: rgba(87, 216, 194, 0.3);
}
.ntt-steps::after { right: auto; width: 90px; background: linear-gradient(90deg, transparent, var(--ntt-neon)); opacity: 0; }
.ntt:not(#n) .ntt-steps li { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.35; }
.ntt-step-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 2px solid var(--ntt-teal);
  border-radius: 50%;
  background: var(--ntt-navy);
  color: var(--ntt-teal);
  font-size: 18px;
  font-weight: 700;
}
.ntt-steps b { display: block; margin-bottom: 4px; font-size: 22px; }
.ntt-steps li > span:last-child { opacity: 0.8; }
.ntt-e-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ntt-e-foot .ntt-dog { width: 84px; margin: 0; flex: none; }
.ntt-e-foot .ntt-cta { margin-top: 0; }

/* F — live-scan: лента событий */
.ntt-f { background: linear-gradient(180deg, #f9faff, #ebeff9); color: var(--ntt-brand); }
.ntt-f:not(#n) .ntt-eyebrow { color: #0993b8; }
.ntt-f .ntt-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ntt-feed {
  border-radius: 20px;
  background: var(--ntt-ink);
  color: var(--ntt-snow);
  box-shadow: 0 30px 60px -24px rgba(15, 47, 76, 0.55);
  overflow: hidden;
}
.ntt-feed-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-weight: 700; }
.ntt-feed-head .ntt-dog { width: 40px; margin: 0; flex: none; }
.ntt-feed-head i { width: 10px; height: 10px; margin-left: auto; border-radius: 50%; background: var(--ntt-neon); box-shadow: 0 0 0 4px rgba(25, 234, 160, 0.2); }
.ntt:not(#n) .ntt-feed ul { display: grid; gap: 10px; margin: 0; padding: 18px; list-style: none; }
.ntt:not(#n) .ntt-feed li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
  list-style: none;
}
.ntt-feed em { flex: none; min-width: 92px; padding: 4px 10px 3px; border-radius: 99px; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; color: var(--ntt-ink); }
.ntt-feed .is-find { background: var(--ntt-cyan); }
.ntt-feed .is-warn { background: #ffb02e; }
.ntt-feed .is-fix { background: var(--ntt-teal); }
.ntt-feed .is-ok { background: var(--ntt-neon); }
.ntt:not(#n) .ntt-feed .ntt-feed-wow { background: rgba(25, 234, 160, 0.16); font-weight: 700; }

/* G — узкая лента-ссылка */
.ntt-g { background: linear-gradient(90deg, var(--ntt-ink), #0d3b3f); color: var(--ntt-snow); }
.ntt:not(#n) .ntt-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 20px;
  color: var(--ntt-snow) !important;
  font-size: 18px;
  text-decoration: none !important;
}
.ntt-ribbon .ntt-dog { width: 48px; margin: 0; flex: none; }
.ntt-ribbon-text { opacity: 0.92; }
.ntt-ribbon-go { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--ntt-teal); font-weight: 700; }
.ntt-ribbon-go svg { transition: transform .3s; }
.ntt-ribbon:hover .ntt-ribbon-go svg { transform: translateX(4px); }

/* попап 3 — лента внизу */
.ntt-bar {
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 64px 12px 20px;
  border-top: 1.5px solid rgba(87, 216, 194, 0.55);
  background: var(--ntt-ink);
  color: var(--ntt-snow);
  box-shadow: 0 -16px 40px -16px rgba(0, 0, 0, 0.6);
}
.ntt-bar .ntt-dog { width: 52px; margin: 0; flex: none; }
.ntt:not(#n) .ntt-bar-text { margin: 0; font-size: 18px; color: inherit; }
.ntt-bar-text > span:last-child { opacity: 0.85; }
.ntt-bar:not(#n) .ntt-btn { height: 42px; padding: 0 18px; font-size: 16px; flex: none; }
.ntt-bar:not(#n) .ntt-x { top: 50%; right: 14px; transform: translateY(-50%); }

/* попап 4 — собака-кнопка с репликой */
.ntt-peek { left: 20px; bottom: 20px; display: grid; justify-items: start; gap: 14px; }
.ntt:not(#n) .ntt-peek-btn {
  width: 96px;
  height: 96px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none !important;
  cursor: pointer;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.ntt:not(#n) .ntt-peek-btn:hover { transform: scale(1.07) rotate(-4deg); }
.ntt-peek-btn .ntt-bubble { top: -14%; right: -52%; padding: 7px 14px 5px; font-size: 20px; border-radius: 16px 16px 16px 4px; }
.ntt-peek.is-open .ntt-bubble { display: none; }
.ntt-peek-card {
  position: relative;
  width: min(calc(100vw - 40px), 360px);
  padding: 24px 24px 22px;
  border: 1.5px solid rgba(87, 216, 194, 0.55);
  border-radius: 20px;
  background: var(--ntt-ink);
  color: var(--ntt-snow);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.7);
}
.ntt-peek-card:not(#n) .ntt-h { font-size: 23px; }
.ntt-peek-card:not(#n) .ntt-p { font-size: 16px; margin-top: 10px; }
.ntt-peek-card .ntt-cta { margin-top: 18px; }

@media (max-width: 820px) {
  .ntt:not(#n) .ntt-steps { grid-template-columns: 1fr 1fr; }
  .ntt-steps::before, .ntt-steps::after { display: none; }
  .ntt:not(#n) .ntt-ribbon { flex-wrap: wrap; font-size: 16px; }
  .ntt-bar { flex-wrap: wrap; justify-content: flex-start; }
  .ntt-bar-text > span:last-child { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .ntt-d.is-in .ntt-giant { animation: ntt-giant 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  .ntt-d.is-in .ntt-dog-rise { animation: ntt-risein 1.1s cubic-bezier(.2, .9, .3, 1.1) .15s both; }
  .ntt-e.is-in .ntt-steps::after { animation: ntt-run 4s linear infinite; }
  .ntt-e.is-in .ntt-steps li { animation: ntt-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .ntt-e.is-in .ntt-steps li:nth-child(2) { animation-delay: .15s; }
  .ntt-e.is-in .ntt-steps li:nth-child(3) { animation-delay: .3s; }
  .ntt-e.is-in .ntt-steps li:nth-child(4) { animation-delay: .45s; }
  .ntt-e.is-in .ntt-step-n { animation: ntt-lit 4s ease-out infinite; }
  .ntt-e.is-in li:nth-child(2) .ntt-step-n { animation-delay: 1s; }
  .ntt-e.is-in li:nth-child(3) .ntt-step-n { animation-delay: 2s; }
  .ntt-e.is-in li:nth-child(4) .ntt-step-n { animation-delay: 3s; }
  .ntt-f.is-in .ntt-feed li { animation: ntt-feed 9s cubic-bezier(.2, .8, .2, 1) infinite both; }
  .ntt-f.is-in .ntt-feed li:nth-child(2) { animation-delay: 1s; }
  .ntt-f.is-in .ntt-feed li:nth-child(3) { animation-delay: 2s; }
  .ntt-f.is-in .ntt-feed li:nth-child(4) { animation-delay: 3s; }
  .ntt-f.is-in .ntt-feed li:nth-child(5) { animation-delay: 4s; }
  .ntt-feed-head i { animation: ntt-blink 1.6s ease-in-out infinite; }
  .ntt-bar { animation: ntt-slide .5s cubic-bezier(.2, .9, .3, 1.1) both; }
  .ntt-peek-btn { animation: ntt-pop .5s cubic-bezier(.2, .9, .3, 1.3) both; }
  .ntt-peek-card { animation: ntt-slide .35s cubic-bezier(.2, .9, .3, 1.1) both; }

  @keyframes ntt-giant { from { opacity: 0; transform: translate(-50%, -50%) scale(.8); } }
  @keyframes ntt-risein { from { opacity: 0; transform: translateY(45%); } }
  @keyframes ntt-run { 0% { left: 22px; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(88% - 90px); opacity: 0; } }
  @keyframes ntt-lit { 0%, 30%, 100% { background: var(--ntt-navy); color: var(--ntt-teal); box-shadow: none; } 6%, 18% { background: var(--ntt-neon); color: var(--ntt-ink); box-shadow: 0 0 0 8px rgba(25, 234, 160, 0.18); } }
  @keyframes ntt-feed { 0% { opacity: 0; transform: translateX(24px); } 5%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
  @keyframes ntt-blink { 50% { opacity: .35; } }
}

/* на черновике переключатель не прячется под лентой-попапом */
body:has(.ntt-bar:not([hidden])) .ntt-switch { bottom: 88px; }

/* название продукта всегда NetTerrier, даже внутри капса */
.ntt .ntt-name { text-transform: none; letter-spacing: 0.04em; }
