/* styles/fonts.css */
/* Генерирано од alati/prezemi-fontovi.mjs — Manrope и Lora, SIL Open Font License 1.1 */
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/lora-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/lora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/lora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* styles/base.css */
/* ИВА-ЏО КОНСАЛТИНГ — основен дизајн-систем (спој на Концепт А и Б).
   А: серифни наслови (Lora), трака за доверба, чекори 01–04, класично подножје.
   Б: Manrope, градиент од логото, картички, пакети, календар со рокови. */

:root {
  --indigo: #3a4c97;
  --indigo-600: #31417f;
  --navy: #1d2762;
  --navy-900: #141b47;
  --azure: #1e7fc5;
  --sky: #2fa3e6;
  --link: #1668a8;
  --grad: linear-gradient(120deg, #3a4c97 0%, #1b73b5 100%);
  --bg: #f5f7fc;
  --paper: #f7f5f0;
  --card: #ffffff;
  --ink: #151b3a;
  --muted: #566086;
  --line: #e2e7f2;
  --line-strong: #cbd3e5;
  --ok: #10734f;
  --ok-bg: #e7f5ee;
  --warn: #7f4c00;
  --warn-bg: #fff4dc;
  --warn-line: #f0d49a;
  --info-bg: #eaf2fb;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 26px;
  --shadow: 0 24px 60px rgba(29, 39, 98, .12);
  --shadow-s: 0 8px 24px rgba(29, 39, 98, .08);
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
p > .ic, li > .ic:only-child { display: inline-block; vertical-align: -.2em; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.005em; }
/* Долги германски сложенки на тесен екран. „hyphens“ дава убаво прекршување со
   цртичка, но не ја намалува најмалата (min-content) ширина на насловот, па
   долг збор како „mehrwertsteuerpflichtig“ ја шири решетката и текстот се сече.
   „overflow-wrap: anywhere“ ја намалува и таа ширина; се применува само кога
   зборот навистина не собира, затоа не ги менува другите страници. */
:lang(de) h1, :lang(de) h2, :lang(de) h3 { hyphens: auto; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
h4 { font-size: 1rem; font-weight: 700; }
strong, b { font-weight: 700; }
small { font-size: .875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 4px; }
/* Врз градиентната лента прстенот е бел, заради контраст. */
.cta-band :focus-visible { outline-color: #fff; }
::selection { background: #cfe3f7; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: var(--radius-s); box-shadow: var(--shadow-s); font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* Податоци за пополнување (се гледаат само додека showPlaceholders е вклучено). */
.show-ph .ph { text-decoration: underline dotted var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; background: rgba(47, 163, 230, .08); border-radius: 3px; }

/* ---------- Копчиња ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(58, 76, 151, .26); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(58, 76, 151, .32); }
.btn-soft { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-soft:hover { color: var(--navy); border-color: var(--indigo); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); background: #eef2fb; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Горна лента ---------- */
.topbar { background: var(--navy); color: #c9d1ee; font-size: .86rem; }
.topbar .wrap { display: flex; align-items: center; gap: 8px 22px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item .ic { width: 15px; height: 15px; color: #8fb8e6; }
.topbar-item .soon { color: #aeb9e0; }
.topbar-end { margin-left: auto; display: inline-flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang-switch a { display: inline-block; padding: 3px 8px; border-radius: 6px; font-weight: 700; letter-spacing: .04em; color: #dbe2f7; }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
/* „Најава за клиенти“ (на телефон само „Најава“): води до програмата (config.app). */
.topbar-login { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 3px 13px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; white-space: nowrap; }
.topbar-login .ic { width: 15px; height: 15px; color: #8fb8e6; }
.topbar a.topbar-login:hover { background: rgba(255, 255, 255, .2); text-decoration: none; }
/* Програмата уште не работи: истиот изглед, без линк, со „наскоро“. */
.topbar-login.is-soon { color: #dbe2f7; cursor: default; }
.topbar-login.is-soon small { font-size: .74rem; font-weight: 700; color: #f6d48a; }
/* На тесен екран „наскоро“ оди под „Најава“, за горната лента да остане во еден ред. */
@media (max-width: 920px) {
  .topbar-login.is-soon .login-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
  .topbar-login.is-soon small { font-size: .66rem; }
}
.btn-soon { cursor: default; pointer-events: none; opacity: .92; }
.btn-soon .chip { font-size: .72rem; padding: 2px 8px; }
.topbar :focus-visible { outline-color: #fff; }
.topbar .show-sm { display: none; }

/* ---------- Заглавие ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(12px); } }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.brand img { width: 66px; height: 66px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; color: var(--indigo); white-space: nowrap; }
.brand-text small { font-size: .74rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-top: 5px; white-space: nowrap; }
.nav-main ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
/* Седум ставки (со „Програма“): потесни отстојувања, за да собере и германското мени покрај знакот и копчето. */
.nav-main a { display: block; padding: 8px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav-main a:hover { background: var(--bg); color: var(--indigo); }
.nav-main a[aria-current="page"], .nav-main a.is-active { color: var(--indigo); background: var(--info-bg); }
.nav-cta { min-height: 44px; padding: 10px 20px; font-size: .95rem; white-space: nowrap; }

/* Мобилно мени без JavaScript: <details>. */
.nav-mobile { display: none; position: static; }
.nav-mobile > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 700; cursor: pointer; background: #fff; color: var(--navy); }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary .ic { width: 22px; height: 22px; }
.nav-mobile > summary .ic-close { display: none; }
.nav-mobile[open] > summary .ic-open { display: none; }
.nav-mobile[open] > summary .ic-close { display: block; }
.nav-mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 22px; max-height: calc(100vh - 84px); overflow-y: auto; }
.nav-mobile-panel ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-mobile-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-mobile-panel li.sub a { padding-left: 18px; font-weight: 500; color: var(--muted); }
.nav-mobile-panel .btn { width: 100%; }
.nav-mobile-panel .lang-switch { margin-top: 16px; }
.nav-mobile-panel .lang-switch a { color: var(--navy); border: 1px solid var(--line-strong); padding: 6px 14px; }
.nav-mobile-panel .lang-switch a[aria-current="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* ---------- Патека (breadcrumbs) ---------- */
.breadcrumbs { padding: 18px 0 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Секции ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: #fff; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #d7ddf3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-navy .section-head p { color: #c3cbe8; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: 12px; }
.section-navy .kicker { color: #8fc1ee; }

/* Заглавие на внатрешна страница */
.page-hero { position: relative; padding: 36px 0 64px; overflow: hidden; background: radial-gradient(700px 360px at 90% -10%, rgba(47, 163, 230, .18), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20em; margin-top: 18px; }
.page-hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 42em; margin: 0; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 48px; align-items: end; }

/* ---------- Мрежи и картички ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card-link:hover { color: inherit; border-color: #b9c6e6; box-shadow: var(--shadow-s); transform: translateY(-2px); }
.card-link .link-arrow { margin-top: auto; padding-top: 14px; color: var(--link); }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #eef3fc; color: var(--indigo); margin-bottom: 18px; flex: none; }
.card-icon .ic { width: 25px; height: 25px; }
.client-types { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.client-types > * { grid-column: span 2; }
.client-types > :nth-child(4):nth-last-child(2), .client-types > :nth-child(5):last-child { grid-column: span 3; }
.card-feature { background: var(--grad); color: #fff; border: 0; }
.card-feature h3 { color: #fff; }
.card-feature p { color: rgba(255, 255, 255, .88); }
.card-feature .card-icon { background: rgba(255, 255, 255, .16); color: #fff; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ic { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--azure); }
.card-feature .check-list .ic { color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: var(--info-bg); color: var(--indigo); }
.chip-soon { background: var(--warn-bg); color: var(--warn); }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--indigo); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(47, 163, 230, .18); }

/* ---------- Известувања ---------- */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--info-bg); border: 1px solid #cfe0f5; color: var(--ink); }
.notice > .ic { width: 24px; height: 24px; flex: none; color: var(--link); margin-top: 2px; }
.notice-body > :last-child { margin-bottom: 0; }
.notice-title { display: block; font-weight: 800; margin-bottom: 4px; color: var(--navy); }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.notice-warn > .ic { color: var(--warn); }
.notice-ok { background: var(--ok-bg); border-color: #bfe3d0; }
.notice-ok > .ic { color: var(--ok); }

/* ---------- Трака за доверба (А) ---------- */
.trust { background: var(--indigo); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Без бројката клиенти (company.activeClients е null): три ставки. */
.trust-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-item { padding: 30px 22px; border-right: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: 4px; }
.trust-item:last-child { border-right: 0; }
.trust-value { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; line-height: 1.1; color: #fff; }
.trust-label { font-weight: 700; color: #fff; }
.trust-note { font-size: .88rem; color: #d3daf3; }
.trust-item a { color: #fff; }
.trust-value .ic { width: 40px; height: 40px; stroke-width: 1.6; margin: 2px 0; }

/* ---------- Чекори 01–04 (А) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -2px; left: 0; width: 56px; border-top: 2px solid var(--indigo); padding-top: 14px; font-family: var(--font-serif); font-size: 2rem; color: var(--indigo); line-height: 1; }
.step h3 { margin-top: 46px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Честопоставувани прашања (А) ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 0; font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-family: var(--font-sans); font-size: 1.8rem; font-weight: 400; color: var(--link); }
.faq details[open] summary::after { content: "−"; }
.faq .faq-answer { padding: 0 48px 20px 0; color: var(--muted); }
.faq .faq-answer > :last-child { margin-bottom: 0; }

/* ---------- Повик (Б) ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 30px; padding: 52px 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 340px; height: 340px; background: url("/assets/img/logo-badge-white-256.png") center / contain no-repeat; opacity: .1; pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; z-index: 1; justify-content: flex-end; }

/* ---------- Канцеларии ---------- */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
/* Само една канцеларија (Скопје е скриено, src/config.mjs): картичката во цел ред, не во половина. */
.offices > .office:only-child { grid-column: 1 / -1; max-width: 740px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.office-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.office-head h2, .office-head h3 { margin: 0; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; }
.office dl { margin: 0; display: grid; gap: 12px; }
.office dl > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.office dt { color: var(--indigo); }
.office dt .ic { width: 22px; height: 22px; margin-top: 2px; }
.office dd { margin: 0; }
.office dd small { display: block; color: var(--muted); }
.office-actions { margin-top: auto; padding-top: 6px; }

/* ---------- Рокови ---------- */
.deadline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deadline { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.deadline-date { text-align: center; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 7px 4px; line-height: 1.1; }
.deadline-date b { display: block; font-size: 1.45rem; color: var(--indigo); }
.deadline-date small { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.deadline-body { min-width: 0; }
.deadline-title { display: block; font-weight: 800; color: var(--navy); }
.deadline-text { display: block; font-size: .9rem; color: var(--muted); }
.deadline-code { display: inline-block; font-size: .72rem; font-weight: 800; color: #fff; background: var(--grad); padding: 3px 8px; border-radius: 7px; margin-right: 6px; vertical-align: 2px; }
.deadline-left { font-size: .85rem; font-weight: 800; color: var(--indigo); white-space: nowrap; }
.deadline-left.is-soon { color: #9a4a00; }
.deadline-left:empty { display: none; }

/* ---------- Табели ---------- */
.table-wrap { position: relative; overflow-x: auto;border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--info-bg); color: var(--navy); font-weight: 800; font-size: .88rem; }
tr:last-child td { border-bottom: 0; }

/* ---------- Текстови страници (правни, е-Фактура) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .check-list { padding-left: 0; }
.prose .check-list li { margin-bottom: 0; }
.prose .notice { margin: 1.5em 0; }
.prose-meta { font-size: .92rem; color: var(--muted); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.aside-card { position: sticky; top: 110px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .94rem; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.toc a:hover { background: var(--bg); color: var(--indigo); }

/* ---------- Форми ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px; box-shadow: 0 30px 60px rgba(29, 39, 98, .07); }
.form fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.form legend { font-weight: 800; color: var(--navy); margin-bottom: 10px; padding: 0; font-size: 1.02rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.field label, .label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field .hint { display: block; font-size: .82rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.req { color: #b3261e; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--azure); box-shadow: 0 0 0 4px rgba(47, 163, 230, .2); }
/* Мора да е по правилото погоре (иста специфичност): со тастатура прстенот се враќа. */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 600; font-size: .94rem; }
.choice input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--azure); outline-offset: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .88rem; color: var(--muted); margin: 6px 0 20px; }

/* ---------- Подножје (А) ---------- */
.site-footer { background: var(--navy-900); color: #b8c1e2; font-size: .94rem; padding: 64px 0 28px; }
.site-footer a { color: #e3e8f8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.35fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 76px; height: 76px; }
.footer-brand b { color: #fff; font-size: 1.05rem; letter-spacing: .02em; }
.site-footer h2 { font-family: var(--font-sans); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-office + .footer-office { margin-top: 16px; }
.footer-ic { display: inline-block; vertical-align: -.2em; color: #8fb8e6; }
.footer-office b { color: #fff; }
.footer-legal { padding-top: 24px; display: grid; gap: 10px; font-size: .86rem; color: #99a4cd; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal-links a { color: #d3daf3; }

/* ---------- 404 и благодарност ---------- */
.message-page { padding: 90px 0 110px; text-align: center; }
.message-page .ic-big { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--indigo); }
.message-page p { color: var(--muted); max-width: 36em; margin-left: auto; margin-right: auto; }
.message-page .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- Одзивност ---------- */
@media (max-width: 1180px) {
  .brand-text small { display: none; }
}
/* Под 1171 точки седумте ставки не собираат покрај знакот и копчето „Побарајте понуда“
   (на германски и англиски), па и таму се прикажува менито со копче. */
@media (max-width: 1170px) {
  .nav-main, .nav-cta { display: none; }
  .nav-mobile { display: block; }
}
/* „Регистрирајте се“ во горната лента само на широк екран (на телефон е на почетната и на „Програма“).
   Рокот за одговор е во подножјето: покрај „Најава“ и „Регистрирајте се“ во лентата нема место за него. */
@media (max-width: 1279px) {
  .topbar .hide-lg { display: none; }
}
@media (max-width: 920px) {
  /* Е-поштата е и во подножјето и на страницата „Контакт“; без неа горната лента собира во еден ред и на таблет. */
  .topbar .hide-tab { display: none; }
}
@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .trust-grid-3 > .trust-item:last-child { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-types > *, .client-types > :nth-child(4):nth-last-child(2), .client-types > :nth-child(5):last-child { grid-column: auto; }
  .client-types > :nth-child(5):last-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .layout-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .topbar .wrap { gap: 6px 14px; padding-top: 6px; padding-bottom: 6px; }
  .topbar .hide-sm { display: none; }
  .topbar .show-sm { display: inline; }
  /* Телефон, „Најава“ и јазиците во еден ред и на телефон широк 360 точки (на сите три јазици). */
  .topbar .wrap { gap: 6px 10px; }
  .topbar-end { gap: 8px; }
  .topbar-login { gap: 5px; padding: 3px 9px; font-size: .82rem; }
  .topbar .lang-switch a { padding: 3px 6px; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: 54px; height: 54px; }
  .brand-text b { font-size: .98rem; }
  .nav-mobile > summary .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .nav-mobile-panel { max-height: calc(100vh - 72px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-2, .grid-3, .grid-4, .offices, .field-row, .client-types { grid-template-columns: minmax(0, 1fr); }
  .client-types > :nth-child(5):last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); padding: 20px 4px; }
  .trust-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .card, .office { padding: 22px; }
  .form { padding: 22px; border-radius: var(--radius); }
  .deadline { grid-template-columns: 62px minmax(0, 1fr); }
  .deadline-left { grid-column: 2; }
  .cta-band { padding: 30px 22px; border-radius: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .faq summary { font-size: 1.06rem; padding-right: 40px; }
  .faq .faq-answer { padding-right: 0; }
}
/* ---------- Отворање: истата најава како во програмата за фактурирање ---------- */
/* Кога ќе се отвори почетната страница, се појавува истата сцена што ја гледате и при
   стартот на програмата за фактурирање: длабока сина позадина со бавни светлосни
   „аурори“, мрежа од ситни точки, искри што лебдат нагоре и линија-графикон што се
   исцртува по дното (истиот мотив како графиконот во знакот). Во средината, на бела
   кружна плочка, стои знакот: плочката се отвора од заматено, знакот се завртува на
   своето место, преку него поминува отсјај, околу неа кружи светла точка и се шират
   бранови. Под неа името се пишува буква по буква, па полниот назив од регистарот,
   линија што расте од средината и дејноста.

   Само CSS: нема inline стил, нема ново барање освен знакот што и онака се презема.
   Додека се гледа, најавата ги прима кликовите: клик на сината површина не смее да отвори
   линк што се крие под неа. Лизгањето сепак работи преку неа од првата секунда (таа не се
   лизга, па тркалцето и прстот ја лизгаат страницата). Основната состојба е скриена
   (opacity 0, visibility hidden — таква не прима ни кликови), а ја открива самата
   анимација: ако анимациите се исклучени, најавата воопшто не се појавува наместо да
   остане засекогаш преку целата страница. На крајот анимацијата ја става и на
   display: none, за да запрат и сите нејзини бескрајни движења (искри, бранови, аурори)
   и кога нема JavaScript. Истото важи и при „prefers-reduced-motion“ и при печатење —
   тие правила се заеднички, неколку реда подолу.
   src/scripts/site.js е само додаток: ја забрзува (секој допир, клик или тастер), ја брише
   од страницата кога ќе замине и не ја пушта повторно кога посетителот се враќа на
   почетната од друга страница на сајтот или ја освежува (F5), исто како програмата.

   Времето (од отворањето на страницата):
   0,10–1,30 s мрежата од точки; 0,15–1,15 s плочката се отвора; 0,45–1,60 s знакот;
   0,45–3,25 s се исцртува графиконот; 1,00–2,40 s името, буква по буква;
   1,60–2,90 s отсјај преку знакот; 2,10 s полниот назив; 2,30 s линијата; 2,60 s дејноста;
   3,15 s светнува точката на врвот на графиконот; 3,90–5,20 s втор, поблаг отсјај;
   2,90–4,60 s мирување (брановите, искрите и аурорите не застануваат);
   4,60–5,50 s најавата се подига и се стопува; на 5,50 s е сосема снемена. */
.splash {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  background: #0f2a5e;
  opacity: 0;
  visibility: hidden;
  animation: splash-out 5.5s ease-in both;
}
/* display се менува само во последниот миг (99,9 → 100 %), така што и прелистувач што
   го менува на половина од отсечокот не може да ја скрие порано. */
@keyframes splash-out {
  0%, 83.6% { opacity: 1; visibility: visible; }
  99.9% { display: grid; }
  100% { opacity: 0; visibility: hidden; display: none; }
}
/* Кога посетителот ќе допре, кликне или притисне тастер (src/scripts/site.js): краток излез. */
.splash.is-leaving { animation: splash-skip .34s ease-in both; }
.splash.is-leaving .splash-inner { animation: splash-lift-out .34s ease-in both; }
@keyframes splash-skip {
  from { opacity: 1; visibility: visible; }
  99% { display: grid; }
  to { opacity: 0; visibility: hidden; display: none; }
}
@keyframes splash-lift-out { from { transform: none; } to { transform: translateY(-14px) scale(1.03); } }
/* Посетителот веќе ја видел (дошол од друга страница на сајтот или освежил): site.js. */
.splash-skip .splash { display: none !important; }

/* Позадината: сина како горната лента на програмата, посветла во средината.
   „isolation: isolate“ значи дека светлосните аурори се мешаат само со неа. */
.splash-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 38%, #2a5cab 0%, #1a4288 34%, #0f2a5e 66%, #081733 100%);
}

/* Светлосни „аурори“: големи меки кругови што полека лебдат и се мешаат. */
.splash-aurora { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; mix-blend-mode: screen; opacity: .75; }
.splash-aurora-1 { left: -24vmax; top: -32vmax; background: radial-gradient(circle, rgba(129, 140, 248, .55) 0%, rgba(129, 140, 248, 0) 62%); animation: splash-drift-1 13s ease-in-out infinite alternate; }
.splash-aurora-2 { right: -28vmax; top: -10vmax; background: radial-gradient(circle, rgba(56, 189, 248, .45) 0%, rgba(56, 189, 248, 0) 60%); animation: splash-drift-2 15s ease-in-out infinite alternate; }
.splash-aurora-3 { left: 8vw; bottom: -48vmax; background: radial-gradient(circle, rgba(45, 212, 191, .3) 0%, rgba(45, 212, 191, 0) 58%); animation: splash-drift-3 17s ease-in-out infinite alternate; }
@keyframes splash-drift-1 { to { transform: translate(12vmax, 9vmax) scale(1.15); } }
@keyframes splash-drift-2 { to { transform: translate(-11vmax, 12vmax) scale(.9); } }
@keyframes splash-drift-3 { to { transform: translate(9vmax, -10vmax) scale(1.2); } }

/* Мрежа од ситни точки, најјасна околу знакот. */
.splash-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%);
  opacity: 0;
  animation: splash-fade 1.2s .1s ease forwards;
}
@keyframes splash-fade { to { opacity: 1; } }

/* Линијата-графикон по дното се исцртува од лево кон десно — истиот мотив како
   графиконот во знакот — а на врвот ѝ светнува точка што полека чука.
   Висината расте со ширината (26,5vw), за на широк екран да се гледа и врвот на линијата
   со точката, а не да се сече на горниот раб; најмалку 34vh како во програмата, најмногу 50vh. */
.splash-chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(34vh, 26.5vw, 50vh); }
.splash-chart-line {
  fill: none;
  stroke: url(#splash-line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(125, 211, 252, .6));
  animation: splash-draw 2.8s .45s cubic-bezier(.65, 0, .35, 1) forwards;
}
.splash-chart-area { fill: url(#splash-area); opacity: 0; animation: splash-fade 1.6s 1.4s ease forwards; }
/* Точката чука со светлина (opacity), не со големина: промена на големината на елемент во
   SVG го тера прелистувачот одново да го распоредува целиот сајт во секој кадар. */
.splash-chart-dot {
  fill: #e0f2fe;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, .95));
  animation: splash-dot-in .45s 3.15s ease-out forwards, splash-dot-pulse 1.7s 3.6s ease-in-out infinite;
}
@keyframes splash-draw { to { stroke-dashoffset: 0; } }
@keyframes splash-dot-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes splash-dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Искрите што лебдат нагоре. Секоја има свое место, големина, брзина и патека;
   негативното доцнење (--w) значи дека уште на почетокот се веќе по целиот екран. */
.splash-dust { position: absolute; inset: 0; }
.splash-dust i {
  position: absolute;
  left: var(--x);
  bottom: -12px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: 0 0 8px rgba(186, 230, 253, .9);
  opacity: 0;
  /* Одделни својства наместо кратенката „animation“: вредноста доаѓа од --t и --w, а
     некои прелистувачи не ја разложуваат кратенката правилно кога во неа стои var(). */
  animation-name: splash-rise;
  animation-duration: var(--t);
  animation-delay: var(--w);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes splash-rise {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: var(--o); }
  80% { opacity: var(--o); }
  100% { transform: translate(var(--dx), -105vh); opacity: 0; }
}
.splash-dust i:nth-child(1) { --x: 5.3%; --s: 4.5px; --t: 12.6s; --w: -0.3s; --o: 0.41; --dx: 33px; }
.splash-dust i:nth-child(2) { --x: 94.4%; --s: 2.5px; --t: 8.2s; --w: -5.8s; --o: 0.41; --dx: 5px; }
.splash-dust i:nth-child(3) { --x: 28.7%; --s: 3.4px; --t: 12.8s; --w: -2.3s; --o: 0.84; --dx: 35px; }
.splash-dust i:nth-child(4) { --x: 58.1%; --s: 2.9px; --t: 10.7s; --w: -8.8s; --o: 0.37; --dx: -5px; }
.splash-dust i:nth-child(5) { --x: 20.8%; --s: 2.2px; --t: 6.6s; --w: -4.6s; --o: 0.74; --dx: 25px; }
.splash-dust i:nth-child(6) { --x: 86.9%; --s: 2.4px; --t: 9.1s; --w: -1.9s; --o: 0.87; --dx: 14px; }
.splash-dust i:nth-child(7) { --x: 65.8%; --s: 3.3px; --t: 12.2s; --w: -9.6s; --o: 0.88; --dx: -29px; }
.splash-dust i:nth-child(8) { --x: 8.3%; --s: 1.9px; --t: 6.4s; --w: -5.3s; --o: 0.60; --dx: -38px; }
.splash-dust i:nth-child(9) { --x: 82.8%; --s: 2.2px; --t: 7.7s; --w: -4.1s; --o: 0.75; --dx: -3px; }
.splash-dust i:nth-child(10) { --x: 62.2%; --s: 3.6px; --t: 8.0s; --w: -7.9s; --o: 0.87; --dx: -33px; }
.splash-dust i:nth-child(11) { --x: 23.6%; --s: 2.2px; --t: 10.8s; --w: -11.6s; --o: 0.57; --dx: -29px; }
.splash-dust i:nth-child(12) { --x: 3.2%; --s: 3.8px; --t: 12.9s; --w: -11.7s; --o: 0.67; --dx: -27px; }
.splash-dust i:nth-child(13) { --x: 33.2%; --s: 4.0px; --t: 7.9s; --w: -1.6s; --o: 0.86; --dx: 33px; }
.splash-dust i:nth-child(14) { --x: 52.6%; --s: 2.9px; --t: 7.1s; --w: -7.0s; --o: 0.34; --dx: 37px; }
.splash-dust i:nth-child(15) { --x: 39.6%; --s: 3.6px; --t: 10.7s; --w: -0.8s; --o: 0.39; --dx: 0px; }
.splash-dust i:nth-child(16) { --x: 75.2%; --s: 2.0px; --t: 9.3s; --w: -8.0s; --o: 0.44; --dx: -27px; }
.splash-dust i:nth-child(17) { --x: 98.0%; --s: 2.7px; --t: 10.7s; --w: -8.4s; --o: 0.42; --dx: -28px; }
.splash-dust i:nth-child(18) { --x: 18.0%; --s: 4.3px; --t: 12.9s; --w: -6.9s; --o: 0.85; --dx: 29px; }
.splash-dust i:nth-child(19) { --x: 70.7%; --s: 3.1px; --t: 11.5s; --w: -10.5s; --o: 0.88; --dx: -31px; }
.splash-dust i:nth-child(20) { --x: 35.5%; --s: 3.5px; --t: 7.7s; --w: -3.0s; --o: 0.39; --dx: 35px; }
.splash-dust i:nth-child(21) { --x: 47.8%; --s: 2.1px; --t: 10.1s; --w: -8.4s; --o: 0.54; --dx: -8px; }
.splash-dust i:nth-child(22) { --x: 79.8%; --s: 4.0px; --t: 12.2s; --w: -10.7s; --o: 0.46; --dx: 40px; }
.splash-dust i:nth-child(23) { --x: 45.6%; --s: 2.1px; --t: 11.3s; --w: -11.5s; --o: 0.89; --dx: -10px; }
.splash-dust i:nth-child(24) { --x: 55.7%; --s: 2.6px; --t: 12.8s; --w: -8.3s; --o: 0.35; --dx: -15px; }
.splash-dust i:nth-child(25) { --x: 89.3%; --s: 4.4px; --t: 6.4s; --w: -10.8s; --o: 0.42; --dx: 22px; }
.splash-dust i:nth-child(26) { --x: 15.0%; --s: 4.3px; --t: 7.1s; --w: -6.4s; --o: 0.31; --dx: 35px; }

/* Средината: плочката со знакот, под неа името, називот, линијата и дејноста. */
.splash-inner { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 var(--gutter); animation: splash-lift .9s 4.6s cubic-bezier(.4, 0, .7, .2) both; }
@keyframes splash-lift { from { transform: none; } to { transform: translateY(-14px) scale(1.03); } }
.splash-stage { position: relative; display: grid; place-items: center; margin-bottom: 32px; }

/* Белата плочка: знакот има светла позадина, па не смее да лежи гол врз синото. */
.splash-plate {
  position: relative;
  display: grid;
  place-items: center;
  width: min(264px, 34vh);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 30px 80px -12px rgba(2, 8, 30, .6), 0 0 90px rgba(125, 180, 255, .35);
  animation: splash-plate-in 1s .15s cubic-bezier(.2, 1.3, .35, 1) both;
}
@keyframes splash-plate-in {
  from { opacity: 0; transform: scale(.55) translateY(18px); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: none; }
}
.splash-badge { width: 88%; height: 88%; object-fit: contain; animation: splash-badge-in 1.15s .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes splash-badge-in {
  from { opacity: 0; transform: scale(1.14) rotate(-8deg); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Отсјај што поминува преку знакот — еднаш силно, па уште еднаш поблаго додека се чека. */
.splash-shine {
  position: absolute;
  inset: -10%;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%);
  transform: translateX(-130%);
  /* Вториот е „forwards“, не „both“: инаку уште пред да почне би го прекрил првиот. */
  animation: splash-shine 1.3s 1.6s cubic-bezier(.45, 0, .2, 1) both, splash-shine-soft 1.3s 3.9s cubic-bezier(.45, 0, .2, 1) forwards;
}
@keyframes splash-shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes splash-shine-soft { from { opacity: .45; transform: translateX(-130%); } to { opacity: .45; transform: translateX(130%); } }

/* Мек сјај зад плочката што полека дише. */
.splash-halo {
  position: absolute;
  width: 175%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, .45) 0%, rgba(147, 197, 253, .12) 40%, transparent 68%);
  opacity: 0;
  animation: splash-fade 1s .25s ease forwards, splash-breathe 3.4s 1.3s ease-in-out infinite;
}
@keyframes splash-breathe { 50% { transform: scale(1.08); } }

/* Бранови што се шират од плочката. */
.splash-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(186, 230, 253, .75); opacity: 0; animation: splash-ring 2.6s .7s cubic-bezier(.2, .6, .3, 1) infinite; }
.splash-ring-2 { animation-delay: 2s; }
@keyframes splash-ring { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }

/* Светла „комета“ што кружи околу плочката. */
.splash-orbit {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0turn, transparent .62turn, rgba(125, 211, 252, .15) .75turn, rgba(186, 230, 253, .95) .97turn, #fff 1turn);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  opacity: 0;
  animation: splash-fade .6s 1s ease forwards, splash-spin 3s 1s linear infinite;
}
@keyframes splash-spin { to { transform: rotate(1turn); } }

/* Името се пишува буква по буква: секој збор почнува од --wd, секоја буква додава --cd.
   Зборовите остануваат цели (inline-block), па редот не се крши среде збор. */
.splash-name { font-family: var(--font-serif); font-size: clamp(1.45rem, 3.4vw, 2.3rem); font-weight: 600; letter-spacing: .01em; line-height: 1.2; color: #fff; text-shadow: 0 2px 18px rgba(8, 23, 51, .55); }
.splash-word { display: inline-block; white-space: nowrap; }
.splash-ch { display: inline-block; opacity: 0; animation-name: splash-ch; animation-duration: .7s; animation-delay: calc(1s + var(--wd, 0ms) + var(--cd, 0ms)); animation-timing-function: cubic-bezier(.2, .8, .2, 1); animation-fill-mode: both; }
@keyframes splash-ch { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.splash-word:nth-child(1) { --wd: 0ms; }
.splash-word:nth-child(2) { --wd: 300ms; }
.splash-word:nth-child(3) { --wd: 600ms; }
.splash-word:nth-child(n+4) { --wd: 860ms; }
.splash-ch:nth-child(1) { --cd: 0ms; }
.splash-ch:nth-child(2) { --cd: 45ms; }
.splash-ch:nth-child(3) { --cd: 90ms; }
.splash-ch:nth-child(4) { --cd: 135ms; }
.splash-ch:nth-child(5) { --cd: 180ms; }
.splash-ch:nth-child(6) { --cd: 225ms; }
.splash-ch:nth-child(7) { --cd: 270ms; }
.splash-ch:nth-child(8) { --cd: 315ms; }
.splash-ch:nth-child(9) { --cd: 360ms; }
.splash-ch:nth-child(10) { --cd: 405ms; }
.splash-ch:nth-child(11) { --cd: 450ms; }
.splash-ch:nth-child(12) { --cd: 495ms; }
.splash-ch:nth-child(n+13) { --cd: 540ms; }

/* Полниот назив од регистарот, линија што расте од средината и дејноста. */
.splash-legal { margin-top: 14px; font-size: .84rem; color: rgba(211, 225, 247, .85); text-shadow: 0 1px 10px rgba(8, 23, 51, .6); opacity: 0; animation: splash-rise-in .7s 2.1s ease both; }
.splash-rule { width: 170px; height: 2px; margin: 14px 0 12px; border-radius: 2px; background: linear-gradient(90deg, transparent, #7dd3fc, #c7d2fe, transparent); transform: scaleX(0); animation: splash-rule .9s 2.3s cubic-bezier(.65, 0, .35, 1) forwards; }
.splash-tag { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #93c5fd; text-shadow: 0 1px 10px rgba(8, 23, 51, .7); opacity: 0; animation: splash-rise-in .7s 2.6s ease both; }
@keyframes splash-rule { to { transform: scaleX(1); } }
@keyframes splash-rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  /* На телефон: помалку искри и една аурора помалку — истата слика, полесна за цртање. */
  .splash-dust i:nth-child(n+15) { display: none; }
  .splash-aurora-3 { display: none; }
  .splash-chart { height: 28vh; }
  .splash-stage { margin-bottom: 26px; }
  .splash-plate { width: min(190px, 26vh); }
  .splash-legal { font-size: .76rem; }
  .splash-tag { font-size: .64rem; letter-spacing: .12em; }
  .splash-rule { width: 130px; margin: 12px 0 10px; }
}
/* Телефон свртен на ширина: името и називот ја полнат речиси целата висина, па
   графиконот би минувал низ текстот — тука се изоставува. */
@media (max-height: 480px) {
  .splash-chart { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* Без анимација нема како да се стопи, па воопшто не се прикажува. */
  .splash { display: none !important; }
}
@media print {
  .topbar, .site-header, .nav-mobile, .cta-band, .skip, .breadcrumbs, .splash { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding: 20px 0; }
  a { color: inherit; }
}

/* styles/pages/about.css */
/* Страница „За нас“ */

/* Заглавие: печат со логото и годината (А) */
.page-about .page-hero-grid { align-items: center; }
.about-seal { position: relative; justify-self: center; width: min(270px, 100%); margin: 12px 8px 0 36px; }
.about-seal img { width: 100%; height: auto; border-radius: 50%; background: #fff; padding: 12px; box-shadow: var(--shadow); }
.about-since { position: absolute; left: -44px; bottom: -26px; margin: 0; display: flex; flex-direction: column; max-width: 180px; padding: 10px 14px; hyphens: auto; border-radius: 12px; background: var(--navy); color: #c9d1ee; font-size: .82rem; line-height: 1.3; box-shadow: 0 14px 30px rgba(20, 27, 71, .28); }
.about-since strong { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1; color: #fff; margin-bottom: 4px; }

/* Кои сме */
.about-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; }
.about-story .section-head { margin-bottom: 24px; }
.about-story-text p { font-size: 1.06rem; }
.about-story-text > :last-child { margin-bottom: 0; }
.about-facts { background: var(--paper); }
.about-facts h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.about-facts dl { margin: 0; }
.about-facts dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.about-facts dl > div:first-child { padding-top: 0; border-top: 0; }
.about-facts dl > div:last-child { padding-bottom: 0; }
.about-facts dt { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }

/* Историја: временска линија */
.about-history { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.about-history-intro { position: sticky; top: 110px; }
.about-history-intro .section-head { margin-bottom: 28px; }
.about-timeline { list-style: none; margin: 0; padding: 0; }
.about-tl-item { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.about-tl-item::before { content: ""; position: absolute; top: 10px; left: 132px; width: 16px; height: 16px; margin-left: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--indigo); }
.about-tl-year { margin: 0; padding-right: 28px; text-align: right; overflow-wrap: normal; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--indigo); }
.about-tl-body { padding: 0 0 36px 30px; border-left: 2px solid var(--line-strong); }
.about-tl-item:last-child .about-tl-body { padding-bottom: 0; }
.about-tl-body h3 { margin: 4px 0 6px; }
.about-tl-body p { margin: 0; color: var(--muted); }
.about-tl-item.is-future::before { background: var(--info-bg); border-color: var(--sky); }
.about-tl-item.is-future .about-tl-year { padding-top: 6px; font-size: 1.1rem; color: var(--link); }
.about-tl-item.is-future .about-tl-body { border-left-style: dashed; }

/* Лиценца и професионални правила */
.about-licence { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.about-licence .section-head { margin-bottom: 24px; }
.about-principles { margin: 18px 0 20px; }
.about-principles .check-list { margin: 0; }
.about-principles strong { color: var(--navy); }
.about-licence-card { position: relative; overflow: hidden; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-s); }
.about-licence-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; background: url("/assets/img/logo-badge-256.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.about-licence-card h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.about-licence-card .about-licence-number { margin: 0 0 18px; font-family: var(--font-serif); font-size: 2.3rem; font-weight: 600; line-height: 1.15; color: var(--navy); }
.about-licence-prefix { font-size: .55em; color: var(--muted); }
.about-licence-card dl { margin: 0 0 22px; display: grid; gap: 8px; }
.about-licence-card dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.about-licence-card dt { font-size: .92rem; color: var(--muted); }
.about-licence-card dd { margin: 0; font-weight: 600; }
.about-licence-card .btn { position: relative; z-index: 1; }

/* Вредности (А) */
.about-value { border-top: 3px solid var(--indigo); }
.about-value .card-icon { border-radius: 50%; }
.about-value h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.about-value p { margin: 0; }

/* Тим */
.about-member { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-avatar { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 16px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; box-shadow: 0 0 0 6px var(--info-bg); }
.about-member h3 { margin-bottom: 2px; }
.about-member .about-member-role { margin: 0 0 14px; font-weight: 700; color: var(--link); }
.about-member .about-member-licence { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--bg); font-size: .9rem; color: var(--ink); }
.about-member-licence .ic { color: var(--indigo); }

/* Јазици */
.about-languages { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.about-languages .section-head { margin-bottom: 20px; }
.about-lang-note { margin: 0; color: var(--muted); }
.about-lang-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-lang { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.about-lang-code { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; letter-spacing: .04em; }
.about-lang h3 { margin: 2px 0 4px; }
.about-lang p { margin: 0; color: var(--muted); }
.about-lang .about-lang-link { margin-top: 8px; }

@media (max-width: 1040px) {
  .about-story, .about-history, .about-licence, .about-languages { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-history-intro { position: static; }
  .about-seal { justify-self: start; width: 200px; margin: 4px 0 0 36px; }
  .about-facts, .about-licence-card { max-width: 560px; }
  .about-timeline { max-width: 680px; }
  .about-team > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .about-seal { display: none; }
  .about-tl-item { grid-template-columns: minmax(0, 1fr); padding-left: 26px; border-left: 2px solid var(--line-strong); }
  .about-tl-item.is-future { border-left-style: dashed; }
  .about-tl-item::before { top: 6px; left: 0; margin-left: -9px; }
  .about-tl-year, .about-tl-item.is-future .about-tl-year { padding: 0; text-align: left; font-size: 1.5rem; }
  .about-tl-item.is-future .about-tl-year { font-size: 1.1rem; }
  .about-tl-body { padding: 0 0 28px; border-left: 0; }
  .about-tl-body h3 { margin-top: 2px; }
  .about-licence-card .about-licence-number { font-size: 1.9rem; }
  .about-lang { padding: 18px; gap: 14px; }
  .about-lang-code { width: 46px; height: 46px; border-radius: 12px; }
}

/* styles/pages/deadlines.css */
/* Страница „Рокови“ */

/* Заглавие: содржина на страницата */
.dl-toc { box-shadow: var(--shadow-s); padding: 24px; }
.dl-toc-title { margin: 0 0 10px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.dl-toc .toc a { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.dl-toc .toc .ic { width: 16px; height: 16px; color: var(--link); transition: transform .2s ease; }
.dl-toc .toc a:hover .ic { transform: translateX(3px); }

/* Листи со рокови: наслов лево, листа десно */
.dl-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.dl-split-head { position: sticky; top: 110px; }
.dl-split-head .section-head { margin-bottom: 20px; }
.dl-split-note { margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.dl-split-link { margin: 0; }
.page-deadlines .section-white .deadline { background: var(--bg); }
.page-deadlines .section-white .deadline-date { background: #fff; }
.dl-pending { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }

/* Табела по тип на клиент */
.dl-table-wrap { margin: 0; }
.dl-table { min-width: 780px; }
.dl-table thead th { padding: 14px 10px; text-align: center; vertical-align: bottom; line-height: 1.3; }
/* Првата колона останува видлива при хоризонтално лизгање на мал екран. */
.dl-table thead th:first-child { position: sticky; left: 0; z-index: 2; padding-left: 18px; text-align: left; box-shadow: inset -1px 0 0 var(--line); }
.dl-table thead a { color: var(--navy); text-decoration-color: var(--line-strong); }
.dl-table thead a:hover { color: var(--indigo); text-decoration-color: currentColor; }
.dl-table th[scope="row"] { position: sticky; left: 0; z-index: 1; width: 36%; min-width: 260px; padding: 14px 18px; background: #fff; box-shadow: inset -1px 0 0 var(--line); color: var(--ink); font-size: .95rem; font-weight: 600; }
.dl-table tbody tr:last-child th { border-bottom: 0; }
.dl-row-title { display: block; font-weight: 700; color: var(--navy); }
.dl-row-rule { display: block; margin-top: 2px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.dl-table td { text-align: center; vertical-align: middle; }
.dl-table tbody tr:hover td, .dl-table tbody tr:hover th[scope="row"] { background: #f8fafe; }
.dl-yes { width: 22px; height: 22px; margin: 0 auto; color: var(--azure); }
.dl-no { font-weight: 700; color: var(--muted); }
.dl-table-notes { max-width: 860px; margin: 18px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }

/* Важно да знаете */
.dl-note h3 { margin-bottom: 8px; }
.dl-note p { margin: 0; }
.dl-source { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dl-source-text { flex: 1 1 420px; }
.dl-source h3 { margin-bottom: 6px; }
.dl-source p { margin: 0; color: var(--muted); }
.dl-checked { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.dl-checked .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--indigo); }

@media (max-width: 1040px) {
  .dl-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dl-split-head { position: static; }
  .dl-split-head .section-head { margin-bottom: 14px; }
}
@media (max-width: 720px) {
  .dl-toc { padding: 20px; }
  .dl-table { min-width: 640px; font-size: .88rem; }
  .dl-table thead th { padding: 12px 6px; font-size: .8rem; }
  .dl-table thead th:first-child { padding-left: 12px; }
  .dl-table th[scope="row"] { min-width: 190px; padding: 12px; font-size: .88rem; }
  .dl-table td { padding: 10px 6px; }
  .dl-source { padding: 22px; }
  .dl-source .btn-row, .dl-source .btn { width: 100%; }
}
@media print {
  .dl-toc, .dl-split-link { display: none; }
  .dl-split-head, .dl-table th[scope="row"], .dl-table thead th:first-child { position: static; }
}

/* styles/pages/e-invoice.css */
/* Страница „е-Фактура“ */

/* Заглавие: состојба накратко */
.page-e-invoice .page-hero-grid { align-items: center; }
.einv-card-title { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.einv-glance { box-shadow: var(--shadow-s); }
.einv-glance dl { margin: 0; }
.einv-glance dl > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.einv-glance dl > div:first-child { border-top: 0; padding-top: 0; }
.einv-glance dl > div:last-child { padding-bottom: 0; }
.einv-glance dt { font-weight: 700; color: var(--ink); }
.einv-glance dd { margin: 0; }
.einv-checked { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.einv-checked .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--indigo); }
.einv-checked time { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Ознаки */
.einv-chip-neutral { background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Главен дел: предупредување + содржина со странична лента */
.einv-main { padding-top: 44px; }
.einv-alert { margin-bottom: 48px; }
.einv-alert .notice { padding: 22px 24px; font-size: 1.04rem; }
.einv-alert .notice-title { font-size: 1.12rem; }
.einv-alert .notice-body p { margin-bottom: .5em; }
.einv-alert .notice-body > :last-child { margin-bottom: 0; }
/* Менито „Содржина“ е прво во HTML (за мобилен), а на десктоп оди во десната колона. */
.einv-layout > .einv-aside { grid-column: 2; grid-row: 1; padding: 22px; }
.einv-layout > .einv-prose { grid-column: 1; grid-row: 1; }
.einv-aside .toc { margin: 0 -10px; counter-reset: toc; }
.einv-aside .toc a { display: flex; gap: 8px; }
.einv-aside .toc a::before { counter-increment: toc; content: counter(toc); min-width: 1.1em; font-weight: 800; color: var(--link); }
.einv-aside .btn { width: 100%; margin-top: 16px; }

/* Секции */
.einv-section + .einv-section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.einv-prose .einv-lead { font-size: 1.08rem; color: var(--muted); }
.einv-prose .check-list { padding-left: 0; }
.einv-prose .check-list li { margin-bottom: 0; }
.einv-prose .notice p { margin-bottom: 0; }

/* Што е е-Фактура: тек во четири чекори */
.einv-prose .einv-flow { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: flow; }
.einv-prose .einv-flow-step { position: relative; margin: 0; padding: 18px 20px 18px 66px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.einv-flow-step::before { counter-increment: flow; content: counter(flow); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: .95rem; }
.einv-flow-step p { margin: 0; color: var(--muted); font-size: .95rem; }
.einv-flow-step .einv-flow-title { margin-bottom: 4px; font-weight: 800; color: var(--navy); font-size: 1rem; }

/* Кого ќе опфати: табела со фазите од нацртот */
.einv-phases { margin: 0 0 1em; }
.einv-phases caption { caption-side: top; text-align: left; padding: 12px 16px; background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); color: var(--warn); font-weight: 800; font-size: .92rem; }
.einv-phases caption .ic { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -.25em; }
.einv-phases tbody th { background: #fff; color: var(--navy); font-size: .95rem; white-space: nowrap; }
.einv-phases tbody tr:last-child th { border-bottom: 0; }

/* Статус и рокови */
.einv-status { display: grid; gap: 14px; margin-bottom: 8px; }
.einv-status-card { padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.einv-status-card.is-law { border-left-color: var(--ok); }
.einv-status-card.is-draft { border-left-color: var(--warn-line); }
.einv-status-card.is-announcement { border-left-color: var(--sky); }
.einv-prose .einv-status-card h3 { margin: 10px 0 8px; }
.einv-status-card p { color: var(--muted); }
.einv-status-card > :last-child { margin-bottom: 0; }

.einv-prose .einv-timeline { list-style: none; margin: 0; padding: 0; }
.einv-prose .einv-tl-item { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); margin: 0; }
.einv-tl-item::before { content: ""; position: absolute; top: 8px; left: 160px; width: 14px; height: 14px; margin-left: -6px; border-radius: 50%; background: #fff; border: 3px solid var(--indigo); }
.einv-tl-item.is-draft::before { border-color: var(--warn); }
.einv-tl-item.is-next::before { background: var(--bg); border-color: var(--line-strong); }
.einv-tl-date { margin: 0; padding-right: 22px; text-align: right; font-weight: 800; color: var(--navy); font-size: .95rem; line-height: 1.5; }
.einv-tl-body { padding: 0 0 24px 26px; border-left: 2px solid var(--line-strong); }
.einv-tl-item:last-child .einv-tl-body { padding-bottom: 0; }
.einv-tl-item.is-next .einv-tl-body { border-left-style: dashed; }
.einv-tl-body p { margin: 6px 0 0; color: var(--muted); font-size: .96rem; }

/* Што да подготвите */
.einv-prose .einv-prep { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.einv-prose .einv-prep-item { margin: 0; padding: 22px; display: flex; flex-direction: column; }
.einv-prep-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.einv-prep-head .card-icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.einv-prep-head .card-icon .ic { width: 22px; height: 22px; }
.einv-prep-head .chip { text-align: right; }
.einv-prose .einv-prep-item h3 { margin: 0 0 6px; }
.einv-prep-item p { margin: 0; font-size: .96rem; }

/* Како ви помагаме */
.einv-help-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.einv-help-action .prose-meta { margin: 0; }

/* Прашања */
.einv-prose .faq { max-width: none; }
.einv-prose .faq summary { font-size: 1.1rem; }

/* Извори */
.einv-prose .einv-sources { list-style: none; margin: 0 0 1.2em; padding: 0; border-top: 1px solid var(--line); }
.einv-prose .einv-sources li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.einv-sources a { display: inline; font-weight: 700; }
.einv-sources a .ic { display: inline-block; width: 15px; height: 15px; margin-left: 6px; vertical-align: -.15em; }
.einv-sources small { display: block; color: var(--muted); }

@media (max-width: 1040px) {
  .einv-layout > .einv-aside, .einv-layout > .einv-prose { grid-column: auto; grid-row: auto; }
  .einv-aside { max-width: 560px; }
  /* На помал екран датумот и копчето се веќе во заглавието: менито останува кратко. */
  .einv-aside .einv-checked, .einv-aside .btn { display: none; }
  .einv-glance { max-width: 560px; }
}
@media (max-width: 720px) {
  .einv-main { padding-top: 32px; }
  .einv-alert { margin-bottom: 32px; }
  .einv-alert .notice { padding: 18px; font-size: 1rem; }
  .einv-section + .einv-section { margin-top: 44px; padding-top: 36px; }
  .einv-prose .einv-flow, .einv-prose .einv-prep { grid-template-columns: minmax(0, 1fr); }
  .einv-prose .einv-tl-item { grid-template-columns: minmax(0, 1fr); padding-left: 22px; border-left: 2px solid var(--line-strong); }
  .einv-prose .einv-tl-item.is-next { border-left-style: dashed; }
  .einv-tl-item::before { top: 5px; left: 0; margin-left: -8px; }
  .einv-tl-date { padding: 0; text-align: left; }
  .einv-tl-body { padding: 0 0 22px; border-left: 0; }
  .einv-phases tbody th { white-space: normal; }
  .einv-status-card { padding: 18px; }
}
@media print {
  .einv-aside { display: none; }
  .einv-layout > .einv-prose { grid-column: auto; }
}

/* styles/pages/forms.css */
/* Контакт, Побарајте понуда, Благодариме и страницата со грешка од kontakt.php */

/* ---------- Форми: заеднички делови ---------- */
.form-head { margin-bottom: 18px; }
.form-head h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 8px; }
.form-head p { color: var(--muted); margin: 0; }
.form-required { font-size: .88rem; color: var(--muted); margin: 0 0 20px; }

.form .field .hint { margin: -2px 0 8px; }
.form .field > legend { font-size: .9rem; margin-bottom: 8px; }
.form fieldset.field { margin-bottom: 18px; }
.form .req { margin-left: 3px; }
.form select { cursor: pointer; }
.form input:user-invalid, .form select:user-invalid, .form textarea:user-invalid { border-color: #b3261e; }

/* Делови од подолгата форма, нумерирани 01, 02… (како чекорите од Концепт А). */
.quote-form { counter-reset: form-section; }
.form .form-section { margin: 0 0 26px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.form .form-section > legend { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.form .form-section > legend::before { counter-increment: form-section; content: "0" counter(form-section); display: inline-block; min-width: 2.1em; color: var(--azure); }
.form .form-section > .hint { display: block; font-size: .88rem; color: var(--muted); margin: -8px 0 12px; }
.form .form-section > .choices { margin-bottom: 18px; }

/* Чипови: кружен знак за еден избор, квадратен за повеќе избори. */
.form .choice span { gap: 9px; }
.form .choice span::before { content: ""; flex: none; width: 16px; height: 16px; border: 2px solid var(--line-strong); background: #fff; }
.form .choice input[type="radio"] + span::before { border-radius: 50%; }
.form .choice input[type="checkbox"] + span::before { border-radius: 5px; }
.form .choice:hover span { border-color: var(--indigo); }
.form .choice input[type="radio"]:checked + span::before { border-color: #fff; box-shadow: inset 0 0 0 3px var(--indigo); }
.form .choice input[type="checkbox"]:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a4c97' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choice-note { display: inline-block; margin-left: 2px; padding: 1px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: .72rem; font-weight: 800; letter-spacing: .03em; }
.choice input:checked + span .choice-note { background: rgba(255, 255, 255, .2); color: #fff; }

.form-privacy { display: flex; gap: 10px; align-items: flex-start; }
.form-privacy .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--indigo); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.form-response { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.form-response .ic { width: 18px; height: 18px; color: var(--azure); }

/* ---------- Контакт ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.contact-info, .contact-form-col { display: grid; gap: 18px; min-width: 0; }
.contact-info .offices { grid-template-columns: minmax(0, 1fr); }
.company-data h2 { font-size: 1.35rem; margin-bottom: 14px; }
.company-data dl { margin: 0 0 16px; display: grid; gap: 8px; }
/* Ознака и вредност во ист ред; подолга ознака (en/de) или тесен екран → вредноста оди во нов ред. */
.company-data dl > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.company-data dt { flex: 0 0 auto; min-width: 80px; font-size: .9rem; font-weight: 700; color: var(--navy); }
.company-data dd { flex: 1 1 14em; min-width: 0; margin: 0; }
.company-data dd small { color: var(--muted); }

/* ---------- Побарајте понуда ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; align-items: start; }
.quote-aside { display: grid; gap: 18px; min-width: 0; }
.quote-aside h2 { font-size: 1.45rem; margin-bottom: 16px; }
.next-steps .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 18px; }
.next-steps .step { padding: 0 0 0 52px; border-top: 0; }
.next-steps .step::before { top: 0; width: auto; border-top: 0; padding-top: 0; font-size: 1.5rem; }
.next-steps .step h3 { margin: 0 0 4px; font-size: 1.02rem; }
.next-steps .step p { font-size: .94rem; }
.next-steps-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.next-steps-note .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--azure); }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ic { width: 20px; height: 20px; color: var(--indigo); }
.contact-list small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Благодариме ---------- */
.thanks-badge { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); box-shadow: 0 0 0 10px rgba(16, 115, 79, .06); }
.message-page .thanks-badge .ic-big { width: 46px; height: 46px; margin: 0; color: var(--ok); }
.thanks .lead { font-size: 1.18rem; }
.thanks-next { max-width: 980px; margin: 44px auto 0; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); text-align: left; }
.thanks-next h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: 26px; }
.thanks-next .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.message-page .thanks-next .step p { max-width: none; margin: 0; }
.message-page .thanks-help { margin-top: 28px; }

/* ---------- Грешка од kontakt.php (422 / 405 / 500) ---------- */
.form-result-logo { width: 96px; height: 96px; margin: 0 auto 18px; }
.form-result-list { max-width: 36em; margin: 0 auto 1.2em; padding: 16px 22px 16px 40px; text-align: left; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); }
.form-result-list li + li { margin-top: 6px; }

/* ---------- Одзивност ---------- */
@media (max-width: 1040px) {
  .contact-layout, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-info .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-info .office:only-child { grid-column: 1 / -1; max-width: none; }
  .quote-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thanks-next .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .contact-info .offices, .quote-aside { grid-template-columns: minmax(0, 1fr); }
  .form .form-section > legend { font-size: 1.2rem; }
  .form-submit .btn { width: 100%; }
  .thanks-next { padding: 24px 20px; }
  .message-page.thanks { padding: 56px 0 72px; }
}

/* Форми на Cloudflare Pages (mailto, види mailtoFrame во src/pages/contact.mjs). */
.form-mail-how { margin-top: -8px; }
.mail-ready { margin-top: 24px; padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--info-bg); }
.mail-ready[hidden] { display: none; }
.mail-ready:focus { outline: none; }
.mail-ready:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }
.mail-ready-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.mail-ready-title .ic { width: 22px; height: 22px; color: var(--azure); }
.mail-ready label { display: block; font-size: .9rem; font-weight: 700; margin: 14px 0 6px; color: var(--navy); }
.mail-ready textarea { background: #fff; font-size: .92rem; }
.mail-ready-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.mail-ready-status { font-size: .9rem; font-weight: 600; color: var(--muted); }
.mail-ready-cut { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fff7e6; color: var(--ink); font-weight: 600; }
.mail-ready-cut[hidden] { display: none; }
.mail-ready-cut .ic { width: 20px; height: 20px; margin-top: 1px; color: #b26a00; }
@media (max-width: 720px) {
  .mail-ready { padding: 16px; }
  .mail-ready-actions .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
}

/* styles/pages/home.css */
/* Почетна страница */
.home-hero { position: relative; padding: 64px 0 88px; overflow: hidden; background: radial-gradient(760px 520px at 88% -8%, rgba(47, 163, 230, .22), transparent 62%), radial-gradient(620px 520px at -12% 110%, rgba(58, 76, 151, .14), transparent 62%), var(--bg); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.home-hero h1 { margin-top: 6px; }
.home-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.home-hero .btn-row { margin: 30px 0 28px; }
.home-hero .check-list { gap: 8px; color: var(--ink); font-weight: 600; }
.home-hero-visual { position: relative; padding-top: 40px; }
.hero-seal { position: absolute; top: -8px; right: -10px; width: 150px; height: 150px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: var(--shadow); z-index: 2; }
.dash { position: relative; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; box-shadow: 0 40px 80px rgba(29, 39, 98, .16); }
.dash-top { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7f1; }
.dash-top span { margin-left: 8px; }
.dash-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 0 0 12px; }
.dash .deadline { background: var(--bg); border-color: transparent; }
.dash .deadline-date { background: #fff; }
.dash-note { margin: 14px 2px 0; font-size: .88rem; color: var(--muted); }

.service-mini { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.service-mini .card-icon { margin-bottom: 0; }
.service-mini h3 { margin-bottom: 6px; }
.service-mini p { margin: 0; }
.section-more { margin: 26px 0 0; }

.plan-teaser { position: relative; }
.plan-teaser .chip { align-self: flex-start; margin: 0 0 10px; }
.plan-teaser h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; }
.plan-teaser.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-s); }
.plan-price { font-weight: 800; color: var(--navy); }

.home-deadlines { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.home-deadlines .section-head { margin-bottom: 26px; }
.home-deadlines > div:first-child { position: sticky; top: 110px; }

@media (max-width: 1040px) {
  .home-hero-grid, .home-deadlines { grid-template-columns: 1fr; }
  .home-hero-visual { max-width: 620px; }
  .home-deadlines > div:first-child { position: static; }
}
@media (max-width: 720px) {
  .home-hero { padding: 40px 0 64px; }
  .hero-seal { width: 104px; height: 104px; top: 4px; right: -4px; }
  .dash { padding: 16px; }
}

/* Книговодство и програма во еден пакет (веднаш по бројките) */
.bundle-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.bundle-grid .section-head { margin-bottom: 18px; }
.bundle-text { font-size: 1.08rem; margin: 0 0 24px; max-width: 64ch; }
.bundle-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bundle-points li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-weight: 700; color: var(--navy); }
.bundle-points .card-icon { margin: 0; flex: none; }
.bundle-points .bundle-devices { justify-content: center; background: transparent; border-style: dashed; }
@media (max-width: 1040px) {
  .bundle-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 721px) and (max-width: 1040px) {
  .bundle-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* styles/pages/legal.css */
/* Правни страници (Политика за приватност, Колачиња, Правни информации) и страницата 404 */

/* ---------- Заглавие: датум на последна измена ---------- */
.legal-updated { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; color: var(--muted); }
.legal-updated .ic { width: 18px; height: 18px; color: var(--indigo); }
.legal-updated time { font-weight: 700; color: var(--ink); }
.page-legal .page-hero .btn-row { margin-top: 22px; }

/* ---------- Распоред: текст лево, содржина десно (на мобилен содржината е над текстот) ---------- */
.legal-main { padding-top: 64px; }
@media (min-width: 1041px) {
  .legal-layout > .legal-toc { grid-column: 2; grid-row: 1; }
  .legal-layout > .legal-body { grid-column: 1; grid-row: 1; }
}
.legal-nav-title { font-family: var(--font-sans); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.legal-toc { padding: 22px 18px; background: var(--bg); max-height: calc(100vh - 130px); overflow-y: auto; }
.legal-toc .legal-nav-title { margin: 0 0 10px 10px; }
.legal-toc .toc { counter-reset: legal-toc; }
.legal-toc .toc li { counter-increment: legal-toc; }
.legal-toc .toc a { display: grid; grid-template-columns: 1.7em minmax(0, 1fr); line-height: 1.35; }
.legal-toc .toc a::before { content: counter(legal-toc) "."; font-weight: 700; color: var(--azure); }

/* ---------- Текст ---------- */
.legal-body { counter-reset: legal; }
.legal-body > .notice:first-child { margin-top: 0; }
.legal-intro { margin-bottom: 2.4rem; color: var(--muted); }
.legal-intro > :last-child { margin-bottom: 0; }
.legal-section { counter-increment: legal; }
.legal-section + .legal-section { margin-top: 3rem; }
.legal-body > .notice + .legal-section, .legal-intro + .legal-section { margin-top: 2.4rem; }
.prose .legal-section > h2 { display: flex; gap: .4em; margin-top: 0; }
.legal-section > h2::before { content: counter(legal) "."; flex: none; color: var(--azure); }
.legal-section > :last-child { margin-bottom: 0; }
.legal-body .notice-body ul { margin: 0; padding-left: 1.2em; }
.legal-body .notice-body li { margin-bottom: .25em; }

/* Картичка со податоци (назив, седиште, цел и правна основа …) */
.legal-facts { margin: 1.4em 0; padding: 6px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.legal-facts-title { margin: 14px 0 2px; font-weight: 800; color: var(--navy); }
.legal-facts dl { margin: 0; }
.legal-facts dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.legal-facts dl > div:first-child { border-top: 0; }
.legal-facts-title + dl > div:first-child { border-top: 1px solid var(--line); }
.legal-facts dt { padding-top: 2px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.legal-facts dd { margin: 0; }

/* Листа со линкови (закони, регистар, јазични верзии) */
.prose .legal-links { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.prose .legal-links li { margin: 0; }
.legal-links a { font-weight: 600; }
.legal-links .ic { display: inline-block; width: 15px; height: 15px; margin-left: 6px; vertical-align: -.12em; }

/* Поврзани страници на крајот */
.legal-related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.prose .legal-related .legal-nav-title { margin: 0 0 14px; font-size: .78rem; }
.prose .legal-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.prose .legal-related li { margin: 0; }

@media (max-width: 1040px) {
  .legal-toc { max-height: none; overflow: visible; }
  .legal-toc .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
}
@media (max-width: 720px) {
  .legal-main { padding-top: 40px; }
  .legal-toc .toc { grid-template-columns: minmax(0, 1fr); }
  .legal-facts { padding: 4px 16px; }
  .legal-facts dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal-updated { border-radius: 14px; }
}
@media print {
  .legal-toc, .legal-related { display: none; }
  .legal-facts { background: #fff; }
}

/* ---------- Страница 404 ---------- */
.not-found .nf-code { margin: 0 auto 4px; font-family: var(--font-serif); font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--indigo); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .not-found .nf-code { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.not-found h1 { margin-top: 0; }
.not-found .lead { font-size: 1.15rem; }
.nf-other { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 56px auto 0; padding-top: 40px; border-top: 1px solid var(--line); text-align: left; }
.nf-lang { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.nf-lang h2 { margin: 0 0 6px; font-size: 1.35rem; }
.message-page .nf-lang p { max-width: none; margin: 0 0 12px; font-size: .96rem; }
@media (max-width: 720px) {
  .nf-other { grid-template-columns: minmax(0, 1fr); margin-top: 40px; padding-top: 32px; }
}

/* styles/pages/packages.css */
/* Страница „Пакети“ */
.pkg-hero-card { box-shadow: var(--shadow-s); }
.pkg-hero-card-title { margin: 0 0 14px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.pkg-hero-card .check-list { margin: 0; }

/* Картички со пакети (Б) */
.pkg-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px 30px 30px; }
.pkg-card h3 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; }
.pkg-card.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.pkg-badge { position: absolute; top: 0; left: 28px; max-width: calc(100% - 56px); margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .03em; line-height: 1.3; transform: translateY(-50%); }
.pkg-audience { margin: 0; color: var(--muted); }
.pkg-price { display: flex; flex-direction: column; gap: 2px; margin: 18px 0 0; }
.pkg-price strong { font-size: 1.55rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.pkg-price small { font-weight: 600; color: var(--muted); }
.pkg-scope { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.pkg-scope li { padding: 5px 12px; border-radius: 999px; background: var(--info-bg); color: var(--indigo); font-size: .85rem; font-weight: 700; }
.pkg-includes { flex: 1; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pkg-includes-title { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pkg-includes .check-list { margin: 0; }
.pkg-action { margin-top: 26px; }
.pkg-action .btn { width: 100%; }
.pkg-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: .95rem; color: var(--muted); }
/* Три колони: редовите (опис, цена, обем, листа, копче) порамнети меѓу картичките. */
@media (min-width: 961px) {
  @supports (grid-template-rows: subgrid) {
    .pkg-plans { grid-template-rows: repeat(6, auto); row-gap: 0; }
    .pkg-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .pkg-includes { grid-row: 5; }
    .pkg-action { grid-row: 6; }
  }
}

/* Табела за споредба */
.pkg-compare-wrap { max-width: 980px; margin: 0 auto; }
.pkg-compare thead th { padding: 16px 12px; text-align: center; vertical-align: bottom; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.pkg-compare thead th:first-child { text-align: left; font-family: var(--font-sans); font-size: .88rem; font-weight: 800; }
.pkg-compare thead th.is-featured { background: var(--grad); color: #fff; }
.pkg-compare th[scope="rowgroup"] { padding: 10px 16px; background: var(--bg); color: var(--indigo); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.pkg-compare th[scope="row"] { background: #fff; color: var(--ink); font-size: .95rem; font-weight: 600; }
.pkg-compare tr:last-child th[scope="row"] { border-bottom: 0; }
.pkg-compare tbody + tbody th[scope="rowgroup"] { border-top: 1px solid var(--line); }
.pkg-compare td { width: 17%; text-align: center; vertical-align: middle; }
.pkg-compare td.is-featured { background: rgba(58, 76, 151, .05); }
.pkg-yes { width: 22px; height: 22px; margin: 0 auto; color: var(--azure); }
.pkg-no { font-weight: 700; color: var(--muted); }
.pkg-value { font-weight: 700; color: var(--navy); }

/* Што влијае на цената, дополнителни услуги */
.pkg-factor { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.pkg-factor .card-icon { margin-bottom: 0; }
.pkg-factor > div { min-width: 0; }
.pkg-factor h3 { margin-bottom: 6px; }
.pkg-factor p { margin: 0; }
.pkg-extra { display: flex; flex-direction: column; }
.pkg-extra p { margin: 0; }
.pkg-extra .link-arrow { align-self: flex-start; margin-top: auto; padding-top: 14px; }
.pkg-after { margin-top: 26px; }

@media (max-width: 960px) {
  .pkg-plans { grid-template-columns: 1fr; gap: 32px; max-width: 580px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .pkg-card { padding: 30px 22px 22px; }
  .pkg-badge { left: 22px; max-width: calc(100% - 44px); }
  .pkg-compare { font-size: .88rem; }
  .pkg-compare th, .pkg-compare td { padding: 10px 8px; }
  .pkg-compare thead th { padding: 12px 6px; font-size: 1rem; }
  .pkg-compare th[scope="row"] { font-size: .88rem; }
  .pkg-compare th[scope="rowgroup"] { padding: 9px 8px; letter-spacing: .08em; }
  .pkg-factor { padding: 22px; }
}

/* styles/pages/services.css */
/* Страници „Услуги“ (шаблон services) и по тип на клиент (шаблон client-type) */

/* ---------- Услуги: заглавие со содржина на групите ---------- */
.page-services .page-hero-grid { align-items: center; }
.svc-toc { padding: 24px; box-shadow: var(--shadow-s); }
.svc-toc .svc-toc-title { margin: 0 0 10px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.svc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.svc-toc a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; }
.svc-toc a:hover { background: var(--bg); color: var(--indigo); }
.svc-toc .ic { width: 20px; height: 20px; color: var(--indigo); }

/* ---------- Услуги: каталог по групи ---------- */
.svc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc-group { display: flex; flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease; }
.svc-group:target { border-color: var(--indigo); box-shadow: var(--shadow-s); }
.svc-group-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.svc-group-head .card-icon { margin-bottom: 0; }
.svc-group-head h3 { margin: 2px 0 4px; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.svc-group-head p { margin: 0; }
.svc-group .check-list { margin: 0; gap: 8px; font-size: .98rem; }
.svc-group .svc-group-link { margin: auto 0 0; padding-top: 18px; }
.svc-note { margin: 24px 0 0; font-size: .95rem; color: var(--muted); }

/* ---------- Услуги: документи ---------- */
.svc-docs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.svc-docs .section-head { margin-bottom: 24px; }
.svc-docs-list .svc-docs-title { margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-docs-list .check-list { margin: 0; }

/* ---------- Услуги: пакети и понуда ---------- */
.svc-next-card h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; }
.svc-next .card-feature .link-arrow { color: #fff; }
.svc-plan-names { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.svc-plan-names li { padding: 5px 12px; border-radius: 999px; background: var(--info-bg); color: var(--indigo); font-size: .85rem; font-weight: 700; }

/* ---------- Тип на клиент: заглавие со „На оваа страница“ ---------- */
.page-client-type .page-hero-grid { align-items: center; }
.ct-onpage { padding: 24px; box-shadow: var(--shadow-s); }
.ct-onpage .card-icon { margin-bottom: 14px; }
.ct-onpage .ct-onpage-title { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ct-onpage ul { list-style: none; margin: 0; padding: 0; }
.ct-onpage li + li { border-top: 1px solid var(--line); }
.ct-onpage a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 2px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; }
.ct-onpage a::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 4px 0 0; border-right: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(45deg); }
.ct-onpage a:hover { color: var(--indigo); }

/* ---------- Тип на клиент: две колони (за кого е, документи) ---------- */
.ct-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.ct-split .section-head { margin-bottom: 24px; }
.ct-split .check-list { margin: 0; }
.ct-docs-note { margin: 0; color: var(--muted); }

.ct-others { background: var(--bg); }
.ct-others .ct-others-title { margin: 0 0 10px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.ct-others ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.ct-others ul a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; }
.ct-others ul a:hover { background: #fff; color: var(--indigo); }
.ct-others ul .ic { width: 20px; height: 20px; color: var(--indigo); }
.ct-others .ct-others-all { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Тип на клиент: чекори (нова фирма) ---------- */
.ct-steps .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.ct-after { max-width: 880px; margin-top: 32px; }

/* ---------- Тип на клиент: што преземаме ---------- */
.ct-service h3 { margin-bottom: 6px; }
.ct-service p { margin: 0; }

/* ---------- Тип на клиент: рокови ---------- */
.ct-deadlines { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.ct-deadlines .section-head { margin-bottom: 26px; }
.ct-deadlines .ct-after { margin-top: 16px; }

/* ---------- Тип на клиент: добро е да знаете ---------- */
.ct-fact { display: flex; flex-direction: column; border-top: 3px solid var(--indigo); }
.ct-fact h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.ct-fact p { margin: 0 0 16px; }
.ct-fact .ct-fact-source { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.45; }
.ct-fact-source span { font-weight: 700; color: var(--ink); }
.ct-facts-note { margin: 24px 0 0; font-size: .92rem; color: var(--muted); }

@media (max-width: 1040px) {
  .svc-docs, .ct-split, .ct-deadlines { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .svc-toc, .ct-onpage, .ct-others { max-width: 560px; }
  .ct-steps .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
}
@media (max-width: 860px) {
  .svc-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ct-steps .steps { grid-template-columns: minmax(0, 1fr); }
  .svc-toc, .ct-onpage { padding: 20px; }
  .svc-group-head { gap: 14px; }
  .svc-group-head h3 { font-size: 1.22rem; }
}

/* „Вашите книги, секогаш при рака“ под заглавието */
.services-bundle.section-tight { padding: 32px 0; }
.services-bundle .notice { margin: 0; }

/* styles/pages/software.css */
/* Страница „Програма“ (програмата за компјутер и апликацијата за телефон) */

/* Заглавие: QR-кодот за телефонот десно (на тесен екран под копчињата).
   Големината ја дава самиот SVG (width/height = модули × 4 точки), за секој модул да е цел број пиксели. */
.page-software .page-hero-grid { align-items: center; }
.sw-qr { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; box-shadow: var(--shadow-s); padding: 22px; }
.sw-qr-code { display: block; border-radius: 8px; }
.sw-qr figcaption { display: grid; gap: 6px; font-size: .95rem; color: var(--muted); min-width: 0; }
.sw-qr-title { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 1.02rem; }
.sw-qr-title .ic { width: 20px; height: 20px; color: var(--indigo); flex: none; }
.sw-address { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
/* Програмата уште не работи: место за QR-кодот со „наскоро“. */
.sw-qr-placeholder { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 12px; border: 2px dashed var(--line-strong); color: var(--muted); }
.sw-qr-placeholder .ic { width: 56px; height: 56px; }
.sw-qr-title .chip { margin-left: 6px; }

/* Двете верзии */
.sw-platform { display: flex; flex-direction: column; }
.sw-platform .check-list { margin-bottom: 0; }
.sw-platform-action { margin-top: auto; padding-top: 22px; }
.sw-note { margin: 22px 0 0; }

/* Чекор по чекор, по уред */
.sw-device-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sw-device-head .card-icon { margin-bottom: 0; }
.sw-device-head h3 { margin: 0; }
.sw-device-sub { margin: 2px 0 0; font-size: .92rem; font-weight: 600; }
.sw-steps { list-style: none; margin: 0; padding: 0; counter-reset: sw-step; display: grid; gap: 12px; }
.sw-steps li { position: relative; padding-left: 40px; color: var(--ink); }
.sw-steps li::before { counter-increment: sw-step; content: counter(sw-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--info-bg); color: var(--indigo); font-weight: 800; font-size: .9rem; }
.sw-device > .prose-meta { margin: 16px 0 0; }
.sw-device { display: flex; flex-direction: column; }
.sw-device-action { margin-top: auto; padding-top: 22px; }
.sw-device-action .btn { width: 100%; }
/* Копчето што се допира на телефонот (⋮, Сподели, Додај на почетен екран), десно од чекорот. */
.sw-steps li.has-key { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.sw-key { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--indigo); box-shadow: var(--shadow-s); }
.sw-key .ic { width: 22px; height: 22px; }
/* Апликацијата не е од продавница за апликации (Google Play, App Store) */
.sw-nostore { margin: 0 0 28px; }
.sw-nostore .notice p { margin: 0; }

/* Системски барања */
.sw-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.sw-split .section-head { margin-bottom: 0; }
.sw-req { margin: 0; border-top: 1px solid var(--line); }
.sw-req > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sw-req dt { font-weight: 800; color: var(--navy); }
.sw-req dd { margin: 0; }

/* Најава, цена и помош; приватност */
.sw-start .card p { margin-bottom: 0; }
.sw-privacy { margin-top: 28px; }
.sw-privacy .notice p { margin: 0; }

@media (max-width: 1040px) {
  .sw-split { grid-template-columns: 1fr; gap: 28px; }
  .sw-devices { grid-template-columns: minmax(0, 1fr); }
  .sw-start { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .sw-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sw-qr-title { justify-content: center; }
  .sw-req > div { grid-template-columns: 1fr; }
  .page-software .page-hero .btn-row .btn { width: 100%; }
}
@media print {
  .sw-qr { box-shadow: none; }
}

/* Книговодство и програма во еден пакет; најава, регистрација и проба („наскоро“ додека не работат) */
.sw-bundle { margin-bottom: 36px; }
.sw-start-actions { margin-top: 28px; align-items: center; }
.sw-trial { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.sw-trial .ic { width: 20px; height: 20px; color: var(--azure); }

