:root {
  --ink: #30343A;
  --ink-soft: #30343A;
  --paper: #F3F4F6;
  --white: #FFFFFF;
  /*
   * Electris Orange, окончателният брандов цвят от логосета (авг.
   * 2026): #30343A / CMYK 5,85,92,0 / PANTONE 1795 C. Заменя старото
   * произволно #30343A навсякъде — виж recolor.py в скрачпада за
   * пълния списък заменени hex/rgba стойности из целия сайт (main.css,
   * solutions-*.css). --orange-hot е изчислен пропорционален по-светъл
   * вариант (същата HSL разлика като старата двойка), не от логосета.
   */
  --orange: #30343A;
  --orange-hot: #30343A;
  --copper: #30343A;
  --line: rgba(48, 52, 58, 0.14);
  --muted: #30343A;
  --dark: #30343A;
  --dark-two: #30343A;
  --green: #DDE1E5;
  --shell: min(1180px, calc(100vw - 112px));
}

/*
 * Скопирано в .electris-front-page навсякъде, където оригиналният
 * handoff използваше bare body/a/button — .electris-front-page е
 * wrapper-ът, който front-page.php вече слага около цялото съдържание
 * под hero-то (header.php/footer.php стоят извън него). Без това
 * скопиране bare body{font-family:Arial...} би пренаписал шрифта и на
 * хедъра/футъра, точно регресията, за която предупреждава README-то в
 * пакета ("Namespace or scope the styles to the homepage").
 *
 * overflow-x:hidden на <body> вече е sitewide в main.css (не тук,
 * .home-специфично) — виж коментара там за причината (position:sticky
 * на .industries-scroll__sticky по-долу изисква overflow:visible на всеки
 * предшественик освен самото body).
 */

.electris-front-page {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.electris-front-page a {
  color: inherit;
  text-decoration: none;
}

.electris-front-page button,
.electris-front-page a {
  -webkit-tap-highlight-color: transparent;
}

.electris-front-page button {
  font: inherit;
}

.electris-front-page svg {
  display: block;
}

/*
 * Hero — видео вместо снимка (клиентско решение, авг. 2026). Преди
 * това: кратък experiment с 3D <robot-arm> widget, изцяло свален (виж
 * git история, ако потрябва някога) — заради него hero-то мина на
 * новата тъмна/оранжева палитра, което остава и тук.
 *
 * .electris-hero--video слага само каквото главните .electris-hero
 * правила в main.css НЕ вече вършат (grid/padding/min-height/
 * позициониране на .electris-hero__media идват си оттам, непроменени —
 * пак е absolute, inset:0, full-bleed зад текста, точно като
 * оригиналната снимка). hero_video (fields-home.php) има предимство
 * пред hero_image, ако и двете са качени — front-page.php решава кое
 * от двете да изведе.
 *
 * padding-top вдигнат от 88px (main.css база) на 140px: .elc-header
 * (main.css) е position:fixed, "стъклен" ефект над самото hero — тук
 * има нарочно свободно място под него, за да не застъпва eyebrow/
 * заглавието, дори в непревъртяното (по-високо) състояние на хедъра.
 *
 * min-height вдигнат на 100vh (клиентско искане, авг. 2026): main.css
 * base-а капва .electris-hero на min(720px, 100vh - 40px) — на всеки
 * по-висок екран следващата секция се показваше веднага под видеото,
 * вместо то да изпълва целия екран. 100dvh покрива и мобилните браузъри
 * с динамична адресна лента (100vh там може да е по-висок от реално
 * видимото). Специфичността тук (0,2,0) нарочно бие main.css-евата
 * mobile-breakpoint нулировка (min-height:0 под 900px) — искаме пълния
 * екран на всички размери, не само desktop.
 */
.electris-front-page .electris-hero--video {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 140px;
  background: var(--dark);
}

.electris-front-page .electris-hero--video .electris-eyebrow {
  color: #FFFFFF;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.8);
}

.electris-front-page .electris-hero--video .electris-hero__media::after {
  background:
    linear-gradient(90deg, rgba(48, 52, 58, .5) 0%, rgba(48, 52, 58, .4) 40%, rgba(48, 52, 58, .16) 72%, rgba(48, 52, 58, .08) 100%),
    linear-gradient(180deg, rgba(48, 52, 58, .06), rgba(48, 52, 58, .3));
}

.electris-front-page .electris-hero--video .electris-hero__media .electris-theme-image {
  opacity: .92;
}

/*
 * Клиентско искане (сеп. 2026): "изглеждат като бутони... нека станат
 * бутони в десктоп вариант" — вдигнати от почти прозрачен ghost чип до
 * плътен вид, четим еднозначно като бутон (плътен фон, по-силна рамка,
 * сянка), запазвайки формата (border-radius/padding) от main.css.
 * Вече са и реални <a> линкове (front-page.php) към трите Solutions
 * хъба, не инертни <span> — оранжев hover/focus тук е same език като
 * .electris-button--secondary малко по-долу. Мобилното им скриване е в
 * main.css, вътре в споделения hero @media(max-width:900px) блок.
 */
.electris-front-page .electris-hero--video .electris-hero__signals a {
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .12);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.electris-front-page .electris-hero--video .electris-hero__signals a:hover,
.electris-front-page .electris-hero--video .electris-hero__signals a:focus-visible {
  border-color: #F3F4F6;
  background: rgba(243, 244, 246, .18);
  color: #FFFFFF;
}

.electris-front-page .electris-hero--video .electris-hero__signals a:focus-visible {
  outline: 2px solid #F3F4F6;
  outline-offset: 2px;
}

.electris-front-page .electris-hero--video .electris-system-panel {
  background: rgba(48, 52, 58, .86);
  border-color: rgba(255, 255, 255, .14);
}

.electris-front-page .electris-hero--video .electris-system-panel span {
  color: #F3F4F6;
}

/*
 * Бутоните тук пренаписват .electris-button/--secondary (main.css, синьо
 * — все още вярно за хедъра/футъра и вътрешните страници) само в hero-то,
 * за да паснат на новата палитра. Site-wide класът остава непипнат.
 * Плюс: magnetic hover (homepage-handoff.js слага transform inline при
 * mousemove) — transition тук е за плавно връщане в покой при mouseleave.
 */
.electris-front-page .electris-hero--video .electris-button {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(48, 52, 58, .25);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.electris-front-page .electris-hero--video .electris-button:hover {
  background: var(--orange-hot);
  color: #FFFFFF;
  box-shadow: 0 18px 40px rgba(48, 52, 58, .35);
}

.electris-front-page .electris-hero--video .electris-button--secondary {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(243, 244, 246, .14);
  color: #FFFFFF;
  box-shadow: none;
}

.electris-front-page .electris-hero--video .electris-button--secondary:hover {
  border-color: #F3F4F6;
  background: rgba(243, 244, 246, .26);
  color: #FFFFFF;
}

.shell {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
}

.section-pad {
  position: relative;
  padding: 150px 0;
  scroll-margin-top: 24px;
  overflow: hidden;
}

.circuitry::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(48, 52, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 52, 58, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #30343A 18%, #30343A 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #30343A 18%, #30343A 82%, transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.2,.75,.25,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow i {
  width: 42px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.eyebrow i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

/*
 * .light по-светло оранжево (#30343A) вместо марковото --orange
 * (#30343A) — оправдано САМО върху тъмен фон (.solutions, viж по-долу,
 * background: var(--dark)): марковото оранжево губи контраст там.
 * .industries-scroll (другият потребител на "eyebrow light", front-
 * page.php) има СВЕТЪЛ фон (background: var(--paper)) — там няма
 * причина за по-светлия вариант, само случайно унаследен от същия
 * клас -> точно "на едно място по-светло, на друго по-тъмно оранжево"
 * (клиентски репорт, ное. 2026). Скопирано само към .solutions тук;
 * .eyebrow.light другаде пада обратно към базовото var(--orange).
 */
.solutions .eyebrow.light {
  color: #F3F4F6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 730px;
  margin-bottom: 34px;
  font-size: clamp(47px, 5vw, 76px);
  line-height: 0.99;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.02;
}

h1 em,
h2 em {
  color: var(--orange);
  font-style: normal;
  font-weight: 400;
}

.lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link svg,
.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-link:hover {
  gap: 18px;
  color: var(--orange);
}

.section-head {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.section-head > p {
  max-width: 410px;
  margin-bottom: 6px;
  color: inherit;
  opacity: 0.68;
  font-size: 16px;
  line-height: 1.7;
}

.source-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*
 * About — "инженерен цикъл" (electris-about-lifecycle-package, авг.
 * 2026) — трети дизайн на тази секция, замества и странично-колонния,
 * и full-screen/тъмния вариант отпреди. Собствен, самостоятелен
 * компонент — не преизползва .shell/.eyebrow/.lead/.section-pad както
 * останалата част от Home, точно както е в клиентския пакет (собствен
 * светъл paper фон с точкова решетка, собствени размери на шрифта).
 * .reveal е СЪЩИЯТ observer, който движи целия Home (виж бележката в
 * front-page.php) — само сложен направо на секцията, а не на
 * поделементи, защото референцията's CSS реагира на
 * .electris-about.is-visible (тук: .about-lifecycle.is-visible).
 *
 * Клиентска поправка (авг. 2026): README-то на пакета сочеше собствен
 * accent hex (#30343A) — сменено с истинския sitewide --orange (сега
 * #30343A, брандовото оранжево от логосета), за да съвпада с
 * останалата част на Home (hero, Solutions лентите и т.н.), не с
 * цвета от пакета.
 */
.about-lifecycle {
  --about-orange: var(--orange);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 780px;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.about-lifecycle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0 36%, rgba(243, 244, 246,.9) 58%, transparent 100%);
}

.about-lifecycle__inner {
  width: min(1420px, calc(100% - 64px));
  min-height: 780px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(36px, 5vw, 86px);
  padding-block: 72px 58px;
}

.about-lifecycle__copy {
  position: relative;
  z-index: 8;
  max-width: 590px;
}

.about-lifecycle__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 25px;
  color: var(--about-orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.about-lifecycle__eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--about-orange);
}

.about-lifecycle h2 {
  max-width: 575px;
  margin: 0;
  font-size: clamp(46px, 4.7vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 760;
  text-wrap: balance;
}

.about-lifecycle__lead {
  max-width: 520px;
  margin: 32px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.45;
  font-weight: 560;
}

.about-lifecycle__text {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.about-lifecycle__text p {
  margin: 0;
}

.about-lifecycle__text p + p {
  margin-top: 14px;
}

.about-lifecycle__cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  margin-top: 30px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-lifecycle__cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--about-orange);
  color: var(--about-orange);
  transition: transform 250ms ease, color 250ms ease, background-color 250ms ease;
}

.about-lifecycle__cta:hover .about-lifecycle__cta-icon,
.about-lifecycle__cta:focus-visible .about-lifecycle__cta-icon {
  transform: translateX(5px);
  color: var(--paper);
  background: var(--about-orange);
}

.about-lifecycle__steps {
  display: flex;
  gap: 18px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-lifecycle__steps span {
  position: relative;
  flex: 1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 730;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-lifecycle__steps span::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--about-orange);
  transform: scaleX(0);
  transform-origin: left;
}

.about-lifecycle.is-visible .about-lifecycle__steps span::before {
  animation: about-lifecycle-step 520ms ease forwards;
}

.about-lifecycle.is-visible .about-lifecycle__steps span:nth-child(2)::before {
  animation-delay: 350ms;
}

.about-lifecycle.is-visible .about-lifecycle__steps span:nth-child(3)::before {
  animation-delay: 700ms;
}

.about-lifecycle__visual {
  position: relative;
  min-width: 0;
  height: 630px;
}

.about-lifecycle__route {
  position: absolute;
  inset: 8% 2% 3% 1%;
  z-index: 0;
  overflow: visible;
  color: var(--about-orange);
  opacity: .7;
}

.about-lifecycle__route path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 940;
  stroke-dashoffset: 940;
}

.about-lifecycle.is-visible .about-lifecycle__route path {
  animation: about-lifecycle-route 2.2s 140ms ease forwards;
}

.about-lifecycle__route circle {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 2;
}

.about-lifecycle__dossier-label {
  position: absolute;
  top: 7px;
  right: 3%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-lifecycle__dossier-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--about-orange);
}

.about-lifecycle__card {
  position: absolute;
  width: min(78%, 610px);
  aspect-ratio: 1.45 / 1;
  margin: 0;
  padding: 10px 10px 0;
  overflow: hidden;
  opacity: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(48, 52, 58,.15);
  transform-origin: 50% 100%;
  transition:
    transform 950ms cubic-bezier(.2,.75,.2,1),
    opacity 600ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
  will-change: transform, opacity;
}

.about-lifecycle__card:hover {
  border-color: var(--about-orange);
  box-shadow: 0 34px 90px rgba(48, 52, 58,.2);
}

.about-lifecycle__card img {
  display: block;
  width: 100%;
  height: calc(100% - 52px);
  object-fit: cover;
  filter: saturate(.86) contrast(1.02);
}

.about-lifecycle__card figcaption {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 7px;
}

.about-lifecycle__card strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-lifecycle__card figcaption span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-lifecycle__card--plan {
  z-index: 1;
  top: 9%;
  left: 1%;
  transform: translate(-18%, 14%) rotate(-8deg) scale(.9);
}

.about-lifecycle__card--integrate {
  z-index: 2;
  top: 19%;
  left: 11%;
  transform: translate(52%, 24%) rotate(8deg) scale(.9);
  transition-delay: 260ms;
}

.about-lifecycle__card--support {
  z-index: 3;
  top: 30%;
  left: 21%;
  transform: translate(56%, 18%) rotate(10deg) scale(.88);
  transition-delay: 520ms;
}

.about-lifecycle.is-visible .about-lifecycle__card {
  opacity: 1;
}

.about-lifecycle.is-visible .about-lifecycle__card--plan {
  transform: translate(-5%, 8%) rotate(-5deg) scale(.94);
}

.about-lifecycle.is-visible .about-lifecycle__card--integrate {
  transform: translate(0, 1%) rotate(0deg) scale(.96);
}

.about-lifecycle.is-visible .about-lifecycle__card--support {
  transform: translate(0, 0) rotate(4deg) scale(.98);
}

.about-lifecycle__statement {
  position: absolute;
  z-index: 7;
  right: 1%;
  bottom: 4px;
  width: min(78%, 610px);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 680;
}

.about-lifecycle__statement i {
  flex: 0 0 24px;
  height: 2px;
  background: #F3F4F6;
}

@keyframes about-lifecycle-route {
  to { stroke-dashoffset: 0; }
}

@keyframes about-lifecycle-step {
  to { transform: scaleX(1); }
}

@media (max-width: 980px) {
  .about-lifecycle__inner {
    width: min(100% - 42px, 760px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 58px;
  }

  .about-lifecycle__copy,
  .about-lifecycle__lead,
  .about-lifecycle__text {
    max-width: 680px;
  }

  .about-lifecycle__visual {
    height: min(76vw, 590px);
    min-height: 470px;
  }

  .about-lifecycle__card {
    width: min(74%, 560px);
  }
}

@media (max-width: 560px) {
  .about-lifecycle {
    min-height: 0;
    background-size: 44px 44px;
  }

  .about-lifecycle__inner {
    width: calc(100% - 30px);
    min-height: 0;
    padding-block: 44px 38px;
  }

  .about-lifecycle h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .about-lifecycle__lead {
    margin-top: 23px;
    font-size: 17px;
  }

  .about-lifecycle__steps {
    gap: 8px;
    margin-top: 34px;
  }

  .about-lifecycle__steps span {
    font-size: 9px;
    letter-spacing: .06em;
  }

  .about-lifecycle__visual {
    height: 410px;
    min-height: 0;
  }

  .about-lifecycle__card {
    width: 78%;
    padding: 7px 7px 0;
  }

  .about-lifecycle__card img {
    height: calc(100% - 42px);
  }

  .about-lifecycle__card figcaption {
    height: 42px;
  }

  .about-lifecycle__card strong {
    font-size: 9px;
  }

  .about-lifecycle__card figcaption span {
    display: none;
  }

  .about-lifecycle__statement {
    right: 0;
    width: 86%;
    padding: 11px 13px;
    font-size: 10px;
  }
}

.solutions {
  background: var(--dark);
  color: #FFFFFF;
}

.solutions::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 25% 25%, rgba(243, 244, 246, .07), transparent 26%);
}

.visual-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255, 255, 255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.project-code {
  display: block;
  margin-bottom: 14px;
  color: #F3F4F6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

/*
 * Solutions — четири прости карти (сеп. 2026). Хедърът е подреден
 * вертикално (заглавие, после уводен текст) — и двете на пълна ширина
 * на секцията, вместо старата двуколонна подредба заглавие/текст.
 */
.solutions-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(42px, 5vw, 68px);
}

.solutions-intro {
  max-width: 90ch;
  margin: 0;
  color: rgba(255, 255, 255,.68);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.65;
}

.solutions-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.solutions-grid > li {
  min-width: 0;
}

/*
 * Карта — пренесено от electris-solutions-section package (окт. 2026),
 * заменяйки по-старите 2-колонни карти с заоблени ъгли/radial gradient.
 * Пакетната плоска сива рамка (--es-border #30343A) заменена с вече
 * установения оранжево-тониран border на тъмни секции (rgba(48, 52, 58,.32)
 * / .6 на hover) — същата техника, не нов неутрален токен.
 */
.solution-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px 0;
  background: var(--dark-two);
  color: #FFFFFF;
  text-decoration: none;
  border: 1px solid rgba(243, 244, 246,.32);
  transition: transform 220ms ease, border-color 220ms ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 44px;
  height: 2px;
  background: #F3F4F6;
  transition: width 220ms ease;
}

.solution-card:hover,
.solution-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(243, 244, 246,.65);
}

.solution-card:hover::before,
.solution-card:focus-within::before {
  width: 92px;
}

.solution-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.solution-card__meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: rgba(255, 255, 255,.55);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solution-card__number {
  color: #F3F4F6;
}

.solution-card__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: #F3F4F6;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  margin: 0 0 12px;
  color: #FFFFFF;
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.solution-card > p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255,.68);
  font-size: 13px;
  line-height: 1.6;
}

.solution-card__bullets {
  flex: 1;
  margin: 0;
  padding: 18px 0 24px;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255,.14);
}

.solution-card__bullets li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 13px;
  color: rgba(255, 255, 255,.78);
  font-size: 13px;
  line-height: 1.5;
}

.solution-card__bullets li:last-child {
  margin-bottom: 0;
}

.solution-card__bullets li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 3px;
  height: 3px;
  background: #F3F4F6;
}

.solution-card__bullets li a {
  color: inherit;
  text-decoration: none;
}

.solution-card__bullets li a:hover,
.solution-card__bullets li a:focus-visible {
  color: #F3F4F6;
  text-decoration: underline;
}

.solution-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto -24px 0;
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255,.14);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 220ms ease;
}

.solution-card:hover .solution-card__link,
.solution-card:focus-within .solution-card__link {
  background: rgba(255, 255, 255,.04);
}

.solution-card__link:focus-visible {
  outline: 2px solid #F3F4F6;
  outline-offset: -2px;
}

.solution-card__link svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  color: #F3F4F6;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.solution-card:hover .solution-card__link svg,
.solution-card:focus-within .solution-card__link svg {
  transform: translate(3px, -3px);
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card,
  .solution-card::before,
  .solution-card__link,
  .solution-card__link svg {
    transition: none;
  }

  .solution-card:hover,
  .solution-card:focus-within {
    transform: none;
  }
}

.project-console {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: auto auto;
  min-height: 660px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 30px 80px rgba(48, 52, 58,.08);
}

.project-visual {
  position: relative;
  min-height: 485px;
  overflow: hidden;
  background-color: #30343A;
  background-image: linear-gradient(to top, rgba(48, 52, 58,.7), transparent 70%), url("assets/projects-source.png");
  background-repeat: no-repeat;
  filter: saturate(.9);
  transition: background-position .5s ease;
}

.project-robot {
  background-position: 33% 65%;
  background-size: auto 155%;
}

.project-energy {
  background-position: 76% 45%;
  background-size: auto 160%;
}

.project-ai {
  background-image: linear-gradient(to top, rgba(48, 52, 58,.7), transparent 70%), url("assets/industries-source.png");
  background-position: 32% 70%;
  background-size: auto 150%;
}

.project-water {
  background-image: linear-gradient(to top, rgba(48, 52, 58,.7), transparent 70%), url("assets/cta-source.png");
  background-position: 65% 44%;
  background-size: auto 145%;
}

.visual-grid {
  opacity: .1;
  background-size: 60px 60px;
}

.project-corner {
  position: absolute;
  width: 55px;
  height: 55px;
  border-color: #F3F4F6;
  border-style: solid;
}

.corner-a {
  top: 22px;
  left: 22px;
  border-width: 2px 0 0 2px;
}

.corner-b {
  right: 22px;
  bottom: 22px;
  border-width: 0 2px 2px 0;
}

.project-index {
  position: absolute;
  top: 34px;
  right: 34px;
  color: #FFFFFF;
  font-size: 43px;
  font-weight: 800;
}

.project-index small {
  font-size: 11px;
  opacity: .55;
}

.project-status {
  position: absolute;
  bottom: 32px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.project-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F3F4F6;
  box-shadow: 0 0 14px #F3F4F6;
}

.project-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 56px;
}

.project-content h3 {
  margin-bottom: 20px;
  font-size: 39px;
  line-height: 1.08;
}

.project-content p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 31px;
}

.tag-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: #30343A;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.dark {
  background: var(--ink);
  color: #FFFFFF;
}

.button.dark:hover {
  background: var(--orange);
}

.button.outline {
  border-color: rgba(255, 255, 255,.35);
  color: #FFFFFF;
}

.button.outline:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.button.orange {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(48, 52, 58,.2);
}

.button.orange:hover {
  background: #30343A;
}

.button.ghost {
  border-color: var(--line);
}

.project-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.project-list button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-height: 126px;
  padding: 27px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background .3s ease, color .3s ease;
}

.project-list button:last-child {
  border-right: 0;
}

.project-list button span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
}

.project-list button strong {
  max-width: 155px;
  font-size: 12px;
  line-height: 1.35;
}

.project-list button.active {
  background: var(--ink);
  color: #FFFFFF;
}

/*
 * Industries — "sticky-scroll" избор (electris-industries-section-
 * package, авг. 2026) — замества старите .industry-marquee/.industry-
 * card/.industry-selector/.industry-stage системи (виж git история, ако
 * потрябва). На широк екран вертикалният скрол през секцията придвижва
 * шестте индустрии, докато съдържанието остава залепено (sticky); под
 * 900px става обикновени кликаеми табове без принудителен дълъг скрол —
 * реализирано в main.js (не нов observer, директна логика като
 * .solution-stack по-горе).
 *
 * Шестте индустрии съвпадат с реалните термини в таксономията "Индустрия
 * на проекта" (Projects → Индустрии) — имената идват оттам (theme/
 * front-page.php), останалото (заглавие/натиск/точки/изход/снимка) е
 * собствено, по-богато съдържание в mu-plugins/inc/fields-home.php.
 *
 * Собствени custom properties от пакета (--electris-industries-*) са
 * премахнати — компонентът преизползва директно sitewide --orange/
 * --ink/--muted/--line/--paper/--white (main.css :root, homepage-
 * handoff.css :root), не пакетните hex стойности.
 */
.industries-scroll {
  position: relative;
  min-height: 320vh;
  color: var(--ink);
  background: var(--paper);
}

/*
 * Първи опит тук беше вложен overflow-y:auto скрол вътре в панела —
 * работеше технически, но с два вложени скролируеми контейнера (тук и в
 * .industries-scroll__detail) ефектът излизаше объркващ/чупещ се на живо
 * (клиентска забележка). Вместо това: наличната височина за sticky
 * панела е обвързана директно с прага, на който JS изобщо превключва в
 * sticky-scroll режим (виж industriesDesktopQuery в homepage-handoff.js
 * и @media (max-height:...) тук долу) — под прага секцията пада към
 * обикновените кликаеми табове (нормален скрол на страницата, без pin),
 * затова тук не е нужен вътрешен скрол.
 */
.industries-scroll__sticky {
  position: sticky;
  top: 72px;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.industries-scroll__sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .3;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #30343A, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #30343A, transparent 78%);
}

.industries-scroll__inner {
  position: relative;
  z-index: 1;
  width: min(1420px, calc(100% - 64px));
  margin-inline: auto;
}

.industries-scroll__header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(16px, 2vw, 22px);
}

.industries-scroll h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 3.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 760;
  text-wrap: balance;
}

.industries-scroll__intro {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.industries-scroll__workspace {
  display: grid;
  grid-template-columns: minmax(190px, .32fr) minmax(0, 1.68fr);
  gap: clamp(20px, 2.6vw, 38px);
  align-items: stretch;
}

.industries-scroll__rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.industries-scroll__nav {
  display: grid;
}

.industries-scroll__nav button {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease;
}

.industries-scroll__nav button:first-child {
  border-top: 1px solid var(--line);
}

.industries-scroll__nav button:hover,
.industries-scroll__nav button:focus-visible {
  color: var(--ink);
  background: rgba(48, 52, 58,.07);
}

.industries-scroll__nav button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}

.industries-scroll__nav button i {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.industries-scroll__nav button[aria-pressed="true"] i {
  background: var(--orange);
}

.industries-scroll__progress {
  height: 2px;
  margin-top: auto;
  background: var(--line);
  overflow: hidden;
}

.industries-scroll__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/*
 * height (не min-height) нарочно фиксирана — за разлика от по-ранен опит
 * тук текстът никога не бута кутията по-висока от това; вместо това
 * .industries-scroll__detail-scroll сам поема излишъка с overflow-y (виж
 * по-долу). Гарантира, че sticky панелът има ЕДНА и съща височина за
 * всичките шест индустрии, независимо колко дълъг е текстът за всяка —
 * иначе по-дългите индустрии биха бутали sticky панела извън наличната
 * височина, недостижимо, докато е закачен (клиентска забележка).
 *
 * grid-template-rows: height САМО на контейнера не стеснява implicit
 * auto реда — той пак расте по съдържание и overflow:hidden просто реже
 * визуално, без .industries-scroll__detail-scroll изобщо да разбере, че
 * има излишък за скролване (детето просто получава реалния, по-голям
 * размер). Изричен ред с фиксирана височина принуждава клетките наистина
 * да се stretch-нат до --stage-h.
 *
 * clamp(), не твърдо число — клиентско изискване: същата структура
 * (снимка/текст в две колони, sticky) на ВСЯКА височина на прозореца, не
 * различен изглед под определен праг. Картата расте с наличната svh
 * височина (по-голяма на висок прозорец), пада до 420px под нисък —
 * .industries-scroll__detail-scroll поема остатъка с вътрешен скрол само
 * когато и по-голямата карта не стигне за най-дългия текст.
 */
.industries-scroll__stage {
  --stage-h: clamp(420px, 60svh, 640px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  grid-template-rows: var(--stage-h);
  height: var(--stage-h);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(48, 52, 58,.11);
}

.industries-scroll__media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.industries-scroll__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(48, 52, 58,.42) 100%);
}

/*
 * Две наслагани снимки (виж markup-а) вместо смяна на src на едно <img> —
 * с едно <img> смяната минаваше през opacity:0 и за миг прозираше бял/
 * тъмен фон между старата и новата снимка ("бяло поле за секунда",
 * клиентска забележка). С две прелива директно от едната към другата.
 */
.industries-scroll__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.03);
  transform: scale(1.04);
  opacity: 0;
  transition: opacity 620ms ease, transform 900ms cubic-bezier(.2,.75,.2,1);
}

.industries-scroll__photo.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1.01);
}

.industries-scroll__media-label {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  padding: 8px 11px;
  color: #FFFFFF;
  background: rgba(48, 52, 58,.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.industries-scroll__detail {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: opacity 180ms ease, transform 280ms ease;
}

/*
 * Вътрешната скрол-обвивка (.industries-scroll__detail-scroll) поема
 * overflow-y сама, отделно от тази ::before лента — иначе лентата би се
 * скролвала заедно с текста вместо да остане закачена за целия ръб.
 */
.industries-scroll__detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 720ms cubic-bezier(.2,.75,.2,1);
}

.industries-scroll__detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 44px);
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.industries-scroll__detail-scroll::-webkit-scrollbar {
  width: 7px;
}

.industries-scroll__detail-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.industries-scroll__detail-scroll::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 4px;
}

/*
 * Показва се само когато текстът за конкретната индустрия реално не се
 * побира (JS слага .is-scrollable след проверка на scrollHeight) — лек
 * градиент долу, за да не се пропусне, че картата се скролва (custom
 * оранжевата лентичка сама по себе си е лесна за пропускане, клиентска
 * забележка).
 */
.industries-scroll__detail.is-scrollable::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 8px;
  bottom: 0;
  height: 34px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--white));
}

.industries-scroll__sector {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.industries-scroll__title {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 39px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 760;
  text-wrap: balance;
}

.industries-scroll__pressure {
  margin: 18px 0 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.industries-scroll__facts {
  display: grid;
  gap: 19px;
  margin: 0;
}

.industries-scroll__facts div {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.industries-scroll__facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.industries-scroll__facts dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.industries-scroll__outcome {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 720;
}

.industries-scroll__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 20px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.industries-scroll__link span {
  color: var(--orange);
  transition: transform 220ms ease;
}

.industries-scroll__link:hover span,
.industries-scroll__link:focus-visible span {
  transform: translateX(5px);
}

.industries-scroll__detail.is-changing {
  opacity: 0;
  transform: translateY(14px);
}

.industries-scroll__detail.is-changing::before {
  transform: scaleY(.16);
}

@media (max-width: 1100px) {
  .industries-scroll__inner {
    width: min(100% - 42px, 900px);
  }

  .industries-scroll__workspace {
    grid-template-columns: 1fr;
  }

  .industries-scroll__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .industries-scroll__nav button:nth-child(-n+3) {
    border-top: 1px solid var(--line);
  }

  .industries-scroll__progress {
    margin-top: 14px;
  }
}

@media (max-width: 900px) {
  .industries-scroll {
    min-height: 0;
  }

  .industries-scroll__sticky {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 56px 0;
  }

  .industries-scroll__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .industries-scroll__intro {
    max-width: 620px;
  }

  .industries-scroll__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .industries-scroll__media {
    min-height: min(58vw, 520px);
  }

  .industries-scroll__detail-scroll {
    overflow-y: visible;
  }
}

@media (max-width: 620px) {
  .industries-scroll {
    background-size: 46px 46px;
  }

  .industries-scroll__inner {
    width: calc(100% - 30px);
  }

  .industries-scroll__sticky {
    padding: 52px 0;
  }

  .industries-scroll h2 {
    font-size: clamp(38px, 12vw, 55px);
  }

  .industries-scroll__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-scroll__nav button:nth-child(3) {
    border-top: 0;
  }

  .industries-scroll__nav button {
    min-height: 54px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .industries-scroll__media {
    min-height: 250px;
  }

  .industries-scroll__detail-scroll {
    padding: 27px 23px;
  }

  .industries-scroll__media-label {
    left: 14px;
    bottom: 14px;
  }
}

/*
 * Свързана архитектура (electris-connect-section package, окт. 2026) —
 * заменя старите .tech-flow__* класове (5 interactive "слоя" с tab-
 * превключване, виж git история) с три статични карти (.tc-item) +
 * свързващи "bridge" стрелки между тях. Пакетните --ec-* токени мапнати
 * към вече съществуващите sitewide --paper/--ink/--muted/--line/--orange/
 * --dark-two/--white — самите токени не се пипат. Pulse анимацията тръгва
 * само докато секцията е видима (data-connect-flow, IntersectionObserver
 * в homepage-handoff.js); общото @media(prefers-reduced-motion) правило
 * по-долу вече гаси всички animation/transition sitewide, затова не е
 * нужно отделно reduced-motion override тук.
 */
.tc-section {
  background: var(--paper);
}

.tc-inner {
  width: min(1420px, calc(100% - 64px));
  margin-inline: auto;
  padding: clamp(76px, 8vw, 126px) 0;
}

.tc-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin: 26px 0 48px;
}

.tc-header h2 {
  max-width: 640px;
  margin: 0;
}

.tc-intro {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.tc-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.tc-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 2.5vw, 40px);
  border-top: 2px solid var(--orange);
  background: var(--white);
  transition: box-shadow 250ms ease;
}

.tc-item:hover {
  box-shadow: 0 16px 36px rgba(48, 52, 58, .08);
}

.tc-item--dark {
  background: var(--dark-two);
  color: #FFFFFF;
  border-top-color: #F3F4F6;
}

.tc-item--dark .tc-icon {
  color: #F3F4F6;
}

.tc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 250ms ease;
}

.tc-item:hover .tc-icon {
  transform: translateY(-4px);
}

.tc-section .tc-item h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.tc-section .tc-item--dark h3 {
  color: #FFFFFF;
}

.tc-item p {
  flex: 1;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.tc-item--dark p {
  color: #DDE1E5;
}

.tc-tags {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .03em;
}

.tc-item--dark .tc-tags {
  border-color: rgba(255, 255, 255, .16);
  color: #DDE1E5;
}

.tc-bridge {
  position: absolute;
  top: 42px;
  right: calc(-1 * clamp(24px, 3vw, 40px));
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(24px, 3vw, 40px);
  height: 28px;
  overflow: hidden;
  background: var(--paper);
  color: var(--orange);
}

.tc-bridge svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tc-pulse {
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
  opacity: 0;
}

[data-connect-flow].is-in-view .tc-pulse {
  animation: tc-signal 3.6s ease-in-out infinite;
}

.tc-item:nth-child(2) .tc-pulse {
  animation-delay: 1.2s;
}

@keyframes tc-signal {
  0%, 10% { left: -8px; opacity: 0; }
  20% { opacity: 1; }
  45% { left: 100%; opacity: 1; }
  55%, 100% { left: 100%; opacity: 0; }
}

/* Мобилен вариант (bridge-ът е завъртян вертикално под 620px) — виж media блока. */
@keyframes tc-signal-mobile {
  0%, 10% { top: -8px; opacity: 0; }
  20% { opacity: 1; }
  45% { top: 100%; opacity: 1; }
  55%, 100% { top: 100%; opacity: 0; }
}

.tc-platforms {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
  margin-top: 42px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.tc-platforms > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tc-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.tc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
}

.tc-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tc-section .tc-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.tc-cta svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.tc-cta:hover svg {
  transform: translateX(5px);
}

/*
 * Sustainability teaser (electris-sustainability-section package, окт.
 * 2026) — заменя старата тъмна "process track" секция (снимка + 3
 * анимирани стъпки, track/pulse, виж git история) с: copy + снимка
 * (диагонално срязан долен-десен ъгъл, clip-path) горе, после статичен
 * 3-колонен pillar ред долу. Пакетните --sustainability-* токени мапнати
 * към вече съществуващите sitewide --paper/--ink/--muted/--line/--orange/
 * --dark-two — самите токени не се пипат. Статично, никаква JS анимация
 * (старата .sustainability-flow логика в homepage-handoff.js е махната
 * изцяло) — ползва общия .reveal observer като Solutions/Projects.
 */
.sh-section {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(56px, 6vw, 96px) 0;
}

.sh-main {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.sh-copy {
  min-width: 0;
}

.sh-section h2 {
  max-width: 640px;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(32px, 3.4vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.sh-lead {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.sh-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 52px;
  padding: 16px 22px;
  border: 1px solid var(--dark-two);
  background: var(--dark-two);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 220ms ease, border-color 220ms ease;
}

/*
 * Специфичност повдигната нарочно (.sh-section .sh-button, не само
 * .sh-button) — .electris-front-page a {color:inherit} (homepage-handoff.
 * css :root блок) има по-висок specificity (клас+елемент) от гол клас и
 * печели каскадата; без тази добавка бутонът наследяваше тъмния
 * .sh-section { color: var(--ink) } текст вместо бял (клиентски забелязан
 * бъг, окт. 2026 — текстът не се четеше).
 */
.sh-section .sh-button,
.sh-section .sh-button:hover,
.sh-section .sh-button:focus-visible {
  color: #FFFFFF;
}

.sh-button:hover,
.sh-button:focus-visible {
  border-color: var(--ink-soft);
  background: var(--ink-soft);
}

.sh-button svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.sh-button:hover svg,
.sh-button:focus-visible svg {
  transform: translateX(4px);
}

.sh-photo {
  position: relative;
  min-width: 0;
  height: clamp(380px, 32vw, 510px);
  overflow: hidden;
  background: var(--dark-two);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.sh-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sh-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 72px;
  background: var(--orange);
}

.sh-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.sh-pillar {
  min-width: 0;
  padding-right: 16px;
}

.sh-pillar + .sh-pillar {
  padding-left: clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--line);
}

.sh-pillar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sh-pillar__icon {
  display: block;
  width: 28px;
  height: 28px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sh-pillar__value {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.sh-section .sh-pillar h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.sh-pillar p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact {
  position: relative;
  min-height: 710px;
  padding: 175px 0 115px;
  overflow: hidden;
  background: #30343A;
  color: #FFFFFF;
}

.contact-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(48, 52, 58,.98) 0%, rgba(48, 52, 58,.89) 43%, rgba(48, 52, 58,.37) 100%), url("assets/cta-source.png");
  background-position: center;
  background-size: cover;
  filter: saturate(.65);
  opacity: .88;
}

.contact-grid {
  opacity: .13;
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(90deg, #30343A 0%, #30343A 65%, transparent);
  mask-image: linear-gradient(90deg, #30343A 0%, #30343A 65%, transparent);
}

.contact-signal {
  position: absolute;
  top: 50%;
  right: -120px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(243, 244, 246,.18);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-signal::before,
.contact-signal::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border: 1px solid rgba(243, 244, 246,.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-signal::before { width: 380px; height: 380px; }
.contact-signal::after { width: 210px; height: 210px; }

.contact-signal i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F3F4F6;
  box-shadow: 0 0 17px #F3F4F6;
  animation: ping 3s ease-out infinite;
}

.contact-signal i:nth-child(2) { animation-delay: -1s; }
.contact-signal i:nth-child(3) { animation-delay: -2s; }

/*
 * Голям, полупрозрачен воден знак с името на сайта: color:transparent +
 * тънък stroke, вместо плътен цвят, за да остане декоративен слой, не
 * конкурент на истинското h2 отпред. .contact вече е overflow:hidden, така
 * че текстът се реже чисто при bottom: отрицателен.
 */
.contact-giant-text {
  position: absolute;
  left: -1%;
  bottom: 6%;
  z-index: 0;
  margin: 0;
  color: transparent;
  font-size: clamp(120px, 15vw, 260px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.05em;
  white-space: nowrap;
  opacity: .45;
  -webkit-text-stroke: 1px rgba(255, 255, 255,.34);
  pointer-events: none;
}

@keyframes ping {
  from { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  to { transform: translate(-50%,-50%) scale(38); opacity: 0; }
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 95px;
}

.contact-inner h2 {
  max-width: 720px;
  font-size: clamp(50px, 6vw, 85px);
}

.contact-action {
  padding-bottom: 13px;
}

.contact-action p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255,.67);
  font-size: 15px;
  line-height: 1.7;
}

.contact-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 22px calc((100vw - min(1180px, calc(100vw - 112px))) / 2);
  border-top: 1px solid rgba(255, 255, 255,.1);
  color: rgba(255, 255, 255,.38);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

@media (max-width: 1180px) {
  :root { --shell: min(100% - 82px, 1080px); }
  .section-pad { padding: 120px 0; }
  .project-content { padding: 42px; }
  .project-content h3 { font-size: 32px; }
  .contact-inner { gap: 60px; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 48px, 780px); }
  .section-pad { padding: 100px 0; }
  .section-head,
  .solutions-header,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .section-head { gap: 30px; margin-bottom: 50px; }
  .solution-bar { grid-template-columns: minmax(240px, .9fr) minmax(220px, 1.1fr) 36px; }
  .solution-expanded { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); }
  .project-console { grid-template-columns: 1fr; }
  .project-visual { min-height: 450px; }
  .project-list { grid-template-columns: repeat(2, 1fr); }
  .project-list button:nth-child(2) { border-right: 0; }
  .project-list button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tc-inner { width: min(100% - 42px, 760px); }
  .tc-header { grid-template-columns: 1fr; gap: 22px; }
  .tc-intro { max-width: 650px; }
  .tc-item p { font-size: 14px; }
  .tc-item { padding: 26px 20px; }
  .tc-brands { font-size: 13px; }
  .contact { padding-top: 120px; }
  .contact-inner { align-items: start; }
  .contact-action { max-width: 530px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .section-pad { padding: 78px 0; }
  .circuitry::before { background-size: 40px 40px; }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  h1 { font-size: 45px; }
  h2 { font-size: 40px; }
  .lead { font-size: 16px; }
  .about-visual__slice span { left: 14px; right: auto; bottom: 12px; font-size: 9px; }
  .about-visual__slice--two span { left: auto; right: 14px; }
  .about-visual__result { right: 24px; bottom: 25px; left: 24px; }
  .solution-bar { grid-template-columns: minmax(0, 1fr) 36px; gap: 16px; }
  .solution-bar__desc { display: none; }
  /*
   * Реален бъг (сеп. 2026, клиентски репорт: "заглавията се скриват на
   * места, не е съвсем логично"): фиксираната обща височина (760px),
   * разделена на два реда чрез fr дялове по-долу, подценяваше текстовата
   * колона спрямо реалното съдържание (label+h3+текст+3 bullet-а) — CTA
   * линкът систематично преливаше върху горния край на снимката,
   * нечетим на фона на снимката. Поправка: .solution-expanded излиза от
   * position:absolute (вече не е насила напъхан в родителски height),
   * текстовият ред е auto (расте според нуждата), снимката пада на
   * фиксирани 220px под него. .solution-item вече транзицира max-height
   * към достатъчно голям таван, не height към конкретно число — така
   * съдържание с различна дължина (или бъдеща редакция на текста в ACF)
   * никога не прелива, каквото и да стане.
   */
  .solution-item {
    height: auto;
    max-height: 86px;
    transition: max-height 900ms cubic-bezier(.2, .76, .2, 1);
  }
  .solution-item.is-active {
    height: auto;
    max-height: 1400px;
  }
  .solution-expanded {
    position: static;
    grid-template-columns: 1fr;
    grid-template-rows: auto 220px;
  }
  .solution-copy { padding: 34px 8px 28px; }
  .solution-copy::after { top: auto; right: auto; bottom: -38px; left: 8px; width: 1px; height: 76px; transform: scaleY(0); transform-origin: top; }
  .solution-item.is-active .solution-copy::after { transform: scaleY(1); }
  .solution-media::before { background: linear-gradient(var(--dark), transparent 30%); }
  .project-visual { min-height: 360px; }
  .project-content { padding: 35px 27px; }
  .project-content h3 { font-size: 31px; }
  .project-list { grid-template-columns: 1fr; }
  .project-list button { min-height: 80px; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-list button:nth-child(3) { border-bottom: 1px solid var(--line); }
  .tc-inner { width: calc(100% - 30px); padding: 58px 0; }
  .tc-flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .tc-item { padding: 28px; }
  .tc-icon { margin-bottom: 22px; }
  .tc-section .tc-item h3 { font-size: 26px; }
  .tc-bridge {
    top: auto;
    right: 30px;
    bottom: -30px;
    width: 28px;
    height: 30px;
  }
  .tc-bridge svg { transform: rotate(90deg); }
  .tc-pulse { top: 0; left: 12px; width: 4px; height: 8px; }
  [data-connect-flow].is-in-view .tc-pulse { animation-name: tc-signal-mobile; }
  .tc-platforms { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 30px; }
  .tc-brands { justify-content: flex-start; gap: 20px 28px; }
  .tc-footer { align-items: flex-start; flex-direction: column; }
  .contact { min-height: 760px; padding-top: 100px; }
  .contact-inner h2 { font-size: 49px; }
  .contact-footer { flex-direction: column; gap: 9px; padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Refined interaction pass */
.image-about-mono {
  filter: grayscale(1) saturate(0) contrast(1.05) brightness(.76);
}

.image-about-color {
  z-index: 1;
  filter: saturate(1.08) contrast(1.06) brightness(.93);
  clip-path: inset(0 0 100% 0);
  animation: color-reveal 5.5s linear infinite;
}

@keyframes color-reveal {
  0% { clip-path: inset(0 0 100% 0); }
  10% { clip-path: inset(0 0 100% 0); }
  88%, 96% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}

.projects-grid {
  position: relative;
  background: var(--dark);
  padding: 72px clamp(20px, 4vw, 60px);
  color: rgba(255, 255, 255, .92);
}

.projects-grid::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 80% 15%, rgba(243, 244, 246, .06), transparent 30%);
  pointer-events: none;
}

.projects-grid > * {
  position: relative;
}

.projects-grid__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  max-width: 1560px;
  margin: 0 auto 32px;
}

.projects-grid__head h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
}

.projects-grid__head .text-link {
  flex-shrink: 0;
  color: inherit;
}

.projects-grid__head .text-link:hover {
  color: #F3F4F6;
}

.projects-grid__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/*
 * Визия пренесена от .solution-card (Solutions секция, окт. 2026) — плоски
 * ъгли, оранжево-тониран border (same rgba(48, 52, 58,.32)/.6 двойка),
 * lift на hover, същият --dark-two повърхностен тон за copy зоната.
 * Подредбата (снимка горе + copy долу, 4-колонна мрежа, реда на
 * проектите) остава непипната — клиентско изрично искане (окт. 2026):
 * само визията да пасва на Solutions картите, не подредбата.
 */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(243, 244, 246,.32);
  color: #FFFFFF;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(243, 244, 246,.65);
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (max-width: 1180px) {
  .projects-grid__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .projects-grid__list { grid-template-columns: 1fr; gap: 18px; }
}

.project-photo,
.project-darken,
.project-mesh {
  position: absolute;
  inset: 0;
}

/*
 * cover, не auto <148%/155%/...> — старото sizing изчисляваше ширината от
 * aspect ratio-то на снимката, не от контейнера, затова дясната част на
 * картата оставаше празен #30343A фон (различно по количество за всеки
 * проект). Клиентът изрично не хареса тази черна площ (сеп. 2026, трети
 * опит — first опитите добавяха текст в нея, вместо просто да я премахнат)
 * — cover просто разтяга/подрязва снимката да покрие ЦЯЛАТА карта
 * винаги, без изключение. background-position остава per-project, за да
 * избере кой участък от снимката е фокусът след подрязването.
 */
.project-photo {
  z-index: -4;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(.86) contrast(1.07);
  transform: scale(1.035);
  transition: transform .4s ease;
}

.project-card__media:hover .project-photo {
  transform: scale(1.08);
}

.project-robot .project-photo {
  background-image: url("assets/projects-source.png");
  background-position: 23% 62%;
}

.project-energy .project-photo {
  background-image: url("assets/projects-source.png");
  background-position: 77% 45%;
}

.project-ai .project-photo {
  background-image: url("assets/industries-source.png");
  background-position: 31% 72%;
}

.project-water .project-photo {
  background-image: url("assets/cta-source.png");
  background-position: 66% 45%;
}

.project-darken {
  z-index: -3;
  background: linear-gradient(to top, rgba(48, 52, 58,.5) 0%, transparent 38%);
}

.project-mesh {
  z-index: -2;
  opacity: .21;
  background-image:
    linear-gradient(rgba(255, 255, 255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #30343A, transparent 67%);
  mask-image: linear-gradient(90deg, #30343A, transparent 67%);
}

.project-card__copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px 20px 20px 18px;
  background: var(--dark-two);
  border-top: 1px solid rgba(255, 255, 255,.14);
}

/* Горен оранжев акцент, разширяващ се на hover — same motif като .solution-card::before. */
.project-card__copy::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 18px;
  width: 44px;
  height: 2px;
  background: #F3F4F6;
  transition: width 220ms ease;
}

.project-card:hover .project-card__copy::before,
.project-card:focus-within .project-card__copy::before {
  width: 92px;
}

.project-card__copy h3 {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.15;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-card__copy p {
  display: -webkit-box;
  margin-bottom: 14px;
  overflow: hidden;
  color: rgba(255, 255, 255,.68);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-card__copy .tag-row span {
  border-color: rgba(255, 255, 255,.2);
  color: rgba(255, 255, 255,.78);
}

.project-card__copy .electris-button {
  margin-top: auto;
  align-self: flex-start;
  min-height: 36px;
  padding: 8px 16px;
  font-size: 13px;
}

.project-card__copy .electris-button--secondary {
  border: 1px solid rgba(243, 244, 246, .35);
  background: transparent;
  color: #FFFFFF;
  box-shadow: none;
}

.project-card__copy .electris-button--secondary:hover {
  border-color: #F3F4F6;
  background: rgba(243, 244, 246, .14);
  color: #FFFFFF;
}

.project-sequence {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 22px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

@media (max-width: 620px) {
  .projects-grid__head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 900px) {
  .sh-lead {
    font-size: 14px;
  }
  .sh-section .sh-pillar h3 {
    font-size: 17px;
  }
}

@media (max-width: 700px) {
  .sh-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .sh-section h2 {
    max-width: 560px;
    font-size: clamp(32px, 6vw, 42px);
  }
  .sh-lead {
    max-width: 580px;
    font-size: 15px;
  }
  .sh-photo {
    height: clamp(280px, 55vw, 400px);
  }
  .sh-pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 28px;
  }
  .sh-pillar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    padding-right: 0;
  }
  .sh-pillar + .sh-pillar {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .sh-pillar__top {
    grid-row: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
  }
  .sh-section .sh-pillar h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }
  .sh-pillar p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-button,
  .sh-button svg {
    transition: none;
  }
}

/*
 * Shop (electris-shop-section package, авг. 2026) — светла секция,
 * "витрина" вдясно, превключваща снимка по продуктова категория, с
 * автоплей на всеки 4.2s (спира при hover/focus, стартира при влизане
 * във viewport-а — същия модел като .solution-stack по-горе). Package-ът
 * очаква точно 4 категории (Control/Motion/Safety/Connectivity);
 * реалните WooCommerce категории бяха преномерирани да съвпаднат (виж
 * коментара над секцията в front-page.php). Цветовете тук са directly
 * sitewide токените — package-овите собствени hex стойности (--shop-*)
 * са практически идентични с вече съществуващите --paper/--ink/--muted/
 * --line/--orange, затова няма нужда от локален bridging слой.
 */
.shop-flow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.shop-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(48, 52, 58,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 52, 58,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #30343A 16%, #30343A 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #30343A 16%, #30343A 84%, transparent);
}

.shop-flow__shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 72px 0 36px;
}

.shop-flow__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shop-flow__topline strong {
  color: var(--orange);
}

.shop-flow__layout {
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(480px, 1.3fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
  padding: 52px 0 42px;
}

.shop-flow__copy {
  position: relative;
  z-index: 2;
}

.shop-flow__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shop-flow__kicker::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--orange);
}

.shop-flow h2 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.4vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.04;
}

.shop-flow__intro {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.shop-flow__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.shop-flow__button,
.shop-flow__text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

/*
 * .shop-flow .shop-flow__button (не голо .shop-flow__button) нарочно —
 * .electris-front-page a{color:inherit} (0,1,1) иначе бие голия единичен
 * клас (0,1,0) и текстът наследява тъмния --ink на .shop-flow, съвпадащ
 * с тъмния фон отдолу: бутонът "изчезва" в покой и се чете едва на
 * hover, когато фонът стане оранжев. Двойният клас вдига специфичността
 * над 0,1,1 независимо от реда в файла.
 */
.shop-flow .shop-flow__button {
  min-width: 218px;
  padding: 0 24px;
  color: #FFFFFF;
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - 23px) 0, 100% 23px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  transition: transform 240ms ease, background 240ms ease;
}

.shop-flow__button:hover,
.shop-flow__button:focus-visible {
  background: var(--orange);
  transform: translateY(-2px);
}

.shop-flow__text-link {
  border-bottom: 1px solid rgba(48, 52, 58,.38);
}

.shop-flow__stage-shell {
  min-width: 0;
  position: relative;
  padding: 0 0 18px 18px;
}

.shop-flow__stage-shell::before {
  content: "";
  position: absolute;
  inset: 18px 18px 0 0;
  background: var(--ink);
  clip-path: polygon(0 0, 31% 0, calc(31% + 14px) 14px, 100% 14px, 100% 100%, 0 100%);
}

.shop-flow__stage {
  min-height: 470px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  clip-path: polygon(0 0, 37% 0, calc(37% + 14px) 14px, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 28px 48px rgba(48, 52, 58,.16);
}

.shop-flow__stage::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  z-index: 4;
  width: 46%;
  height: 2px;
  background: var(--orange);
}

.shop-flow__stage-label {
  position: absolute;
  top: 34px;
  left: 32px;
  z-index: 5;
  margin: 0;
  color: rgba(48, 52, 58,.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shop-flow__images {
  position: absolute;
  inset: 14px 0 94px;
  overflow: hidden;
  background: var(--paper);
}

.shop-flow__images::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(48, 52, 58,.06) 1px, transparent 1px),
    linear-gradient(rgba(48, 52, 58,.04) 1px, transparent 1px);
  background-size: 82px 82px;
  mix-blend-mode: multiply;
  opacity: .35;
}

.shop-flow__image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: translateX(5%) scale(1.025);
  transition: opacity 540ms ease, transform 680ms cubic-bezier(.2, .75, .2, 1);
}

.shop-flow__image.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.shop-flow__stage-info {
  min-height: 94px;
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 30px;
  color: #FFFFFF;
  background: var(--ink);
}

.shop-flow__stage-info strong {
  display: block;
  margin-bottom: 6px;
  color: #F3F4F6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shop-flow__stage-info span {
  display: block;
  max-width: 390px;
  color: rgba(255, 255, 255,.72);
  font-size: 12px;
  line-height: 1.45;
}

.shop-flow__stage-info a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-flow__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shop-flow__category {
  min-height: 86px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  color: #30343A;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color 240ms ease, background 240ms ease;
}

.shop-flow__category:last-child {
  border-right: 0;
}

.shop-flow__category::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 360ms ease;
}

.shop-flow__category:hover,
.shop-flow__category:focus-visible,
.shop-flow__category.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255,.44);
}

.shop-flow__category.is-active::before {
  width: 100%;
}

.shop-flow__category em {
  color: var(--orange);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.shop-flow__category span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.shop-flow__progress {
  height: 2px;
  background: rgba(48, 52, 58,.08);
}

.shop-flow__progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--orange);
  transform: translateX(0);
  transform-origin: left;
  transition: transform 450ms ease;
}

@media (max-width: 1050px) {
  .shop-flow__layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .shop-flow__copy,
  .shop-flow__intro {
    max-width: 720px;
  }
  .shop-flow__stage {
    min-height: 510px;
  }
}

@media (max-width: 680px) {
  .shop-flow__shell {
    width: calc(100% - 32px);
    padding-top: 50px;
  }
  .shop-flow__topline span:last-child {
    display: none;
  }
  .shop-flow__layout {
    padding: 40px 0 34px;
  }
  .shop-flow h2 {
    font-size: clamp(38px, 12vw, 54px);
  }
  .shop-flow__intro {
    font-size: 15px;
  }
  .shop-flow__actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .shop-flow__stage-shell {
    padding: 0 0 11px 11px;
  }
  .shop-flow__stage-shell::before {
    inset: 11px 11px 0 0;
  }
  .shop-flow__stage {
    min-height: 390px;
  }
  .shop-flow__images {
    bottom: 112px;
  }
  .shop-flow__image {
    object-position: center;
  }
  .shop-flow__stage-info {
    min-height: 112px;
    padding: 18px 20px;
  }
  .shop-flow__stage-info a {
    display: none;
  }
  .shop-flow__categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-flow__category:nth-child(2) {
    border-right: 0;
  }
  .shop-flow__category:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .shop-flow__category {
    min-height: 72px;
    padding: 14px;
    gap: 10px;
  }
}
