/* ==========================================================================
   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-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; }
.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; }
@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 { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); background: #fff; }
.modul-hero__shot img { background: #111216; }

.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--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__media a { display: block; }
.mfeature__media img:hover { border-color: rgba(216,31,42,.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 */
.nav-mojerp { color: #cdd1da; font-weight: 600; font-size: .95rem; padding: .5rem .7rem; border-radius: 8px; transition: color .15s; }
.nav-mojerp:hover { color: #fff; }
body.home .nav-mojerp { color: var(--text); }
body.home .nav-mojerp:hover { color: var(--brand); }

/* 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; }
