/* NEXORA TALENT — меки, топли неутрални тонове; всеки таб има свой приглушен акцент.
   Layout: лепкава лента с табове отгоре → секции в една колона с широки, спокойни полета. */
/* Палитра по логото: тъмносиньо + злато, върху светъл слонова кост фон. Само светъл вариант — по избор на клиента. */
:root {
  --bg: #F8F6F1;
  --surface: #FFFFFF;
  --surface-2: #F1EEE6;
  --line: #E4DFD3;
  --ink: #1F2542;
  --muted: #5A6077;
  --brand: #232B52;
  --on-brand: #FFFFFF;
  --gold: #C9A24A; --gold-ink: #85661C; --gold-hi: #EED58A;
  --hr: #CFA851;      --hr-ink: #85661C;
  --tender: #8C9AC6;  --tender-ink: #3E4C80;
  --freight: #8DB5A9; --freight-ink: #3D6A5E;
  --web: #CF9C8A;     --web-ink: #8A4E3D;
  --accent: var(--gold);
  --accent-ink: var(--gold-ink);
  --ph-bg: #FBEFD9; --ph-ink: #7A5A1E;
  --ok: #3D6A5E;
  --shadow: 0 1px 2px rgba(31,37,66,.05), 0 10px 26px -14px rgba(31,37,66,.22);
  --f-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --f-logo: "Exo 2", "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: light;
}

body.t-hr      { --accent: var(--hr);      --accent-ink: var(--hr-ink); }
body.t-tender  { --accent: var(--tender);  --accent-ink: var(--tender-ink); }
body.t-freight { --accent: var(--freight); --accent-ink: var(--freight-ink); }
body.t-web     { --accent: var(--web);     --accent-ink: var(--web-ink); }

@view-transition { navigation: auto; }
::view-transition-old(main-content) { animation: vt-out .28s ease both; }
::view-transition-new(main-content) { animation: vt-in .42s cubic-bezier(.2,.7,.2,1) both; }
::view-transition-group(tab-indicator) { animation-duration: .45s; animation-timing-function: cubic-bezier(.3,.8,.2,1); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw + .6rem, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.2vw + .8rem, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow {
  font: 500 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent-ink); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.ph {
  background: var(--ph-bg); color: var(--ph-ink); font: 500 .85em/1.2 var(--f-mono);
  padding: .12em .45em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Header + tabs ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo .wm { display: grid; gap: 3px; }
.logo b { font: 800 1.28rem/1 var(--f-logo); letter-spacing: .03em; color: var(--ink); display: block; }
.logo small { font: 600 .58rem/1 var(--f-display); letter-spacing: .62em; color: var(--gold-ink); display: block; padding-top: 4px; border-top: 1.5px solid var(--gold); }
.mark .ring-d { transform-origin: 50px 50px; transition: transform 1.2s cubic-bezier(.3,.8,.2,1); }
.logo:hover .mark .ring-d { transform: rotate(90deg); }
.mark .node { transition: r .3s; }
.logo:hover .mark .node { r: 5.2; }
.tagline { font: 500 .8rem/1.4 var(--f-display); color: var(--muted); letter-spacing: .01em; }

.tabs-scroll { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; width: max-content;
  background: var(--surface-2); border-radius: 999px; margin-inline: auto; }
.tabs a {
  position: relative; display: block; padding: 8px 15px; border-radius: 999px; text-decoration: none;
  font: 600 .9rem/1.2 var(--f-display); color: var(--muted); white-space: nowrap; transition: color .2s; isolation: isolate;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs .ind {
  position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--surface);
  box-shadow: var(--shadow); view-transition-name: tab-indicator;
}
.tabs .ind::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px; background: var(--accent); }
.tabs a span { position: relative; }
.header-cta { flex-shrink: 0; }
/* Хедърът е по-широк от съдържанието. Ако табовете не се побират на един ред
   (тесен екран, увеличение, друг шрифт), main.js добавя .stack и те минават на втори ред. */
.site-header .bar { max-width: 1400px; }
.bar.stack { flex-wrap: wrap; gap: 10px; }
.bar.stack .tabs-scroll { order: 3; flex-basis: 100%; }
.bar.stack .header-cta { margin-left: auto; }
@media (max-width: 1240px) {
  .bar { flex-wrap: wrap; gap: 10px; }
  .tabs-scroll { order: 3; flex-basis: 100%; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 760px) { .tabs { margin-inline: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand); display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  padding: .78em 1.25em; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--on-brand); text-decoration: none;
  font: 700 .95rem/1 var(--f-display); letter-spacing: -.005em;
  transition: transform .25s cubic-bezier(.3,.8,.2,1), box-shadow .25s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px var(--b); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.sm { padding: .6em 1em; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ambient blobs ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient i {
  position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(80px); opacity: .26;
  animation: drift 26s ease-in-out infinite alternate;
}
.ambient i:nth-child(1) { background: var(--hr); top: -18vmax; left: -12vmax; }
.ambient i:nth-child(2) { background: var(--tender); top: -10vmax; right: -18vmax; animation-delay: -9s; animation-duration: 31s; }
.ambient i:nth-child(3) { background: var(--freight); bottom: -26vmax; left: 30%; animation-delay: -17s; animation-duration: 35s; opacity: .22; }
body.t-hr .ambient i:nth-child(1), body.t-tender .ambient i:nth-child(2), body.t-freight .ambient i:nth-child(3) { opacity: .45; }
body.t-web .ambient i:nth-child(3) { background: var(--web); opacity: .4; }
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(6vmax, 4vmax) scale(1.08); }
  100% { transform: translate(-4vmax, 7vmax) scale(.95); }
}

main { view-transition-name: main-content; display: block; }

/* ---------- Sections ---------- */
section { padding-block: clamp(56px, 7vw, 96px); }
section.tight { padding-block: clamp(36px, 4vw, 56px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-block: 18px 22px; }
.hero h1 .w { display: inline-block; animation: word .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 90ms + 80ms); }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
@keyframes word { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } }
.hero .lead { margin-bottom: 28px; animation: word .9s .55s both; }
.hero .btn-row { animation: word .9s .7s both; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: center; }
.orbit { position: absolute; inset: 0; }
.orbit .ring { position: absolute; inset: 8%; border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 50%; animation: spin 80s linear infinite; }
.orbit .ring.r2 { inset: 24%; animation-duration: 55s; animation-direction: reverse; }
.orbit .core {
  position: absolute; inset: 36%; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center; padding: 8px;
}
.orbit .core svg { width: 78%; height: 78%; }
.orbit .core span { font: 500 .62rem/1.3 var(--f-mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.sat {
  position: absolute; width: 40%; padding: 14px 16px; border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow); text-decoration: none; border: 1px solid var(--line);
  animation: float 7s ease-in-out infinite; transition: border-color .2s;
}
.sat:hover { border-color: var(--c); }
.sat::before { content: ""; display: block; width: 26px; height: 6px; border-radius: 6px; background: var(--c); margin-bottom: 10px; }
.sat b { font: 700 .95rem/1.2 var(--f-display); display: block; }
.sat small { color: var(--muted); font-size: .78rem; line-height: 1.35; display: block; margin-top: 4px; }
.sat.s1 { --c: var(--hr); top: 2%; left: -2%; }
.sat.s2 { --c: var(--tender); top: 20%; right: -6%; animation-delay: -2.4s; }
.sat.s3 { --c: var(--freight); bottom: 2%; left: -2%; animation-delay: -4.6s; }
.sat.s4 { --c: var(--web); bottom: 8%; right: -6%; animation-delay: -1.2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Page hero (inner tabs) */
.page-hero { padding-block: clamp(44px, 6vw, 84px) clamp(28px, 4vw, 48px); }
.page-hero h1 { margin-block: 16px 18px; max-width: 18ch; }
.page-hero .lead { margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font: 500 .8rem/1 var(--f-mono); padding: .55em .9em; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent-ink); }

/* Cards */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g4, .g3, .g2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 10px; align-content: start; min-width: 0;
}
.svc {
  --c: var(--brand); --c-ink: var(--brand); position: relative; text-decoration: none; overflow: hidden;
  transform-style: preserve-3d; transition: transform .35s cubic-bezier(.3,.8,.2,1), box-shadow .35s, border-color .3s;
  gap: 14px; padding-bottom: 24px;
}
.svc:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); }
.svc.c-hr { --c: var(--hr); --c-ink: var(--hr-ink); }
.svc.c-tender { --c: var(--tender); --c-ink: var(--tender-ink); }
.svc.c-freight { --c: var(--freight); --c-ink: var(--freight-ink); }
.svc.c-web { --c: var(--web); --c-ink: var(--web-ink); }
.svc .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 20%, var(--surface)); color: var(--c-ink); }
.svc .ico svg { width: 26px; height: 26px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .94rem; }
.svc ul li::before { content: "—"; color: var(--c); margin-right: .5em; }
.svc .go { font: 700 .9rem/1 var(--f-display); color: var(--c-ink); display: inline-flex; gap: .4em; align-items: center; margin-top: 6px; }
.svc .go span { transition: transform .25s; }
.svc:hover .go span { transform: translateX(4px); }
.svc::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--c); opacity: .08; transition: opacity .4s, transform .6s; }
.svc:hover::after { opacity: .16; transform: scale(1.15); }

/* Steps / process timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps-wrap { position: relative; }
.steps-wrap .line { position: absolute; z-index: 1; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--accent); transform-origin: top; }
.steps li { position: relative; z-index: 2; padding: 0 0 30px 64px; counter-increment: s; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent);
  font: 600 .8rem/1 var(--f-mono); color: var(--accent-ink);
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); max-width: 62ch; }
.steps .t { font: 500 .74rem/1 var(--f-mono); color: var(--accent-ink); letter-spacing: .06em; margin-left: .6em; }

.steps-h { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; counter-reset: s; }
.steps-h li { counter-increment: s; position: relative; padding-top: 58px; }
.steps-h li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--accent); background: var(--surface); font: 600 .8rem/1 var(--f-mono); color: var(--accent-ink); }
.steps-h li::after { content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 2px; background: linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0 / 10px 2px; }
.steps-h li:last-child::after { display: none; }
.steps-h p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
@media (max-width: 860px) { .steps-h { grid-template-columns: repeat(2, minmax(0,1fr)); } .steps-h li::after { display: none; } }
@media (max-width: 520px) { .steps-h { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; }
.stat { padding: 8px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font: 800 clamp(2rem, 3.4vw, 2.9rem)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: block; }
.stat .n small { font-size: .45em; font-weight: 700; margin-left: .15em; color: var(--muted); }
.stat p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 26px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

/* Trust / guarantees */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.promise .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, var(--surface)); color: var(--accent-ink); }
.promise .ic svg { width: 22px; height: 22px; }
.promise p { color: var(--muted); margin-top: 4px; }

/* Bridge visual (HR) */
.bridge { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 18px; align-items: center; }
.bridge .side { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.bridge .side h3 { margin-bottom: 8px; }
.bridge .side ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; }
.bridge .mid { display: grid; justify-items: center; gap: 8px; text-align: center; }
.bridge .mid svg { width: 120px; height: 46px; color: var(--accent); }
.bridge .mid b { font: 800 1rem/1.1 var(--f-display); }
.bridge .mid small { font: 500 .66rem/1.3 var(--f-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.bridge .dash { stroke-dasharray: 6 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
@media (max-width: 760px) { .bridge { grid-template-columns: 1fr; } .bridge .mid svg { transform: rotate(90deg); width: 80px; } }

/* Sub-tabs (Работодатели / Кандидати) */
.subtabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); margin-bottom: 30px; }
.subtabs button {
  border: 0; background: transparent; cursor: pointer; padding: 10px 20px; border-radius: 999px;
  font: 700 .95rem/1 var(--f-display); color: var(--muted); transition: background .25s, color .25s, box-shadow .25s;
}
.subtabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.panel[hidden] { display: none !important; }
.panel { animation: panel-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* Jobs */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; border-radius: 999px; padding: .5em 1em; font: 600 .86rem/1 var(--f-display); transition: all .2s; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s; }
.job:hover { border-color: var(--accent); transform: translateX(4px); }
.job h3 { font-size: 1.05rem; }
.job .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .88rem; }
.job .meta span { display: inline-flex; gap: 6px; align-items: center; }
.job .pay { font: 700 .95rem/1.2 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; }
.job .pay small { display: block; font: 500 .72rem/1.3 var(--f-mono); color: var(--muted); }
.job[hidden] { display: none; }
@media (max-width: 560px) { .job { grid-template-columns: 1fr; } .job .pay { text-align: left; } }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--ph-bg); color: var(--ph-ink); font-size: .9rem; margin-bottom: 18px; }

/* Checklist (tenders) */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.checklist svg { width: 24px; height: 24px; }
.checklist .box { fill: none; stroke: var(--line); stroke-width: 2; }
.checklist .tick { fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
html.js .checklist:not(.on) .tick { stroke-dashoffset: 24; }
.checklist.on .tick { transition: stroke-dashoffset .5s cubic-bezier(.3,.8,.2,1); transition-delay: calc(var(--i) * 160ms + 100ms); }
.checklist small { display: block; color: var(--muted); font-size: .86rem; }

/* Doc stack visual (tenders) */
.docstack { position: relative; height: 300px; max-width: 360px; width: 100%; justify-self: center; }
.doc {
  position: absolute; width: 74%; height: 82%; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 18px; display: grid; align-content: start; gap: 9px;
  transition: transform .6s cubic-bezier(.3,.8,.2,1);
}
.doc b { font: 700 .82rem/1.2 var(--f-display); }
.doc i { display: block; height: 7px; border-radius: 4px; background: var(--surface-2); }
.doc i:nth-child(3) { width: 85%; } .doc i:nth-child(4) { width: 92%; } .doc i:nth-child(5) { width: 60%; }
.doc .stamp { position: absolute; right: 14px; bottom: 14px; font: 600 .62rem/1 var(--f-mono); letter-spacing: .1em; padding: 6px 8px; border: 1.5px solid var(--accent-ink); color: var(--accent-ink); border-radius: 6px; transform: rotate(-8deg); }
.doc.d1 { left: 0; top: 10%; transform: rotate(-6deg); }
.doc.d2 { left: 13%; top: 5%; transform: rotate(2deg); }
.doc.d3 { left: 26%; top: 0; transform: rotate(7deg); }
.docstack:hover .d1 { transform: rotate(-11deg) translateX(-14px); }
.docstack:hover .d3 { transform: rotate(11deg) translateX(14px); }

/* Route map (freight) */
.mapcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; overflow-x: auto; }
.routes { width: 100%; min-width: 520px; height: auto; display: block; }
.routes .land { fill: var(--surface-2); }
.routes .grid-l { stroke: var(--line); stroke-width: .6; }
.routes .route { fill: none; stroke: var(--freight); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 7; animation: dash 1.8s linear infinite; opacity: .9; }
.routes .city { fill: var(--surface); stroke: var(--freight-ink); stroke-width: 2; }
.routes .hub { fill: var(--freight); }
.routes .pulse { fill: none; stroke: var(--freight); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.routes text { font: 500 10.5px/1 var(--f-mono); fill: var(--muted); }
.routes text.hubt { font: 700 12px/1 var(--f-display); fill: var(--ink); }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 600 .84rem/1.2 var(--f-display); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 .98rem/1.4 var(--f-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75em .9em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input[type="file"] { padding: .55em; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: .86rem; color: var(--muted); align-items: start; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); }
.form-msg { padding: 12px 16px; border-radius: 12px; font-size: .92rem; background: color-mix(in srgb, var(--hr) 20%, var(--surface)); color: var(--ok); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { display: inline-flex; gap: 6px; align-items: center; padding: .5em .9em; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font: 500 .9rem/1 var(--f-body); }
.radio-row input { accent-color: var(--brand); }
.radio-row label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); }
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--muted); font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

/* Legal data table */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; margin: 0; }
.facts dt { font: 500 .78rem/1.5 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* Values */
.value { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.value .w { font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--f-display); letter-spacing: -.03em; }
.value:nth-child(1) .w { color: var(--gold-ink); }
.value:nth-child(2) .w { color: var(--tender-ink); }
.value:nth-child(3) .w { color: var(--freight-ink); }
.value p { color: var(--muted); }

/* CTA band */
.cta-band { border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .14; filter: blur(30px); }
.cta-band > * { position: relative; }
.cta-band p { color: var(--muted); margin-top: 8px; max-width: 54ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Prose (privacy) */
.prose { max-width: 70ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.3rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 34px; margin-top: 40px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid .h4 { font: 600 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink); }
.foot-grid a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Scroll-driven reveal: всичко е видимо в покой; анимира се само при скрол там, където браузърът поддържа. */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  .steps-wrap .line { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 60%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes grow { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html.js .checklist:not(.on) .tick { stroke-dashoffset: 0; }
}

/* FAQ (видим текст = същият като в FAQPage JSON-LD) */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font: 700 1.02rem/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .a { padding: 0 22px 20px; color: var(--muted); max-width: 70ch; }
.faq details[open] .a { animation: panel-in .4s cubic-bezier(.2,.7,.2,1); }
.crumbs { font: 500 .78rem/1 var(--f-mono); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.orbit .core .ring-d { animation: spin 40s linear infinite; transform-box: view-box; }

/* ---------- Уеб и SEO ---------- */
.browser { position: relative; max-width: 440px; width: 100%; justify-self: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding-bottom: 18px; }
.b-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.b-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.b-top span { margin-left: 10px; flex: 1; font: 500 .72rem/1 var(--f-mono); color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 6px 12px; }
.b-body { padding: 18px; display: grid; gap: 10px; }
.b-blk { border-radius: 8px; background: var(--surface-2); animation: build 6s cubic-bezier(.2,.7,.2,1) infinite; animation-delay: calc(var(--i) * 180ms); }
.b-nav { height: 12px; width: 60%; }
.b-h { height: 26px; width: 85%; background: color-mix(in srgb, var(--web) 35%, var(--surface-2)); }
.b-p { height: 10px; width: 95%; } .b-p.s { width: 70%; }
.b-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.b-card { height: 64px; }
.b-row .b-card:nth-child(1) { background: color-mix(in srgb, var(--hr) 30%, var(--surface-2)); }
.b-row .b-card:nth-child(2) { background: color-mix(in srgb, var(--tender) 30%, var(--surface-2)); }
.b-row .b-card:nth-child(3) { background: color-mix(in srgb, var(--freight) 30%, var(--surface-2)); }
@keyframes build { 0% { opacity: 0; transform: translateY(8px); } 10%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.b-seo { list-style: none; margin: 0; padding: 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.b-seo li { font: 500 .7rem/1 var(--f-mono); padding: 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--web) 18%, var(--surface)); color: var(--web-ink); animation: build 6s infinite; animation-delay: calc(var(--i) * 220ms + 1.3s); }
.b-seo li::before { content: "✓ "; }
.stats-2 { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 26px; }
.stats-2 .stat:nth-child(3) { border-left: 0; padding-left: 0; }
.pkgs { align-items: stretch; }
.pkg { position: relative; gap: 12px; }
.pkg.feat { border-color: var(--accent); box-shadow: var(--shadow); }
.pkg-badge { position: absolute; top: -11px; left: 20px; font: 600 .68rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.pkg .price { font: 800 2.1rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pkg .price small { font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.pkg .term { font: 500 .78rem/1 var(--f-mono); color: var(--accent-ink); }
.pkg ul { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--muted); font-size: .93rem; }
.pkg ul li::before { content: "—"; color: var(--accent); margin-right: .5em; }
.pkg .btn { margin-top: auto; justify-self: start; }
@media (max-width: 860px) { .sat.s1, .sat.s3 { left: 0; } .sat.s2, .sat.s4 { right: 0; } .sat { width: 46%; } }
.hero { overflow-x: clip; }

.page-hero .split h1 { font-size: clamp(2rem, 3vw + .6rem, 3.1rem); max-width: 16ch; }
.pkg h3 { min-height: 2.5em; }
@media (max-width: 640px) { .pkg h3 { min-height: 0; } }
