/* ==========================================================================
   Spletni portal – oblikovni sistem
   Barve izhajajo iz logotipa (modra, indigo, zelena).
   ========================================================================== */

:root {
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --ink: #0d1b2e;
    --ink-2: #2c3b50;
    --muted: #5b697c;
    --line: #e2e8f0;
    --line-2: #d2dbe7;

    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --bg-tint: #eef5fc;

    --brand: #2f74b0;
    --brand-600: #255f93;
    --brand-700: #1d4b76;
    --brand-300: #8fbde6;
    --brand-100: #e2eefa;
    --brand-50: #f1f7fd;

    --indigo: #27235f;
    --night: #0b1230;
    --night-2: #131c46;

    --green: #5cb85f;
    --green-600: #3f9c46;
    --green-700: #2f7e36;
    --green-100: #e5f5e6;

    --amber: #d9861a;
    --amber-100: #fdf1dc;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-xs: 0 1px 2px rgba(13, 27, 46, .06);
    --shadow-sm: 0 1px 3px rgba(13, 27, 46, .08), 0 1px 2px rgba(13, 27, 46, .04);
    --shadow: 0 10px 30px -12px rgba(13, 27, 46, .18), 0 2px 6px -2px rgba(13, 27, 46, .06);
    --shadow-lg: 0 30px 60px -20px rgba(13, 27, 46, .28), 0 8px 20px -8px rgba(13, 27, 46, .12);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --section-y: clamp(72px, 10vw, 128px);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* --------------------------------------------------------------------------
   Osnove
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

[hidden] { display: none !important; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.025em;
    text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }

button { font: inherit; color: inherit; cursor: pointer; }

address { font-style: normal; }

:focus-visible {
    outline: 3px solid rgba(47, 116, 176, .45);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection { background: var(--brand-100); color: var(--ink); }

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.2em;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

.text-gradient {
    background: linear-gradient(100deg, var(--brand) 0%, var(--indigo) 55%, var(--green-600) 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__title .text-gradient { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Gumbi
   -------------------------------------------------------------------------- */

.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 48px;
    padding: 0 22px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.005em;
    white-space: nowrap;
    text-align: center;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }

.btn--primary {
    --btn-bg: var(--brand);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
    box-shadow: 0 8px 20px -8px rgba(47, 116, 176, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.btn--primary:hover { --btn-bg: var(--brand-600); box-shadow: 0 12px 24px -10px rgba(47, 116, 176, .8); }

.btn--accent {
    --btn-bg: var(--green);
    --btn-fg: #0a2410;
    box-shadow: 0 10px 24px -10px rgba(92, 184, 95, .8);
}
.btn--accent:hover { --btn-bg: #6cc56f; }

.btn--ghost {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--glass {
    --btn-bg: rgba(255, 255, 255, .1);
    --btn-fg: #fff;
    border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .18); }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: inherit;
}
.link-button:hover { color: #fff; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-weight: 700;
}
.text-link .icon { transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-row--center { justify-content: center; }
.center-actions { display: flex; justify-content: center; margin-top: 40px; }

/* Oznake / čipi */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 7px 16px 7px 12px;
    border: 1px solid var(--brand-100);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    box-shadow: var(--shadow-xs);
    color: var(--brand-700);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.pill__dot {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
}
.pill__dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--green);
    opacity: .35;
    animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 600;
    transition: all .2s;
}
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip--sm {
    min-height: 26px;
    padding: 0 10px;
    border: 0;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 12.5px;
    font-weight: 700;
}
.chip--green { background: var(--green-100); color: var(--green-700); }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag-list li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Glava
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
/* Zameglitev je na psevdo-elementu, sicer bi glava postala "containing block"
   za fiksni mobilni meni in bi ga obrezala. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    transition: background-color .3s;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(13, 27, 46, .35);
}
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .9); }
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 46px; }
.brand--light img { height: 56px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__link {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 15.5px;
    font-weight: 600;
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--brand-700); background: var(--brand-50); }
.nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    place-items: center;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* --------------------------------------------------------------------------
   Sekcije
   -------------------------------------------------------------------------- */

.section { position: relative; padding: var(--section-y) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0 var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--green));
}
.section-head:not(.section-head--left):not(.section-head--split) .eyebrow::after {
    content: "";
    width: 22px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--green), var(--brand));
}
.eyebrow--light { color: var(--brand-300); }

.section-title { font-size: clamp(32px, 4.6vw, 52px); }
.section-title--sm { font-size: clamp(26px, 3vw, 34px); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 8vw, 104px);
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(92, 184, 95, .16), transparent 60%),
        radial-gradient(900px 600px at 10% 0%, rgba(47, 116, 176, .18), transparent 60%),
        linear-gradient(180deg, #f3f8fe 0%, #fff 75%);
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(29, 75, 118, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 75, 118, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
}

.hero__title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.hero__lead {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 600;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--green-600); }

.hero__trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
}
.hero__trust p { margin: 0; }
.hero__trust strong { color: var(--ink); }

.avatar-stack { display: flex; }
.avatar-stack img {
    width: 42px; height: 42px;
    margin-left: -10px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    box-shadow: var(--shadow-sm);
}
.avatar-stack img:first-child { margin-left: 0; }

/* Mockup nadzorne plošče */
.hero__visual { position: relative; padding: 32px 24px 48px 0; }

.mock {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13, 27, 46, .04);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
    transform-origin: left center;
    animation: float-in 1s var(--ease) both;
}
@keyframes float-in { from { opacity: 0; transform: perspective(1600px) rotateY(-12deg) rotateX(6deg) translateY(30px); } }

.mock__top {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfe;
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock__dot:nth-child(1) { background: #ff6159; }
.mock__dot:nth-child(2) { background: #ffbd2e; }
.mock__dot:nth-child(3) { background: #28c940; }
.mock__title { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }

.mock__body { display: grid; grid-template-columns: 56px 1fr; min-height: 380px; }
.mock__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    background: linear-gradient(180deg, var(--night-2), var(--indigo));
    color: rgba(255, 255, 255, .55);
}
.mock__logo { width: 28px; height: 28px; margin-bottom: 10px; padding: 3px; border-radius: 8px; background: #fff; }
.mock__side span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.mock__side .icon { width: 17px; height: 17px; }
.mock__side .is-active { background: rgba(255, 255, 255, .14); color: #fff; }

.mock__main { display: grid; gap: 14px; padding: 18px; background: #f7f9fc; font-size: 12px; }
.mock__head { display: flex; align-items: center; justify-content: space-between; }
.mock__head small { display: block; color: var(--muted); font-size: 11px; }
.mock__head strong { color: var(--ink); font-size: 15px; }
.mock__chip { padding: 4px 10px; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); font-size: 10.5px; font-weight: 700; }

.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kpi small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.kpi strong { display: block; margin: 4px 0 8px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.kpi em { color: var(--green-600); font-size: 11px; font-style: normal; font-weight: 700; }
.kpi__bar { display: block; height: 5px; border-radius: 5px; background: var(--brand-50); overflow: hidden; }
.kpi__bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.kpi__bar--green i { background: var(--green); }
.kpi__bar--indigo i { background: var(--indigo); }

.mock__chart { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mock__chart-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.mock__chart-head strong { color: var(--ink); font-size: 12px; }
.mock__chart-head small { color: var(--muted); font-size: 10.5px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 82px; }
.bars i {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--brand-300), var(--brand-100));
    transform-origin: bottom;
    animation: grow 1s var(--ease) both;
}
.bars i:nth-child(n+10) { background: linear-gradient(180deg, var(--brand), var(--brand-300)); }
.bars i:last-child { background: linear-gradient(180deg, var(--green), #a6dca8); }
.bars i:nth-child(1) { animation-delay: .30s; } .bars i:nth-child(2) { animation-delay: .34s; }
.bars i:nth-child(3) { animation-delay: .38s; } .bars i:nth-child(4) { animation-delay: .42s; }
.bars i:nth-child(5) { animation-delay: .46s; } .bars i:nth-child(6) { animation-delay: .50s; }
.bars i:nth-child(7) { animation-delay: .54s; } .bars i:nth-child(8) { animation-delay: .58s; }
.bars i:nth-child(9) { animation-delay: .62s; } .bars i:nth-child(10) { animation-delay: .66s; }
.bars i:nth-child(11) { animation-delay: .70s; } .bars i:nth-child(12) { animation-delay: .74s; }
@keyframes grow { from { transform: scaleY(0); } }

.mock__list { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mock__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 4px 6px; }
.mock__row b { display: block; color: var(--ink); font-size: 11.5px; }
.mock__row small { color: var(--muted); font-size: 10px; }
.av {
    display: grid; place-items: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 10px; font-weight: 800;
}
.av--b { background: #ede9fe; color: #5b3fc4; }
.av--c { background: var(--green-100); color: var(--green-700); }
.status { padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.status--ok { background: var(--green-100); color: var(--green-700); }
.status--warn { background: var(--amber-100); color: #9a5b06; }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    font-size: 13px;
    animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card__icon {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--brand-100);
    color: var(--brand-700);
}
.float-card__icon--green { background: var(--green-100); color: var(--green-700); }
.float-card--1 { top: 4px; right: -8px; }
.float-card--2 { bottom: 18px; left: -28px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__portalko {
    position: absolute;
    right: -26px;
    bottom: -8px;
    width: 150px;
    filter: drop-shadow(0 18px 24px rgba(13, 27, 46, .22));
    animation: bob 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

/* --------------------------------------------------------------------------
   Logotipi strank
   -------------------------------------------------------------------------- */

.clients { padding: 16px 0 clamp(56px, 7vw, 88px); }
.clients__title {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
}
.clients__title strong { color: var(--ink); }

.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 110s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 20px; margin: 0; padding: 0 10px; list-style: none; }
.marquee__list li {
    display: grid;
    place-items: center;
    width: 96px; height: 96px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.marquee__list li:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.marquee__list img {
    width: 72px; height: 72px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.05);
    opacity: .75;
    transition: filter .3s, opacity .3s;
}
.marquee__list li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Funkcije
   -------------------------------------------------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card p { color: var(--muted); font-size: 16px; }

.feature-card__icon {
    display: grid; place-items: center;
    width: 54px; height: 54px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
    color: var(--brand);
    box-shadow: inset 0 0 0 1px rgba(47, 116, 176, .08);
}
.feature-card__icon .icon { width: 26px; height: 26px; }
.feature-card:nth-child(3n+2) .feature-card__icon { background: linear-gradient(135deg, #f0fbf0, var(--green-100)); color: var(--green-600); }
.feature-card:nth-child(3n+3) .feature-card__icon { background: linear-gradient(135deg, #f3f1ff, #e6e3fb); color: var(--indigo); }
.feature-card__title { margin-bottom: 10px; font-size: 21px; letter-spacing: -.015em; }

/* --------------------------------------------------------------------------
   Temna sekcija – prednosti in številke
   -------------------------------------------------------------------------- */

.section--dark {
    background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 55%, #1b2a66 100%);
    color: rgba(255, 255, 255, .72);
    overflow: hidden;
    isolation: isolate;
}
.section--dark .section-title, .section--dark h3 { color: #fff; }
.section--dark .section-lead { color: rgba(255, 255, 255, .7); }
.section--dark__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px 400px at 90% 10%, rgba(92, 184, 95, .18), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(47, 116, 176, .35), transparent 60%);
}
.section--dark__glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.benefits { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.benefits .section-head { margin-bottom: 0; }
.benefits__list { display: grid; gap: 16px; }
.benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 26px 28px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04);
    transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.benefit:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); transform: translateX(4px); }
.benefit h3 { margin-bottom: 6px; font-size: 20px; }
.benefit p { font-size: 16px; }
.benefit__icon {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--green), var(--brand));
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(92, 184, 95, .7);
}
.benefit__icon .icon { width: 24px; height: 24px; }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: clamp(56px, 7vw, 88px) 0 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .03);
}
.stats__item {
    display: flex;
    flex-direction: column-reverse;
    padding: 28px 24px;
    text-align: center;
}
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .1); }
.stats dd {
    margin: 0 0 4px;
    background: linear-gradient(180deg, #fff 30%, var(--brand-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(36px, 4.4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}
.stats dt { color: rgba(255, 255, 255, .65); font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Cenik in koraki
   -------------------------------------------------------------------------- */

.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.pricing .section-head { margin-bottom: 40px; }

.steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps__item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding-bottom: 28px; }
.steps__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 52px; bottom: 4px; left: 23px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-100), transparent);
}
.steps__num {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border: 2px solid var(--brand-100);
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-size: 18px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}
.steps__item h3 { margin: 10px 0 6px; font-size: 20px; }
.steps__item p { color: var(--muted); }

.price-card {
    position: relative;
    padding: clamp(32px, 4vw, 44px);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}
.price-card::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(140deg, var(--brand), var(--indigo) 50%, var(--green));
}
.price-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(500px 240px at 100% 0%, var(--brand-50), #fff 70%);
}
.price-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-700);
    font-size: 13.5px;
    font-weight: 700;
}
.price-card__price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.price-card__amount { color: var(--ink); font-size: clamp(56px, 7vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.price-card__period { color: var(--muted); font-size: 18px; font-weight: 600; }
.price-card__sub { margin: 12px 0 24px; color: var(--muted); }
.price-card__note { margin: 16px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

.check-list { display: grid; gap: 12px; margin: 0 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.check-list li { display: flex; gap: 12px; color: var(--ink-2); font-weight: 600; }
.check-list .icon {
    width: 22px; height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
    stroke-width: 3;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Mnenja
   -------------------------------------------------------------------------- */

.quote-hero {
    position: relative;
    margin: 0 0 24px;
    padding: clamp(32px, 5vw, 56px);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--brand-700), var(--indigo));
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
    isolation: isolate;
}
.quote-hero::after {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    z-index: -1;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 184, 95, .35), transparent 65%);
}
.quote-hero blockquote { margin: 0; max-width: 900px; }
.quote-hero__mark { display: block; margin-bottom: 16px; color: var(--green); }
.quote-hero__mark .icon { width: 44px; height: 44px; }
.quote-hero__headline {
    color: #fff;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.quote-hero blockquote p:not(.quote-hero__headline) { font-size: 17px; }
.quote-hero .person { margin-top: 28px; }
.quote-hero .person strong { color: #fff; }
.quote-hero .person small { color: rgba(255, 255, 255, .65); }
.quote-hero .person__avatar { background: rgba(255, 255, 255, .15); color: #fff; }

.quotes { columns: 3 320px; column-gap: 24px; }
.quote-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    break-inside: avoid;
    transition: box-shadow .3s, border-color .3s;
}
.quote-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0; }
.quote-card__headline { margin-bottom: 10px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.45; }
.quote-card__text { position: relative; color: var(--muted); font-size: 15.5px; }
.quote-card__text.is-clamped { max-height: 9.6em; overflow: hidden; }
.quote-card__text.is-clamped::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3.5em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.quote-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand);
    font-size: 15px;
    font-weight: 700;
}
.quote-card__toggle .icon { transition: transform .25s var(--ease); }
.quote-card__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.person { display: flex; align-items: center; gap: 12px; margin: 0; }
.person strong { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.person small { color: var(--muted); font-size: 14px; }
.person__avatar {
    display: grid; place-items: center;
    flex: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 15px;
    font-weight: 800;
}
.person__avatar--1 { background: var(--green-100); color: var(--green-700); }
.person__avatar--2 { background: #ece9fd; color: var(--indigo); }
.person__avatar--3 { background: var(--amber-100); color: #9a5b06; }

/* --------------------------------------------------------------------------
   O nas
   -------------------------------------------------------------------------- */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.about__badge {
    position: absolute;
    right: -20px; bottom: -28px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.about__badge strong { color: var(--brand); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.about__badge span { color: var(--ink-2); font-size: 14px; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .04em; }
.about__copy > div > p { color: var(--muted); }
.about .section-head { margin-bottom: 24px; }

.callout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand-50), #fff);
}
.callout h3 { margin-bottom: 6px; font-size: 19px; }
.callout p { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.callout__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 14px;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}
.signature { margin-top: 28px; color: var(--muted); font-size: 15px; }
.signature strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Portalko
   -------------------------------------------------------------------------- */

.portalko { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.portalko__media { position: relative; display: grid; place-items: center; }
.portalko__media img { position: relative; width: min(100%, 440px); animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(13, 27, 46, .18)); }
.portalko__halo {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 116, 176, .22), rgba(92, 184, 95, .12) 45%, transparent 70%);
}
.portalko__copy > div > p { color: var(--muted); }
.portalko .section-head { margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   Blog kartice
   -------------------------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-grid > div { display: flex; }

.post-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.post-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--brand-100), var(--green-100));
    color: var(--brand);
}
.post-card__placeholder .icon { width: 40px; height: 40px; }
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.post-card__title { margin-bottom: 10px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.post-card__title a { color: inherit; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__meta a { position: relative; z-index: 1; }
.post-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--muted);
    font-size: 15.5px;
}
.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    color: var(--muted);
    font-size: 14px;
}
.post-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; }
.post-card__more .icon { transition: transform .25s var(--ease); }
.post-card:hover .post-card__more .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Partnerji
   -------------------------------------------------------------------------- */

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.partner-card__media img { width: 100%; height: 100%; object-fit: cover; }
.partner-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.partner-card h3 { margin-bottom: 10px; font-size: 20px; }
.partner-card p { color: var(--muted); font-size: 15.5px; }
.partner-card .text-link { margin-top: auto; padding-top: 12px; }

/* --------------------------------------------------------------------------
   Pogosta vprašanja
   -------------------------------------------------------------------------- */

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq .section-head { margin-bottom: 28px; }

.contact-card {
    display: grid;
    gap: 10px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}
.contact-card h3 { font-size: 18px; }
.contact-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 6px; }
.contact-card a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.contact-card a:hover { color: var(--brand); }
.contact-card .icon { color: var(--brand); }

.accordion { display: grid; gap: 12px; }
.accordion__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .25s, box-shadow .25s;
}
.accordion__item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.accordion__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: var(--ink);
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon {
    display: grid; place-items: center;
    flex: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--brand);
    transition: transform .3s var(--ease), background-color .3s;
}
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.accordion__content { padding: 0 24px 22px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Poziv k dejanju (CTA)
   -------------------------------------------------------------------------- */

.cta-band { padding: 0 0 var(--section-y); }
.cta-band--compact { padding-top: 0; }
.cta-band__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: center;
    gap: 32px 48px;
    padding: clamp(40px, 6vw, 72px);
    border-radius: var(--radius-xl);
    background: linear-gradient(120deg, var(--brand-700) 0%, var(--indigo) 60%, #151a45 100%);
    color: rgba(255, 255, 255, .78);
    overflow: hidden;
    isolation: isolate;
}
.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(500px 300px at 100% 100%, rgba(92, 184, 95, .35), transparent 70%),
        linear-gradient(120deg, rgba(29, 75, 118, .92), rgba(39, 35, 95, .9)),
        url("../img/site/sport.jpg") center / cover no-repeat;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.cta-band__copy p:not(.eyebrow) { margin-top: 14px; font-size: 18px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* --------------------------------------------------------------------------
   Noga
   -------------------------------------------------------------------------- */

.site-footer {
    padding: clamp(56px, 8vw, 88px) 0 32px;
    background: var(--night);
    color: rgba(255, 255, 255, .62);
    font-size: 15.5px;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 40px; }
.site-footer__brand p { max-width: 320px; margin: 20px 0 24px; }
.site-footer__title { margin-bottom: 18px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    transition: background-color .2s, border-color .2s;
}
.social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }

.contact-list { display: grid; gap: 12px; }
.contact-list > * { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { margin-top: 3px; color: var(--green); }
.contact-list__company { color: #fff; font-weight: 700; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-footer__bottom a, .site-footer__bottom button { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Portalko plavajoči gumb
   -------------------------------------------------------------------------- */

.portalko-fab {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}
.portalko-fab > * { pointer-events: auto; }
.portalko-fab.is-waiting { opacity: 0; transform: translateY(16px); visibility: hidden; }
.portalko-fab { transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
body.nav-open .portalko-fab { opacity: 0; visibility: hidden; }
.portalko-fab__button {
    display: grid; place-items: center;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transition: transform .3s var(--ease);
}
.portalko-fab__button:hover { transform: scale(1.06) rotate(-4deg); }
.portalko-fab__button img { width: 56px; }
.portalko-fab__bubble {
    position: relative;
    width: 280px;
    padding: 18px 20px;
    border-radius: 20px 20px 6px 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.5;
    animation: bubble-in .45s var(--ease) both;
}
.portalko-fab__bubble p { margin: 0 20px 10px 0; }
.portalko-fab__bubble strong { display: block; color: var(--ink); }
.portalko-fab__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.portalko-fab__close {
    position: absolute;
    top: 10px; right: 10px;
    display: grid; place-items: center;
    width: 28px; height: 28px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--muted);
}
.portalko-fab__close:hover { color: var(--ink); }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* Piškotki */
.cookie-banner {
    position: fixed;
    left: 20px; bottom: 20px;
    z-index: 110;
    display: grid;
    gap: 16px;
    width: min(440px, calc(100% - 40px));
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    font-size: 14.5px;
    animation: bubble-in .45s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { color: var(--ink); font-size: 16px; }
.cookie-banner p { margin: 6px 0 0; color: var(--muted); }
.cookie-banner__actions { display: flex; justify-content: flex-end; gap: 10px; }

/* --------------------------------------------------------------------------
   Podstrani (blog, pogoji)
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    margin-top: calc(var(--header-h) * -1);
    padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px);
    text-align: center;
    isolation: isolate;
    overflow: hidden;
}
.page-hero--compact { text-align: left; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg { background: radial-gradient(800px 400px at 50% -10%, rgba(47, 116, 176, .16), transparent 70%), linear-gradient(180deg, #f3f8fe, #fff); }
.page-hero__title { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.035em; }
.page-hero__lead { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.page-hero--compact .page-hero__lead { margin-left: 0; }

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    margin: 36px auto 0;
    padding: 6px 6px 6px 20px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--brand-300); box-shadow: 0 0 0 4px rgba(47, 116, 176, .12), var(--shadow); }
.search > .icon { color: var(--muted); }
.search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    outline: none;
}
.search input::-webkit-search-cancel-button { cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.result-note { margin-bottom: 32px; color: var(--muted); text-align: center; }
.result-note a { margin-left: 8px; font-weight: 700; }

.featured-post {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    margin-bottom: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    overflow: hidden;
    transition: box-shadow .35s var(--ease);
}
.featured-post:hover { box-shadow: var(--shadow-lg); }
.featured-post__media { display: block; min-height: 340px; background: var(--bg-soft); overflow: hidden; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured-post:hover .featured-post__media img { transform: scale(1.03); }
.featured-post__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 52px); }
.featured-post__title { margin: 6px 0 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.featured-post__title a { color: inherit; }
.featured-post__title a::after { content: ""; position: absolute; inset: 0; }
.featured-post .post-card__meta a { position: relative; z-index: 1; }
.featured-post__excerpt { color: var(--muted); font-size: 17px; }
.featured-post .byline { margin-top: 20px; }

.byline { display: flex; align-items: center; gap: 12px; }
.byline__avatar {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
}
.byline strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.byline small { color: var(--muted); font-size: 14px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 56px; }
.pagination__pages { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination__btn, .pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}
a.pagination__btn:hover, a.pagination__page:hover { border-color: var(--ink); color: var(--ink); }
.pagination__page.is-current { border-color: var(--ink); background: var(--ink); color: #fff; }
.pagination__page.is-dots { border-color: transparent; }
.is-disabled { opacity: .45; }

.empty-state {
    max-width: 480px;
    margin: 24px auto;
    padding: 48px 24px;
    text-align: center;
}
.empty-state__icon {
    display: inline-grid; place-items: center;
    width: 72px; height: 72px;
    margin-bottom: 20px;
    border-radius: 24px;
    background: var(--brand-50);
    color: var(--brand);
}
.empty-state__icon .icon { width: 32px; height: 32px; }
.empty-state h2 { margin-bottom: 10px; font-size: 26px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 600;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .6; }

/* Članek */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.read-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--green));
    transform: scaleX(0);
    transform-origin: left;
}

.preview-bar {
    padding: 12px 0;
    background: var(--amber-100);
    color: #7a4705;
    font-size: 15px;
}
.preview-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.preview-bar a { margin-left: auto; color: #7a4705; font-weight: 700; text-decoration: underline; }

.article__header {
    padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
    background: radial-gradient(800px 360px at 50% -20%, rgba(47, 116, 176, .12), transparent 70%);
}
.article__title { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -.035em; }
.article__lead { margin: 20px 0 0; color: var(--muted); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.55; }
.article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.article__cover { margin: 0 auto clamp(40px, 6vw, 64px); max-width: calc(1080px + var(--gutter) * 2); }
.article__cover img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.article__cover figcaption {
    max-width: 760px;
    margin: 14px auto 0;
    padding: 0 var(--gutter);
    color: var(--muted);
    font-size: 14.5px;
    text-align: center;
}
.article__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.article__share-label { margin: 0; color: var(--ink); font-weight: 700; }

.share { display: flex; gap: 8px; }
.share__btn {
    position: relative;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-2);
    transition: all .2s;
}
.share__btn:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.share__toast {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}
.share__toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.author-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
    margin: 56px 0 var(--section-y);
    padding: 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--brand-50), var(--green-100));
}
.author-cta img { width: 120px; }
.author-cta h2 { margin-bottom: 8px; font-size: 24px; }
.author-cta p { color: var(--ink-2); margin-bottom: 18px; }

/* Tipografija vsebine */
.prose {
    color: var(--ink-2);
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.78;
}
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2em; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.25; }
.prose h3 { margin-top: 1.8em; font-size: clamp(21px, 2vw, 24px); line-height: 1.3; }
.prose h4 { margin-top: 1.6em; font-size: 19px; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .75em; }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(47, 116, 176, .35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 20px 28px;
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 1.08em;
    font-weight: 500;
}
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: .75em; }
.prose li > p { margin: 0; }
.prose img { border-radius: var(--radius); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; text-align: center; }
.prose hr { height: 1px; margin: 3em 0; border: 0; background: var(--line); }
.prose code { padding: .15em .4em; border-radius: 6px; background: var(--bg-soft); color: var(--ink); font-size: .88em; }
.prose pre { padding: 20px; border-radius: var(--radius); background: var(--night); color: #e7ecf5; overflow-x: auto; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); background: var(--bg-soft); font-weight: 700; }
.prose sup { line-height: 0; }
.prose sup a {
    margin-left: 2px;
    padding: 0 3px;
    border-radius: 4px;
    background: var(--brand-50);
    font-size: .72em;
    font-weight: 700;
    text-decoration: none;
}
.prose sup a:hover { background: var(--brand); color: #fff; }
.prose li[id] { scroll-margin-top: calc(var(--header-h) + 24px); border-radius: 8px; transition: background-color .6s; }
.prose li[id]:target { background: var(--amber-100); box-shadow: 0 0 0 6px var(--amber-100); }
.prose figure img { margin: 0 auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Napake */
.error-page { padding: calc(var(--section-y) * .8) 0 var(--section-y); text-align: center; }
.error-page__inner { max-width: 560px; }
.error-page img { width: 200px; margin: 0 auto 16px; animation: bob 5s ease-in-out infinite; }
.error-page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 14px; }
.error-page p:not(.eyebrow) { color: var(--muted); }

/* --------------------------------------------------------------------------
   Animacije ob drsenju
   -------------------------------------------------------------------------- */

/* JS doda razred .reveal le elementom pod pregibom – brez JS je vse vidno */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Vstopna animacija v glavi strani (samo CSS) */
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }
.hero__copy > :nth-child(6) { animation-delay: .30s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee__track { animation: none; }
    .marquee { overflow-x: auto; }
}

/* --------------------------------------------------------------------------
   Odzivnost
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
    .nav__link { padding: 8px 10px; font-size: 15px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        z-index: 99;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 24px var(--gutter) 32px;
        background: #fff;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; gap: 2px; }
    .nav__link { padding: 16px 12px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 20px; font-weight: 700; }
    .nav__link:hover { background: none; }
    .nav__mobile-cta { display: grid; gap: 12px; margin-top: auto; }
    .nav-toggle { display: grid; }
    .site-header__actions { margin-left: auto; }
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header::before { background: #fff; }

    .hero__copy { max-width: 720px; }
    .hero__visual { max-width: 640px; margin: 0 auto; padding-right: 32px; }

    .feature-grid, .post-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits, .pricing, .about, .portalko, .faq, .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .faq__intro { position: static; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats__item:nth-child(3) { border-left: 0; }
    .stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .about__media { max-width: 640px; }
    .portalko__media img { width: min(70%, 360px); }
    .cta-band__panel { grid-template-columns: 1fr; }
    .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
    .featured-post { grid-template-columns: 1fr; }
    .featured-post__media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .btn { white-space: normal; padding-top: 10px; padding-bottom: 10px; }
    .cta-band__panel { grid-template-columns: minmax(0, 1fr); }
    .site-header__cta { display: none; }
    .brand img { height: 40px; }

    .hero { text-align: left; }
    .hero__actions .btn { flex: 1 1 auto; }
    .hero__visual { padding: 16px 12px 40px 0; }
    .mock { transform: none; animation: none; }
    .mock__body { grid-template-columns: 44px 1fr; min-height: 0; }
    .mock__main { padding: 12px; gap: 10px; }
    .mock__kpis { gap: 6px; }
    .kpi { padding: 8px; }
    .kpi strong { font-size: 14px; }
    .mock__chip { display: none; }
    .float-card { padding: 8px 12px 8px 8px; font-size: 12px; }
    .float-card--1 { top: -6px; right: -4px; }
    .float-card--2 { left: -6px; bottom: 6px; }
    .float-card b { font-size: 12px; }
    .float-card small { font-size: 11px; }
    .float-card__icon { width: 30px; height: 30px; border-radius: 10px; }
    .hero__portalko { width: 96px; right: -10px; bottom: -4px; }

    .feature-grid, .post-grid, .partner-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 26px 22px; }
    .benefit { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
    .stats__item { padding: 22px 12px; }
    .section-head--split { flex-direction: column; align-items: flex-start; }
    .about__badge { right: 12px; bottom: -24px; padding: 14px 18px; }
    .about__badge strong { font-size: 34px; }
    .callout { grid-template-columns: 1fr; }
    .cta-band__actions .btn { flex: 1 1 100%; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .accordion__item summary { padding: 18px; font-size: 16.5px; }
    .accordion__content { padding: 0 18px 18px; }
    .author-cta { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
    .author-cta img { margin: 0 auto; width: 96px; }
    .article__footer { flex-direction: column; align-items: flex-start; }
    .pagination__btn span { display: none; }
    .portalko-fab { right: 14px; bottom: 14px; }
    .portalko-fab__button { width: 62px; height: 62px; }
    .portalko-fab__button img { width: 46px; }
    .portalko-fab__bubble { width: min(280px, calc(100vw - 28px)); }
    .cookie-banner { left: 14px; bottom: 14px; width: calc(100% - 28px); }
    .marquee__list li { width: 80px; height: 80px; }
    .marquee__list img { width: 60px; height: 60px; }
}

@media print {
    .site-header, .site-footer, .portalko-fab, .cookie-banner, .read-progress, .share, .author-cta, .cta-band { display: none !important; }
    .reveal { opacity: 1; transform: none; }
}
