/* ADR Savetnik sa vama — zajednički stilovi
   Brend boje preuzete sa vizit karte: indigo + ADR narandžasta */
:root {
  --indigo-900: #1e1a45;
  --indigo-800: #2a2560;
  --indigo-700: #3d3678;   /* osnovna brend boja (vizit karta) */
  --indigo-600: #4f47a0;
  --indigo-100: #ebe9f7;
  --indigo-50:  #f5f4fb;
  --orange-500: #f08a24;   /* ADR narandžasta (logo, table) */
  --orange-400: #e8954a;   /* naslov na vizit karti */
  --orange-600: #b85f0c;   /* tamnija narandžasta za tekst na beloj pozadini */
  --orange-50:  #fff4e8;
  --ink: #1b1a2b;
  --muted: #55536b;
  --line: #e2e0ee;
  --white: #ffffff;
  --bg: #fbfaf8;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(30, 26, 69, .06), 0 2px 8px rgba(30, 26, 69, .05);
  --shadow: 0 10px 30px -10px rgba(30, 26, 69, .25);
  --container: 1180px;
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-600); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--indigo-900);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--orange-500); color: var(--indigo-900); padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--white { background: var(--white); }
.section--tint { background: var(--indigo-50); }
.section--dark { background: var(--indigo-800); color: #e9e7f7; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a:not(.btn) { color: #ffd2a6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .9rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-600); font-weight: 500; margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange-500); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--orange-400); }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: #cfcbe9; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* Dugmad */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange-500); color: var(--indigo-900); box-shadow: 0 8px 20px -8px rgba(240, 138, 36, .7); }
.btn--primary:hover { background: #ff9c3a; color: var(--indigo-900); }
.btn--dark { background: var(--indigo-700); color: var(--white); }
.btn--dark:hover { background: var(--indigo-800); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--indigo-700); background: transparent; }
.btn--ghost:hover { background: var(--indigo-700); color: var(--white); border-color: var(--indigo-700); }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--white); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--white); color: var(--indigo-800); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Gornja traka */
.topbar { background: var(--indigo-900); color: #cfcbe9; font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: #e9e7f7; text-decoration: none; }
.topbar a:hover { color: var(--orange-400); }
.topbar__contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__contact svg { width: 15px; height: 15px; }
.topbar__news { color: var(--orange-400) !important; font-weight: 600; }

/* Zaglavlje */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--indigo-900); }
.brand img { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.brand__sub { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  font-family: var(--font-head); font-size: .98rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo-800); text-decoration: none; padding: .55rem .8rem; border-radius: 8px; position: relative;
}
.nav a:hover { color: var(--orange-600); }
.nav a[aria-current="page"] { color: var(--orange-600); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--orange-500); border-radius: 2px;
}
.nav .btn { margin-left: .6rem; padding: .6rem 1.2rem; color: var(--indigo-900); }
.nav .btn::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--indigo-800);
  border-radius: 8px;
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .topbar__news { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 60;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--white); padding: 90px 24px 24px; box-shadow: var(--shadow);
    transform: translateX(105%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav a { font-size: 1.15rem; padding: .85rem .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 1.2rem 0 0; border-radius: 999px; border-bottom: 0; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20, 17, 48, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 981px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 560px) {
  .topbar__contact .tb-mail span { display: none; }
  .brand__sub { display: none; }
  .brand img { width: 44px; height: 44px; }
}

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--indigo-900);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 26, 69, .96) 0%, rgba(42, 37, 96, .86) 45%, rgba(42, 37, 96, .35) 100%);
}
.hero .container { position: relative; padding-top: clamp(72px, 11vw, 140px); padding-bottom: clamp(72px, 11vw, 140px); }
.hero h1 { color: var(--white); max-width: 15ch; text-transform: uppercase; letter-spacing: .03em; }
.hero h1 small { display: block; font-size: .5em; color: var(--orange-400); letter-spacing: .14em; margin-top: .4em; }
.hero p { max-width: 58ch; color: #dedbf2; font-size: 1.15rem; }
.hero__labels { margin-top: 2.4rem; max-width: 520px; background: rgba(255, 255, 255, .95); border-radius: var(--radius); padding: 10px 14px; }
.hero--page .container { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero--page h1 { max-width: 22ch; }

/* Diagonalna ADR traka */
.hazard-stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--orange-500) 0 14px, var(--indigo-900) 14px 28px); }

/* Mreže i kartice */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); }
.card .btn, .card .link-arrow { margin-top: auto; align-self: flex-start; }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--orange-50); color: var(--orange-600); transform: rotate(45deg);
}
.card__icon svg { width: 26px; height: 26px; transform: rotate(-45deg); }
.card--accent { border-top: 4px solid var(--orange-500); }
.link-arrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--indigo-700); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--40 { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 860px) { .split, .split--40 { grid-template-columns: 1fr; } }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.media-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--orange-500); border-radius: var(--radius-lg); z-index: -1;
}
.media-frame--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }

.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.statement p { font-size: 1.2rem; color: var(--muted); }

.quote-band {
  border-left: 5px solid var(--orange-500); background: var(--white); padding: 28px 32px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--indigo-800); box-shadow: var(--shadow-sm);
}
.quote-band p:last-child { margin: 0; }

.cta-band {
  background: linear-gradient(120deg, var(--indigo-800), var(--indigo-700)); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; transform: rotate(45deg);
  border: 18px solid rgba(240, 138, 36, .22); border-radius: 26px;
}
.cta-band h2, .cta-band h3 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #d8d5ef; margin: 0; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.list-check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.list-check li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--orange-500); transform: rotate(45deg); border-radius: 3px;
}

.num-list { counter-reset: n; display: grid; gap: 16px; }
.num-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 82px; position: relative; }
.num-item::before {
  counter-increment: n; content: counter(n); position: absolute; left: 22px; top: 20px; width: 42px; height: 42px; border-radius: 10px;
  background: var(--indigo-700); color: var(--white); font-family: var(--font-head); font-size: 1.3rem; display: grid; place-items: center;
}
.num-item p { margin: 0; }

/* Dokumenti */
.doc-card { display: flex; gap: 20px; align-items: flex-start; }
.doc-card__icon { flex: none; width: 54px; height: 64px; border-radius: 8px; background: var(--indigo-700); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-size: .85rem; letter-spacing: .08em; position: relative; }
.doc-card__icon::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 14px 14px 0; border-style: solid; border-color: var(--bg) var(--bg) var(--orange-500) var(--orange-500); border-radius: 0 0 0 4px; }
.doc-card h3 { font-size: 1.25rem; margin-bottom: .2em; }
.doc-card .doc-tagline { color: var(--orange-600); font-weight: 600; font-size: .98rem; margin-bottom: .6em; }
.doc-card p { color: var(--muted); }
.doc-meta { font-size: .85rem; color: var(--muted); }

/* Forme */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--indigo-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #cfcce0; border-radius: 10px; padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-600); box-shadow: 0 0 0 4px rgba(79, 71, 160, .15); }
.req { color: var(--orange-600); }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-success { display: none; padding: 14px 18px; border-radius: 10px; background: #e8f6ee; color: #14532d; font-weight: 600; }
.form-success.is-visible { display: block; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); color: var(--ink); }
.hp-field { position: absolute; left: -9999px; }

.newsletter { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter .form { grid-template-columns: 1fr 1fr 1.3fr auto; align-items: end; }
@media (max-width: 1100px) { .newsletter .form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .newsletter .form { grid-template-columns: 1fr; } }
.newsletter .field label { color: #e9e7f7; }

/* Društvene mreže */
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--indigo-100); color: var(--indigo-700); transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--orange-500); color: var(--indigo-900); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.site-footer .social a { background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .social a:hover { background: var(--orange-500); color: var(--indigo-900); }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.contact-list a { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; font-weight: 600; color: var(--indigo-800); }
.contact-list svg { width: 20px; height: 20px; color: var(--orange-600); flex: none; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; position: relative; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo-100); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin-bottom: .5em; }
.post-card h2 a, .post-card h3 a { color: var(--indigo-900); text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .97rem; margin-bottom: 1em; }
.post-meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-card .link-arrow { margin-top: auto; }

.post-hero { background: var(--indigo-800); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(120px, 14vw, 180px); }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 24ch; }
.post-hero .post-meta { color: #cfcbe9; font-size: .95rem; }
.breadcrumb { font-size: .9rem; margin-bottom: 1.4rem; color: #cfcbe9; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-400); }
.post-cover { margin-top: calc(-1 * clamp(96px, 12vw, 150px)); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.prose { font-size: 1.1rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li > p { margin: 0 0 .3em; }
.prose ul li::marker { color: var(--orange-500); }
.prose ol li::marker { color: var(--indigo-700); font-weight: 700; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); margin: 0 auto; box-shadow: var(--shadow-sm); }
.prose blockquote { margin: 1.6em 0; border-left: 4px solid var(--orange-500); padding: .4em 0 .4em 1.2em; color: var(--indigo-800); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; vertical-align: top; }
.prose th { background: var(--indigo-50); }
.prose strong { color: var(--indigo-900); }
.prose a { color: var(--indigo-600); font-weight: 600; }

.author-box { display: flex; gap: 20px; align-items: center; background: var(--indigo-50); border-radius: var(--radius-lg); padding: 24px; margin-top: 48px; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; }
.author-box h2 { font-size: 1.25rem; margin: 0 0 .2em; }
.author-box p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 520px) { .author-box { flex-direction: column; text-align: center; } }

/* Podnožje */
.site-footer { background: var(--indigo-900); color: #c9c5e6; padding: 64px 0 0; font-size: .95rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #e9e7f7; text-decoration: none; }
.site-footer a:hover { color: var(--orange-400); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.15; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #a7a2cf; }

/* Animacije pri skrolovanju */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post-card, .post-card__img img { transition: none; }
}

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange-500); color: var(--indigo-900); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.form-error { padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #8a1c1c; font-weight: 600; margin: 0; }
.form-error[hidden] { display: none; }
