/* =========================================================================
   site.css – javni izgled portala Vrijedi
   Boje: --navy (#001B4D) i --gold dolaze iz postavki (header.php)
   ========================================================================= */

:root {
  --navy: #001B4D;
  --navy-2: #0A2C6E;
  --navy-deep: #00112F;
  --gold: #F5B72E;
  --ink: #0D1B33;
  --soft: #4A5870;
  --on-navy: #C3D1EA;
  --mist: #EEF2F8;
  --line: #D9E0EB;
  --paper: #FFFFFF;
  --r-lg: 22px;
  --r-md: 14px;
  --wrap: 1200px;
  --ff-ui: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-text: 'Source Serif 4', Georgia, serif;
  --shadow: 0 1px 2px rgba(0, 17, 47, .06), 0 12px 32px -12px rgba(0, 17, 47, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ff-ui); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
svg[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ---------- Gumbi ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--ff-ui); font-weight: 650; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.button svg { width: 1.15em; height: 1.15em; flex: none; }
.button--gold { background: var(--gold); color: var(--navy); }
.button--gold:hover { background: #FFC94F; }
.button--navy { background: var(--navy); color: #fff; }
.button--navy:hover { background: var(--navy-2); }
.button--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.button--ghost:hover { border-color: #fff; }
.button--line { border-color: var(--line); color: var(--navy); background: #fff; }
.button--line:hover { border-color: var(--navy); }
.button--wa { background: #1FAF55; color: #fff; }
.button--wa:hover { background: #179447; }
.button--block { width: 100%; }

/* ---------- Zaglavlje ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy); color: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { max-height: 40px; width: auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-size: 1.45rem; font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.brand__name span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 550; font-size: .95rem; color: var(--on-navy);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.site-header__cta { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-header__cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px;
    background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .site-nav .site-nav__cta { display: flex; margin-top: 8px; }
}
@media (min-width: 901px) { .site-nav .site-nav__cta { display: none; } }

/* ---------- HERO (naslovnica) ---------- */
.hero { background: var(--navy); color: #fff; padding: 56px 0 0; overflow: hidden; position: relative; }
.hero::before {
  /* tiha topografska mreža – "karta" lokalnih mjesta */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(157, 183, 232, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: end; }
.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 750; letter-spacing: -.045em; line-height: .98;
  margin: 0; text-wrap: balance; max-width: 13ch;
}
.hero__aside { padding-bottom: 8px; }
.hero__text { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.55; color: var(--on-navy); max-width: 38ch; }
.hero__seal { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--on-navy); }
.hero__seal svg { width: 44px; height: 44px; flex: none; }
.hero__seal strong { color: #fff; display: block; font-weight: 650; }

.cat-links { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.cat-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 550;
}
.cat-links a:hover { border-color: var(--gold); }
.cat-links small { color: var(--gold); font-weight: 700; font-size: .8rem; }

/* Rotirajuća traka objava */
.reel { position: relative; margin-top: 44px; padding-bottom: 56px; }
.reel__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.reel__viewport.is-dragging { cursor: grabbing; }
.reel__track { display: flex; gap: 18px; width: max-content; padding: 0 24px; will-change: transform; }
.reel-card {
  position: relative; flex: none; width: 300px; height: 400px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-2); color: #fff; text-decoration: none; isolation: isolate;
}
.reel-card:nth-child(3n+2) { width: 380px; }
.reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.reel-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 17, 47, 0) 35%, rgba(0, 17, 47, .88) 100%); }
.reel-card:hover img, .reel-card:focus-visible img { transform: scale(1.04); }
.reel-card__badge {
  position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-size: .78rem; font-weight: 700;
}
.reel-card__body { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.reel-card__title { font-size: 1.28rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.reel-card__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .85rem; color: var(--on-navy); }
.reel-card__meta svg { width: 15px; height: 15px; flex: none; }
.reel__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.reel__hint { font-size: .85rem; color: var(--on-navy); }
.reel__buttons { display: flex; gap: 8px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero__top { grid-template-columns: 1fr; gap: 22px; }
  .reel-card, .reel-card:nth-child(3n+2) { width: 250px; height: 340px; }
  .reel__hint { display: none; }
}

/* ---------- Sekcije ---------- */
.section { padding: 80px 0; }
.section--mist { background: var(--mist); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.05; margin: 0; color: var(--navy); text-wrap: balance; }
.section-sub { margin: 10px 0 0; color: var(--soft); font-size: 1.05rem; max-width: 52ch; }

/* Filtar kategorija */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Kartice objava */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid, .grid--2 { grid-template-columns: 1fr; gap: 32px; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card[hidden] { display: none; }
/* Slika na kartici: viši okvir i uvijek cijela slika; prazan dio ispunjava zamućena ista slika */
.card__media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: var(--mist); isolation: isolate; }
.card__media::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--cover-bg, none) center / cover no-repeat; filter: blur(22px) saturate(1.15) brightness(.9); opacity: .9; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__seal { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; }
.card__badge { margin: 16px 0 6px; font-size: .82rem; font-weight: 650; color: var(--soft); }
.card__title { margin: 0; font-size: 1.28rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.card__excerpt { margin: 8px 0 0; color: var(--soft); font-size: .96rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .84rem; color: var(--soft); }
.card__meta svg { width: 15px; height: 15px; flex: none; color: var(--navy); }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--soft); }
.empty h2 { color: var(--navy); margin: 0 0 8px; }

/* Standard selekcije */
.standard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.standard__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.standard__list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.standard__list svg { width: 44px; height: 44px; }
.standard__list h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--navy); letter-spacing: -.015em; }
.standard__list p { margin: 0; color: var(--soft); }
@media (max-width: 860px) { .standard { grid-template-columns: 1fr; gap: 24px; } }

/* CTA traka */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: 48px; border-radius: 28px; background: var(--navy); color: #fff; position: relative; overflow: hidden;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.035em; line-height: 1.08; }
.cta-band p { margin: 0; color: var(--on-navy); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Zaglavlje objave (navy) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 36px 0 120px; position: relative; }
.page-hero--compact { padding-bottom: 56px; }
.page-hero--nocover { padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 26px; padding: 0; list-style: none; font-size: .88rem; color: var(--on-navy); }
.crumbs a { color: var(--on-navy); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.page-hero__label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .9rem; font-weight: 600; color: var(--gold); }
.page-hero__label svg { width: 22px; height: 22px; }
.page-hero h1 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.02; max-width: 20ch; text-wrap: balance; }
.page-hero__lede { margin: 18px 0 0; font-size: 1.15rem; line-height: 1.55; color: var(--on-navy); max-width: 60ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .9rem; color: var(--on-navy); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero__meta svg { width: 16px; height: 16px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 34px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.facts > div { padding: 18px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.facts dt { font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 1.05rem; font-weight: 600; }
.facts dd a { color: #fff; text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }
.facts dd small { display: block; font-size: .85rem; font-weight: 400; color: var(--on-navy); margin-top: 2px; }
@media (max-width: 720px) {
  .facts > div + div { padding-left: 0; border-left: 0; }
  .facts > div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
}

.cover { margin-top: -88px; position: relative; }
/* Naslovna slika: uvijek cijela (bez rezanja); prazan prostor sa strane ispunjava zamućena ista slika */
.cover__frame { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--mist); isolation: isolate; }
.cover__frame::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--cover-bg) center / cover no-repeat; filter: blur(30px) saturate(1.15) brightness(.9); opacity: .9; }
.cover__frame img { display: block; width: 100%; height: auto; max-height: min(82vh, 820px); object-fit: contain; }
.cover--contain img { object-fit: contain; background: #fff; max-height: 560px; }

/* ---------- Tijelo objave ---------- */
.article { padding-top: 56px; padding-bottom: 24px; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.article__layout--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.article__main { min-width: 0; max-width: 760px; }
.article__aside { position: sticky; top: 96px; display: grid; gap: 18px; }
@media (max-width: 1020px) {
  .article__layout { grid-template-columns: 1fr; gap: 36px; }
  .article__aside { position: static; order: -1; }
  .article__aside .toc { display: none; }
}

.toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); }
.toc h2 { margin: 0 0 10px; font-size: .95rem; color: var(--navy); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 0; text-decoration: none; font-size: .9rem; line-height: 1.35; color: var(--soft); border-top: 1px solid var(--mist); }
.toc li:first-child a { border-top: 0; }
.toc a::before { content: counter(toc); font-weight: 700; color: var(--navy); font-size: .8rem; padding-top: 1px; }
.toc a:hover, .toc a.is-active { color: var(--navy); }
.toc a.is-active { font-weight: 650; }

.contact-card { padding: 24px; border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.contact-card h2 { margin: 0 0 4px; font-size: 1.2rem; letter-spacing: -.02em; }
.contact-card > p { margin: 0 0 18px; color: var(--on-navy); font-size: .92rem; }
.contact-card__actions { display: grid; gap: 8px; }
.contact-card__list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: .9rem; }
.contact-card__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--on-navy); }
.contact-card__list svg { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.contact-card__list a { color: #fff; text-decoration: none; word-break: break-word; }
.contact-card__list a:hover { text-decoration: underline; }

/* Galerija */
.gallery { margin: 48px 0 0; }
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.gallery__head h2 { margin: 0; font-size: 1.4rem; color: var(--navy); letter-spacing: -.02em; }
.gallery__buttons { display: flex; gap: 8px; }
.gallery__buttons .icon-btn { border-color: var(--line); color: var(--navy); }
.gallery__buttons .icon-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--mist); }
.gallery__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery__item { flex: none; width: min(78%, 520px); margin: 0; scroll-snap-align: start; }
.gallery__item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__item figcaption { margin-top: 8px; font-size: .85rem; color: var(--soft); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 12, 34, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 60px 70px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 10px; }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: .95rem; }
.lightbox .icon-btn { position: absolute; background: rgba(0, 17, 47, .6); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__inner { padding: 60px 12px; } }

/* Karta */
.map-block { margin: 56px 0 0; }
.map-block__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.map-block__head h2 { margin: 0; font-size: 1.4rem; color: var(--navy); letter-spacing: -.02em; }
.map-block__head p { margin: 4px 0 0; color: var(--soft); }
.map-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 7; min-height: 320px; border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 5; } }

/* Kontakt box na dnu predstavljanja */
.booking { margin: 56px 0 0; padding: 40px; border-radius: 26px; background: var(--mist); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.booking h2 { margin: 0 0 8px; font-size: 1.7rem; color: var(--navy); letter-spacing: -.03em; }
.booking p { margin: 0; color: var(--soft); max-width: 58ch; }
.booking__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .booking { grid-template-columns: 1fr; padding: 28px 22px; } }

.disclaimer { margin: 28px 0 0; font-size: .85rem; color: var(--soft); max-width: 70ch; }

/* Povezane objave */
.related { padding: 72px 0 88px; margin-top: 64px; background: var(--mist); }

/* Mobilna traka za poziv */
.call-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; gap: 8px;
  padding: 8px; border-radius: 999px; background: var(--navy); box-shadow: 0 10px 30px rgba(0, 17, 47, .35);
}
.call-bar .button { flex: 1; padding: .75em 1em; }
@media (max-width: 760px) { .call-bar { display: flex; } body.has-call-bar { padding-bottom: 76px; } }

/* ---------- Kontakt stranica ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-details li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; font-size: .85rem; font-weight: 600; color: var(--soft); margin-bottom: 4px; }
.contact-details a, .contact-details strong { font-size: 1.15rem; font-weight: 650; color: var(--navy); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.form { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 27, 77, .15); }
.field textarea { min-height: 150px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.form__note { margin: 14px 0 0; font-size: .82rem; color: var(--soft); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 550; }
.alert--ok { background: #E3F5EA; color: #135C33; }
.alert--err { background: #FDECEC; color: #8A1C1C; }
@media (max-width: 860px) { .contact-layout, .form__row { grid-template-columns: 1fr; gap: 28px; } .form { padding: 22px; } }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: .95rem; color: #fff; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--on-navy); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin: 16px 0 0; max-width: 40ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom a { color: var(--on-navy); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Odabir jezika (HR / EN) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; flex: none; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.lang-switch a, .lang-switch span { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; text-decoration: none; color: var(--on-navy); }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch span[aria-current] { background: var(--gold); color: var(--navy); }
.site-header__inner > .site-nav + .lang-switch { margin-left: -12px; }
@media (max-width: 900px) {
  .site-header__inner > .lang-switch, .site-header__inner > .site-nav + .lang-switch { order: 1; margin-left: auto; }
  .site-header__inner > .nav-toggle { order: 2; margin-left: 0; }
  .site-header__inner { gap: 12px; }
}
