/* Juršetić & Aleksovski — stilovi weba (tokeni iz 03_DIZAJN_SUSTAV) */
:root {
  --aj-ivory: #F9F4EE; --aj-white: #FFFCF8;
  --aj-gold: #B47A32; --aj-gold-light: #D6B190; --aj-gold-dark: #956225;
  --aj-black: #100D0A; --aj-brown: #332718;
  --aj-ink: #192231; --aj-muted: #686665; --aj-border: #E7D9C8;
  --aj-font-headings: "Valeria", Georgia, "Times New Roman", serif;
  --aj-font-body: "Zilla Slab", Georgia, serif;
  --aj-font-ui: "Helvetica Neue", Arial, sans-serif;
  --aj-h1: clamp(40px, 5.2vw, 72px); --aj-h2: clamp(29px, 3vw, 42px);
  --aj-h3: clamp(21px, 2vw, 27px); --aj-body: 18px;
  --aj-hero: linear-gradient(105deg, #080706 0%, #332718 33%, #C49567 62%, #17100B 100%);
  --aj-footer: linear-gradient(110deg, #050403 0%, #3B281A 35%, #B98451 54%, #100C09 85%, #030303 100%);
  --wrap: 1280px; --gutter: clamp(20px, 5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--aj-ivory); color: var(--aj-ink);
  font: 400 var(--aj-body)/1.62 var(--aj-font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--aj-gold-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--aj-gold); }
h1, h2, h3, h4 { font-family: var(--aj-font-headings); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: var(--aj-h1); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: var(--aj-h2); line-height: 1.15; }
h3 { font-size: var(--aj-h3); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--aj-gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--aj-ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }
.rule { display: block; width: 64px; height: 2px; background: var(--aj-gold); margin-bottom: 22px; }
.eyebrow { font: 500 14px/1.3 var(--aj-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--aj-gold); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; }
.muted { color: var(--aj-muted); }

/* Gumbi */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 12px 28px;
  border: 1px solid var(--aj-gold); color: var(--aj-gold-dark); background: transparent;
  font: 500 13px/1.2 var(--aj-font-ui); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--aj-gold); color: #fff; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn.back:hover svg { transform: translateX(-4px); }
.btn.on-dark { color: var(--aj-white); border-color: var(--aj-gold-light); }
.btn.solid { background: var(--aj-gold); color: #fff; }
.btn.solid:hover { background: var(--aj-gold-dark); border-color: var(--aj-gold-dark); }
.more { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1.2 var(--aj-font-ui); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--aj-gold-dark); }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
a:hover .more svg, .more:hover svg { transform: translateX(4px); }

/* Zaglavlje */
.site-header { background: var(--aj-white); border-bottom: 1px solid var(--aj-border); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--aj-ink); margin-right: auto; flex-shrink: 0; }
.brand img { height: 76px; width: auto; margin: 0 -14px 0 -18px; }
.brand-text { text-align: center; line-height: 1.15; }
.brand-name { display: block; font: 600 21px/1.1 var(--aj-font-body); color: var(--aj-gold); white-space: nowrap; }
.brand-sub { display: block; font: 500 11.5px/1.25 var(--aj-font-body); color: var(--aj-ink); }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); }
.nav ul { display: flex; gap: clamp(12px, 1.5vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav a { font: 500 12.5px/1.2 var(--aj-font-ui); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--aj-ink); padding: 10px 0; display: block; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--aj-gold-dark); }
.nav a[aria-current="page"] { border-bottom-color: var(--aj-gold); }
.nav .lang { gap: 14px; margin-left: clamp(4px, 1.2vw, 20px); }
.nav .lang [aria-current="true"] { color: var(--aj-gold); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; color: var(--aj-ink); background: none; border: 0; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle { display: none; }
@media (max-width: 1260px) {
  .nav-toggle { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--aj-white); border-bottom: 1px solid var(--aj-border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 15px; padding: 14px 0; border-bottom: 1px solid var(--aj-border); }
  .nav a[aria-current="page"] { color: var(--aj-gold-dark); border-bottom-color: var(--aj-border); }
  .nav .lang { flex-direction: row; gap: 24px; margin: 0; }
  .nav .lang a { border: 0; }
  .nav > .icon-btn { display: none; }
}
@media (max-width: 480px) { .brand img { height: 52px; } .brand-name { font-size: 17px; } .brand-sub { font-size: 10px; } .site-header .wrap { min-height: 72px; } }

/* Hero */
.hero { background: var(--aj-hero); color: var(--aj-white); position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--aj-gold-light); display: block; }
.hero p { max-width: 560px; }
.hero .sub { font-size: clamp(19px, 2vw, 25px); line-height: 1.35; }
.hero.has-img { background: #080706; }
.hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) var(--pos, center right) / cover no-repeat; }
.hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #080706 0%, #080706 33%, rgba(20,14,9,.86) 43%, rgba(51,39,24,.4) 56%, rgba(51,39,24,0) 72%); }
.hero.plain .hero-copy { max-width: 900px; }
.hero.plain p { max-width: 860px; }
@media (min-width: 900px) { .hero.has-img::before { left: 30%; } }
@media (max-width: 899px) { .hero.has-img::after { background: linear-gradient(180deg, rgba(8,7,6,.82), rgba(40,30,18,.78)); } }
.hero-home .wrap { min-height: min(640px, 78vh); display: flex; flex-direction: column; justify-content: center; }
.hero-home .btn { margin-top: 12px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; margin-top: 44px; }
.badges > * { padding: 0 34px; border-left: 1px solid rgba(214,177,144,.55); min-height: 58px; display: flex; align-items: center; }
.badges > :first-child { padding-left: 0; border-left: 0; }
.badge-brand { gap: 8px; color: var(--aj-white); }
.badges img { width: auto; max-width: none; }
.badge-brand img { height: 84px; }
.badge-brand .brand-name { font-size: 22px; font-weight: 500; }
.badge-brand .brand-sub { color: var(--aj-white); font-size: 13px; }
.badge-l500 img { height: 96px; border-radius: 2px; }
/* bijela podloga originalnog logotipa postaje prozirna na tamnoj pozadini */
.badge-vis img { height: 130px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
@media (max-width: 640px) { .badges > * { padding: 0 18px; } .badges { row-gap: 18px; } }
.crumbs { position: absolute; right: var(--gutter); bottom: 22px; font: 400 14px var(--aj-font-ui); color: #fff; }
.crumbs a { color: #fff; text-decoration: none; } .crumbs span { color: var(--aj-gold-light); margin: 0 8px; }
@media (max-width: 899px) { .crumbs { display: none; } }

/* Trake s prednostima */
.strip { background: var(--aj-white); border-bottom: 1px solid var(--aj-border); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 26px; }
.strip-item { padding: 6px 28px; border-left: 1px solid var(--aj-gold-light); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-num { font: 400 38px/1 var(--aj-font-headings); color: var(--aj-gold); margin-bottom: 10px; }
.strip-item h3 { font-size: 24px; margin-bottom: 6px; }
.strip-item p { margin: 0; font-size: 16.5px; color: var(--aj-ink); }
.strip.icons .strip-item { display: flex; align-items: center; gap: 18px; }
.strip.icons svg { width: 42px; height: 42px; color: var(--aj-gold); flex-shrink: 0; }
.strip.icons strong { display: block; font-weight: 500; }
.strip.icons span { color: var(--aj-muted); }
@media (max-width: 960px) { .strip .wrap { grid-template-columns: 1fr 1fr; row-gap: 26px; } .strip-item:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .strip .wrap { grid-template-columns: 1fr; } .strip-item { border-left: 0; padding-left: 0; } }

/* CTA + podnožje */
.cta { background: var(--aj-footer); color: var(--aj-white); }
.cta .wrap { display: flex; align-items: center; gap: 40px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 2.9vw, 40px); margin-right: auto; max-width: 15em; }
.cta p { margin: 12px 0 0; max-width: 26em; }
.cta-contacts { display: grid; gap: 6px; margin-top: 16px; font-size: 17px; }
.cta-contacts a { color: var(--aj-white); display: inline-flex; gap: 12px; align-items: center; }
.cta-contacts svg { width: 20px; height: 20px; color: var(--aj-gold-light); }
.cta-motto { border-left: 1px solid var(--aj-gold-light); padding-left: 48px; margin-left: 16px; color: var(--aj-gold-light); font-size: 20px; line-height: 1.5; }
@media (max-width: 760px) { .cta-motto { border: 0; padding: 0; margin: 0; } .cta-motto br { display: none; } }
.site-footer { background: #030303; color: #b9b1a8; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.site-footer a { color: #d9cfc3; text-decoration: none; margin-left: 22px; } .site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--aj-gold-light); }

/* Sekcije */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-head { margin-bottom: 36px; max-width: 820px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--aj-muted); font-size: 20px; margin: 0; }

/* O nama */
.about-row { display: grid; grid-template-columns: 90px 320px 1fr; gap: 0 28px; padding: 44px 0; border-bottom: 1px solid var(--aj-border); align-items: start; }
.about-row:last-child { border-bottom: 0; }
.about-num { font: 400 26px/1.4 var(--aj-font-headings); color: var(--aj-gold); }
.about-row h2 { font-size: clamp(30px, 3vw, 40px); }
.about-row h2::before { content: ""; display: block; width: 40px; height: 2px; background: var(--aj-gold); margin-bottom: 18px; }
.about-row p:last-child { margin-bottom: 0; }
.about-logo { display: flex; gap: 20px; align-items: flex-start; }
.about-logo { flex-direction: column; gap: 24px; }
.about-logo img { width: min(100%, 420px); height: auto; flex-shrink: 0; }
@media (max-width: 900px) { .about-row { grid-template-columns: 48px 1fr; } .about-row > div:last-child { grid-column: 2; margin-top: 18px; } .about-logo img { width: 90px; } }

/* Tim */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 24px; }
.member { text-decoration: none; color: var(--aj-ink); display: block; }
.member .photo { aspect-ratio: 3 / 4; background: #222226; overflow: hidden; margin-bottom: 22px; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.member:hover .photo img { transform: scale(1.03); }
.member h3 { font-size: 24px; margin: 0 0 20px; }
.member h3::before { content: ""; display: block; width: 52px; height: 2px; background: var(--aj-gold); margin-bottom: 18px; }
.member .role { display: block; color: var(--aj-muted); font-size: 16px; margin: -12px 0 20px; }
.member .btn { min-height: 42px; padding: 10px 18px; font-size: 12px; }
.member:hover .btn { background: var(--aj-gold); color: #fff; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

/* Profil */
.hero-profile { background: linear-gradient(180deg, #100D0A 0%, #2a1c14 45%, #68472D 100%); }
.hero-profile .wrap { padding-top: 44px; padding-bottom: 40px; }
.hero-profile h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 8px; }
.hero-profile .role { font: 400 clamp(19px, 2vw, 24px) var(--aj-font-headings); color: #f1e3d3; margin: 0; }
.hero-profile .eyebrow { color: var(--aj-gold-light); letter-spacing: .3em; }
.profile { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.profile-photo { aspect-ratio: 460 / 624; background: #26272b; border: 2px solid var(--aj-gold-light); overflow: hidden; margin-bottom: 26px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-block { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--aj-gold-light); }
.profile-block h2 { font-size: 29px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; }
.profile-block h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--aj-gold); margin-bottom: 16px; }
.profile-block ul { list-style: none; margin: 0; padding: 0; }
.profile-block li { position: relative; padding: 4px 0 4px 33px; }
.profile-block li::before { content: "–"; position: absolute; left: 3px; color: var(--aj-gold); font-weight: 600; }
.profile-block a { color: var(--aj-ink); }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 460px; } }

/* Kartice državljanstva */
.cit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cit-card { background: var(--aj-white); border: 1px solid var(--aj-border); text-align: center; padding: 0 0 20px; font: inherit; color: var(--aj-ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: border-color .2s, box-shadow .2s; }
.cit-card:hover, .cit-card[aria-pressed="true"] { border-color: var(--aj-gold); box-shadow: 0 10px 28px -18px rgba(51,39,24,.6); }
.cit-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.cit-card .ico { width: 40px; height: 40px; color: var(--aj-gold); margin: 20px 0 10px; }
.cit-card strong { font: 400 18px/1.25 var(--aj-font-headings); padding: 0 12px; min-height: 2.5em; display: flex; align-items: center; }
.cit-card small { color: var(--aj-muted); font-size: 14px; margin: 6px 0 14px; }
.cit-card .arr { width: 20px; height: 20px; color: var(--aj-gold); margin-top: auto; }
@media (max-width: 1100px) { .cit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cit-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 44px; scroll-margin-top: 110px; }
.feature img { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: center 35%; }
.feature h2 { margin-bottom: 8px; }
.feature .art { font-size: 19px; margin-bottom: 18px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Online usluge */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { display: grid; grid-template-columns: 38% 1fr; background: var(--aj-white); border: 1px solid var(--aj-border); }
.svc img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.svc div { padding: 18px 20px; display: flex; flex-direction: column; }
.svc h3 { font-size: 22px; margin-bottom: 10px; }
.svc p { font-size: 16px; line-height: 1.45; color: var(--aj-muted); }
.svc .more { margin-top: auto; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }
.recog { background: #F3EBE1; }
.recog .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.recog .wrap > div { padding: 8px 40px; border-left: 1px solid var(--aj-gold-light); }
.recog .wrap > div:first-child { border: 0; padding-left: 0; }
.recog img { height: 96px; width: auto; mix-blend-mode: multiply; margin-bottom: 16px; }
.recog p { margin: 0; }
@media (max-width: 900px) { .recog .wrap { grid-template-columns: 1fr; gap: 32px; } .recog .wrap > div { border: 0; padding: 0; } }
.steps-sec { background: linear-gradient(105deg, #080706 0%, #241a11 40%, #5a3f28 70%, #17100B 100%); color: var(--aj-white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 32px 0 0; }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; left: 44px; right: -28px; top: 21px; height: 1px; background: var(--aj-gold); }
.steps li:last-child::before { display: none; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--aj-gold); border-radius: 50%; font: 400 18px var(--aj-font-headings); margin-bottom: 16px; position: relative; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { font-size: 16px; margin: 0; color: #e9dfd3; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 16.5px; margin: 0 0 6px; }
.form .field { margin-bottom: 20px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: 400 17px var(--aj-font-body); color: var(--aj-ink); background: var(--aj-white);
  border: 1px solid var(--aj-border); border-radius: 0; padding: 11px 14px; min-height: 46px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--aj-gold); box-shadow: 0 0 0 3px rgba(180,122,50,.18); }
.form .consent { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.45; margin: 4px 0 26px; }
.form .consent input { width: 20px; height: 20px; accent-color: var(--aj-gold); margin-top: 2px; flex-shrink: 0; }
.form-note { margin-top: 16px; font-size: 16px; color: var(--aj-gold-dark); min-height: 1.5em; }
.loc h2 { font-size: 30px; margin: 26px 0 12px; }
.loc h3 { font-size: 23px; margin: 0 0 14px; }
.loc address { font-style: normal; display: flex; gap: 16px; margin-bottom: 22px; line-height: 1.4; }
.loc svg { width: 24px; height: 24px; color: var(--aj-gold); flex-shrink: 0; }
.loc hr { border: 0; border-top: 1px solid var(--aj-border); margin: 26px 0; }
.loc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.loc li { display: flex; gap: 16px; align-items: center; }
.map { background: #F3EBE1; display: grid; grid-template-columns: 1fr 2.1fr; align-items: center; }
.map > div { padding: clamp(24px, 3vw, 40px); }
.map h2 { font-size: clamp(27px, 2.6vw, 34px); margin-bottom: 14px; }
.map img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .map { grid-template-columns: 1fr; } }

/* Publikacije i područja rada */
.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; margin-bottom: 30px; }
.filters button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; font: 400 16px var(--aj-font-body); color: var(--aj-muted); cursor: pointer; }
.filters button:hover { color: var(--aj-ink); }
.filters button[aria-pressed="true"] { color: var(--aj-gold-dark); border-bottom-color: var(--aj-gold); }
.post-search { margin-left: auto; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--aj-gold-light); min-width: 230px; }
.post-search svg { width: 18px; height: 18px; color: var(--aj-ink); }
.post-search input { border: 0; background: none; font: 400 16px var(--aj-font-body); padding: 9px 0; width: 100%; color: var(--aj-ink); }
.post-search input:focus { outline: 0; }
.post-search:focus-within { border-bottom-color: var(--aj-gold); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin-bottom: 16px; }
.post .meta { font: 400 11.5px/1.3 var(--aj-font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--aj-muted); margin-bottom: 8px; }
.post .meta span { color: var(--aj-gold); margin: 0 10px; }
.post h3 { font-size: 23px; margin-bottom: 8px; }
.post p { color: var(--aj-muted); font-size: 16.5px; line-height: 1.45; }
.empty { color: var(--aj-muted); padding: 30px 0; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .post-search { margin-left: 0; width: 100%; } }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area { background: var(--aj-white); border: 1px solid var(--aj-border); padding: 26px 26px 22px; }
.area h3 { font-size: 23px; margin-bottom: 12px; }
.area h3::before { content: ""; display: block; width: 36px; height: 2px; background: var(--aj-gold); margin-bottom: 16px; }
.area p { font-size: 16px; color: var(--aj-muted); margin: 0; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.hero.has-img:not(.hero-home) h1 { font-size: clamp(36px, 4.2vw, 58px); }
@media (max-width: 640px) { .badge-brand { display: none !important; } .badges > :nth-child(2) { padding-left: 0; border-left: 0; } }

/* WordPress */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.entry { max-width: 780px; }
.entry h2 { font-size: 30px; margin: 1.4em 0 .5em; } .entry h3 { margin: 1.3em 0 .4em; }
.entry img { height: auto; margin: 1.2em 0; }
.entry blockquote { margin: 1.4em 0; padding-left: 22px; border-left: 2px solid var(--aj-gold); font-size: 20px; }
.entry-meta { font: 400 12px/1.3 var(--aj-font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--aj-gold-light); margin: 0 0 14px; }
.form .hp { position: absolute; left: -9999px; }
.form-note.ok { color: #2f6b3a; } .form-note.err { color: #a3352a; }
.hero-article h1, .single-post .hero h1 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.18; }
.entry-meta { color: var(--aj-muted); }
.entry { overflow-wrap: break-word; }
.entry li { margin-bottom: .4em; }
.post h3 { font-size: 21px; overflow-wrap: break-word; }
.post > a:first-child { display: block; }
.loc address strong { font-weight: 500; } .loc address a { color: var(--aj-ink); text-decoration: none; }

/* ── Korekcije (studeni 2026.) ── */
.badges > * { min-height: 96px; }
@media (max-width: 640px) { .badge-l500 img { height: 76px; } .badge-vis img { height: 100px; } }
/* Jednaki naslovi i visina zaglavlja na svim unutarnjim stranicama */
.hero:not(.hero-home):not(.hero-article):not(.hero-profile) h1 { font-size: clamp(36px, 4.2vw, 58px); }
.hero:not(.hero-home):not(.hero-profile) .wrap { padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 72px); }
.hero .sub { max-width: 560px; }
.strip + .section { padding-top: clamp(40px, 5vw, 64px); }
.intro { padding-bottom: clamp(32px, 4vw, 48px); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.intro-grid h2 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 16px; }
.intro-text { max-width: 860px; }
.intro-text p:not(.lead) { color: var(--aj-ink); }
.intro a, .entry a { color: var(--aj-gold-dark); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 7px; border-left: 2px solid var(--aj-gold); border-bottom: 2px solid var(--aj-gold); transform: rotate(-45deg); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.basis { margin-top: 28px; background: var(--aj-white); border: 1px solid var(--aj-gold-light); padding: clamp(24px, 3vw, 40px); scroll-margin-top: 110px; }
.basis h2 { margin-bottom: 6px; }
.basis .art { color: var(--aj-gold-dark); font-size: 17px; margin-bottom: 16px; }
.basis .desc { max-width: 900px; }
.basis-cta { font-weight: 500; max-width: 900px; }
.area { scroll-margin-top: 110px; }
.area:target { border-color: var(--aj-gold); box-shadow: 0 10px 28px -18px rgba(51,39,24,.6); }
.area .area-note { font-size: 15px; margin: -4px 0 12px; font-style: italic; }
.profile-bio p { margin: 0; }
.entry-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.faq h2 { font-size: clamp(23px, 2.2vw, 28px); margin: 1.6em 0 .5em; }
.faq ul, .service ul { padding-left: 1.2em; }
.faq li, .service li { margin-bottom: .45em; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.service .entry { max-width: none; }
.service-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service-img { max-width: 360px; order: -1; } }
.hero-home .hero-copy { max-width: 780px; }
.hero-home .hero-copy > h1, .hero-home .hero-copy > p { max-width: 600px; }
.hero-home .badges { flex-wrap: nowrap; }
@media (max-width: 860px) { .hero-home .badges { flex-wrap: wrap; } }
.area h3 a { color: inherit; text-decoration: none; }
.area h3 a:hover { color: var(--aj-gold-dark); }
.area .more { margin-top: 14px; }
.area-people { background: var(--aj-white); border: 1px solid var(--aj-border); padding: 24px 26px; }
.area-people h2 { font-size: 22px; margin-bottom: 12px; }
.area-people h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--aj-gold); margin-bottom: 14px; }
.area-people ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.area-people a { color: var(--aj-ink); }
.area-text > :first-child { margin-top: 0; }
/* Online usluge: viši hero i centrirana slika da se vidi što više */
.hero-online .wrap { min-height: clamp(360px, 38vw, 480px); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .hero-online.has-img::before { left: 22%; } .hero-online.has-img::after { background: linear-gradient(90deg, #080706 0%, #080706 25%, rgba(20,14,9,.8) 36%, rgba(51,39,24,.25) 50%, rgba(51,39,24,0) 62%); } }
/* Vodič za preuzimanje (Hrvatsko državljanstvo) */
.guide-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border: 1px solid var(--aj-gold-light, #c9a46a); background: #FBF7F1; }
.guide-box h2 { margin: 6px 0 10px; }
.guide-box p:last-child { margin: 0; max-width: 640px; }
.guide-box .btn { flex-shrink: 0; }
.guide-box .muted-s { opacity: .75; font-size: .85em; }
@media (max-width: 760px) { .guide-box { flex-direction: column; align-items: flex-start; padding: 28px 22px; } }
.site-footer a.foot-privacy { margin-left: 18px; padding-left: 18px; border-left: 1px solid #3a3530; }
.page-plain .entry { margin-left: auto; margin-right: auto; }
/* O nama: fotografija tima u zaglavlju — širina slike vezana uz visinu zaglavlja, pa se na svakom ekranu vide sva lica */
.hero-about { --h: clamp(420px, 40vw, 760px); }
.hero-about .wrap { min-height: var(--h); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) {
  .hero-about.has-img::before { left: auto; right: 0; width: min(58%, calc(var(--h) * 1.4)); background-position: center 12%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
  .hero-about.has-img::after { display: none; }
  .hero-about .hero-copy { max-width: 520px; }
}
/* Početna: najnoviji članci */
.latest { padding-bottom: 24px; }
.latest-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.latest-head h2 { margin: 0; }
.latest-posts { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.latest-posts .post h3 { font-size: 20px; }
.latest-posts .post p:not(.meta) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1100px) { .latest-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .latest-posts { grid-template-columns: 1fr; } .latest-head { flex-direction: column; align-items: flex-start; } }
/* Početna: Google recenzije */
.reviews { background: #F3EBE1; }
.reviews-head { display: flex; align-items: flex-end; justify-content: flex-start; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-score strong span { font-size: .45em; color: var(--aj-muted); margin-left: 2px; }
.reviews-head h2 { margin: 6px 0 0; }
.reviews-score { display: flex; align-items: center; gap: 16px; }
.reviews-score strong { font: 400 56px/1 var(--aj-font-headings); color: var(--aj-ink, #1f1d1b); }
.reviews-score small { display: block; color: var(--aj-muted); font-size: 15px; margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; color: #E0A43A; }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: #d8cfc4; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.review { background: #fff; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.review p { margin: 0; font-size: 16px; line-height: 1.55; color: #3d3833; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; font-size: 14.5px; }
.review footer img { width: 36px; height: 36px; border-radius: 50%; }
.review footer span { display: block; color: var(--aj-muted); font-size: 13px; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.reviews .g-note { color: var(--aj-muted); font-size: 13px; text-align: right; margin: 18px 0 0; }
/* Zastavice uz HR / EN */
.nav .lang a { display: inline-flex; align-items: center; gap: 7px; }
.nav .lang .flag { width: 20px; height: 14px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.12); border-radius: 2px; }
/* Jezik u zaglavlju na mobitelu i tabletu (izvan izbornika) */
.lang-bar { display: none; list-style: none; margin: 0; padding: 0; gap: 14px; align-items: center; }
.lang-bar a { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--aj-font-ui); letter-spacing: .04em; text-decoration: none; color: var(--aj-ink); padding: 8px 0; }
.lang-bar a[aria-current="true"] { color: var(--aj-gold); }
.lang-bar .flag { width: 22px; height: 15px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.12); border-radius: 2px; }
@media (max-width: 1260px) {
  .lang-bar { display: flex; }
  .nav .lang { display: none; }
  .site-header .wrap { gap: 14px; }
}
@media (max-width: 420px) { .lang-bar { gap: 10px; } .lang-bar a { font-size: 0; gap: 0; } .lang-bar .flag { width: 24px; height: 16px; } }
.lang-bar a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--aj-gold); }
/* Obavijest o kolačićima */
.ck-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--aj-white); border-top: 3px solid var(--aj-gold); box-shadow: 0 -12px 40px rgba(16,13,10,.18); }
.ck-bar-in { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter); display: flex; gap: 28px 48px; align-items: center; }
.ck-copy { flex: 1 1 auto; }
.ck-title { font-size: 22px; line-height: 1.25; margin-bottom: 6px; color: var(--aj-ink); }
.ck-bar p, .ck-dialog p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--aj-ink); }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 0 0 auto; }
.ck-bar .ck-actions { flex-direction: column; align-items: stretch; width: 210px; }
.ck-btn { justify-content: center; min-width: 170px; }
.ck-link { background: none; border: 0; padding: 8px 4px; font: 500 13px/1.2 var(--aj-font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--aj-gold-dark); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ck-link:hover { color: var(--aj-gold); }
.ck-modal { position: fixed; inset: 0; z-index: 1001; background: rgba(16,13,10,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
html.ck-open { overflow: hidden; }
.ck-dialog { position: relative; background: var(--aj-white); max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-top: 3px solid var(--aj-gold); }
.ck-dialog > p { margin-bottom: 18px; }
.ck-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--aj-muted); cursor: pointer; padding: 4px 8px; }
.ck-cat { border-top: 1px solid var(--aj-border); padding: 16px 0; }
.ck-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 4px; font: 600 15px/1.3 var(--aj-font-ui); cursor: default; }
label.ck-cat-head { cursor: pointer; }
.ck-always { font: 500 12px/1.2 var(--aj-font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--aj-gold-dark); }
.ck-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ck-switch span { position: absolute; inset: 0; border-radius: 13px; background: #cfc6bb; transition: background .2s; pointer-events: none; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.ck-switch input:checked + span { background: var(--aj-gold); }
.ck-switch input:checked + span::after { transform: translateX(20px); }
.ck-switch input:focus-visible + span { outline: 2px solid var(--aj-gold-dark); outline-offset: 2px; }
.ck-dialog .ck-actions { border-top: 1px solid var(--aj-border); padding-top: 20px; }
.ck-dialog .ck-btn { flex: 1 1 0; }
.site-footer a.foot-cookies { margin-left: 18px; padding-left: 18px; border-left: 1px solid #3a3530; }
@media (max-width: 860px) {
  .ck-bar-in { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
  .ck-bar .ck-actions { width: auto; flex-direction: row; }
  .ck-bar .ck-btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .ck-bar .ck-link { width: 100%; }
  .ck-bar p { font-size: 14px; }
  .ck-dialog { padding: 26px 20px 22px; }
}
@media (max-width: 640px) {
  .site-footer a.foot-privacy, .site-footer a.foot-cookies { margin-left: 12px; padding-left: 12px; }
}
.site-footer a.foot-privacy, .site-footer a.foot-cookies { white-space: nowrap; }
