/* ==================================================================
   Форум Реал 2026 – начална страница (дизайн „Линията")
   Зарежда се САМО на index.php (в snippets/head_2.php при $head_home = true).
   Хедърът е в css/fr2026-base.css. Футърът е с inline стилове и не зависи от този файл.
   ================================================================== */
:root { --mk-h: 0px; }
:root { --red: #cd2027; --red-dark: #a3161c; --navy: #001739; --navy-2: #0a2550; --navy-line: #1b3a6b; --blue: #045fb2; --sky: #1e9fe3; --surface: #f7f6f4; --ink: #1f1f20; --body: #4a4a4c; --muted: #5c5c5e; --line: #dedbd6; --on-navy: #c3d0e3; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mk-h, 57px) + 70px); }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Manrope', Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { max-width: 1296px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 2px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--white { background: #fff; color: var(--navy); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
img.ph { display: block; width: 100%; height: auto; padding: 0; border: 0; opacity: 1; object-fit: cover; object-position: 50% 20%; background: var(--surface); }
.fr-ss { position: relative; overflow: hidden; }
.fr-ss__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.fr-ss__track::-webkit-scrollbar { display: none; }
.fr-ss__track:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.fr-ss__slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.fr-ss__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.fr-ss__bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
img.fr-ss__slide { height: 100%; object-fit: cover; }
.v2-pic.fr-ss { display: block; padding: 0; }
.v2-pic--gap { margin-top: 36px; }
.dock { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; background: var(--red); color: #fff; box-shadow: 0 -8px 30px rgba(0,0,0,.3); }
.dock p { font-size: 14px; line-height: 1.3; }
.dock p b { display: block; font-size: 18px; }
@media (min-width: 1100px) { .dock { display: none; } }
.price { display: flex; flex-direction: column; line-height: 1.25; }
.price b { font-size: 26px; font-weight: 800; }
.price span { font-size: 14px; opacity: .85; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ph { display: flex; align-items: flex-end; padding: 14px; font: 13px/1.4 Arial, sans-serif; border: 1px dashed currentColor; opacity: .7; }
.bars { display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 4px 12px; align-items: center; font-size: 14px; }
.bars .t { grid-column: 1 / -1; height: 6px; background: rgba(128,128,128,.25); }
.bars .f { display: block; height: 100%; background: var(--blue); }
.bars .v { text-align: right; font-weight: 700; }
.bars li.is-me { font-weight: 700; }
.bars li.is-me .f { background: var(--red); }
.count { display: flex; }
.count li { min-width: 62px; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.35); text-align: center; }
.count li:first-child { border-left: 0; padding-left: 0; }
.count b { display: block; font-weight: 800; font-size: clamp(24px, 2.8vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.count span { font-size: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
/* ================= ВАРИАНТ 3 – ЛИНИЯТА (страницата е самата вечер, от 18:00 до 20:45) ================= */
.v3 { font-family: 'Manrope', Arial, sans-serif; background: #fff; color: var(--navy); }
/* HERO: годините и двата цвята са долният слой, картата със заглавието е отгоре, годината се дърпа по линийката долу */
.v3-stage { position: relative; display: grid; place-items: center; min-height: clamp(560px, 80vh, 740px); padding: clamp(28px, 5vw, 56px) 20px 116px; overflow: hidden; color: #fff; --x: 33%; }
.v3-side { position: absolute; inset: 0; }
.v3-side--now { background: var(--navy); clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.v3-side--next, .v3-grid { background-color: var(--blue); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 64px); }
.v3-year { position: absolute; bottom: 92px; font-weight: 800; font-size: clamp(96px, 22vw, 340px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.34); user-select: none; }
.v3-side--now .v3-year { left: clamp(8px, 2vw, 40px); }
.v3-side--next .v3-year { right: clamp(8px, 2vw, 40px); }
.v3-seam { position: absolute; top: 0; bottom: 84px; left: var(--x); width: 4px; margin-left: -2px; background: var(--red); pointer-events: none; }
.v3-card { position: relative; z-index: 2; width: 100%; max-width: 860px; padding: clamp(22px, 4vw, 52px); background: rgba(0,13,34,.86); border-top: 8px solid var(--red); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.v3-card__when { font-size: clamp(15px, 1.4vw, 18px); color: var(--on-navy); }
.v3 h1 { margin-top: 8px; font-weight: 800; font-size: clamp(42px, 8vw, 104px); line-height: .95; letter-spacing: -.045em; }
/* Трите текста стоят един върху друг в една и съща клетка: височината е на най-дългия при всяка ширина, затова картата не подскача */
.v3-dyn { display: grid; margin: clamp(18px, 2.4vw, 28px) 0; padding: 4px 0 4px 18px; border-left: 8px solid var(--sky); }
.v3-dyn > div { grid-area: 1 / 1; align-self: center; visibility: hidden; opacity: 0; transform: translateY(18px); }
.v3-dyn > div.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .45s ease-out, transform .45s cubic-bezier(.2,.7,.2,1); }
/* при смяна на текста синята черта светва за миг в бяло */
.v3-dyn.is-flash { animation: v3-flash .7s ease-out; }
@keyframes v3-flash { 0% { border-left-color: #fff; box-shadow: -8px 0 0 rgba(255,255,255,.35); } 100% { border-left-color: var(--sky); box-shadow: -8px 0 0 rgba(255,255,255,0); } }
.v3-dyn__t { font-weight: 800; font-size: clamp(22px, 3vw, 38px); line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.v3-dyn__p { margin-top: 8px; font-size: clamp(16px, 1.5vw, 20px); color: #e4eefb; }
.v3-more { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-weight: 800; color: #fff; text-underline-offset: 5px; }
.v3-ruler { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 84px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 20px 10px; background: rgba(0,13,34,.72); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 1px, transparent 1px 8.4%); background-size: 84% 14px; background-position: 8% 0; background-repeat: no-repeat; font-size: 14px; font-weight: 600; color: #fff; }
.v3-ruler__end { font-weight: 800; font-size: 15px; color: #fff; }
.v3-knob { position: absolute; top: 14px; left: clamp(72px, var(--x), calc(100% - 72px)); transform: translateX(-50%); min-width: 124px; padding: 0 14px; background: var(--red); box-shadow: 0 0 0 4px #fff; font-weight: 800; font-size: 24px; line-height: 44px; text-align: center; white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; pointer-events: none; }
.v3-knob::before { content: "‹ "; opacity: .7; } .v3-knob::after { content: " ›"; opacity: .7; }
.v3-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.v3-lead { margin-top: 14px; max-width: 38em; font-size: 19px; color: var(--body); }
.v3-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.v3-intro { padding: clamp(48px, 7vw, 88px) 0 8px; text-align: center; }
.v3-intro h2, .v3-intro .v3-lead { margin-left: auto; margin-right: auto; }
.v3-note--end { margin: 0; padding: 14px 0 0; }
.v3-node { position: relative; padding: clamp(48px, 7vw, 96px) 0; }
.v3-node::before { content: ""; position: absolute; top: 0; bottom: 0; left: 32px; width: 6px; margin-left: -3px; background: var(--red); }
.v3-node__in { position: relative; max-width: 1296px; margin: 0 auto; padding: 0 20px 0 64px; }
.v3-pill { position: absolute; left: 32px; top: 0; transform: translateX(-50%); min-width: 0; padding: 0 10px; background: var(--red); color: #fff; font-weight: 800; font-size: 15px; line-height: 34px; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 4px #fff; }
.v3-pic { position: relative; margin: 0 0 22px; }
.v3-frame { aspect-ratio: 16 / 9; overflow: hidden; }
.v3-frame > .ph, .v3-frame > .fr-ss { width: 100%; height: 100%; }

.v3-pic img.ph { height: 100%; }
.v3-pic + .v3-body { padding-top: 0; }
.v3-pic--wide { margin: 24px 0 0; }

.v3-big { display: none; }
.v3-kind { font-size: 15px; font-weight: 800; color: var(--red-dark); }
.v3 h2 { margin-top: 6px; font-weight: 800; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -.035em; }
.v3-txt p { margin-top: 16px; max-width: 34em; font-size: 18px; color: var(--body); }
.v3-txt p b { color: var(--ink); }
.v3-links a { display: inline-flex; align-items: center; min-height: 44px; margin: 14px 18px 0 0; font-weight: 800; color: var(--blue); }
.v3-node--soft { background: var(--surface); }
.v3-node--navy { background: var(--navy); color: #fff; }
.v3-node--grid { color: #fff; }
.v3-node--navy .v3-kind, .v3-node--grid .v3-kind { color: #fff; opacity: .85; }
.v3-node--navy .v3-txt p, .v3-node--grid .v3-txt p { color: #e4eefb; }
.v3-node--navy .v3-txt p b, .v3-node--grid .v3-txt p b { color: #fff; }
.v3-node--navy .v3-pill, .v3-node--grid .v3-pill { box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.v3-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.v3-nums b { display: block; font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -.04em; }
.v3-nums span { font-size: 14px; color: var(--muted); }
.v3-room { margin-top: 32px; padding: clamp(20px, 2.6vw, 30px); background: var(--surface); }
.v3-room h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.v3-strip { display: flex; height: 64px; gap: 2px; }
.v3-strip span { flex: var(--g) 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; transition: transform .15s; transform-origin: bottom; }
.v3-strip span:nth-child(3n+2) { background: var(--blue); }
.v3-strip span:nth-child(3n) { background: var(--sky); color: var(--navy); }
.v3-strip span.is-on { background: var(--red); color: #fff; transform: scaleY(1.25); }
.v3-legend { display: grid; gap: 0; margin-top: 18px; }
.v3-legend li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 15px; cursor: default; }
.v3-legend li i { font-style: normal; font-weight: 800; color: var(--muted); }
.v3-legend li b { font-weight: 800; }
.v3-legend li.is-on, .v3-legend li:focus-visible { background: #fff; }
.v3-legend li.is-on i { color: var(--red); }
.v3-tools { display: grid; gap: 10px; margin-top: 24px; }
.v3-tools a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border-left: 6px solid var(--navy); text-decoration: none; }
.v3-tools b { font-weight: 800; font-size: 20px; }
.v3-tools span { font-size: 15px; color: var(--body); }
.v3-tools em { font-style: normal; font-size: 14px; font-weight: 800; color: var(--blue); }
.v3-themes { display: grid; gap: 12px; margin-top: 24px; }
.v3-themes li { padding: 18px 20px; background: rgba(0,23,57,.45); }
.v3-themes h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.v3-themes p { font-size: 16px; color: #e4eefb; }
.v3-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 36px; }
.v3-people .ph { aspect-ratio: 1 / 1; }
.v3-people b { display: block; margin-top: 10px; font-weight: 800; font-size: 17px; line-height: 1.2; }
.v3-people span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.v3-sec { padding: clamp(56px, 8vw, 104px) 0; }
.v3-sec--soft { background: var(--surface); }
.v3-cards { display: grid; gap: 18px; margin-top: 36px; }
.v3-cards > li { padding: clamp(22px, 2.6vw, 32px); background: var(--surface); border-top: 6px solid var(--navy); }
.v3-cards .n { font-weight: 800; font-size: 52px; line-height: 1; color: var(--red); }
.v3-cards h3 { margin: 10px 0 12px; font-weight: 800; font-size: clamp(19px, 2vw, 25px); line-height: 1.15; }
.v3-cards p, .v3-cards li li { font-size: 16px; color: var(--body); }
.v3-cards ul { margin-top: 10px; display: grid; gap: 8px; }
.v3-cards li li { position: relative; padding: 0 0 0 18px; background: none; border: 0; }
.v3-cards li li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--red); }
.v3-cards a { color: var(--blue); font-weight: 800; }
.v3-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.v3-join p { font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); }
.v3-tier { margin-top: 28px; }
.v3-tier h3 { font-size: 14px; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.v3-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v3-logos li { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 10px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.v3-pcta { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; }
.v3-pcta h3 { font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); }
.v3-pcta p { margin: 10px auto 22px; max-width: 36em; color: var(--muted); }
.v3-pcta .btn { color: var(--red); }
.v3-final { background: var(--red); color: #fff; padding: clamp(36px, 5vw, 60px) 0; }
.v3-final__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.v3-final h2 { margin: 0; }
.v3-foot { background: #161618; color: #b4b4b8; padding: 40px 0; font-size: 14px; }
/* Телефон и таблет: часът стои над текста, а не до него, за да не се застъпват */
@media (max-width: 991.98px) {
  .v3-node::before { left: 22px; }
  .v3-node__in { padding-left: 46px; padding-top: 52px; }
  .v3-pill { left: 8px; transform: none; font-size: 16px; line-height: 36px; padding: 0 12px; }
}
/* Телефон: hero заема целия екран под хедъра; червената лента с цената се показва чак след като се скролне под него */
@media (max-width: 767.98px) {
  .v3-stage { min-height: calc(100vh - 61px); min-height: calc(100svh - 61px); }
  .v3-more { margin-left: 0; flex: 1 1 100%; }
  .v3-stage { padding-top: 20px; padding-left: 12px; padding-right: 12px; }
  .v3-year { bottom: 96px; -webkit-text-stroke-width: 1.5px; }
  .v3-knob { min-width: 104px; font-size: 20px; }
  .v3-strip { height: 48px; gap: 1px; }
  .v3-strip span { font-size: 0; overflow: hidden; }   /* на телефон няма място за цифрите в лентата; номерата остават в списъка отдолу */
  .v3 h2 { font-size: 24px; }
  .v3-txt p { font-size: 17px; }
}
@media (min-width: 768px) {
  .v3-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v3-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v3-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v3-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .v3-node::before { left: 50%; }
  .v3-node__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 140px; padding: 0 20px; align-items: start; }
  .v3-pill { left: 50%; font-size: 20px; line-height: 44px; padding: 0 16px; }
  .v3-pic { margin: 0; position: sticky; top: 110px; }

  .v3-big { display: block; margin: 0 0 16px; font-weight: 800; font-size: clamp(72px, 8vw, 132px); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--navy); opacity: .3; }
  .v3-node--right .v3-big { text-align: right; }
  .v3-pic + .v3-body { padding-top: 0; }
  .v3-node--right .v3-body { grid-column: 2; grid-row: 1; }
  .v3-node--right .v3-pic { grid-column: 1; grid-row: 1; }
  .v3-node--left .v3-body { grid-column: 1; grid-row: 1; }
  .v3-node--left .v3-pic { grid-column: 2; grid-row: 1; }
  .v3-pic--wide { position: static; margin: 28px 0 0; }
  .v3-pic--wide .v3-frame { aspect-ratio: 21 / 9; }
  .v3-node--wide .v3-node__in { display: block; }
  .v3-node--wide .v3-body { padding-top: 64px; }
  .v3-node--wide .v3-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v3-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.v3-logos a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.v3-logos img { display: block; max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
img.v3-shot { margin-top: 24px; aspect-ratio: 16 / 9; }
.v3-people img.ph { aspect-ratio: 1 / 1; }
/* снимката от сцената стои избледняла под двата цвята на плъзгача */
.v3-side--now { background: linear-gradient(rgba(0,23,57,.86), rgba(0,23,57,.86)), url(../img/2025-2.jpg?v1) center / cover no-repeat var(--navy); }
.v3-side--next { background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 64px), linear-gradient(rgba(4,95,178,.82), rgba(4,95,178,.82)), url(../img/2025-2.jpg?v1) center / cover no-repeat var(--blue); }
.v3-room--white { background: #fff; }
.v3-room--white .v3-legend li.is-on { background: var(--surface); }
.v3-logos.is-lg { grid-template-columns: minmax(0, 360px); }
.v3-logos.is-lg li { min-height: 180px; }
.v3-logos.is-lg img { max-height: 118px; }
/* логата са върху бяло, без цветен фон: плочката е бяла с тънка рамка */
.v3-logos li { background: #fff; border: 1px solid var(--line); transition: border-color .15s; }
.v3-logos li:hover { border-color: var(--navy); }
/* графиките на логата вече имат собствено поле, затова плочката е почти без отстояние */
.v3-logos li { padding: 4px 6px; }
.v3-logos img { max-height: 92px; }
.v3-logos.is-lg img { max-height: 160px; }
@media (max-width: 1099.98px) {
  .v3 .dock { transition: transform .25s ease-out; }
  .v3 .dock.is-hidden { transform: translateY(110%); }
}
.v3-time { display: none; }
@media (min-width: 992px) {
  .v3-time { display: block; grid-column: 1; grid-row: 1; text-align: right; position: sticky; top: 150px; font-weight: 800; font-size: clamp(90px, 11vw, 190px); line-height: .85; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px #fff; opacity: .45; }
}

@media (min-width: 992px) { .v3-people { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
