/* ==========================================================================
   Ivora — glavni stil (moderni redizajn)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
p { color: var(--ink-2); }
ul { padding-left: 1.1rem; }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c7ccd6; }
.narrow { max-width: 820px; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--dark .eyebrow { color: #ff6b73; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: var(--fs-3xl); margin-top: .6rem; }
.section-head p { margin-top: .8rem; font-size: var(--fs-lg); color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--sp-5); }
.clearfix::after { content: ""; display: block; clear: both; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--fs-sm); border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: .6rem 1.05rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* Header / Nav ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--ink); color: #cfd3db; font-size: var(--fs-xs); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { color: #e7e9ee; }
.topbar-contact { display: flex; gap: 1.25rem; align-items: center; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contact svg { width: 14px; height: 14px; opacity: .8; }
.push-bell { background: transparent; border: 0; color: #cfd3db; display: inline-flex; align-items: center; padding: .2rem; border-radius: 6px; transition: color .15s, transform .15s; }
.push-bell svg { width: 17px; height: 17px; }
.push-bell:hover { color: #fff; }
.push-bell.is-on { color: var(--brand); }
.push-bell.is-on svg { fill: rgba(222,1,18,.18); }
.lang-switch { display: inline-flex; gap: .35rem; align-items: center; }
.lang-switch a { padding: .1rem .4rem; border-radius: 4px; font-weight: 700; opacity: .6; }
.lang-switch a.is-active { background: var(--brand); color: #fff; opacity: 1; }

.navbar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 900; font-size: 1.35rem; letter-spacing: -.03em; }
.brand img { height: 44px; width: auto; }
.brand .brand-mark { color: var(--brand); }
.brand-logo { height: 48px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 40px; } }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  padding: .55rem .8rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav a:hover, .nav a.is-active { color: var(--brand-600); background: var(--brand-tint); }
.nav-cta { margin-left: .6rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(222,1,18,.10), transparent 60%),
    radial-gradient(50% 60% at 5% 90%, rgba(222,1,18,.06), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -.03em; }
.hero h1 .accent { color: var(--brand); }
.hero-lead { margin-top: 1.25rem; font-size: var(--fs-lg); color: var(--ink-2); max-width: 34ch; }
.hero-actions { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-stats { margin-top: 2.5rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat .num { font-size: var(--fs-2xl); font-weight: 900; color: var(--ink); }
.hero-stat .lbl { font-size: var(--fs-sm); color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual > img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.hero-carousel { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3.2; background: var(--bg-soft); }
.hero-carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 6s linear; }
.hero-carousel img.is-active { opacity: 1; transform: scale(1); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 7px; justify-content: center; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); padding: 0; cursor: pointer; transition: background .2s, width .2s; }
.hero-dots button.is-active { background: #fff; width: 22px; border-radius: 5px; }

/* Centrirani hero + full-width rotirajući banner */
.hero--center .hero-copy { max-width: 760px; margin-inline: auto; text-align: center; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.hero--center .hero-lead { margin-inline: auto; max-width: 56ch; }
.hero--center .hero-actions { justify-content: center; }
.hero--center .hero-stats { justify-content: center; }
.fullbanner { position: relative; width: 100%; height: clamp(300px, 40vw, 520px); overflow: hidden; background: var(--bg-soft); }
.fullbanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.1s var(--ease), transform 7s linear; }
.fullbanner img.is-active { opacity: 1; transform: scale(1); }
.fullbanner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,.06), transparent 30%, transparent 70%, rgba(20,22,26,.12)); pointer-events: none; }
.fullbanner-badge { position: absolute; left: clamp(16px, 5vw, 56px); bottom: clamp(16px, 4vw, 40px); background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: .9rem 1.15rem; display: flex; gap: .75rem; align-items: center; z-index: 2; }
.fullbanner-badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.fullbanner-badge .ic svg { width: 22px; height: 22px; }
.fullbanner-badge b { display: block; font-size: var(--fs-sm); }
.fullbanner-badge span { font-size: var(--fs-xs); color: var(--muted); }
.fullbanner .hero-dots { bottom: 16px; }
@media (max-width: 560px) { .fullbanner-badge { display: none; } }

/* Hero s rotirajućom pozadinskom slikom */
.hero-bg { position: relative; overflow: hidden; min-height: clamp(460px, 72vh, 660px); display: flex; align-items: center; }
.hero-bg-slides { position: absolute; inset: 0; z-index: 0; }
.hero-bg-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 8s linear; }
.hero-bg-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-bg-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,16,20,.82) 0%, rgba(15,16,20,.62) 42%, rgba(15,16,20,.30) 100%); }
.hero-bg .container { position: relative; z-index: 2; }
.hero-bg-content { max-width: 640px; padding-block: clamp(3rem, 8vw, 5rem); color: #fff; }
.hero-bg-content h1 { color: #fff; font-size: var(--fs-hero); text-shadow: 0 2px 20px rgba(0,0,0,.28); }
.hero-bg-content .hero-lead { color: rgba(255,255,255,.92); max-width: 48ch; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-bg-content .hero-actions { margin-top: 2rem; }
.hero-bg-content .hero-slide { display: none; }
.hero-bg-content .hero-slide.is-active { display: block; animation: heroTextIn .7s var(--ease); }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.eyebrow--light { color: #ff8a90; }
.eyebrow--light::before { background: var(--brand); }
.hero-bg .hero-dots { bottom: 18px; z-index: 3; }
@media (max-width: 640px) {
  .hero-bg-overlay { background: linear-gradient(180deg, rgba(15,16,20,.55), rgba(15,16,20,.78)); }
}
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: .9rem 1.15rem; display: flex; gap: .75rem; align-items: center;
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-size: var(--fs-sm); }
.hero-badge span { font-size: var(--fs-xs); color: var(--muted); }

/* Vaučer hero (split slika + panel) + stat red --------------------------- */
.vhero { display: grid; grid-template-columns: 1.02fr .98fr; min-height: clamp(380px, 52vw, 520px); }
.vhero-img { background-size: cover; background-position: center; background-color: var(--bg-soft); }
.vhero-panel { background: linear-gradient(150deg, var(--brand), var(--brand-700)); color: #fff; display: flex; align-items: center; padding: clamp(2rem, 5vw, 4rem); }
.vhero-inner { max-width: 520px; }
.vhero-panel h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; }
.vhero-rule { display: block; width: 72px; height: 3px; background: rgba(255,255,255,.6); border-radius: 3px; margin: 1.25rem 0; }
.vhero-panel p { color: rgba(255,255,255,.94); font-size: var(--fs-lg); margin-bottom: 1.75rem; }
.vhero-panel .btn--light { color: var(--brand-700); font-weight: 800; }

/* Rotirajuće slike u split-heru (naslovnica) */
.vhero-media { position: relative; overflow: hidden; }
.home-hero .vhero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.1s var(--ease), transform 7s linear; }
.home-hero .vhero-media img.is-active { opacity: 1; transform: scale(1); }
.home-hero .vhero-media .hero-dots { bottom: 16px; z-index: 2; }
.vhero-panel .hero-slide { display: none; }
.vhero-panel .hero-slide.is-active { display: block; animation: heroTextIn .7s var(--ease); }
.vhero-panel .hero-lead { color: rgba(255,255,255,.94); font-size: var(--fs-lg); margin: 1rem 0 1.75rem; }
.vhero-panel .accent { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.eyebrow--onred { color: #fff; }
.eyebrow--onred::before { background: rgba(255,255,255,.7); }
@media (max-width: 900px) { .home-hero .vhero-media { min-height: 260px; } }

.vstats { background: var(--bg-dark); color: #fff; }
.vstats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.vstat { display: flex; gap: .9rem; align-items: flex-start; }
.vstat-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(222,1,18,.16); color: #ff6b73; display: grid; place-items: center; }
.vstat-ic svg { width: 24px; height: 24px; }
.vstat b { display: block; font-size: var(--fs-base); color: #fff; }
.vstat span { font-size: var(--fs-sm); color: #aab0bc; }
@media (max-width: 900px) {
  .vhero { grid-template-columns: 1fr; }
  .vhero-img { min-height: 220px; }
  .vstats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .vstats-grid { grid-template-columns: 1fr; } }

/* Trust / logos ----------------------------------------------------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; justify-content: center; padding-block: 1.5rem; }
.trust span { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }

/* Cards / course grid ----------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-5); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 5/3; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: .8rem; left: .8rem; background: var(--brand); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; padding: .3rem .7rem; border-radius: var(--r-pill);
}
.card-badge--free { background: #0a8a3d; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-size: var(--fs-lg); font-weight: 800; margin-top: .35rem; }
.card-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.card-link { color: var(--brand-600); font-weight: 700; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .35rem; }
.card:hover .card-link { gap: .6rem; }

/* Category tiles ---------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); }
.cat-tile {
  position: relative; border-radius: var(--r-lg); padding: 1.75rem 1.5rem; overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: flex; flex-direction: column; min-height: 190px;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cat-tile .cat-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.cat-tile .cat-ic svg { width: 26px; height: 26px; }
.cat-tile h3 { font-size: var(--fs-xl); }
.cat-tile p { margin-top: .4rem; font-size: var(--fs-sm); color: var(--muted); }
.cat-tile .cat-go { margin-top: auto; padding-top: 1rem; color: var(--brand-600); font-weight: 700; font-size: var(--fs-sm); }
.cat-tile--vaucer .cat-ic { background: #e6f6ec; color: #0a8a3d; }
.cat-tile--vaucer .cat-go { color: #0a8a3d; }

/* Sektor navigacija / blokovi -------------------------------------------- */
.sektor-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.sektor-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); transition: .15s; }
.sektor-nav a:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-tint); }
.sektor-nav a span { background: var(--bg-soft); color: var(--muted); border-radius: 999px; padding: 0 .45rem; font-size: var(--fs-xs); font-weight: 700; }
.sektor-block { padding-top: 1rem; margin-bottom: 3rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.sektor-block .cat-ic { border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.sektor-block .cat-ic svg { width: 24px; height: 24px; }

/* Feature row ------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-6); }
.feature .f-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.feature .f-ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: var(--fs-lg); }
.feature p { margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); }

/* News -------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-5); }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.news-card .n-media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.news-card .n-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .n-body { padding: 1.25rem; }
.news-card time { font-size: var(--fs-xs); color: var(--brand-600); font-weight: 700; }
.news-card h3 { font-size: var(--fs-lg); margin-top: .4rem; }
.news-card p { margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); }

/* Testimonials ------------------------------------------------------------ */
.testi { background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2)); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); }
.testi-quote { font-size: clamp(1.2rem, 2.4vw, 1.65rem); font-weight: 600; line-height: 1.5; color: #fff; }
.testi-quote::before { content: "“"; color: var(--brand); font-size: 3rem; line-height: 0; vertical-align: -.35em; margin-right: .2rem; }
.testi-author { margin-top: 1.5rem; display: flex; align-items: center; gap: .9rem; }
.testi-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.testi-author b { display: block; }
.testi-author span { color: #9aa1ad; font-size: var(--fs-sm); }

/* CTA band ---------------------------------------------------------------- */
.cta {
  background: linear-gradient(120deg, var(--brand), var(--brand-700));
  border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 3.5rem); color: #fff; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta h2 { color: #fff; font-size: var(--fs-3xl); }
.cta p { color: rgba(255,255,255,.9); margin-top: .6rem; font-size: var(--fs-lg); }
.cta .cta-actions { margin-top: 1.75rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* Subpage / content ------------------------------------------------------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.breadcrumb a:hover { color: var(--brand-600); }
.page-hero h1 { font-size: var(--fs-3xl); }
.page-hero p { margin-top: .6rem; color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; }

.content { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.content, .content * { font-family: var(--font) !important; }
.content span, .content font { font-size: inherit; }
.content h2 { font-size: var(--fs-2xl); margin-top: 2rem; }
.content h3 { font-size: var(--fs-xl); margin-top: 1.5rem; }
.content p { margin-top: 1rem; }
.content ul, .content ol { margin-top: 1rem; }
.content li { margin-top: .4rem; color: var(--ink-2); }
.content img { border-radius: var(--r-md); margin-block: 1.25rem; }
.content a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.content blockquote { margin: 1.5rem 0; }
.table-scroll { overflow-x: auto; margin: 1.25rem 0; }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
table.tbl th { text-align: left; background: var(--bg-soft); color: var(--ink); font-weight: 700; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
table.tbl td { padding: .7rem .9rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td:first-child, table.tbl th:first-child { width: 38px; color: var(--muted); }
.img-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; margin: 1.25rem 0; }
.img-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }

.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-8); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--sh-sm); }
.side-card + .side-card { margin-top: var(--sp-5); }
.side-card h3 { font-size: var(--fs-lg); margin-bottom: .9rem; }
.side-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line-2); font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); }
.side-list a:last-child { border-bottom: 0; }
.side-list a:hover { color: var(--brand-600); }

/* Course detail ----------------------------------------------------------- */
.course-hero-img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.pill-meta { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand-tint); color: var(--brand-700); font-weight: 700; font-size: var(--fs-sm); padding: .45rem .9rem; border-radius: var(--r-pill); }

/* Forms ------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--sh-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: var(--fs-sm); margin-bottom: 1.2rem; }
.alert--ok { background: #e6f6ec; color: #0a6b30; border: 1px solid #b6e3c6; }
.alert--err { background: var(--brand-tint); color: var(--brand-700); border: 1px solid var(--brand-tint-2); }

/* Info / contact cards ---------------------------------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.info-card .i-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: .9rem; }
.info-card .i-ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: var(--fs-base); }
.info-card p, .info-card a { font-size: var(--fs-sm); color: var(--ink-2); margin-top: .3rem; }
.info-card a:hover { color: var(--brand-600); }

/* Download (cjenik) ------------------------------------------------------- */
.download-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.download-card {
  display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.1rem 1.4rem; box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-tint-2); }
.download-card .d-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .75rem; }
.download-card .d-ic.pdf { background: #d93025; }
.download-card .d-ic.xml { background: #1a73e8; }
.download-card b { display: block; font-size: var(--fs-sm); }
.download-card span { font-size: var(--fs-xs); color: var(--muted); }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--bg-dark); color: #aab0bc; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.site-footer a { color: #aab0bc; font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #8b91a0; font-size: var(--fs-sm); max-width: 34ch; }
.footer-contact li { list-style: none; display: flex; gap: .6rem; margin-bottom: .7rem; font-size: var(--fs-sm); }
.footer-contact svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-xs); color: #7c8494; }

/* Utilities --------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 2rem; }
.text-center { text-align: center; }
/* Reveal animacija samo kad je JS aktivan (bez JS-a je sadržaj odmah vidljiv) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem;
    gap: .25rem; box-shadow: var(--sh-lg); transform: translateY(-140%); transition: transform .3s var(--ease); max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: .85rem 1rem; font-size: var(--fs-base); }
  .nav-cta { margin: .5rem 0 0; }
  .nav .btn { width: 100%; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
