/* ==========================================================================
   GEOPLUS — Design system
   Brand: GeoSOFT orange accent on dark "tech" surfaces
   ========================================================================== */

:root {
    /* Brand — GeoPLUS red */
    --brand: #d81f2a;          /* GeoPLUS red */
    --brand-600: #bf1722;
    --brand-700: #9e121b;
    --brand-soft: #f24450;
    --brand-glow: rgba(216, 31, 42, .35);

    /* CIVIL4CAD accent (orange) */
    --civil: #ea5417;
    --civil-600: #d4400f;
    --civil-glow: rgba(234, 84, 23, .35);

    /* Logo gray (PLUS) */
    --logo-gray: #b6bbc4;

    /* Surfaces */
    --ink: #1e222b;            /* dark slate (mekše od čiste crne) */
    --ink-2: #262b35;
    --ink-3: #313744;
    --line-dark: rgba(255, 255, 255, .08);

    /* Light content */
    --bg: #f7f7f9;
    --surface: #ffffff;
    --text: #1b1c20;
    --text-muted: #5d6068;
    --line: #e7e8ec;

    /* Type */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shape */
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(16, 17, 20, .06), 0 2px 8px rgba(16, 17, 20, .06);
    --shadow-md: 0 8px 30px rgba(16, 17, 20, .10);
    --shadow-brand: 0 10px 30px var(--brand-glow);

    --container: 1280px;
}

/* ---------- Base ---------------------------------------------------------- */
* { box-sizing: border-box; }

/* `hidden` atribut mora sakriti element i kad klasa postavlja display (npr. .changelog, .upit-field) */
[hidden] { display: none !important; }

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 20px; }

.section { padding: clamp(56px, 8vw, 50px) 0; }
.section--ink { background: var(--ink); color: #eef0f4; }
.section--muted { background: #f0f1f4; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }
.section--ink .section-head p { color: #aab0bd; }

.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-weight: 600; font-size: .98rem; line-height: 1;
    padding: .85rem 1.5rem; border-radius: 10px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-brand:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-600); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Navbar -------------------------------------------------------- */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(21, 22, 26, .72);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled { background: rgba(21, 22, 26, .96); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand__mark {
    width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
    background: linear-gradient(145deg, var(--brand-soft), var(--brand-600));
    color: #fff; font-weight: 900; box-shadow: 0 4px 14px var(--brand-glow);
}
.brand__word { display: inline-flex; }
.brand__geo { color: var(--brand); }
.brand__plus { color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #cdd1da; font-weight: 500; font-size: .95rem; padding: .5rem .8rem; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }

/* Nav dropdown (Moduli) */
.nav-dd { position: relative; }
.nav-dd__toggle { display: inline-flex; align-items: center; gap: .3rem; }
.nav-dd__chev { font-size: .7rem; transition: transform .15s ease; }
.nav-dd__menu {
    position: absolute; top: 100%; left: 0; min-width: 215px; margin: 0; padding: .4rem; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(16,17,20,.16);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease; z-index: 1100;
}
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd:hover .nav-dd__chev { transform: rotate(180deg); }
.nav-dd__menu li { margin: 0; }
.nav-dd__menu a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 8px; color: var(--text); font-weight: 500; font-size: .95rem; background: none; }
.nav-dd__menu a:hover { background: rgba(216,31,42,.08); color: var(--brand); }
.nav-dd__menu a i { color: var(--brand); font-size: 1rem; width: 1.2rem; text-align: center; }

@media (max-width: 1040px) {
    /* mobilni: dropdown se razmota inline na klik */
    .nav-dd__menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent; border: 0; box-shadow: none; padding: .2rem 0 .4rem 1rem; display: none;
    }
    .nav-dd.open .nav-dd__menu { display: block; }
    .nav-dd__menu a { color: #cdd1da; padding: .7rem .9rem; }
    .nav-dd__menu a i { color: var(--brand-soft); }
    body.home .nav-dd__menu a { color: #4a4e57; }
}
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.site-nav .btn-ghost { color: #e7e9ee; border-color: rgba(255,255,255,.22); }
.site-nav .btn-ghost:hover { color: #fff; border-color: var(--brand); background: rgba(216,31,42,.12); }

.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; padding: .25rem .5rem; }

@media (max-width: 1040px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; inset: 68px 0 auto 0;
        background: rgba(21,22,26,.98); backdrop-filter: blur(14px);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 20px 24px; border-bottom: 1px solid var(--line-dark);
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; gap: .15rem; width: 100%; }
    .nav-links a { padding: .8rem .9rem; }
    .nav-cta { flex-direction: column; align-items: stretch; margin-top: .75rem; }
    .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1100px 600px at 80% -10%, rgba(216,31,42,.22), transparent 60%),
                radial-gradient(800px 500px at 0% 110%, rgba(216,31,42,.10), transparent 55%),
                var(--ink);
    color: #fff; padding: clamp(120px, 16vw, 180px) 0 clamp(70px, 9vw, 120px);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line-dark) 1px, transparent 1px),
                      linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: radial-gradient(800px 500px at 70% 20%, #000, transparent 75%);
    opacity: .5;
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { display: none; } }
.hero .badge-pill {
    display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
    font-size: .85rem; color: #d8dce4; margin-bottom: 1.5rem;
}
.hero .badge-pill b { color: var(--brand); }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent {
    background: linear-gradient(120deg, var(--brand-soft), var(--brand));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.2rem; color: #b9bfca; max-width: 560px; margin: 0 0 2rem; }
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin: 1.6rem 0 0;
}
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3.2rem; }
.hero__stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero__stats .lbl { font-size: .85rem; color: #8b919e; }

/* Hero app-window mockup */
.hero__visual { position: relative; }
.app-window {
    border-radius: 16px; overflow: hidden; border: 1px solid var(--line-dark);
    background: var(--ink-2); box-shadow: 0 30px 70px rgba(0,0,0,.5);
    transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: center;
}
.app-window__bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: #202229; border-bottom: 1px solid var(--line-dark); }
.app-window__bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3d46; }
.app-window__bar .dot.r { background: #e05656; }
.app-window__bar .dot.y { background: #e0b052; }
.app-window__bar .dot.g { background: #5bbf6a; }
.app-window__bar .ttl { margin-left: .6rem; font-size: .78rem; color: #8b919e; }
.app-window__canvas { position: relative; aspect-ratio: 16/11; background: radial-gradient(500px 300px at 65% 30%, rgba(216,31,42,.14), transparent 60%), #14151a; }
.app-window__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-chip {
    position: absolute; bottom: 18px; left: -22px; z-index: 2;
    background: rgba(28,30,36,.92); backdrop-filter: blur(8px); border: 1px solid var(--line-dark);
    border-radius: 12px; padding: .7rem .95rem; box-shadow: 0 12px 30px rgba(0,0,0,.4);
    display: flex; align-items: center; gap: .7rem;
}
.float-chip i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(216,31,42,.16); color: var(--brand-soft); font-size: 1.1rem; }
.float-chip b { color: #fff; font-size: .92rem; display: block; }
.float-chip span { color: #8b919e; font-size: .78rem; }
@media (max-width: 1100px) { .float-chip { left: 12px; } }

/* CIVIL4CAD strip */
.civil-strip {
    display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center;
    background: linear-gradient(120deg, rgba(234,84,23,.12), rgba(234,84,23,.04));
    border: 1px solid rgba(234,84,23,.3); border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 40px);
}
@media (max-width: 760px) { .civil-strip { grid-template-columns: 1fr; text-align: center; } }
.civil-strip__mark { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(145deg, var(--civil), var(--civil-600)); box-shadow: 0 10px 24px var(--civil-glow); margin: 0 auto; }
.civil-strip h3 { margin: 0 0 .35rem; }
.civil-strip p { margin: 0; color: var(--text-muted); }
.civil-strip .badge-inc { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--civil-600); background: rgba(234,84,23,.14); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .6rem; }
.btn-civil { background: var(--civil); color: #fff; box-shadow: 0 10px 24px var(--civil-glow); }
.btn-civil:hover { background: var(--civil-600); color: #fff; transform: translateY(-2px); }

/* Pricing */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .pricing-wrap { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 34px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.plan h3 { margin: .3rem 0 .2rem; }
.plan__sub { color: var(--text-muted); font-size: .92rem; margin: 0 0 1.2rem; }
.plan__price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .2rem; }
.plan__price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.plan__price .per { color: var(--text-muted); font-size: .95rem; }
.plan__note { font-size: .85rem; color: var(--text-muted); margin: 0 0 1.4rem; }
.plan__anchor { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text-muted); margin: .2rem 0 1rem; }
.plan__anchor i { font-size: .9rem; opacity: .8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.plan li { display: flex; gap: .6rem; padding: .4rem 0; font-size: .95rem; }
.plan li i { color: var(--brand); margin-top: .15rem; }
.pricing-aside h2 { margin-top: 0; }
.pricing-aside .note-zwcad { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--brand-600); background: rgba(216,31,42,.08); border: 1px solid rgba(216,31,42,.2); padding: .5rem .9rem; border-radius: 999px; margin-bottom: 1.2rem; }

/* ---------- Cards / grids ------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8dae0; }
.card__icon {
    width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem;
    background: linear-gradient(145deg, rgba(216,31,42,.14), rgba(216,31,42,.06));
    color: var(--brand); margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); margin: 0 0 1.1rem; font-size: .97rem; }
.card .more { font-weight: 600; color: var(--brand-600); display: inline-flex; align-items: center; gap: .35rem; }
.card .more:hover { gap: .6rem; }

/* Product (pillar) cards on dark */
.product {
    position: relative; background: linear-gradient(180deg, var(--ink-2), var(--ink));
    border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 32px;
    transition: transform .18s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-4px); border-color: rgba(216,31,42,.5); }
.product.is-featured { border-color: rgba(216,31,42,.55); box-shadow: 0 14px 40px rgba(216,31,42,.12); }
.product .tag {
    position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--brand-soft); background: rgba(216,31,42,.14);
    padding: .3rem .6rem; border-radius: 999px;
}
.product.is-civil:hover { border-color: rgba(234,84,23,.55); }
.product.is-civil .tag { color: var(--civil); background: rgba(234,84,23,.14); }
.product.is-civil li::before { color: var(--civil); }
.product h3 { color: #fff; font-size: 1.5rem; }
.product p { color: #aab0bd; font-size: .97rem; }
.product ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.product li { display: flex; gap: .6rem; color: #c7ccd6; font-size: .93rem; padding: .35rem 0; }
.product li::before { content: "\F26B"; font-family: "bootstrap-icons"; color: var(--brand); font-size: .9rem; }

/* ---------- Feature split (CIVIL4CAD) ------------------------------------ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 1.8rem; }
@media (max-width: 520px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list .fi { display: flex; gap: .8rem; }
.feature-list .fi i { color: var(--brand); font-size: 1.15rem; margin-top: .15rem; }
.feature-list .fi b { display: block; font-size: .98rem; }
.feature-list .fi span { color: var(--text-muted); font-size: .88rem; }
.section--ink .feature-list .fi span { color: #9aa0ac; }
.visual {
    aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 1px solid var(--line-dark);
    background: radial-gradient(600px 400px at 30% 20%, rgba(216,31,42,.18), transparent 60%),
                linear-gradient(160deg, var(--ink-3), var(--ink));
    display: grid; place-items: center; color: #4b4f5a; position: relative; overflow: hidden;
}
.visual i { font-size: 5rem; color: rgba(216,31,42,.5); }
.visual::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 32px 32px; opacity: .6;
}

/* ---------- CTA band ------------------------------------------------------ */
.cta-band {
    background: linear-gradient(120deg, var(--brand-600), var(--brand)); color: #fff;
    border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 1.8rem; }
.cta-band .btn-brand { background: #fff; color: var(--brand-700); box-shadow: none; }
.cta-band .btn-brand:hover { background: #fff7f3; color: var(--brand-700); }

/* ---------- Contact ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card h4 { color: var(--brand); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.contact-card p, .contact-card address { font-style: normal; color: #c7ccd6; font-size: .92rem; line-height: 1.8; margin: 0; }
.contact-card a { color: #e7e9ee; }
.contact-card a:hover { color: var(--brand); }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: #0f1013; color: #9aa0ac; padding: 56px 0 28px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand { max-width: 320px; }
.site-footer__brand .brand { margin-bottom: .8rem; }
/* podnožje je uvijek tamno → „PLUS" mora ostati bijel i na stranicama sa svijetlom temom (body.home) */
.site-footer .brand .brand__plus { color: #fff; }
.site-footer__brand p { font-size: .9rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h5 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-cols a { display: block; color: #9aa0ac; font-size: .92rem; padding: .25rem 0; }
.footer-cols a:hover { color: var(--brand); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* ---------- Card as link -------------------------------------------------- */
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card--link h3 { color: var(--text); }

/* ---------- Generic page hero (Novosti…) ---------------------------------- */
.page-hero {
    background: radial-gradient(900px 500px at 80% -20%, rgba(216,31,42,.2), transparent 60%), var(--ink);
    color: #fff; padding: clamp(110px, 14vw, 150px) 0 clamp(40px, 6vw, 64px);
}
.page-hero h1 { margin: .3rem 0 .6rem; }
.page-hero p { color: #b9bfca; max-width: 620px; margin: 0 0 1.6rem; font-size: 1.1rem; }

/* ---------- Module detail page ------------------------------------------- */
.modul-hero {
    background: radial-gradient(900px 500px at 85% -20%, rgba(216,31,42,.2), transparent 60%), var(--ink);
    color: #fff; padding: clamp(100px, 13vw, 140px) 0 clamp(48px, 7vw, 80px);
}
.crumbs { font-size: .85rem; color: #8b919e; margin-bottom: 1.6rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.crumbs a { color: #b9bfca; }
.crumbs a:hover { color: var(--brand-soft); }
.crumbs i { font-size: .7rem; opacity: .6; }
.crumbs span { color: #fff; }
.modul-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.modul-hero__grid--solo { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 880px) { .modul-hero__grid { grid-template-columns: 1fr; } }
.modul-hero__icon { width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: linear-gradient(145deg, var(--brand-soft), var(--brand-600)); box-shadow: 0 10px 24px var(--brand-glow); margin-bottom: 1.2rem; }
.modul-hero h1 { margin: 0 0 .4rem; }
.modul-hero__tag { color: var(--brand-soft); font-weight: 600; font-size: 1.1rem; margin: 0 0 1rem; }
.modul-hero__intro { color: #b9bfca; font-size: 1.05rem; max-width: 560px; margin: 0 0 1.8rem; }
.modul-hero__shot img, .mfeature__media img { height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); background: #111216; }
.modul-hero__shot img { width: 100%; }
/* Slike značajki se nikad ne povećavaju preko svoje prave veličine — male ostaju oštre i centrirane, velike se samo smanjuju da stanu u stupac */
.mfeature__media { text-align: center; }
.mfeature__media img { width: auto; max-width: 100%; margin: 0 auto; }

.mfeature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.mfeature:last-child { border-bottom: 0; }
.mfeature--nomedia { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: center; }
.mfeature--nomedia .mfeature__text p { margin-left: auto; margin-right: auto; }
.mfeature--alt .mfeature__text { order: 2; }
.mfeature--alt .mfeature__media { order: 1; }
@media (max-width: 780px) { .mfeature { grid-template-columns: 1fr; } .mfeature--alt .mfeature__text, .mfeature--alt .mfeature__media { order: 0; } }
.mfeature__num { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); background: rgba(216,31,42,.1); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .8rem; }
.mfeature__text h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.mfeature__text p { color: var(--text-muted); font-size: 1rem; margin: 0; }
.mfeature__video { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .95rem; color: var(--brand-600); transition: gap .15s ease, color .15s ease; }
.mfeature__video:hover { color: var(--brand-700); gap: .55rem; }
.mfeature__video i { font-size: 1.1rem; }
.mfeature__media a { display: inline-block; }
.mfeature__media img:hover { border-color: rgba(216,31,42,.4); }

/* Traka s menijem (ribbon) na vrhu modula */
.modul-toolbar { text-align: center; margin: 0 auto clamp(28px, 4vw, 48px); padding-bottom: clamp(24px, 3.5vw, 40px); border-bottom: 1px solid var(--line); }
.modul-toolbar__shot { display: inline-block; max-width: 100%; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); background: #1b1d24; }
.modul-toolbar__shot img { display: block; width: auto; max-width: 100%; height: auto; border: 0; border-radius: 6px; }
.modul-toolbar__cap { margin: .8rem 0 0; font-size: .9rem; color: var(--text-muted); }

/* Galerija slika unutar jedne značajke (npr. GeoCAD pokosi) */
.mfeature__gallery { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.mfeature__gallery figure { flex: 0 1 180px; margin: 0; }
.mfeature__gallery img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); background: #111216; }
.mfeature__gallery img:hover { border-color: rgba(216,31,42,.4); }
.mfeature__gallery figcaption { margin-top: .5rem; font-size: .82rem; color: var(--text-muted); text-align: center; line-height: 1.3; }

/* Široke slike pune širine (npr. GeoDKP trake kartografskih simbola) */
.mfeature-wide { padding: 8px 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.mfeature-wide figure { margin: 0 0 1.4rem; }
.mfeature-wide figure:last-child { margin-bottom: 0; }
.mfeature-wide img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); background: #3a414e; }
.mfeature-wide figcaption { margin-top: .55rem; font-size: .82rem; color: var(--text-muted); text-align: center; line-height: 1.4; }

/* Inline YouTube facade (modul-stranice) — klik ubacuje iframe */
.yt-embed { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; background: #111216; border-radius: var(--radius); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); }
.yt-embed img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; border-radius: 0; box-shadow: none; background: #111216; transition: transform .3s ease; }
.yt-embed:hover img { transform: scale(1.04); }
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-embed__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.9rem; background: rgba(216,31,42,.92); border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .15s ease, background .15s ease; }
.yt-embed:hover .yt-embed__play { transform: scale(1.08); background: var(--brand); }

/* ---------- Video cards (Novosti) ---------------------------------------- */
.vcard { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; color: inherit; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.vcard__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vcard:hover .vcard__thumb img { transform: scale(1.05); }
.vcard__play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(216,31,42,.92); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.vcard__body { padding: 18px 20px 22px; }
.vcard__body h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.vcard__body p { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* ---------- Tabovi (Novosti) ---------------------------------------------- */
.tabs {
    display: flex; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 32px;
    background: #f0f1f4; border-radius: 999px; padding: 5px; flex-wrap: wrap; justify-content: center;
}
.tab {
    border: none; background: transparent; cursor: pointer; font: inherit; font-weight: 600;
    color: var(--text-muted); padding: .6rem 1.5rem; border-radius: 999px;
    display: inline-flex; align-items: center; gap: .5rem; transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--surface); color: var(--brand-600); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabIn .22s ease; }
.tab-panel__intro { text-align: center; color: var(--text-muted); margin: 0 auto 1.8rem; max-width: 620px; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Changelog ----------------------------------------------------- */
.changelog { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.release { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.release__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.release__ver { font-weight: 800; font-size: 1.25rem; }
.release__date { color: var(--text-muted); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.release__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.release__items li { display: flex; gap: 14px; }
.release__items b { font-size: 1rem; }
.release__items p { margin: .25rem 0 .5rem; color: var(--text-muted); font-size: .93rem; }
.chip { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 999px; height: fit-content; }
.chip--new { background: rgba(216,31,42,.12); color: var(--brand-600); }
.chip--fix { background: rgba(180,83,9,.12); color: #b45309; }
.chip--improved { background: rgba(13,110,80,.12); color: #0d6e50; }
.release__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.release__meta code { background: var(--ink); color: #ffd0c4; font-size: .82rem; padding: .25rem .55rem; border-radius: 6px; }
.release__meta a { font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.novost__img { display: block; margin-top: .7rem; max-width: 360px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.novost__img img { width: 100%; height: auto; display: block; transition: transform .2s ease; }
.novost__img:hover img { transform: scale(1.03); }

/* ---------- Callout (info note) ------------------------------------------ */
.callout {
    display: flex; gap: .9rem; align-items: flex-start;
    background: rgba(216,31,42,.06); border: 1px solid rgba(216,31,42,.22);
    border-left: 4px solid var(--brand); border-radius: 12px; padding: 16px 18px; margin: 1.4rem 0;
}
.callout i { color: var(--brand); font-size: 1.25rem; margin-top: .1rem; }
.callout p { margin: 0; font-size: .95rem; color: var(--text); }
.callout b { color: var(--brand-700); }
.section--ink .callout { background: rgba(216,31,42,.12); border-color: rgba(216,31,42,.4); }
.section--ink .callout p { color: #e7e9ee; }
.section--ink .callout b { color: var(--brand-soft); }

/* MojERP logo badge */
.mojerp-mark {
    display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.6rem;
    letter-spacing: -.02em; margin-bottom: 1rem;
}
.mojerp-mark span { color: var(--brand); }
.mojerp-mark .b { color: var(--text); }
.section--ink .mojerp-mark .b { color: #fff; }

/* ---------- Pomoć: upute + FAQ -------------------------------------------- */
.container--narrow { max-width: 820px; }

.guide { display: grid; gap: 22px; }
.guide__block {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    padding: 1.6rem 1.8rem; scroll-margin-top: 90px;
}
.guide__block h2 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .3rem; font-size: 1.4rem; }
.guide__block h2 i { color: var(--brand); }
.guide__block > p { color: var(--text-muted); margin: 0 0 1rem; }
.guide__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.guide__list li { position: relative; padding-left: 1.7rem; font-size: .97rem; color: var(--text); }
.guide__list li::before {
    content: "\F26A"; font-family: "bootstrap-icons"; /* check */
    position: absolute; left: 0; top: .05rem; color: var(--brand); font-size: .95rem;
}
.guide__list code { background: rgba(216,31,42,.08); color: var(--brand-700); padding: .05rem .35rem; border-radius: 5px; font-size: .88em; }

.faq-group { margin-bottom: 1.8rem; scroll-margin-top: 90px; }
.faq-group__title { font-size: 1.05rem; color: var(--brand-700); margin: 0 0 .6rem; letter-spacing: .01em; }
.faq-item {
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    margin-bottom: .6rem; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; list-style: none; padding: 1rem 1.2rem;
    font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    transition: background .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fafafb; }
.faq-item__chev { color: var(--brand); transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] > summary { border-bottom: 1px solid var(--line); }
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item__body { padding: .9rem 1.2rem 1.1rem; }
.faq-item__body p { margin: 0; color: var(--text-muted); font-size: .96rem; line-height: 1.6; }

/* ---------- Lightbox ------------------------------------------------------ */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    background: rgba(15, 18, 24, .88); backdrop-filter: blur(3px);
    padding: clamp(1rem, 4vw, 3rem); cursor: zoom-out;
    opacity: 0; transition: opacity .2s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__img {
    max-width: 100%; max-height: 100%;
    border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.6);
    cursor: default; background: #fff;
}
.lightbox__close {
    position: absolute; top: 1rem; right: 1.2rem;
    width: 44px; height: 44px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem;
    display: grid; place-items: center; transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.js-zoom { cursor: zoom-in; }

/* ---------- Upit / Zatraži ponudu — modal forma -------------------------- */
.upit-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; }
.upit-modal.open { display: flex; }
.upit-modal__backdrop { position: absolute; inset: 0; background: rgba(12,14,20,.6); backdrop-filter: blur(2px); }
.upit-modal__dialog { position: relative; width: 100%; max-width: 520px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.35); padding: clamp(24px, 4vw, 36px); max-height: calc(100vh - 40px); overflow-y: auto; animation: upitIn .18s ease; }
@keyframes upitIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.upit-modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: none; cursor: pointer; border-radius: 50%; background: var(--line); color: var(--text); font-size: 1.1rem; display: grid; place-items: center; transition: background .15s ease; }
.upit-modal__close:hover { background: rgba(216,31,42,.12); color: var(--brand); }
.upit-modal__dialog h3 { margin: 0 0 .3rem; font-size: 1.5rem; }
.upit-modal__sub { margin: 0 0 1.3rem; color: var(--text-muted); font-size: .95rem; }
.upit-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.upit-field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.upit-field input, .upit-field textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--text); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.upit-field input:focus, .upit-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(216,31,42,.12); }
.upit-field textarea { resize: vertical; min-height: 96px; }
.upit-radios { display: flex; flex-direction: column; gap: .5rem; }
.upit-radio { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .95rem; transition: border-color .15s ease, background .15s ease; }
.upit-radio:hover { border-color: #c9ccd4; }
.upit-radio input { accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.upit-radio:has(input:checked) { border-color: var(--brand); background: rgba(216,31,42,.05); }
.upit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .upit-row { grid-template-columns: 1fr; } }
.upit-modal__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.upit-msg { font-size: .9rem; font-weight: 600; }
.upit-msg--ok { color: #15803d; }
.upit-msg--err { color: var(--brand-600, #c01722); }
/* honeypot — skriveno od ljudi, vidljivo botovima */
.upit-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ========================================================================
   NASLOVNICA — svijetli redizajn (scope: body.home)
   ======================================================================== */

/* Nav — svijetla varijanta */
body.home .site-nav { background: rgba(255,255,255,.85); border-bottom: 1px solid var(--line); }
body.home .site-nav.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 6px 24px rgba(16,17,20,.07); }
body.home .brand, body.home .brand:hover { color: var(--text); }
body.home .brand__plus { color: var(--text); }
body.home .nav-links a { color: #4a4e57; }
body.home .nav-links a:hover { color: var(--brand); background: rgba(216,31,42,.06); }
body.home .site-nav .btn-ghost { color: var(--text); border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
body.home .site-nav .btn-ghost:hover { color: var(--brand); border-color: var(--brand); background: rgba(216,31,42,.05); }
body.home .nav-toggle { color: var(--text); }
@media (max-width: 1040px) {
    body.home .nav-menu { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
}

/* Hero — svijetli */
body.home .hero { background: linear-gradient(180deg, #fbfbfd 0%, #eceef2 100%); color: var(--text); padding: clamp(104px, 13vw, 140px) 0 clamp(20px, 3vw, 34px); }
body.home .hero::after {
    background-image: linear-gradient(rgba(16,17,20,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(16,17,20,.045) 1px, transparent 1px);
    background-size: 46px 46px; mask-image: radial-gradient(760px 480px at 72% 16%, #000, transparent 72%); opacity: .8;
}
body.home .hero .badge-pill { background: rgba(216,31,42,.08); border: 1px solid rgba(216,31,42,.18); color: var(--brand-600); font-weight: 600; }
body.home .hero .badge-pill__sep { opacity: .5; margin: 0 .15rem; }
body.home .hero h1 { color: var(--text); margin-bottom: .85rem; }
    body.home .hero h1 .accent {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        color: var(--brand);
        font-size: clamp(2.2rem, 5vw, 3.6rem)
    }
body.home .hero p { color: var(--text-muted); font-size: 0.8rem; max-width: 440px; margin: 1rem 0 1.6rem; }
    body.home .hero span {
        color: var(--text-muted);
        font-size: 1.2rem;
        max-width: 440px;
           }
body.home .hero__stats { gap: 0; align-items: center; margin-top: 2.8rem; }
body.home .hero__stat { padding-right: 1.9rem; }
body.home .hero__stat-div { width: 1px; height: 42px; background: var(--line); margin-right: 1.9rem; }
body.home .hero__stats .num { color: var(--text); font-size: 1.9rem; font-weight: 800; }
body.home .hero__stats .lbl { color: var(--text-muted); font-size: .85rem; }

/* App prozor (HTML/CSS) */
.appwin { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(16,17,20,.16), 0 8px 20px rgba(16,17,20,.05); font-family: var(--font); }
.appwin__title { display: flex; align-items: center; gap: .55rem; padding: .5rem .7rem; background: #f2f3f6; border-bottom: 1px solid var(--line); }
.appwin__g { width: 18px; height: 18px; border-radius: 5px; background: var(--brand); color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.appwin__name { color: var(--text-muted); font-weight: 600; font-size: 11.5px; }
.appwin__wbtns { margin-left: auto; display: flex; gap: .7rem; color: #aeb3bd; font-size: 10px; }
.appwin__menu { display: flex; gap: .05rem; padding: .3rem .5rem; background: #fff; border-bottom: 1px solid var(--line); color: #5d6068; font-size: 11.5px; overflow: hidden; flex-wrap: nowrap; }
.appwin__menu span { padding: .2rem .5rem; border-radius: 5px; white-space: nowrap; }
.appwin__menu span.is-active { background: rgba(216,31,42,.09); color: var(--brand-600); font-weight: 600; }
.appwin__tools { display: flex; align-items: center; gap: .55rem; padding: .45rem .65rem; background: #fafbfc; border-bottom: 1px solid var(--line); color: #6b7079; font-size: 13px; overflow: hidden; }
.appwin__tools .sep { width: 1px; height: 15px; background: var(--line); flex: none; }
.appwin__body { display: grid; grid-template-columns: 150px 1fr; height: 322px; }
.appwin__layers { border-right: 1px solid var(--line); background: #fcfcfd; padding: .4rem 0; overflow: hidden; }
.appwin__panel-h { font-weight: 700; font-size: 10.5px; letter-spacing: .05em; color: #8a909b; text-transform: uppercase; padding: .3rem .8rem .55rem; }
.appwin__layers ul { list-style: none; margin: 0; padding: 0; }
.appwin__layers li { display: flex; align-items: center; gap: .45rem; padding: .32rem .8rem; font-size: 11.5px; color: #4a4e57; }
.appwin__layers li.is-sel { background: rgba(45,122,214,.10); color: #1f2937; font-weight: 600; }
.appwin__layers .chk { width: 12px; height: 12px; border: 1.5px solid #c2c7d0; border-radius: 3px; flex: none; position: relative; background: #fff; }
.appwin__layers .chk.on { background: var(--brand); border-color: var(--brand); }
.appwin__layers .chk.on::after { content: "\2713"; position: absolute; inset: 0; color: #fff; font-size: 9px; display: grid; place-items: center; }
.appwin__layers .sw { width: 11px; height: 11px; border-radius: 2px; flex: none; }
.sw--line { background: #cbd0d8; }
.sw--bound { background: #8a909b; }
.sw--pt { background: var(--brand); border-radius: 50%; }
.sw--cont { background: #caa988; }
.sw--tin { background: #2f7ad6; }
.sw--h { background: #5d6068; }
.sw--obj { background: #eef0f3; border: 1px solid #d3d7df; }
.sw--inf { background: var(--civil); }
.appwin__canvas { position: relative; background: #fbfbfc; overflow: hidden; }
.appwin__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.appwin__scale { position: absolute; right: 12px; bottom: 10px; display: flex; align-items: center; gap: .35rem; font-size: 9.5px; color: #8a909b; background: rgba(255,255,255,.82); padding: .18rem .45rem; border-radius: 5px; }
.appwin__scale-bar { width: 64px; height: 5px; margin-right: .25rem; border: 1px solid #70757e; background: linear-gradient(90deg, #70757e 0 25%, #fff 25% 50%, #70757e 50% 75%, #fff 75% 100%); }
.appwin__status { display: flex; align-items: center; gap: 1.1rem; padding: .4rem .8rem; background: #f2f3f6; border-top: 1px solid var(--line); color: #6b7079; font-size: 10.5px; }
.appwin__status .spacer { flex: 1; }
.appwin__chip { position: absolute; right: -14px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; box-shadow: 0 16px 34px rgba(16,17,20,.16); }
.appwin__chip-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(216,31,42,.10); color: var(--brand); font-size: 1rem; }
.appwin__chip b { display: block; font-size: .9rem; color: var(--text); line-height: 1.2; }
.appwin__chip span { font-size: .76rem; color: var(--text-muted); }
@media (max-width: 1100px) { .appwin__chip { right: 8px; bottom: 14px; } }

/* Hero — pravi screenshot (uokviren) */
.hero-shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; line-height: 0; background: #0e0f13; border: 1px solid rgba(16,17,20,.14); box-shadow: 0 34px 70px rgba(16,17,20,.26), 0 10px 24px rgba(16,17,20,.12); }
.hero-shot img { width: 100%; height: auto; display: block; }

/* Slika uz tekst (MojERP, O nama…) */
.side-shot { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); line-height: 0; background: #fff; }
.side-shot img { width: 100%; height: auto; display: block; }

/* Prijelaz hero → proizvodi (statsband nosi razdjelnu liniju) */
body.home #proizvodi { background: #fff; }
#proizvodi .section-head { max-width: 880px; }
#proizvodi .section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.section-head h2 .hl { color: var(--brand); }

/* Nav — centrirani linkovi (desktop), kao na skici */
@media (min-width: 1041px) {
    .site-nav__inner { position: relative; }
    .nav-menu { flex: 1; justify-content: flex-end; }
    .nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
}

/* Hero proporcije — veći prikaz programa */
@media (min-width: 981px) {
    body.home .hero__grid { grid-template-columns: .85fr 1.1fr; gap: clamp(28px, 3.5vw, 48px); align-items: center; }
}
.hero__ver { margin: 1.7rem 0 0; color: var(--text-muted); font-size: .82rem; font-weight: 500; letter-spacing: .02em; }
body.home .hero .btn-outline { background: #fff; border-color: #d3d7df; color: var(--text); box-shadow: var(--shadow-sm); }
body.home .hero .btn-outline:hover { border-color: var(--brand); color: var(--brand-600); }
.hero-shot__cap { margin: 1.3rem 0 0; text-align: center; font-size: .8rem; color: var(--text-muted); white-space: nowrap; }

/* Traka statistike */
.statsband { background: #f4f5f8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(22px, 3.5vw, 20px) 0; }
.statsband__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.statsband__item { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.statsband__item:not(:last-child) { border-right: 1px solid var(--line); }
.statsband__ic { flex: none; display: grid; place-items: center; font-size: 3.2rem; color: var(--brand); }
.statsband__ic i { color: var(--brand); }
.statsband__item b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.15; color: var(--text); }
.statsband__item span {
    font-size: .85rem;
    color: var(--text-muted);
    margin-right: 0.8rem;
}
.statsband__item span i { font-size: 2rem;}
@media (max-width: 720px) {
    .statsband__grid { grid-template-columns: 1fr; gap: 16px; justify-items: start; }
    .statsband__item { justify-content: flex-start; border-right: 0 !important; }
}

/* Nav — MojERP diskretan link */

/* CIVIL4CAD showcase (tamna slate traka) */
.civil-tag { display: inline-block; margin: 0 0 .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff8a5b; background: rgba(234,84,23,.16); padding: .3rem .75rem; border-radius: 999px; }
.civil-show { display: flex; flex-direction: column; }
.civil-show__cap { display: block; margin-top: .85rem; font-size: .85rem; color: #9aa0ac; text-align: center; }

/* Proizvodi — svijetle kartice */
.prod { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8dae0; }
.prod__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; color: var(--brand); background: linear-gradient(145deg, rgba(216,31,42,.14), rgba(216,31,42,.06)); margin-bottom: 1.1rem; }
.prod--civil .prod__icon { color: var(--civil); background: linear-gradient(145deg, rgba(234,84,23,.16), rgba(234,84,23,.06)); }
.prod h3 { margin: 0 0 .25rem; font-size: 1.4rem; }
.prod__sub { color: var(--text-muted); margin: 0 0 1.1rem; font-size: .98rem; }
.prod__head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.prod__head .prod__icon { margin-bottom: 0; }
.prod__txt h3 { margin: 0 0 .2rem; }
.prod__txt .prod__sub { margin: 0; }
.prod__list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.prod__list li { display: flex; align-items: flex-start; gap: .55rem; padding: .3rem 0; font-size: .95rem; color: #3f434c; }
.prod__list li i { color: var(--brand); margin-top: .15rem; font-size: 1rem; }
.prod--civil .prod__list li i { color: var(--civil); }
.prod__more { margin-top: auto; font-weight: 600; color: var(--brand-600); display: inline-flex; align-items: center; gap: .4rem; transition: gap .15s ease; }
.prod__more:hover { gap: .65rem; color: var(--brand-700); }
.prod--civil .prod__more { color: var(--civil-600); }

/* ---------- Utility ------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   PRIJAVA (MojERP račun) — nav, /prijava, /odjava, /zaboravljena-lozinka
   ========================================================================== */
.nav-login { display: inline-flex; align-items: center; gap: .4rem; color: #cdd1da; font-weight: 600; font-size: .95rem; padding: .5rem .7rem; border-radius: 8px; transition: color .15s; }
.nav-login:hover { color: #fff; }
.nav-user { display: inline-flex; align-items: center; gap: .55rem; margin: 0; }
.nav-user__name { display: inline-flex; align-items: center; gap: .4rem; color: #e7e9ee; font-weight: 600; font-size: .95rem; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user__out { background: none; border: 0; padding: .35rem .5rem; border-radius: 8px; cursor: pointer; font: inherit; font-size: .88rem; color: #9aa0ac; text-decoration: underline; text-underline-offset: 3px; }
.nav-user__out:hover { color: var(--brand-soft); }
body.home .nav-login, body.home .nav-user__name { color: var(--text); }
body.home .nav-login:hover, body.home .nav-user__out:hover { color: var(--brand); }
body.home .nav-user__out { color: var(--text-muted); }
/* "Kontaktiraj nas" u izborniku (kao na geosoft.hr) — otvara upit-popup */
.site-nav .nav-kontakt { padding: .75rem 1.25rem; box-shadow: 0 6px 18px var(--brand-glow); }
.site-nav .nav-kontakt:hover { transform: none; }
@media (max-width: 1040px) {
    .nav-login, .nav-user { justify-content: center; padding: .6rem 0; }
}

.auth { padding: clamp(108px, 13vw, 140px) 0 clamp(56px, 8vw, 90px); background: radial-gradient(900px 500px at 85% -10%, rgba(216,31,42,.10), transparent 60%), var(--bg); }
.auth-card { display: grid; grid-template-columns: 1.1fr .9fr; max-width: 960px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.auth-card--narrow { grid-template-columns: 1fr; max-width: 520px; }
@media (max-width: 820px) { .auth-card { grid-template-columns: 1fr; } }
.auth-form { padding: clamp(28px, 5vw, 48px); }
.auth-form--center { text-align: center; }
.auth-form form { margin-top: 1.4rem; }
.auth-title { font-size: clamp(1.8rem, 3.5vw, 2.3rem); margin: .4rem 0 .4rem; }
.auth-lead { color: var(--text-muted); margin: 0 0 1.4rem; }
.auth-error.validation-summary-valid { display: none; }
.auth-error { background: rgba(216,31,42,.07); border: 1px solid rgba(216,31,42,.25); color: var(--brand-700); border-radius: 10px; padding: .7rem .9rem; margin-bottom: 1rem; font-size: .92rem; }
.auth-ok { background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.28); color: #166534; border-radius: 10px; padding: .7rem .9rem; margin-bottom: 1rem; font-size: .92rem; }
.auth-error ul { margin: 0; padding-left: 1.1rem; }
.auth-field-err { color: var(--brand-600); font-size: .85rem; }
.auth-pass { position: relative; }
.auth-pass input { padding-right: 2.8rem; }
.auth-pass__eye { position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); border: 0; background: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; padding: .3rem; }
.auth-pass__eye:hover { color: var(--brand); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .2rem 0 1.3rem; font-size: .92rem; }
.auth-check { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.auth-check input { accent-color: var(--brand); width: 16px; height: 16px; }
.auth-submit { width: 100%; }
.auth-foot { margin: 1.4rem 0 0; font-size: .95rem; color: var(--text-muted); }
.auth-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: var(--brand); background: rgba(216,31,42,.1); }
.auth-icon--err { color: #b45309; background: rgba(180,83,9,.12); }
.auth-info { background: radial-gradient(500px 300px at 90% 0%, rgba(216,31,42,.25), transparent 60%), var(--ink); color: #eef0f4; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; }
.auth-info h2 { font-size: 1.5rem; color: #fff; margin-bottom: 1.2rem; }
.auth-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.auth-info li { display: flex; gap: .8rem; color: #c7ccd6; font-size: .97rem; }
.auth-info li i { color: var(--brand-soft); font-size: 1.15rem; margin-top: .1rem; }
.auth-info strong { color: #fff; }
.auth-info__trial { margin-top: auto; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.auth-info__trial p { margin: 1.4rem 0 .8rem; color: #aab0bd; font-size: .93rem; }
.auth-info .btn-ghost { color: #e7e9ee; }

/* ==========================================================================
   PREUZMI (/preuzmi, /preuzmi/upute) — samo za prijavljene
   ========================================================================== */
.page-hero .btn-ghost { color: #e7e9ee; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); gap: 14px; scroll-margin-top: 90px; }
/* naslov, opis i 2 reda za preuzimanje u istoj visini u obje kartice */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 861px) {
        .dl-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
    }
}
.dl-card--civil { border-top-color: var(--civil); }
.dl-card h2 { font-size: 1.6rem; margin: 0; }
.dl-card__desc { color: var(--text-muted); margin: 0; font-size: .97rem; }
.dl-row { display: flex; flex-direction: column; gap: .3rem; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: #fff; transition: border-color .15s ease, box-shadow .2s ease; }
.dl-row:hover { color: var(--text); border-color: var(--brand); box-shadow: var(--shadow-md); }
.dl-card--civil .dl-row:hover { border-color: var(--civil); }
.dl-row__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dl-row__name { font-weight: 700; font-size: 1.02rem; word-break: break-all; }
.dl-row__btn { padding: .6rem 1.1rem; font-size: .92rem; box-shadow: none; }
.dl-card--civil .dl-row__btn { background: var(--civil); }
.dl-row__what { color: var(--text-muted); font-size: .93rem; }
.dl-row__ver { font-size: .85rem; font-weight: 600; color: #0d6e50; }
.dl-row__meta { font-size: .82rem; color: var(--text-muted); }
.dl-row--guide { margin-top: 22px; }
.dl-note { display: block; margin-top: 28px; }
.dl-note ul { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .95rem; display: grid; gap: .3rem; }

.steps-intro { display: block; margin-top: 0; }
.steps-intro code, .step code { background: rgba(216,31,42,.08); color: var(--brand-700); padding: .05rem .35rem; border-radius: 5px; font-size: .88em; word-break: break-word; }
.steps-title { font-size: 1.6rem; margin: 2.4rem 0 1.2rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step__num { min-width: 48px; height: 48px; padding: 0 .4rem; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--brand-soft), var(--brand-600)); box-shadow: 0 6px 16px var(--brand-glow); font-size: .95rem; }
.step__body { min-width: 0; }
.step__body p { margin: .4rem 0 .8rem; }
.step__shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.step__shots--single { grid-template-columns: minmax(0, 520px); }
.step__shots a { display: block; line-height: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.step__shots img { width: 100%; height: auto; }
@media (max-width: 520px) { .step { grid-template-columns: 1fr; gap: 10px; } .step__num { justify-self: start; } }
.steps-done { margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: rgba(13,110,80,.08); border: 1px solid rgba(13,110,80,.25); color: #0d6e50; font-weight: 600; display: flex; gap: .6rem; align-items: center; }

/* ---------- Greška / 404 -------------------------------------------------- */
.err-page { text-align: center; }
.err-page__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 900; color: var(--brand); line-height: 1; letter-spacing: -.04em; }
.err-page__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Privatnost ---------------------------------------------------- */
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .35rem; }

/* ---------- LP: Black Friday 2026 (/lp/black-friday) ---------------------- */
/* Sve je ograničeno na .gpbf — ne utječe na ostatak weba. Slike: wwwroot/images/lp */
.gpbf { --gp-navy: #06162d; --gp-ink: #0b1931; --gp-accent: var(--brand); --gp-accent-600: var(--brand-600); --gp-muted: #56677b; color: var(--gp-ink); background: #fff; }
.gpbf h1, .gpbf h2, .gpbf h3, .gpbf p { margin: 0; }
.gpbf h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.gpbf h3 { font-size: 1.25rem; line-height: 1.3; }
.gpbf #gpbf-included, .gpbf #gpbf-contact, .gpbf #gpbf-terms { scroll-margin-top: 84px; }

/* Hero */
.gpbf-hero { position: relative; color: #fff; border-bottom: 2px solid var(--gp-accent); background: var(--gp-navy) url('../images/lp/geoplus-bf-banner.webp') right 0 top 68px / cover no-repeat; }
.gpbf-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,37,.88), rgba(4,18,37,.5) 48%, transparent 75%); }
.gpbf-hero__inner { position: relative; display: flex; align-items: center; min-height: 700px; padding-top: 128px; padding-bottom: 64px; }
.gpbf-hero__copy { max-width: 640px; }
.gpbf .gpbf-eyebrow { font-size: .95rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #ff6b75; margin-bottom: 1.1rem; }
.gpbf-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: #fff; margin-bottom: 1.3rem; }
.gpbf-hero__lead { max-width: 520px; font-size: 1.2rem; line-height: 1.5; color: #d2e1f2; }
.gpbf-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 1.4rem 0 0; }
.gpbf-price del { color: #a9bfd7; font-size: 1.2rem; }
.gpbf-price strong { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: #fff; }
.gpbf-price span { color: #d2e1f2; font-size: 1.1rem; }
.gpbf .gpbf-ended { margin-top: 1.4rem; padding: .8rem 1rem; max-width: 520px; border-left: 3px solid var(--gp-accent); background: rgba(255,255,255,.08); border-radius: 0 8px 8px 0; color: #fff; font-weight: 600; }
.gpbf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }
.gpbf .gpbf-hero__note { font-size: 1.08rem; color: #d2e1f2; margin-top: 1.1rem; max-width: 550px; }
/* Bedž −25 %: poligonalna pločica (SVG u BlackFriday.cshtml). Ulaz jednom, pa lagano lebdenje + povremeni odsjaj. */
.gpbf-badge { position: absolute; top: calc(50% - 30px); left: 625px; width: 240px; line-height: 0; pointer-events: none; animation: gpbf-pop .75s cubic-bezier(.2, 1.3, .4, 1) both, gpbf-float 7s ease-in-out .75s infinite; }
.gpbf-badge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gpbf-badge__plate { fill: url(#gpbfPlateFill); stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(242,68,80,.9)) drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.gpbf-badge__txt { fill: #fff; font-family: var(--font); font-size: 42px; font-weight: 800; letter-spacing: -1.5px; }
.gpbf-badge__cracks polyline { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.gpbf-badge__shards polygon { fill: rgba(150,205,255,.22); stroke: rgba(255,255,255,.45); stroke-width: .8; stroke-linejoin: round; }
.gpbf-badge__shine { transform: translateX(0) skewX(-18deg); animation: gpbf-shine 6s ease-in-out 1.6s infinite; }
@keyframes gpbf-pop { 0% { opacity: 0; transform: scale(.45); } 60% { opacity: 1; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes gpbf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes gpbf-shine { 0%, 80% { transform: translateX(0) skewX(-18deg); } 95%, 100% { transform: translateX(360px) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) {
    .gpbf-badge, .gpbf-badge__shine, .bf-home-badge { animation: none; }
}

/* Naslovnica: ista pločica „iskače" iz gornjeg lijevog kuta slike programa i vodi na /lp/black-friday (Shared/_BfBadge.cshtml) */
.bf-home-badge { position: absolute; z-index: 2; top: -74px; left: -92px; width: 230px; line-height: 0; animation: gpbf-pop .75s cubic-bezier(.2, 1.3, .4, 1) .5s both, gpbf-float 7s ease-in-out 1.25s infinite; }
.bf-home-badge svg { display: block; width: 100%; height: auto; overflow: visible; transition: transform .2s ease; }
.bf-home-badge:hover svg, .bf-home-badge:focus-visible svg { transform: scale(1.07) rotate(-2deg); }
.bf-home-badge:focus-visible { outline: 3px solid #23d1ed; outline-offset: 2px; border-radius: 12px; }
.bf-home-badge .gpbf-badge__txt { font-size: 40px; }
.bf-home-badge .gpbf-badge__cracks polyline { stroke: rgba(30,34,43,.45); }
.bf-home-badge .gpbf-badge__shards polygon { fill: rgba(216,31,42,.18); stroke: rgba(30,34,43,.4); }
.bf-home-badge__label { fill: #fff; font-family: var(--font); font-size: 13.5px; font-weight: 800; letter-spacing: 1.6px; }
.bf-home-badge__more { fill: rgba(255,255,255,.92); font-family: var(--font); font-size: 12px; font-weight: 600; }
/* Mobitel/tablet: slika programa je skrivena, pa akciju najavljuje traka iznad naslova */
.bf-home-pill { display: none; align-items: center; gap: .45rem; margin-bottom: 1rem; padding: .5rem .95rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-brand); }
.bf-home-pill:hover { background: var(--brand-600); color: #fff; }
.bf-home-pill b { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
@media (max-width: 980px) { .bf-home-pill { display: inline-flex; } }

/* Naslovnica, cjenik: Black Friday akcijska cijena (prikazuje se samo 23.–30.11.) */
.plan__bf { display: grid; gap: .3rem; margin: 0 0 1.3rem; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(216,31,42,.3); border-left: 4px solid var(--brand); background: rgba(216,31,42,.06); color: var(--text); transition: background .15s ease, box-shadow .15s ease; }
.plan__bf:hover { background: rgba(216,31,42,.1); color: var(--text); box-shadow: var(--shadow-sm); }
.plan__bf-tag { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.plan__bf-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .45rem; font-size: .95rem; }
.plan__bf-price del { color: var(--text-muted); }
.plan__bf-price strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand-600); }
.plan__bf-note { font-size: .82rem; color: var(--text-muted); }
.plan__bf-more { font-size: .88rem; font-weight: 700; color: var(--brand-600); }

/* Naslovnica: Black Friday reklamni prozor (Shared/_BfPromo.cshtml) — zatamnjenje, „pucanje ekrana", pa iskoči ponuda */
.bfpromo { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 24px; }
.bfpromo__backdrop { position: absolute; inset: 0; background: rgba(6,22,45,.78); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.bfpromo.open .bfpromo__backdrop { opacity: 1; }
.bfpromo__cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bfpromo__cracks polyline { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; filter: drop-shadow(0 0 3px rgba(140,200,255,.7)); }
.bfpromo.open .bfpromo__cracks polyline { animation: bfpromo-crack .45s ease-out .15s forwards; }
.bfpromo__dialog { position: relative; width: 100%; max-width: 780px; color: #fff; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); border-bottom: 3px solid var(--brand); box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 6px rgba(216,31,42,.12); background: linear-gradient(90deg, rgba(4,18,37,.94), rgba(4,18,37,.72) 52%, rgba(4,18,37,.15) 85%), #06162d url('../images/lp/geoplus-bf-banner.webp') right center / cover no-repeat; opacity: 0; transform: scale(.6); }
.bfpromo__dialog:focus { outline: none; }
.bfpromo.open .bfpromo__dialog { animation: bfpromo-pop .6s cubic-bezier(.2, 1.35, .4, 1) .5s forwards; }
.bfpromo__body { padding: 44px 44px 38px; max-width: 520px; }
.bfpromo__eyebrow { margin: 0 0 .9rem; font-size: .9rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #ff6b75; }
.bfpromo h2 { margin: 0 0 .9rem; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; color: #fff; }
.bfpromo__lead { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #d2e1f2; }
.bfpromo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 1.1rem 0 0; }
.bfpromo__price del { color: #a9bfd7; font-size: 1.15rem; }
.bfpromo__price strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.bfpromo__price span { color: #d2e1f2; font-size: 1rem; }
.bfpromo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 1.5rem; }
.bfpromo__cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .85rem 1.7rem; border-radius: 10px; background: var(--brand); color: #fff; font-size: 1.05rem; font-weight: 700; box-shadow: var(--shadow-brand); transition: background .2s ease, transform .15s ease; }
.bfpromo__cta:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.bfpromo__later { background: none; border: none; padding: .5rem .2rem; font: inherit; font-size: .95rem; color: #bdcee1; text-decoration: underline; cursor: pointer; }
.bfpromo__later:hover { color: #fff; }
.bfpromo__cta:focus-visible, .bfpromo__later:focus-visible, .bfpromo__close:focus-visible { outline: 3px solid #23d1ed; outline-offset: 3px; }
.bfpromo__note { margin: 1.1rem 0 0; font-size: .85rem; color: #bdcee1; }
.bfpromo__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; font-size: 1.05rem; transition: background .15s ease; }
.bfpromo__close:hover { background: rgba(255,255,255,.28); }
/* nakošena pločica −25 % na gornjem lijevom uglu prozora */
.bfpromo__badge { position: absolute; top: -46px; left: -52px; width: 168px; height: 138px; display: grid; place-items: center; transform: rotate(-9deg); filter: drop-shadow(0 0 10px rgba(242,68,80,.85)) drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.bfpromo__badge::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand-soft), var(--brand-600)); clip-path: polygon(4% 22%, 66% 0, 100% 30%, 91% 80%, 36% 100%, 0 72%); }
.bfpromo__badge span { position: relative; font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.bfpromo__body { padding-top: 78px; }
@keyframes bfpromo-crack { to { stroke-dashoffset: 0; } }
@keyframes bfpromo-pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .bfpromo.open .bfpromo__dialog { animation: none; opacity: 1; transform: none; }
    .bfpromo.open .bfpromo__cracks polyline { animation: none; stroke-dashoffset: 0; }
    .bfpromo__backdrop { transition: none; }
}

/* Gumbi */
.gpbf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.5rem; border-radius: 8px; border: 1.5px solid transparent; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.3; cursor: pointer; background: var(--gp-accent); color: #fff; box-shadow: 0 8px 22px rgba(216,31,42,.3); transition: background .2s ease, transform .15s ease; }
.gpbf-btn:hover { background: var(--gp-accent-600); color: #fff; transform: translateY(-1px); }
.gpbf-btn:focus-visible, .gpbf summary:focus-visible { outline: 3px solid #23d1ed; outline-offset: 3px; }
.gpbf-btn:disabled { opacity: .65; cursor: default; transform: none; }
.gpbf-btn--ghost { background: transparent; border-color: #aac4e3; box-shadow: none; }
.gpbf-btn--ghost:hover { background: #173556; }
.gpbf-btn--block { width: 100%; }

/* Sekcije */
.gpbf-section { padding: 64px 0; }
.gpbf-section--ice { background: #e6f3fa; }
.gpbf-intro { text-align: center; margin-bottom: 32px; }
.gpbf-intro p { margin-top: .7rem; color: var(--gp-muted); font-size: 1.1rem; }
.gpbf-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gpbf-card { padding: 28px 22px; text-align: center; background: #fff; border: 1px solid #d1e0e9; border-bottom: 3px solid #00a7ae; border-radius: 12px; box-shadow: 0 5px 22px rgba(19,40,69,.05); }
.gpbf-card img { display: block; width: 54px; height: 54px; margin: 0 auto 16px; }
.gpbf-card h3 { margin-bottom: .6rem; }
.gpbf-card p { font-size: 1.05rem; color: var(--gp-muted); }
.gpbf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gpbf-scenario { display: flex; align-items: center; gap: 24px; padding: 28px; background: #fff; border: 1px solid #c9dde9; border-radius: 12px; }
.gpbf-scenario__icon { flex: none; font-size: 3rem; line-height: 1; color: #0d4f7a; padding-right: 24px; border-right: 1px solid #d1e0e9; }
.gpbf-scenario h3 { margin-bottom: .4rem; }
.gpbf-scenario p { color: var(--gp-muted); margin-bottom: 1rem; font-size: 1.05rem; }
.gpbf-tag { display: inline-block; padding: .45rem .85rem; border-radius: 6px; background: var(--gp-accent); color: #fff; font-size: .95rem; font-weight: 700; }
.gpbf .gpbf-requirement { text-align: center; font-size: .95rem; margin-top: 22px; }

/* Kontakt + obrazac */
.gpbf-contact { background: var(--gp-navy); color: #fff; }
.gpbf-contact__grid { align-items: center; gap: 60px; }
.gpbf-contact h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.gpbf-contact p { color: #c1d2e5; margin-top: 1.1rem; font-size: 1.1rem; }
.gpbf-contact .gpbf-contact__dates { color: #ff6b75; font-weight: 700; }
.gpbf-bar { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--gp-accent); margin-bottom: 1.2rem; }
.gpbf-request { padding: 30px; background: #fff; border-radius: 14px; color: var(--gp-ink); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.gpbf-request h3 { font-size: 1.4rem; margin-bottom: 1.1rem; }
.gpbf-request .upit-field { margin-bottom: .8rem; }
.gpbf-request .upit-field select { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--text); background: #fff; }
.gpbf-request .upit-field input:focus, .gpbf-request .upit-field textarea:focus, .gpbf-request .upit-field select:focus { outline: none; border-color: var(--gp-accent); box-shadow: 0 0 0 3px rgba(216,31,42,.15); }
.gpbf-request .upit-field textarea { min-height: 72px; }
.gpbf-msg { display: block; margin-top: .7rem; min-height: 1.2em; }
.gpbf-request__legal { display: block; margin-top: .4rem; font-size: .8rem; color: var(--gp-muted); }
.gpbf-request__legal a { color: #075d9c; text-decoration: underline; }

/* Uvjeti */
.gpbf-terms { padding: 38px 0 48px; background: #f7f9fc; }
.gpbf-terms details { border: 1px solid #d9e3ec; border-radius: 10px; background: #fff; padding: 20px 24px; }
.gpbf-terms summary { font-weight: 700; cursor: pointer; }
.gpbf-terms ul { padding-left: 20px; margin: 18px 0 0; }
.gpbf-terms li { padding: 4px 0; color: #42546b; font-size: .9rem; }

/* Široki ekrani: banner se ne rasteže preko cijele širine (previše bi se uvećao), nego stoji desno u punoj veličini i lijevo se pretapa u podlogu */
@media (min-width: 1521px) {
    .gpbf-hero {
        /* iznad 1920px slika se pomiče ulijevo (prema sadržaju), a desni rub joj se pretapa u podlogu */
        --gp-shift: max(0px, calc((100vw - 1920px) / 2));
        --gp-fade: min(380px, calc(var(--gp-shift) * 3));   /* širina pretapanja desnog ruba */
        --gp-solid: min(60px, var(--gp-shift));             /* zadnji dio slike potpuno prekriven, da se ne vidi rez */
        background-image: linear-gradient(90deg, var(--gp-navy) calc(100% - 1520px - var(--gp-shift)), rgba(6,22,45,0) calc(100% - 1150px - var(--gp-shift)), rgba(6,22,45,0) calc(100% - var(--gp-shift) - var(--gp-fade)), rgba(6,22,45,.8) calc(100% - var(--gp-shift) - var(--gp-fade) * .4), var(--gp-navy) calc(100% - var(--gp-shift) - var(--gp-solid))), url('../images/lp/geoplus-bf-banner.webp');
        background-size: 100% 100%, 1520px auto;
        background-position: 0 0, right var(--gp-shift) top 68px;
    }
}
@media (max-width: 1024px) {
    .gpbf-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gpbf-contact__grid { gap: 28px; }
    .gpbf-hero__inner { min-height: 560px; }
    .gpbf-hero__copy { max-width: 560px; }
    .gpbf-badge { top: 92px; left: auto; right: 12px; width: 160px; }
}
@media (max-width: 767px) {
    .gpbf-hero { background-position: 65% center; }
    .gpbf-hero::before { background: rgba(4,18,37,.84); }
    .gpbf-hero__inner { min-height: 0; padding-top: 104px; padding-bottom: 44px; }
    .gpbf .gpbf-eyebrow { font-size: .8rem; }
    .gpbf-hero__lead { font-size: 1.05rem; }
    .gpbf-price strong { font-size: 2.3rem; }
    .gpbf-badge { top: auto; bottom: 236px; right: 4px; width: 124px; }   /* uz cijenu, desno */
    @media (min-width: 480px) { .gpbf-badge { bottom: 200px; width: 104px; } }          /* cijena i napomena tu stanu u jedan red */
    .gpbf-actions .gpbf-btn { width: 100%; }
    .gpbf-section { padding: 44px 0; }
    .gpbf-two { grid-template-columns: 1fr; }
    .gpbf-benefits { gap: 12px; }
    .gpbf-card { padding: 22px 12px; }
    .gpbf-card h3 { font-size: 1.05rem; }
    .gpbf-card p { font-size: .88rem; }
    .gpbf-scenario { padding: 22px; gap: 16px; }
    .gpbf-scenario__icon { font-size: 2.2rem; padding-right: 16px; }
    .gpbf-request { padding: 22px; }
}
