/* ============================================================
   VoltCore — стилове
   Съдържание:
   1. Токени
   2. Базови стилове
   3. Бутони и общи елементи
   4. Header и навигация
   5. Hero и АВР диаграма
   6. Секции, заглавия, мрежи
   7. Карти услуги
   8. Предимства / ценности
   9. Split секции и рамки за снимки
   10. Стъпки, статистики, CTA
   11. Планове, ценова таблица, FAQ
   12. Контактна форма и контактен списък
   13. Марки, footer, action-bar
   14. Анимации и reduced-motion
   ============================================================ */

/* 1. Токени ---------------------------------------------------- */

:root {
  /* цветове — изведени от логото: мастилено синьо + волтово оранжево */
  --paper: #f6f7f2;
  --paper-2: #eceee5;
  --card: #ffffff;
  --ink: #14283c;
  --ink-soft: #46586b;
  --navy-800: #16324f;
  --navy-900: #0e1d2c;
  --line: #d9dcd0;
  --line-dark: #2c4257;
  --volt: #f28c1e;
  --volt-deep: #d97a10;
  --volt-ink: #a05400; /* оранжево за дребен текст върху светло — AA контраст */
  --blue: #4a9fd8;

  /* типография */
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  /* отстояния и размери */
  --container: 1160px;
  --header-h: 72px;
  --radius: 12px;
  --radius-sm: 8px;

  /* чертожна мрежа за фонове */
  --grid-lines: linear-gradient(to right, rgba(20, 40, 60, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 40, 60, 0.05) 1px, transparent 1px);
}

/* 2. Базови стилове -------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.06rem;
  font-weight: 500;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--volt-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--volt-deep);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection {
  background: var(--volt);
  color: var(--navy-900);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4.5vw, 2.5rem);
}

.container--narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* 3. Бутони и общи елементи ------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: var(--volt);
  color: var(--navy-900);
}

.btn--primary:hover {
  background: var(--volt-deep);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 140, 30, 0.3);
}

.btn--outline {
  border-color: currentColor;
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  color: var(--volt-deep);
  transform: translateY(-2px);
}

.section--dark .btn--outline,
.section--cta .btn--outline,
.footer .btn--outline {
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn__arrow {
  transition: transform 0.18s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn-row--center {
  justify-content: center;
  margin-top: 2.4rem;
}

.rule {
  width: 74px;
  height: 4px;
  margin: 1.1rem 0 1.2rem;
  background: linear-gradient(90deg, var(--volt) 60%, var(--blue) 60%);
  border-radius: 2px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow__num {
  color: var(--volt-ink);
  font-weight: 500;
}

.eyebrow__num::after {
  content: " /";
  color: var(--line);
}

.lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* 4. Header и навигация ---------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 242, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(14, 29, 44, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand__bolt {
  fill: var(--volt);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand__name em {
  font-style: normal;
  color: var(--volt-ink);
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__name em {
  color: var(--volt);
}

.nav__list {
  display: flex;
  gap: 0.25rem;
}

.nav__link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav__link:hover {
  color: var(--volt-deep);
}

.nav__link[aria-current="page"] {
  color: var(--volt-ink);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--volt);
  border-radius: 1px;
}

.nav__cta {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 899px) {
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    padding: 1rem clamp(1.15rem, 4.5vw, 2.5rem) 1.6rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(14, 29, 44, 0.12);
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.8rem 0.4rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    color: var(--volt-ink);
  }

  .nav__cta {
    display: block;
    margin-top: 1.2rem;
  }

  .nav__cta .btn {
    width: 100%;
  }
}

/* 5. Hero и АВР диаграма --------------------------------------- */

.hero {
  background-image: var(--grid-lines);
  background-size: 34px 34px;
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.8rem, 7vw, 5.5rem) clamp(2.2rem, 5vw, 4rem);
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
}

.hero__kicker span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

.hero__title {
  font-size: clamp(2.2rem, 6.4vw, 4rem);
  margin-bottom: 0.2em;
}

.hero__sub {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: var(--ink-soft);
  margin-bottom: 0;
}

.hero__figure {
  margin: 0;
  max-width: 560px;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.9fr;
    gap: 4rem;
  }

  .hero__figure {
    justify-self: end;
  }
}

/* тъмна лента с анимираната еднолинейна схема */

.diagram-band {
  background: var(--navy-900);
  padding-block: 1.9rem 1.5rem;
}

.diagram-scroll {
  overflow-x: auto;
  scrollbar-width: none;
}

.diagram-scroll::-webkit-scrollbar {
  display: none;
}

.diagram {
  display: block;
  width: 100%;
  min-width: 660px;
  height: auto;
}

.diagram__wire {
  stroke: var(--line-dark);
  stroke-width: 2.5;
  fill: none;
}

.diagram__box {
  fill: rgba(74, 159, 216, 0.06);
  stroke: var(--blue);
  stroke-width: 1.6;
}

.diagram__pivot,
.diagram__pin {
  fill: #8fa3b5;
}

.diagram__lever {
  stroke: #dfe7ee;
  stroke-width: 4;
  stroke-linecap: round;
}

.diagram__lever--a {
  animation: phase-a 12s linear infinite;
}

.diagram__lever--b {
  animation: phase-b 12s linear infinite;
}

.diagram__label {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.16em;
  fill: #8fa3b5;
}

.diagram__label--box {
  fill: var(--blue);
}

.diagram__g {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  fill: #dfe7ee;
}

.diagram__icon path {
  stroke: #8fa3b5;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagram__icon-stroke {
  stroke: #8fa3b5;
  stroke-width: 2.4;
}

.diagram__node--grid {
  animation: grid-fail 12s linear infinite;
}

.diagram__flow {
  fill: none;
  stroke: var(--volt);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 12 16;
  filter: drop-shadow(0 0 6px rgba(242, 140, 30, 0.65));
  animation: flow-dash 0.9s linear infinite, phase-a 12s linear infinite;
}

.diagram__flow--b {
  animation: flow-dash 0.9s linear infinite, phase-b 12s linear infinite;
}

.diagram__led {
  fill: var(--volt);
  animation: phase-a 12s linear infinite;
}

.diagram__led--b {
  animation: phase-b 12s linear infinite;
}

.diagram-band__caption {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #8fa3b5;
  max-width: 72ch;
}

.diagram-band__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  animation: led-blink 2.4s ease-in-out infinite;
}

/* 6. Секции, заглавия, мрежи ----------------------------------- */

.section {
  padding-block: clamp(3.4rem, 8vw, 5.8rem);
}

.section--tight {
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}

.section--alt {
  background: var(--paper-2);
}

.section--dark {
  background: var(--navy-900);
  color: #eef2f6;
}

.section--cta {
  background: var(--navy-800);
  color: #eef2f6;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.page-head {
  background-image: var(--grid-lines);
  background-size: 34px 34px;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.8rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.page-head .section__head {
  margin-bottom: 0;
}

.page-head__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.page-head__anchors a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-head__anchors a::before {
  content: "# ";
  color: var(--volt-ink);
}

.page-head__anchors a:hover {
  border-color: var(--volt);
  color: var(--ink);
  transform: translateY(-2px);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section__head .lead {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 700px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 7. Карти услуги ---------------------------------------------- */

.svc-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  padding: 1.5rem 1.5rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.svc-card__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.svc-card__link:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--volt) 45%, var(--line));
  box-shadow: 0 16px 34px rgba(14, 29, 44, 0.1);
}

.svc-card__link:hover::before {
  transform: scaleX(1);
}

.svc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.svc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--volt) 12%, var(--card));
  color: var(--volt-deep);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.svc-card__link:hover .svc-card__icon {
  background: var(--volt);
  color: var(--navy-900);
}

.svc-card__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--line);
  transition: color 0.22s ease;
}

.svc-card__link:hover .svc-card__num {
  color: var(--volt-ink);
}

.svc-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.3;
}

.svc-card__desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt-ink);
  opacity: 0.75;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.svc-card__link:hover .svc-card__more {
  opacity: 1;
  gap: 0.65rem;
}

/* 8. Предимства / ценности ------------------------------------- */

.feature {
  height: 100%;
  padding: 1.7rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--volt);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(14, 29, 44, 0.09);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--volt) 12%, var(--card));
  color: var(--volt-deep);
}

.feature__title {
  margin-bottom: 0.45em;
}

.feature__text {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

/* 9. Split секции и рамки за снимки ---------------------------- */

.split {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .split--reverse > :first-child {
    order: 2;
  }

  .split--form {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.split__figure {
  margin: 0;
}

.frame {
  position: relative;
}

.frame img {
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(14, 29, 44, 0.14);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid var(--volt);
  pointer-events: none;
}

.frame::before {
  top: -9px;
  left: -9px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 6px;
}

.frame::after {
  bottom: -9px;
  right: -9px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 6px;
}

.frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(14, 29, 44, 0.82);
  border: 1px solid rgba(242, 140, 30, 0.5);
  border-radius: 999px;
}

/* отметки в списъци */

.check-list {
  margin: 1.2rem 0 0.4rem;
  display: grid;
  gap: 0.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.99rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--volt) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a05400' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  background-size: 62%;
  background-position: center;
  background-repeat: no-repeat;
}

/* 10. Стъпки, статистики, CTA ---------------------------------- */

.steps {
  position: relative;
  display: grid;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 11%;
    right: 11%;
    border-top: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent);
  }
}

.step {
  position: relative;
  text-align: left;
}

@media (min-width: 860px) {
  .step {
    text-align: center;
  }
}

.step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--volt-ink);
  background: var(--paper-2);
  border: 2px solid var(--volt);
  border-radius: 50%;
}

.step__title {
  margin-bottom: 0.35em;
}

.step__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* статистики */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}

@media (min-width: 760px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--volt);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa3b5;
}

/* CTA лента */

.cta {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

@media (min-width: 860px) {
  .cta {
    grid-template-columns: 1.4fr auto;
  }
}

.cta__title {
  color: #fff;
  margin-bottom: 0.3em;
}

.cta__text {
  margin: 0;
  color: #b9c7d4;
  max-width: 56ch;
}

/* 11. Планове, ценова таблица, FAQ ----------------------------- */

.grid--plans {
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.8rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(14, 29, 44, 0.1);
}

.plan--featured {
  border: 2px solid var(--volt);
  box-shadow: 0 14px 36px rgba(242, 140, 30, 0.14);
}

.plan__badge {
  position: absolute;
  top: -0.85rem;
  left: 1.4rem;
  padding: 0.25rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--volt);
  border-radius: 999px;
}

.plan__title {
  margin-bottom: 0.3em;
}

.plan__tagline {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.plan__list {
  margin-bottom: 1.2rem;
}

.plan__price {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--volt-ink);
}

/* ценова таблица */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.price-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.price-table caption {
  caption-side: bottom;
  padding: 0.85rem 1.2rem;
  font-size: 0.83rem;
  color: var(--ink-soft);
  text-align: left;
  border-top: 1px solid var(--line);
}

.price-table thead th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.9rem 1.2rem;
}

.price-table tbody th,
.price-table tbody td {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table tbody th {
  font-weight: 700;
  width: 34%;
}

.price-table .desc {
  color: var(--ink-soft);
}

.price-table tbody tr {
  transition: background-color 0.15s ease;
}

.price-table tbody tr:hover {
  background: color-mix(in srgb, var(--volt) 5%, var(--card));
}

.price {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--volt-ink);
  white-space: nowrap;
}

/* FAQ акордеон */

.faq {
  display: grid;
  gap: 0.7rem;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq__item:has(.faq__trigger[aria-expanded="true"]) {
  border-color: color-mix(in srgb, var(--volt) 45%, var(--line));
}

.faq__item h3 {
  margin: 0;
  font-size: inherit;
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.faq__icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2.4px;
  background: var(--volt-ink);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__panel[data-open="true"] {
  grid-template-rows: 1fr;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__panel p {
  margin: 0;
  padding: 0 1.3rem 1.15rem;
  color: var(--ink-soft);
}

/* 12. Контактна форма и контактен списък ----------------------- */

.form {
  display: grid;
  gap: 1.1rem;
  padding: 1.8rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form__row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.9rem;
  font-weight: 700;
}

.req {
  color: var(--volt-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(242, 140, 30, 0.22);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346586b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
  padding-right: 2.4rem;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form__status {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.form__status--ok {
  background: #e4f3e6;
  color: #1c5e2c;
  border: 1px solid #a9d5b1;
}

.form__status--error {
  background: #fbe9e7;
  color: #8c2318;
  border: 1px solid #eab8b1;
}

.form__note {
  margin: 0.8rem 0 0;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.contact-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.6rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--volt) 12%, var(--card));
  border: 1px solid var(--line);
  color: var(--volt-deep);
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-item__value {
  font-weight: 600;
}

.contact-item__value a {
  color: inherit;
  text-decoration: none;
}

.contact-item__value a:hover {
  color: var(--volt-deep);
}

/* 13. Марки, footer, action-bar -------------------------------- */

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.brands li {
  padding: 0.55rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.brands li:hover {
  border-color: var(--volt);
  color: var(--ink);
  transform: translateY(-2px);
}

/* footer */

.footer {
  background: var(--navy-900);
  color: #b9c7d4;
  padding-top: clamp(2.8rem, 6vw, 4rem);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
    gap: 3rem;
  }
}

.footer__about {
  margin-top: 1rem;
  max-width: 34ch;
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa3b5;
  margin: 0.2rem 0 1rem;
}

.footer__list {
  display: grid;
  gap: 0.45rem;
}

.footer__list a {
  color: #dfe7ee;
  text-decoration: none;
}

.footer__list a:hover {
  color: var(--volt);
}

.footer__contact {
  display: grid;
  gap: 0.8rem;
}

.footer__contact > div {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer__contact svg {
  flex: none;
  margin-top: 0.25rem;
  color: var(--volt);
}

.footer__contact a {
  color: #dfe7ee;
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--volt);
}

.footer__alert {
  color: var(--volt);
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
}

.footer__bottom p {
  margin: 0;
}

/* мобилна лента за действия */

.action-bar {
  display: none;
}

@media (max-width: 899px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .action-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(246, 247, 242, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 0.65rem clamp(1.15rem, 4.5vw, 2.5rem)
      calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  .action-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* 14. Анимации и reduced-motion -------------------------------- */

@keyframes flow-dash {
  to {
    stroke-dashoffset: -56;
  }
}

/* 12-секунден цикъл: 0–44% работи мрежата, 48–94% — генераторът */
@keyframes phase-a {
  0%,
  42% {
    opacity: 1;
  }
  46%,
  94% {
    opacity: 0;
  }
  98%,
  100% {
    opacity: 1;
  }
}

@keyframes phase-b {
  0%,
  44% {
    opacity: 0;
  }
  48%,
  92% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
  }
}

@keyframes grid-fail {
  0%,
  40% {
    opacity: 1;
  }
  41% {
    opacity: 0.35;
  }
  42% {
    opacity: 0.9;
  }
  43.5% {
    opacity: 0.25;
  }
  46%,
  93% {
    opacity: 0.3;
  }
  97%,
  100% {
    opacity: 1;
  }
}

@keyframes led-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* scroll-reveal — включва се само при наличен JavaScript */
.js .reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    translate: 0 0;
  }

  /* диаграмата застива в нормален режим: мрежата захранва обекта */
  .diagram__flow--b,
  .diagram__lever--b,
  .diagram__led--b {
    opacity: 0;
  }

  .diagram__flow--a,
  .diagram__lever--a,
  .diagram__led--a,
  .diagram__node--grid {
    opacity: 1;
  }
}

/* === добавени електро микро-анимации (порт от v2) === */

.rule {
  position: relative;
  overflow: hidden;
}

.rule::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  left: -24px;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent);
  animation: rule-spark-x 2.8s linear infinite;
}

@keyframes rule-spark-x {
  from { left: -24px; }
  to { left: 80px; }
}

.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  left: -60px;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.btn--primary:hover::after {
  animation: btn-spark-x 0.5s ease-out;
}

@keyframes btn-spark-x {
  from { left: -60px; }
  to { left: 110%; }
}

.brand__bolt {
  animation: bolt-blink-x 4.2s ease-in-out infinite;
}

@keyframes bolt-blink-x {
  0%, 74%, 100% { opacity: 1; }
  78% { opacity: 0.35; }
  82% { opacity: 1; }
  86% { opacity: 0.5; }
  90% { opacity: 1; }
}

.section--cta {
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(242, 140, 30, 0.3);
}

.section--cta::before {
  content: "";
  position: absolute;
  top: 0;
  height: 2px;
  width: 90px;
  left: -100px;
  background: linear-gradient(90deg, transparent, var(--volt) 50%, transparent);
  box-shadow: 0 0 14px rgba(242, 140, 30, 0.8);
  animation: wire-run-x 4.5s linear infinite;
}

@keyframes wire-run-x {
  from { left: -100px; }
  to { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rule::after,
  .section--cta::before {
    display: none;
  }
}
