/* PRPENCHEV — бранд-система „Тъмна аура" (2026) */
:root {
  /* Основа */
  --pr-bg:        #0a0a10;
  --pr-surface:   #12131b;
  --pr-border:    #242733;
  --pr-text:      #e9ecf5;
  --pr-muted:     #8b90a6;
  --pr-faint:     #7d8399;  /* изсветлен за AA контраст върху тъмния фон */

  /* Акценти */
  --pr-violet:    #7c6cff;
  --pr-cyan:      #40d2ff;
  --pr-gradient:  linear-gradient(100deg, #7c6cff, #40d2ff);

  /* Аура */
  --pr-aura: radial-gradient(circle at 40% 40%,
              rgba(124,108,255,0.40),
              rgba(64,210,255,0.15) 55%,
              rgba(10,10,16,0) 75%);

  /* Space Grotesk няма кирилица — Manrope поема кирилския текст */
  --pr-font: 'Space Grotesk', 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Видима клавиатурна навигация */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pr-cyan); outline-offset: 3px; border-radius: 4px;
}

.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;
}
html { scroll-behavior: smooth; }
body {
  background: var(--pr-bg);
  color: var(--pr-text);
  font-family: var(--pr-font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }

/* ---------- ЛОГО ---------- */
.logo {
  display: inline-flex; align-items: baseline;
  font-family: var(--pr-font);
  font-size: 24px; letter-spacing: -0.04em;
  text-decoration: none; line-height: 1;
}
.logo-pr {
  font-weight: 700;
  background: var(--pr-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-name { font-weight: 500; color: var(--pr-text); display: inline-flex; }
.logo-sq {
  width: 0.155em; height: 0.155em; border-radius: 22%;
  background: var(--pr-cyan); align-self: center; margin-left: 0.14em;
}

/* Анимирано лого (хедър) — секвенцията от бранд-документа, мащабирана */
.logo--animated .logo-pr {
  background: linear-gradient(100deg, #7c6cff 20%, #40d2ff 45%, #7c6cff 70%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0;
  animation: logoRise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards,
             logoShimmer 6s ease-in-out 3s infinite;
}
@keyframes logoRise {
  from { opacity: 0; transform: translateY(0.35em); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoShimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}
.logo--animated .logo-name span { opacity: 0; animation: logoType 0.06s steps(1, end) forwards; }
@keyframes logoType { to { opacity: 1; } }
.logo--animated .logo-name span:nth-child(1) { animation-delay: 0.95s; }
.logo--animated .logo-name span:nth-child(2) { animation-delay: 1.07s; }
.logo--animated .logo-name span:nth-child(3) { animation-delay: 1.19s; }
.logo--animated .logo-name span:nth-child(4) { animation-delay: 1.31s; }
.logo--animated .logo-name span:nth-child(5) { animation-delay: 1.43s; }
.logo--animated .logo-name span:nth-child(6) { animation-delay: 1.55s; }
.logo--animated .logo-name span:nth-child(7) { animation-delay: 1.67s; }
.logo-caret {
  display: inline-block;
  width: 0.09em; height: 0.82em;
  background: var(--pr-cyan);
  align-self: center; margin-left: 0.12em;
  opacity: 0;
  animation: caretOn 0.05s linear 0.9s forwards,
             caretBlink 0.9s steps(1, end) 0.9s 2,
             caretOff 0.3s ease 2.45s forwards;
}
@keyframes caretOn { to { opacity: 1; } }
@keyframes caretBlink { 50% { opacity: 0; } }
@keyframes caretOff { to { opacity: 0; width: 0; margin-left: 0; } }
.logo-beacon { position: relative; width: 0.155em; height: 0.155em; margin-left: 0.14em; align-self: center; }
.logo-beacon .sq {
  position: absolute; inset: 0; border-radius: 22%;
  background: var(--pr-cyan); opacity: 0;
  animation: beaconPop 0.45s cubic-bezier(0.3, 1.6, 0.4, 1) 2.5s forwards,
             beaconBeat 5s ease-in-out 3.6s infinite;
}
@keyframes beaconPop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes beaconBeat {
  0%, 100% { transform: scale(1); }
  6% { transform: scale(1.25); }
  12% { transform: scale(1); }
}
.logo-beacon .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--pr-cyan); opacity: 0;
  animation: beaconWave 5s ease-out 3.6s infinite;
}
.logo-beacon .ring:nth-child(2) { animation-delay: 4.2s; border-color: var(--pr-violet); }
@keyframes beaconWave {
  0%   { opacity: 0.9; transform: scale(1); }
  30%  { opacity: 0;   transform: scale(7); }
  100% { opacity: 0;   transform: scale(7); }
}

/* Логото се анимира веднъж на сесия; после — статичен финален кадър (вълните остават) */
.logo-static .logo--animated .logo-pr { animation: logoShimmer 6s ease-in-out 3s infinite; opacity: 1; }
.logo-static .logo--animated .logo-name span { animation: none; opacity: 1; }
.logo-static .logo-caret { display: none; }
.logo-static .logo-beacon .sq { animation: beaconBeat 5s ease-in-out infinite; opacity: 1; }
.logo-static .logo-beacon .ring { animation-delay: 0s; }
.logo-static .logo-beacon .ring:nth-child(2) { animation-delay: .6s; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.05rem clamp(1.2rem, 5vw, 4rem);
  background: rgba(10, 10, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pr-border);
}
.nav__links { display: flex; gap: clamp(0.9rem, 2.6vw, 2rem); align-items: center; }
.nav__links a {
  color: var(--pr-muted); text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: color .25s;
}
.nav__links a:hover { color: var(--pr-text); }
.nav__lang {
  display: inline-flex; gap: .45rem; align-items: center;
  font-size: .82rem; letter-spacing: .06em;
}
.nav__lang a { color: var(--pr-faint); }
.nav__lang a[aria-current="true"] { color: var(--pr-cyan); }

/* Мобилно меню */
.nav__burger {
  display: none;
  width: 42px; height: 42px; border: 1px solid var(--pr-border); border-radius: 12px;
  background: transparent; cursor: pointer; position: relative; z-index: 60;
}
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--pr-text);
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .25s, top .35s;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); background: var(--pr-cyan); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); background: var(--pr-cyan); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(10,10,16,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem clamp(1.6rem, 8vw, 3rem);
  gap: .4rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  color: var(--pr-text); text-decoration: none;
  font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em;
  padding: .55rem 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), color .25s;
}
.mobile-menu a:hover { color: var(--pr-cyan); }
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .16s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .24s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .32s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .40s; }
.mobile-menu__lang {
  margin-top: 1.6rem; display: flex; gap: 1rem;
  opacity: 0; transition: opacity .5s ease .5s;
}
.mobile-menu.is-open .mobile-menu__lang { opacity: 1; }
.mobile-menu__lang a {
  font-size: 1rem; font-weight: 500; color: var(--pr-faint);
  opacity: 1; transform: none; transition: color .25s;
}
.mobile-menu__lang a[aria-current="true"] { color: var(--pr-cyan); }

/* ---------- БУТОНИ ---------- */
.btn-primary {
  display: inline-block;
  background: var(--pr-gradient);
  color: var(--pr-bg) !important;
  font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 12px;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(124,108,255,.4); }
.btn-primary--nav { padding: 9px 18px; }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--pr-border); color: var(--pr-text);
  font-weight: 500; font-size: 14px;
  padding: 12px 25px; border-radius: 12px;
  text-decoration: none; cursor: pointer; background: transparent;
  transition: transform .25s, background .25s, border-color .25s;
}
.btn-ghost:hover { background: var(--pr-surface); border-color: var(--pr-faint); transform: translateY(-2px); }

/* ---------- ГРАДИЕНТНА ДУМА ---------- */
.grad, .section__title em, .page-hero__title em {
  font-style: normal; font-weight: 700;
  background: var(--pr-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- HERO (начална страница) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem clamp(1.2rem, 6vw, 6rem) 4rem;
}
.hero::before {
  content: ''; position: absolute; top: -160px; right: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: var(--pr-aura); pointer-events: none;
  filter: blur(48px);
  z-index: 1;
}
#signal-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero > *:not(#signal-canvas) { position: relative; z-index: 2; }
.motto {
  font-size: .95rem; letter-spacing: 0.28em;
  color: var(--pr-muted); margin-bottom: 1.6rem;
}
.motto .signal { color: var(--pr-cyan); }
.hero__title {
  font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2.3rem, 6.6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; }
.hero__sub { max-width: 34rem; color: var(--pr-muted); font-size: 1.12rem; margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- PAGE HERO (вътрешни страници) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 9rem clamp(1.2rem, 6vw, 6rem) 3.5rem;
}
.page-hero::before {
  content: ''; position: absolute; top: -180px; right: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: var(--pr-aura); pointer-events: none; filter: blur(48px);
}
.page-hero__crumb { font-size: .82rem; color: var(--pr-faint); margin-bottom: 1.2rem; }
.page-hero__crumb a { color: var(--pr-faint); text-decoration: none; }
.page-hero__crumb a:hover { color: var(--pr-muted); }
.page-hero__title {
  font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5.4vw, 3.8rem); line-height: 1.12;
  margin-bottom: 1.2rem; max-width: 46rem;
}
.page-hero__tagline { color: var(--pr-muted); font-size: 1.12rem; max-width: 36rem; }

/* ---------- SERVICE PAGE LAYOUT ---------- */
.service-body {
  display: grid; gap: 3rem;
  grid-template-columns: 1.6fr 1fr;
  align-items: start;
  padding-top: 1rem;
}
.service-body__main > p { color: var(--pr-muted); margin-bottom: 1.2rem; max-width: 40rem; }
.service-visual {
  position: sticky; top: 6rem;
  border: 1px solid var(--pr-border); border-radius: 18px;
  background: var(--pr-surface); overflow: hidden;
}
.service-visual svg { display: block; width: 100%; height: auto; }
.service-section { margin-top: 2.6rem; }
.service-section h2 {
  font-weight: 700; letter-spacing: -0.01em;
  font-size: 1.35rem; margin-bottom: 1rem;
}
.service-section ul { list-style: none; }
.service-section li {
  padding-left: 1.4rem; position: relative;
  margin-bottom: .6rem; color: var(--pr-text); font-size: .98rem;
}
.service-section li::before { content: "—"; position: absolute; left: 0; color: var(--pr-cyan); }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  display: flex; gap: 1.1rem; align-items: baseline;
  background: var(--pr-surface); border: 1px solid var(--pr-border);
  border-radius: 14px; padding: 1.05rem 1.2rem;
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateX(6px); border-color: var(--pr-faint); }
.step b {
  font-weight: 700; color: var(--pr-cyan); font-size: .9rem; white-space: nowrap;
}
.step span { color: var(--pr-muted); font-size: .95rem; }
.service-cta {
  margin-top: 3rem; padding: 2rem;
  border: 1px solid var(--pr-border); border-radius: 18px;
  background: var(--pr-surface);
  display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.service-cta p { color: var(--pr-muted); max-width: 26rem; }
.service-cta strong { color: var(--pr-text); display: block; font-size: 1.1rem; margin-bottom: .2rem; }

/* ---------- НОВИНАРСКА ЛЕНТА „Сигналът днес“ ---------- */
.wire {
  position: sticky; bottom: 0; z-index: 40;
  display: flex; align-items: stretch;
  border-top: 1px solid var(--pr-border);
  background: rgba(18, 19, 27, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.wire__label {
  flex: none;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.2rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  color: var(--pr-text); white-space: nowrap;
  background: rgba(10, 10, 16, .8);
  border-right: 1px solid var(--pr-border);
  position: relative; z-index: 2;
}
@media (max-width: 640px) {
  .wire__label { padding: .7rem .8rem; font-size: .64rem; letter-spacing: .14em; }
  .wire__item { font-size: .82rem; }
}
.wire__dot {
  width: 7px; height: 7px; border-radius: 22%;
  background: var(--pr-cyan);
  animation: beaconBeat 3s ease-in-out infinite;
}
.wire__viewport {
  flex: 1; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.wire__track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  white-space: nowrap; will-change: transform;
  padding-left: 1.4rem;
  animation: wireScroll var(--wire-dur, 60s) linear infinite;
}
.wire:hover .wire__track { animation-play-state: paused; }
@keyframes wireScroll { to { transform: translateX(-50%); } }
.wire__item { font-size: .88rem; color: var(--pr-muted); }
.wire__item b {
  color: var(--pr-cyan); font-weight: 700; font-size: .74rem;
  letter-spacing: .12em; margin-right: .55rem;
}
.wire__sep {
  width: 6px; height: 6px; border-radius: 22%; flex: none;
  background: var(--pr-gradient); opacity: .7;
}
@media (prefers-reduced-motion: reduce) {
  .wire__viewport { overflow-x: auto; }
  .wire__track { animation: none; }
}

/* ---------- AI АСИСТЕНТ ---------- */
.assist { text-align: center; position: relative; overflow: hidden; }
.assist::before {
  content: ''; position: absolute; top: -180px; left: -140px;
  width: 440px; height: 440px; border-radius: 50%;
  background: var(--pr-aura); opacity: .45; pointer-events: none; filter: blur(48px);
}
.assist > * { position: relative; }
.assist .section__title { margin-bottom: 1rem; }
.assist__hint { color: var(--pr-muted); max-width: 34rem; margin: 0 auto 2rem; }
.assist__box {
  display: flex; gap: .7rem; align-items: center;
  max-width: 38rem; margin: 0 auto;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border); border-radius: 16px;
  padding: .6rem;
  transition: border-color .3s, box-shadow .3s;
}
.assist__box:focus-within { border-color: var(--pr-violet); box-shadow: 0 0 0 3px rgba(124,108,255,.16); }
.assist__mic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--pr-border); background: transparent;
  color: var(--pr-cyan); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s, background .3s, transform .2s;
}
.assist__mic:hover { border-color: var(--pr-cyan); transform: scale(1.05); }
.assist__mic.listening {
  background: rgba(64,210,255,.12); border-color: var(--pr-cyan);
  animation: micPulse 1.4s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(64,210,255,.45); }
  50% { box-shadow: 0 0 0 10px rgba(64,210,255,0); }
}
.assist__input {
  flex: 1; min-width: 0; border: none; background: transparent;
  color: var(--pr-text); font-family: var(--pr-font); font-size: 1rem;
  padding: .6rem .2rem;
}
.assist__input:focus { outline: none; }
.assist__send { flex: 0 0 auto; }
.assist__status { margin-top: .9rem; min-height: 1.4em; color: var(--pr-cyan); font-size: .92rem; }
/* Разговор с асистента */
.assist__chat {
  max-width: 38rem; margin: 1.2rem auto 0; text-align: left;
  display: grid; gap: .7rem;
}
.msg {
  padding: .9rem 1.15rem; border-radius: 16px;
  animation: answerIn .5s cubic-bezier(.22,1,.36,1);
  font-size: .97rem; line-height: 1.55;
}
@keyframes answerIn { from { opacity: 0; transform: translateY(14px); } }
.msg--user {
  justify-self: end; max-width: 85%;
  background: rgba(124,108,255,.16); border: 1px solid rgba(124,108,255,.35);
  border-bottom-right-radius: 6px;
  color: var(--pr-text);
}
.msg--bot {
  justify-self: start; max-width: 92%;
  background: var(--pr-surface); border: 1px solid var(--pr-border);
  border-bottom-left-radius: 6px;
  color: var(--pr-muted);
}
.msg--bot .assist__match {
  display: block; padding: .8rem 1rem; margin: .6rem 0;
  border: 1px solid var(--pr-border); border-radius: 12px;
  text-decoration: none; transition: border-color .3s, transform .3s;
}
.msg--bot .assist__match:hover { border-color: var(--pr-cyan); transform: translateX(4px); }
.msg--bot .assist__match strong { color: var(--pr-text); display: block; margin-bottom: .15rem; }
.msg--bot .assist__match span { color: var(--pr-muted); font-size: .9rem; }
.msg--bot .assist__note { font-size: .85rem; color: var(--pr-faint); margin: .8rem 0 0; }
.msg--bot .btn-primary { margin-top: .6rem; }
.msg--typing { color: var(--pr-faint); letter-spacing: .2em; }

/* ---------- ЦЕНИ ---------- */
.consult-card {
  display: grid; gap: .8rem; justify-items: start;
  background: var(--pr-surface); border: 1px solid rgba(124,108,255,.45);
  border-radius: 18px; padding: 1.8rem;
  max-width: 34rem; margin-bottom: 3rem;
}
.consult-card strong { font-size: 1.15rem; }
.consult-card__price {
  margin-left: .8rem; font-weight: 700; font-size: 1.15rem; color: var(--pr-cyan);
}
.consult-card p { color: var(--pr-muted); font-size: .95rem; }
.price-offer { color: var(--pr-muted); max-width: 40rem; font-size: 1.05rem; margin-bottom: 1rem; }
.price-rules { max-width: 44rem; margin-top: 2.4rem; }
.price-rules h2 { font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; }
.price-rules ul { list-style: none; }
.price-rules li { padding-left: 1.4rem; position: relative; margin-bottom: .6rem; color: var(--pr-muted); }
.price-rules li::before { content: "—"; position: absolute; left: 0; color: var(--pr-cyan); }
@media (max-width: 760px) {
  .price-row { grid-template-columns: 1fr; }
}

/* ---------- LOGOS STRIP ---------- */
.logos {
  border-block: 1px solid var(--pr-border);
  padding: 2.2rem clamp(1.2rem, 6vw, 6rem);
  background: var(--pr-surface);
  text-align: center;
}
.logos__label {
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--pr-muted); margin-bottom: 1.4rem;
}
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.8rem, 2.5vw, 1.6rem); }
.logos__slot {
  width: clamp(6.5rem, 12vw, 9rem); height: 3.2rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--pr-border); border-radius: 10px;
  color: var(--pr-faint);
  font-size: .75rem; font-weight: 500; letter-spacing: .18em;
  transition: border-color .3s, color .3s;
}
.logos__slot:hover { border-color: var(--pr-faint); color: var(--pr-muted); }

/* ---------- СЕКЦИИ ---------- */
section { padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 6vw, 6rem); }
.section__eyebrow {
  font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--pr-muted); margin-bottom: 1rem;
}
.section__title {
  font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4.6vw, 3.2rem); line-height: 1.15;
  margin-bottom: 2.5rem;
}

/* ---------- УСЛУГИ (карти на началната) ---------- */
.services { position: relative; overflow: hidden; }
.services::before {
  content: ''; position: absolute; top: -180px; left: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: var(--pr-aura); opacity: .5; pointer-events: none; filter: blur(48px);
}
.services__grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.card {
  position: relative;
  background: var(--pr-surface); border: 1px solid var(--pr-border);
  border-radius: 18px; padding: 2rem 1.8rem;
  transition: transform .35s, border-color .35s;
}
.card:hover { transform: translateY(-8px); border-color: var(--pr-faint); }
.card__num { font-size: .85rem; font-weight: 500; color: var(--pr-faint); margin-bottom: 1.2rem; }
.card h3 { font-weight: 700; letter-spacing: -0.01em; font-size: 1.25rem; margin-bottom: .9rem; }
.card > p { color: var(--pr-muted); font-size: .97rem; margin-bottom: 1.2rem; }
.card ul { list-style: none; margin-bottom: 1.6rem; }
.card li { padding-left: 1.3rem; position: relative; font-size: .95rem; margin-bottom: .5rem; }
.card li::before { content: "—"; position: absolute; left: 0; color: var(--pr-cyan); }
.card li a { color: var(--pr-text); text-decoration: none; transition: color .25s; }
.card li a:hover { color: var(--pr-cyan); }
.card--featured { border-color: rgba(124,108,255,.45); }
.card__badge {
  position: absolute; top: -0.8rem; right: 1.4rem;
  background: var(--pr-gradient); color: var(--pr-bg);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 8px;
}

/* ---------- ЗА МЕН ---------- */
.about {
  display: grid; gap: 3rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  background: var(--pr-surface);
  border-block: 1px solid var(--pr-border);
}
.about__text p:not(.section__eyebrow) { color: var(--pr-muted); margin-bottom: 1.1rem; max-width: 36rem; }
.about__side { display: grid; gap: 2rem; }

/* ---------- ПРОФИЛ (аватар като в социална мрежа) ---------- */
.bio {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.4rem;
}
.bio__avatar {
  position: relative; flex: none;
  width: 76px; height: 76px;
}
.bio__avatar img {
  position: relative; z-index: 3;
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--pr-bg);
  display: block;
}
/* бавно въртящ се градиентен пръстен */
.bio__ring {
  position: absolute; inset: -3px; z-index: 2;
  border-radius: 50%;
  background: conic-gradient(#7c6cff, #40d2ff, #7c6cff);
  animation: bioSpin 7s linear infinite;
}
@keyframes bioSpin { to { transform: rotate(1turn); } }
/* сигнални вълни, излъчвани от аватара — меки и прозрачни */
.bio__wave {
  position: absolute; inset: -3px; z-index: 1;
  border-radius: 50%;
  border: 1px solid var(--pr-cyan);
  opacity: 0;
  animation: bioWave 5s ease-out infinite;
}
.bio__wave--2 { border-color: var(--pr-violet); animation-delay: 1.7s; }
@keyframes bioWave {
  0%   { opacity: .3; transform: scale(1); }
  60%  { opacity: 0;  transform: scale(2.1); }
  100% { opacity: 0;  transform: scale(2.1); }
}
/* поява: „изскача“ като нотификация */
.bio.reveal.is-visible .bio__avatar {
  animation: avatarPop .65s cubic-bezier(.3, 1.6, .4, 1) both;
}
@keyframes avatarPop {
  from { transform: scale(.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.bio__avatar:hover img { filter: saturate(1.08); }
.bio__id { display: grid; gap: .15rem; }
.bio__id strong {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.bio__badge {
  width: 9px; height: 9px; border-radius: 22%;
  background: var(--pr-cyan);
  animation: beaconBeat 5s ease-in-out infinite;
}
.bio__id > span:last-child { color: var(--pr-muted); font-size: .88rem; }

/* Кариерна лента — пишеща машина вместо снимка */
.ticker {
  position: relative;
  border: 1px solid var(--pr-border); border-radius: 18px;
  background: var(--pr-bg);
  padding: 1.8rem 1.6rem;
  min-height: 15rem;
  overflow: hidden;
}
.ticker::before {
  content: ''; position: absolute; top: -60%; right: -40%;
  width: 120%; height: 120%; border-radius: 50%;
  background: var(--pr-aura); opacity: .35; filter: blur(40px); pointer-events: none;
}
.ticker__head {
  display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pr-faint); margin-bottom: 1.2rem;
}
.ticker__dot { width: 7px; height: 7px; border-radius: 22%; background: var(--pr-cyan);
  animation: beaconBeat 4s ease-in-out infinite; }
/* „On air" еквалайзер */
.ticker__eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 12px; margin-left: auto; }
.ticker__eq i {
  width: 3px; border-radius: 2px;
  background: var(--pr-gradient);
  animation: eqBounce 1.1s ease-in-out infinite;
}
.ticker__eq i:nth-child(1) { animation-delay: 0s; }
.ticker__eq i:nth-child(2) { animation-delay: .25s; }
.ticker__eq i:nth-child(3) { animation-delay: .5s; }
.ticker__eq i:nth-child(4) { animation-delay: .75s; }
@keyframes eqBounce {
  0%, 100% { height: 4px; opacity: .55; }
  50% { height: 12px; opacity: 1; }
}
.ticker__lines { position: relative; display: grid; gap: .45rem; }
.ticker__line {
  font-size: .98rem; color: var(--pr-muted); min-height: 1.6em;
  display: flex; align-items: baseline; gap: .55rem;
  padding: .18rem .6rem;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color .4s, opacity .5s, background .4s, border-color .4s;
}
.ticker__line b { color: var(--pr-cyan); font-weight: 700; font-size: .82rem; letter-spacing: .04em; white-space: nowrap;
  transition: text-shadow .3s; }
/* Подчертаването е закачено за самия ред — винаги на точното място, и при пренасяне */
.ticker__line.active {
  color: var(--pr-text);
  background: linear-gradient(90deg, rgba(64,210,255,.09), rgba(124,108,255,.04) 60%, transparent);
  border-left-color: var(--pr-cyan);
}
.ticker__line.active b { text-shadow: 0 0 14px rgba(64,210,255,.8); }
.ticker__line.done { opacity: .58; }
.ticker__line.done b { color: var(--pr-faint); }
.ticker__caret {
  display: inline-block; width: 2px; height: 1em; background: var(--pr-cyan);
  vertical-align: text-bottom; margin-left: 2px;
  animation: caretBlink .9s steps(1, end) infinite;
}
.about__stats { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.stat strong {
  display: block;
  font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  color: var(--pr-cyan);
}
.stat { position: relative; }
.stat strong::after { content: "+"; }   /* плюсът е при числото: 306+ */
.stat strong.flash { animation: statFlash .7s ease-out; }
/* Плаващо „+1" при жив брояч */
.stat__plus {
  position: absolute; top: -0.4rem; left: 55%;
  font-weight: 700; font-size: .85rem;
  color: var(--pr-bg);
  background: var(--pr-gradient);
  padding: .12rem .5rem; border-radius: 99px;
  pointer-events: none;
  animation: plusFloat 1.6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes plusFloat {
  0%   { opacity: 0; transform: translateY(8px) scale(.6); }
  18%  { opacity: 1; transform: translateY(0) scale(1.05); }
  70%  { opacity: 1; transform: translateY(-14px) scale(1); }
  100% { opacity: 0; transform: translateY(-26px) scale(.9); }
}
@keyframes statFlash {
  0% { text-shadow: 0 0 0 rgba(64,210,255,0); transform: scale(1); }
  35% { text-shadow: 0 0 26px rgba(64,210,255,.95); transform: scale(1.12); }
  100% { text-shadow: 0 0 0 rgba(64,210,255,0); transform: scale(1); }
}
.stat span { color: var(--pr-muted); font-size: .82rem; }

/* ---------- ДОВЕРИЕ (срещи от най-висок ранг) ---------- */
.trust { text-align: center; }
.trust .section__title { margin-bottom: 2.2rem; }
/* Широки редове — едно под друго, с анимирано светване */
.trust__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 56rem; margin: 0 auto;
}
.trust__item {
  position: relative; overflow: hidden;
  border: 1px solid var(--pr-border); border-radius: 18px;
  background: var(--pr-surface);
  padding: 1.7rem 1.9rem 1.7rem 2.1rem;
  display: grid; gap: .6rem 2.2rem;
  grid-template-columns: 11.5rem 1fr;
  align-items: center;
  text-align: left;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s, box-shadow .4s;
}
/* лява сигнална черта, която „светва“ при появяване */
.trust__item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--pr-gradient);
  transform: scaleY(0); transform-origin: top;
  transition: transform .9s cubic-bezier(.22,1,.36,1) .2s;
}
.trust__item.is-visible::before { transform: scaleY(1); }
.trust__item:hover {
  transform: translateX(10px);
  border-color: rgba(64,210,255,.4);
  box-shadow: -6px 0 32px rgba(124,108,255,.12);
}
.trust__item strong {
  font-weight: 700; letter-spacing: .02em;
  font-size: 1.1rem; color: var(--pr-cyan);
  line-height: 1.35;
}
.trust__item span { color: var(--pr-muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 700px) {
  .trust__item { grid-template-columns: 1fr; padding: 1.4rem 1.3rem 1.4rem 1.6rem; }
}

/* ---------- СИГНАЛ ПРИ КЛИК ---------- */
.click-signal {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid var(--pr-cyan);
  box-shadow: 0 0 0 1px rgba(124,108,255,.5);
  animation: clickWave .65s cubic-bezier(.2,.8,.4,1) forwards;
}
@keyframes clickWave {
  0%   { opacity: .9; transform: scale(.4); }
  100% { opacity: 0;  transform: scale(5.5); }
}

/* ---------- КОНТАКТНА ФОРМА ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; bottom: -200px; right: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: var(--pr-aura); opacity: .6; pointer-events: none; filter: blur(48px);
}
.contact__grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr 1.3fr; align-items: start;
  position: relative; z-index: 1;
}
.contact__intro p { color: var(--pr-muted); margin-bottom: 1.2rem; max-width: 28rem; }
.contact__address {
  margin-top: 1.6rem; padding: 1.2rem 1.4rem;
  border: 1px solid var(--pr-border); border-radius: 14px; background: var(--pr-surface);
  font-style: normal; color: var(--pr-muted); font-size: .95rem; line-height: 1.7;
}
.contact__address b { color: var(--pr-text); display: block; margin-bottom: .2rem; }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: .4rem; font-size: .85rem; color: var(--pr-muted); }
.form input, .form select, .form textarea {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border); border-radius: 12px;
  color: var(--pr-text); font-family: var(--pr-font); font-size: .98rem;
  padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form textarea { min-height: 8.5rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--pr-violet);
  box-shadow: 0 0 0 3px rgba(124,108,255,.18);
}
.form select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8b90a6 50%), linear-gradient(135deg, #8b90a6 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
/* honeypot: невидимо за хора, попълва се само от ботове */
.form__hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__note { font-size: .8rem; color: var(--pr-faint); }
.form__status { font-size: .95rem; min-height: 1.4em; }
.form__status.ok { color: var(--pr-cyan); }
.form__status.err { color: #ff7b8a; }

/* ---------- COOKIE БАНЕР (деликатен, долу вдясно) ---------- */
.cookiebar {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 48;
  max-width: 21rem;
  background: rgba(18, 19, 27, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--pr-border); border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  animation: cookieIn .6s cubic-bezier(.22,1,.36,1);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } }
body:has(.wire) .cookiebar { bottom: 3.8rem; }   /* над новинарската лента */
.cookiebar p { font-size: .85rem; color: var(--pr-muted); line-height: 1.55; margin-bottom: .9rem; }
.cookiebar a { color: var(--pr-cyan); text-decoration: none; }
.cookiebar a:hover { text-decoration: underline; }
.cookiebar__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookiebar__actions .btn-primary, .cookiebar__actions .btn-ghost {
  padding: 8px 14px; font-size: 12.5px;
}
@media (max-width: 560px) {
  .cookiebar { left: 1rem; right: 1rem; max-width: none; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 2.6rem clamp(1.2rem, 6vw, 6rem);
  border-top: 1px solid var(--pr-border);
  color: var(--pr-muted); font-size: .9rem;
  display: grid; gap: 1.6rem;
}
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer__motto { letter-spacing: .18em; color: var(--pr-faint); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--pr-faint); font-size: .84rem; }
.footer address { font-style: normal; }
.footer a { color: var(--pr-muted); text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--pr-text); }

/* ---------- REVEAL АНИМАЦИИ ---------- */
.reveal, .reveal-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-up { transform: translateY(110%); }
.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up, .logo--animated .logo-pr, .logo--animated .logo-name span,
  .logo-beacon .sq { opacity: 1 !important; transform: none !important; }
  .logo-caret, .logo-beacon .ring { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .service-body { grid-template-columns: 1fr; }
  .service-visual { position: static; max-width: 26rem; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .form__row { grid-template-columns: 1fr; }
  .hero { padding-top: 6rem; }
  .hero__actions .btn-primary, .hero__actions .btn-ghost { width: 100%; text-align: center; }
}
