/* Pnevmo lead widgets: callback FAB + manager chat + exit quiz (from FitStandart/Lych pattern) */
:root{
  --pn-accent:#ffbf2e;
  --pn-accent-ink:#1a1a1a;
  --pn-navy:#1a1a1a;
  --pn-navy-soft:#2a2a2a;
  --pn-danger:#e53935;
}
.pn-callback-fab {
  position: fixed;
  right: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 12010;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffd56a 0%, var(--pn-accent) 45%, #e5a820 100%);
  color: var(--pn-accent-ink);
  box-shadow: 0 10px 28px rgba(255, 191, 46, .45);
  transition: filter .18s ease, bottom .2s ease, box-shadow .2s ease;
  transform-origin: 70% 70%;
}
.pn-callback-fab.is-alive {
  animation: pn-callback-pulse 2.4s ease-in-out infinite;
}
.pn-callback-fab.is-rattle {
  animation: pn-callback-rattle .55s cubic-bezier(.36,.07,.19,.97) both;
}
.pn-callback-fab.is-urgent {
  background: linear-gradient(145deg, #ffe59a 0%, #ffbf2e 40%, #d49a12 100%);
  box-shadow: 0 10px 28px rgba(229, 168, 32, .55);
}
.pn-callback-fab.is-urgent .pn-callback-fab-timer {
  color: #5c4500;
}
.pn-callback-fab:hover {
  filter: brightness(1.05);
}
.pn-callback-fab:focus-visible {
  outline: 3px solid rgba(26, 26, 26, .45);
  outline-offset: 3px;
}
.pn-callback-fab-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}
.pn-callback-fab-icon svg {
  width: 26px;
  height: 26px;
}
.pn-callback-fab-bubble {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 210px;
  padding: 14px 16px 15px;
  border-radius: 18px;
  background: #fff;
  color: var(--pn-navy);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
  pointer-events: none;
  text-align: right;
  border: 1px solid rgba(26, 26, 26, .06);
}
.pn-callback-fab-bubble::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 2px -2px 4px rgba(15, 23, 42, .06);
  border-top: 1px solid rgba(26, 26, 26, .06);
  border-right: 1px solid rgba(26, 26, 26, .06);
}
.pn-callback-fab-bubble-text {
  font: 700 13px/1.3 system-ui, -apple-system, Segoe UI, sans-serif;
  max-width: 190px;
  letter-spacing: -.01em;
}
.pn-callback-fab-timer {
  font: 800 32px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .06em;
  color: var(--pn-navy);
  font-variant-numeric: tabular-nums;
}
.pn-callback-fab-timer[hidden] {
  display: none !important;
}
.pn-callback-fab.is-timer-done .pn-callback-fab-bubble-text {
  max-width: 140px;
}
@keyframes pn-callback-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(255, 191, 46, .45), 0 0 0 0 rgba(255, 191, 46, .35); }
  50% { box-shadow: 0 12px 32px rgba(255, 191, 46, .5), 0 0 0 10px rgba(255, 191, 46, 0); }
}
@keyframes pn-callback-rattle {
  0% { transform: rotate(0) translateX(0); }
  12% { transform: rotate(-14deg) translateX(-2px); }
  24% { transform: rotate(12deg) translateX(2px); }
  36% { transform: rotate(-10deg) translateX(-2px); }
  48% { transform: rotate(9deg) translateX(1px); }
  60% { transform: rotate(-7deg) translateX(-1px); }
  72% { transform: rotate(5deg) translateX(1px); }
  84% { transform: rotate(-3deg); }
  100% { transform: rotate(0) translateX(0); }
}
body.pn-eq-lock .pn-callback-fab,
body.pn-eq-lock .pn-mchat {
  visibility: hidden;
  pointer-events: none;
}
body.has-pn-eq-dock .pn-callback-fab {
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
body.has-pn-eq-dock.has-pn-mchat .pn-mchat-fab {
  bottom: calc(168px + env(safe-area-inset-bottom, 0px));
}
body.has-pn-eq-dock.has-pn-mchat .pn-mchat-invite {
  bottom: calc(240px + env(safe-area-inset-bottom, 0px));
}
body.has-pn-eq-dock.has-pn-mchat .pn-mchat-panel {
  bottom: calc(232px + env(safe-area-inset-bottom, 0px));
}

/* Чат менеджера (Venyoo-like) — над кнопкой телефона */
.pn-mchat {
  position: fixed;
  right: 16px;
  bottom: 0;
  z-index: 12020;
  pointer-events: none;
}
.pn-mchat-fab,
.pn-mchat-invite,
.pn-mchat-panel {
  pointer-events: auto;
}
.pn-mchat-fab {
  position: fixed;
  right: 16px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  overflow: visible;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 26, 26, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pn-mchat-fab:hover { transform: translateY(-2px); }
.pn-mchat-fab-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border: 2px solid #fff;
}
.pn-mchat-online {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, .25);
}
.pn-mchat-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FF4942;
  color: #fff;
  font: 800 11px/20px system-ui, sans-serif;
  text-align: center;
}
.pn-mchat-invite {
  position: fixed;
  right: 86px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  width: min(280px, calc(100vw - 110px));
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  color: var(--pn-navy);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
  animation: pn-mchat-pop .35s ease both;
  z-index: 12021;
}
.pn-mchat-invite-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #8aa0b5;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.pn-mchat-invite-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  padding-right: 14px;
}
.pn-mchat-invite-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}
.pn-mchat-invite-row strong {
  display: block;
  font: 700 13px/1.2 system-ui, system-ui, sans-serif;
}
.pn-mchat-invite-row span {
  display: block;
  font-size: 11px;
  color: #22c55e;
  margin: 2px 0 6px;
}
.pn-mchat-invite-row p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #334155;
}
.pn-mchat-panel {
  position: fixed;
  right: 16px;
  bottom: calc(158px + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 24px));
  height: min(520px, calc(100vh - 190px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(26, 26, 26, .28);
  overflow: hidden;
  animation: pn-mchat-pop .28s ease both;
}
.pn-mchat-panel[hidden],
.pn-mchat-invite[hidden],
.pn-mchat-badge[hidden],
.pn-mchat-quick[hidden],
.pn-mchat-form[hidden],
.pn-mchat-compose[hidden] {
  display: none !important;
}
.pn-mchat-head {
  display: grid;
  grid-template-columns: 44px 1fr 36px;
  gap: 10px;
  align-items: center;
  padding: 12px 12px 12px 14px;
  background: linear-gradient(135deg, var(--pn-navy-soft), var(--pn-navy));
  color: #fff;
}
.pn-mchat-head-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(255, 191, 46, .7);
}
.pn-mchat-head-meta strong {
  display: block;
  font: 700 14px/1.2 system-ui, system-ui, sans-serif;
}
.pn-mchat-head-meta span {
  font-size: 11px;
  opacity: .85;
}
.pn-mchat-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.pn-mchat-msgs {
  flex: 1;
  overflow: auto;
  padding: 14px 12px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 191, 46, .12), transparent 60%),
    #f4f7fb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pn-mchat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font: 500 13px/1.4 system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--pn-navy);
}
.pn-mchat-bubble--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e4ecf4;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.pn-mchat-bubble--user {
  align-self: flex-end;
  background: var(--pn-accent);
  border-bottom-right-radius: 4px;
  color: var(--pn-accent-ink);
  font-weight: 600;
}
.pn-mchat-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 56px;
  padding: 14px 16px;
}
.pn-mchat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa0b5;
  animation: pn-mchat-dot 1s ease-in-out infinite;
}
.pn-mchat-typing span:nth-child(2) { animation-delay: .15s; }
.pn-mchat-typing span:nth-child(3) { animation-delay: .3s; }
.pn-mchat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 10px;
  background: #f4f7fb;
}
.pn-mchat-chip {
  border: 1px solid #d5e1ee;
  background: #fff;
  color: var(--pn-navy);
  border-radius: 999px;
  padding: 8px 12px;
  font: 600 12px/1.2 system-ui, sans-serif;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.pn-mchat-chip:hover {
  border-color: var(--pn-accent);
  background: #fff8e6;
}
.pn-mchat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e8eef5;
  background: #fff;
}
.pn-mchat-compose input[type="text"],
.pn-mchat-compose input#pn-mchat-text {
  grid-column: 1;
  grid-row: 1;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 44px;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #d5e1ee;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0;
  font: 500 14px/1.3 system-ui, sans-serif;
  color: var(--pn-navy);
  writing-mode: horizontal-tb;
}
.pn-mchat-compose input[type="text"]:focus,
.pn-mchat-compose input#pn-mchat-text:focus {
  outline: none;
  border-color: var(--pn-accent);
  box-shadow: 0 0 0 3px rgba(255, 191, 46, .2);
}
.pn-mchat-send {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--pn-accent);
  color: var(--pn-accent-ink);
  font-size: 16px;
  cursor: pointer;
  font-weight: 700;
  flex: none;
}
.pn-mchat-send:hover { filter: brightness(1.05); }
.pn-mchat-form {
  padding: 10px 12px 12px;
  border-top: 1px solid #e8eef5;
  background: #fff;
  display: grid;
  gap: 8px;
}
.pn-mchat-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  border: 2px solid rgba(26, 26, 26, .18);
  border-radius: 12px;
  padding: 10px 12px;
  font: 600 16px/1.2 system-ui, sans-serif;
  color: var(--pn-navy);
  box-shadow: 0 0 0 3px rgba(255, 191, 46, .15);
}
.pn-mchat-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--pn-accent);
}
.pn-mchat-consent {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
}
.pn-mchat-submit {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
}
@keyframes pn-mchat-pop {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes pn-mchat-dot {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.pn-eq-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 11990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pn-navy) 0%, #2a2a2a 55%, #333 100%);
  color: #fff;
  box-shadow: 0 14px 40px rgba(26, 26, 26, .35);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}
.pn-eq-dock::before {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, .08) 45%,
    rgba(255, 255, 255, .45) 50%,
    rgba(255, 255, 255, .08) 55%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-70%) rotate(8deg);
  animation: pn-eq-dock-shine 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.pn-eq-dock:hover { filter: brightness(1.06); }
.pn-eq-dock:hover::before { animation-duration: 1.6s; }
.pn-eq-dock-text,
.pn-eq-dock-cta {
  position: relative;
  z-index: 1;
}
.pn-eq-dock-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pn-eq-dock-text strong {
  font: 700 14px/1.25 system-ui, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pn-eq-dock-text span {
  font: 500 12px/1.3  system-ui, sans-serif;
  opacity: .82;
}
.pn-eq-dock-cta {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--pn-accent);
  color: var(--pn-accent-ink);
  font: 700 13px/1.2 system-ui, sans-serif;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(232, 72, 85, .45);
  animation: pn-eq-dock-cta-pulse 2.6s ease-in-out infinite;
}
@keyframes pn-eq-dock-shine {
  0%, 18% { transform: translateX(-75%) rotate(8deg); opacity: 0; }
  28% { opacity: 1; }
  58% { transform: translateX(75%) rotate(8deg); opacity: 1; }
  68%, 100% { transform: translateX(85%) rotate(8deg); opacity: 0; }
}
@keyframes pn-eq-dock-cta-pulse {
  0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(232, 72, 85, 0); }
  65% { box-shadow: 0 0 0 6px rgba(232, 72, 85, .22); }
}
@media (prefers-reduced-motion: reduce) {
  .pn-eq-dock::before,
  .pn-eq-dock-cta { animation: none; }
}
@media (max-width: 420px) {
  .pn-eq-dock-text span { display: none; }
  .pn-eq-dock-cta { padding: 10px 12px; font-size: 12px; }
}
.pn-eq {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
  visibility: hidden;
}
.pn-eq.is-open {
  pointer-events: auto;
  visibility: visible;
}
.pn-eq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .28s ease;
}
.pn-eq.is-open .pn-eq-backdrop { opacity: 1; }
.pn-eq-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 48px rgba(26, 26, 26, .22);
  transform: translateY(108%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
}
.pn-eq.is-open .pn-eq-sheet { transform: translateY(0); }
.pn-eq-grab {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: #d5dde8;
  margin: 10px auto 0;
  flex: 0 0 auto;
}
.pn-eq-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 8px;
}
.pn-eq-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pn-navy);
  font: 700 14px/1.2 system-ui, sans-serif;
}
.pn-eq-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.pn-eq-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pn-accent);
  box-shadow: 0 0 0 0 rgba(255, 191, 46, .55);
  flex: 0 0 auto;
  animation: pn-eq-mark-blink 1.4s ease-in-out infinite;
}
@keyframes pn-eq-mark-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 191, 46, .55);
  }
  50% {
    opacity: .45;
    transform: scale(.86);
    box-shadow: 0 0 0 8px rgba(255, 191, 46, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pn-eq-mark { animation: none; box-shadow: 0 0 0 4px rgba(255, 191, 46, .28); }
}
.pn-eq-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: var(--pn-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pn-eq-close:hover { background: #e2ebf4; }
.pn-eq-progress-track {
  height: 3px;
  background: #e8eef5;
  margin: 0 18px 4px;
  border-radius: 99px;
  overflow: hidden;
}
.pn-eq-progress-bar {
  height: 100%;
  width: 6%;
  background: linear-gradient(90deg, var(--pn-accent), #7fd12a);
  transition: width .25s ease;
}
.pn-eq-body {
  padding: 8px 18px 22px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.pn-eq-eyebrow {
  margin: 0 0 6px;
  color: #5b738c;
  font: 600 12px/1.3 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pn-eq-expert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f3f6fa;
}
.pn-eq-expert-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex: 0 0 auto;
  background: #dde3ea;
}
.pn-eq-expert-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pn-eq-expert-meta strong {
  font: 700 15px/1.2 system-ui, sans-serif;
  color: var(--pn-navy);
}
.pn-eq-expert-meta span {
  font: 500 12px/1.3 system-ui, sans-serif;
  color: #5b738c;
}
.pn-eq-title {
  margin: 0 0 10px;
  color: var(--pn-navy);
  font: 700 clamp(22px, 4.2vw, 28px)/1.2 system-ui, sans-serif;
}
.pn-eq-lead {
  margin: 0 0 16px;
  color: #3d5570;
  font: 400 15px/1.45  system-ui, sans-serif;
}
.pn-eq-perks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pn-eq-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8ef;
  color: var(--pn-navy);
  font: 600 14px/1.35 system-ui, sans-serif;
}
.pn-eq-perks img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}
.pn-eq-perk-emoji {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.pn-eq-primary {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 700;
}
.pn-eq-step-num {
  margin: 0 0 6px;
  color: #6a8096;
  font: 600 12px/1.3 system-ui, sans-serif;
}
.pn-eq-options {
  display: grid;
  gap: 8px;
  margin: 14px 0 12px;
}
.pn-eq-options--cards {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pn-eq-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 1.5px solid #d7e2ee;
  border-radius: 14px;
  background: #fff;
  color: var(--pn-navy);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
  font: 600 14px/1.35 system-ui, sans-serif;
}
.pn-eq-option--img {
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  align-items: stretch;
}
.pn-eq-option:hover,
.pn-eq-option:focus-visible {
  border-color: var(--pn-navy);
  background: #f5f9ff;
  outline: none;
  transform: translateY(-1px);
}
.pn-eq-option-media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef3f8;
}
.pn-eq-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pn-eq-option-idx {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--pn-accent);
  color: var(--pn-accent-ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.pn-eq-option-text { flex: 1; padding-top: 2px; }
.pn-eq-option--img .pn-eq-option-text {
  padding: 2px 6px 6px;
  font-size: 13px;
}
.pn-eq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  font: 600 13px/1.3 system-ui, sans-serif;
  color: #5b738c;
}
.pn-eq-field input,
.pn-eq-input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #d7e2ee;
  border-radius: 12px;
  padding: 10px 14px;
  font: 500 16px/1.3  system-ui, sans-serif;
  color: var(--pn-navy);
  background: #fff;
}
.pn-eq-field input:focus,
.pn-eq-input:focus {
  outline: none;
  border-color: var(--pn-navy);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, .12);
}
.pn-eq-back {
  display: inline-flex;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #5b738c;
  font: 600 13px/1.3 system-ui, sans-serif;
  cursor: pointer;
  padding: 6px 0;
}
.pn-eq-back:hover { color: var(--pn-navy); }
.pn-eq-consent {
  margin: 4px 0 14px;
  font-size: 12px;
  color: #5b738c;
}
.pn-eq-consent a { color: var(--pn-navy); }
.pn-eq-leave {
  position: absolute;
  inset: auto 12px 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d7e2ee;
  box-shadow: 0 12px 36px rgba(26, 26, 26, .18);
  z-index: 2;
}
.pn-eq-leave p {
  margin: 0 0 12px;
  color: var(--pn-navy);
  font: 600 14px/1.4 system-ui, sans-serif;
}
.pn-eq-leave-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pn-eq-leave-actions .btn { min-height: 42px; border-radius: 12px; font-size: 13px; }
.pn-eq-thanks { padding-bottom: 8px; }
@media (min-width: 720px) {
  .pn-eq-dock {
    left: 50%;
    right: auto;
    width: min(560px, calc(100vw - 32px));
    transform: translateX(-50%);
  }
  .pn-eq-sheet {
    left: 50%;
    right: auto;
    width: min(560px, calc(100vw - 32px));
    transform: translate(-50%, 108%);
    border-radius: 22px 22px 0 0;
  }
  .pn-eq.is-open .pn-eq-sheet { transform: translate(-50%, 0); }
}
@media (max-width: 380px) {
  .pn-eq-options--cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* Меньше визуального шума: один сильный CTA, квиз-dock компактнее */
  .pn-eq-dock {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 10px 12px;
  }
  .pn-eq-dock-cta {
    min-height: 44px;
    font-size: 14px;
  }
  body.has-pn-eq-dock {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* Sticky-полоска: звонок + каталог (главная/каталог, не автосервис) */
  body:not([data-route*="avtoservis"]) .pn-mobile-cta-bar {
    display: flex;
  }

  .pn-callback-fab {
    right: 12px;
    width: 54px;
    height: 54px;
  }
  .pn-callback-fab-bubble {
    right: 0;
    left: auto;
    top: auto;
    bottom: calc(100% + 10px);
    transform: none;
    align-items: flex-end;
    min-width: 0;
    max-width: min(220px, calc(100vw - 28px));
  }
  .pn-callback-fab-bubble::after {
    right: 20px;
    top: auto;
    bottom: -5px;
    transform: rotate(45deg);
  }
  /* С чатом менеджера — пузырь слева от телефона, не сверху */
  body.has-pn-mchat .pn-callback-fab-bubble {
    right: calc(100% + 10px);
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    align-items: flex-end;
  }
  body.has-pn-mchat .pn-callback-fab-bubble::after {
    right: -5px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }
  .pn-callback-fab-bubble-text { font-size: 12px; max-width: 170px; }
  .pn-callback-fab-timer { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pn-callback-fab.is-alive,
  .pn-callback-fab.is-rattle { animation: none !important; }
}

.pn-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Mobile sticky CTA */
.pn-mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11800;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}
.pn-mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  font: 700 15px/1.2 system-ui, sans-serif;
  text-decoration: none;
}
.pn-mobile-cta-bar__call {
  background: #1a1a1a;
  color: #fff;
}
.pn-mobile-cta-bar__cat {
  background: #ffbf2e;
  color: #1a1a1a;
}
@media (max-width: 720px) {
  body.has-pn-mobile-cta {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  /* FAB выше sticky-бара */
  body.has-pn-mobile-cta .pn-callback-fab {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  body.has-pn-mobile-cta.has-pn-mchat .pn-mchat-launcher {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  body.has-pn-mobile-cta .pn-eq-dock {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

.pn-eq-form .pn-eq-field{display:grid;gap:6px;margin:0 0 10px}
.pn-eq-form .pn-eq-field span{font:600 12px/1.2 system-ui,sans-serif;color:#555}
.pn-eq-form input[type=text],.pn-eq-form input[type=tel],.pn-eq-input{
  width:100%;min-height:48px;border:2px solid rgba(26,26,26,.15);border-radius:12px;
  padding:10px 14px;font:600 16px/1.2 system-ui,sans-serif;color:#1a1a1a;box-sizing:border-box
}
.pn-eq-form input:focus,.pn-eq-input:focus{outline:none;border-color:var(--pn-accent);box-shadow:0 0 0 3px rgba(255,191,46,.25)}
.pn-eq-primary,.pn-mchat-submit,.btn.pn-eq-primary{
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;
  border:0;border-radius:12px;background:var(--pn-accent);color:var(--pn-accent-ink);
  font:700 15px/1.2 system-ui,sans-serif;cursor:pointer
}
.pn-eq-primary:hover,.pn-mchat-submit:hover{filter:brightness(1.05)}
.pn-eq-back{display:inline-block;margin-top:12px;border:0;background:transparent;color:#666;font:600 13px/1.2 system-ui,sans-serif;cursor:pointer;padding:0}
.pn-eq-consent,.pn-mchat-consent{display:flex;gap:8px;align-items:flex-start;font:500 11px/1.35 system-ui,sans-serif;color:#64748b;margin:0}
.pn-eq-consent a,.pn-mchat-consent a{color:#1a1a1a}
.pn-form-status{margin:8px 0 0;font:600 13px/1.3 system-ui,sans-serif}
.pn-form-status.is-ok{color:#1b7a3a}
.pn-form-status.is-error{color:#c62828}
.pn-lead-modal{position:fixed;inset:0;z-index:12100;display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.55)}
.pn-lead-modal[hidden]{display:none!important}
.pn-lead-modal__dialog{width:min(420px,100%);background:#fff;border-radius:18px;padding:20px;position:relative;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.pn-lead-modal__close{position:absolute;top:10px;right:12px;border:0;background:#f0f0f0;width:36px;height:36px;border-radius:50%;font-size:22px;cursor:pointer;line-height:1}
.pn-lead-modal__eyebrow{margin:0 0 6px;font:700 12px/1.2 system-ui,sans-serif;color:#888;text-transform:uppercase;letter-spacing:.04em}
.pn-lead-modal__title{margin:0 0 8px;font:800 20px/1.25 system-ui,sans-serif;color:#1a1a1a}
.pn-lead-modal__text{margin:0 0 14px;font:500 14px/1.4 system-ui,sans-serif;color:#555}
body.pn-eq-lock{overflow:hidden}
