/* ==========================================================================
   Alekpharm d.o.o. — flat / clean design system (2026)
   Autor: redizajn. Jedan fajl, bez framework-a, bez jQuery zavisnosti.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeni
   -------------------------------------------------------------------------- */
:root {
  /* Brend */
  --brand:        #7fbd2e;
  --brand-600:    #6ca523;
  --brand-700:    #55801b;
  --brand-050:    #f3f9e9;
  --brand-100:    #e4f1cd;

  /* Neutrali */
  --ink:          #16211c;
  --ink-2:        #35443c;
  --muted:        #66756c;
  --line:         #e6ebe3;
  --line-2:       #f0f3ee;
  --surface:      #ffffff;
  --surface-2:    #f7faf4;
  --surface-3:    #eef3e9;
  --dark:         #16211c;
  --dark-2:       #1e2c25;

  /* Tipografija */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Radijusi i razmaci */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --container: 1200px;
  --gutter: 24px;

  /* Prelazi */
  --t: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-600); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand-100); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--surface-2); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   4. Tipografski helperi
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
}

.lead { font-size: 1.075rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--muted); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   5. Dugmad
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--dark-2); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: #d8e0d3; }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand-050); color: var(--ink); }

.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar-list a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 14px; height: 14px; opacity: .65; transition: opacity var(--t); }
.topbar-list a:hover svg { opacity: 1; }
@media (max-width: 860px) { .topbar-list--right { display: none; } }
@media (max-width: 560px) { .topbar-list li:nth-child(n+3) { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* NAPOMENA: bez backdrop-filter — on pravi containing block za position:fixed
     potomke, što bi „zarobilo“ off-canvas meni unutar headera. */
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: auto; max-height: 46px; }

.iso-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
}
.iso-strip img { max-height: 34px; width: auto; }
.iso-strip svg { width: 22px; height: 22px; color: var(--brand-600); flex: none; }
.iso-strip .iso-text {
  font-size: .68rem;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: .02em;
}
.iso-strip .iso-text strong { display: block; color: var(--ink); font-weight: 700; }
a.iso-strip:hover .iso-text strong { color: var(--brand-700); }
@media (max-width: 1180px) { .iso-strip { display: none; } }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: .94rem;
  font-weight: 600;
  transition: background var(--t), color var(--t);
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-050); }

.header-cta { flex: none; }
@media (max-width: 1080px) { .header-cta { display: none; } }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t), background var(--t);
}
.nav-toggle span:not(.sr-only)::before,
.nav-toggle span:not(.sr-only)::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t), top var(--t);
}
.nav-toggle span:not(.sr-only)::before { top: -6px; }
.nav-toggle span:not(.sr-only)::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span:not(.sr-only) { background: transparent; }
.nav-toggle[aria-expanded="true"] span:not(.sr-only)::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:not(.sr-only)::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    margin: 0;
    padding: 88px 20px 32px;
    background: #fff;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 240ms cubic-bezier(.4, 0, .2, 1), visibility 240ms;
    overflow-y: auto;
    z-index: 70;
  }
  .main-nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .main-nav .nav-extra { margin-top: 22px; display: grid; gap: 10px; }
}

.nav-extra { display: none; }
@media (max-width: 940px) { .nav-extra { display: grid; } }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 33, 28, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  z-index: 55;
}
.nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. Hero (početna)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
  padding-block: clamp(48px, 6vw, 92px);
}
.hero h1 { margin-bottom: 20px; font-size: clamp(1.9rem, 1.25rem + 2.1vw, 2.9rem); }
.hero p.lead { margin-bottom: 30px; max-width: 46ch; }

.hero-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border-radius: var(--r);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.hero-badge strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--brand-700); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { aspect-ratio: 16 / 10; }
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-facts svg { width: 17px; height: 17px; color: var(--brand-600); flex: none; }

/* --------------------------------------------------------------------------
   8. Page hero (podstrane)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(40px, 5vw, 68px);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 62ch; color: var(--muted); margin-bottom: 0; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: .84rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.breadcrumbs .sep { opacity: .5; }

/* --------------------------------------------------------------------------
   9. Kartice
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.card:hover { border-color: #d3ddca; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background: var(--brand-050);
  border-radius: var(--r-sm);
  color: var(--brand-700);
}
.card-icon svg { width: 23px; height: 23px; }

a.card { color: inherit; }
a.card:hover { color: inherit; }
a.card .card-more {
  margin-top: 16px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
a.card:hover .card-more { gap: 10px; }
a.card .card-more svg { width: 15px; height: 15px; transition: transform var(--t); }

/* Kartica sa slikom */
.media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  transition: border-color var(--t);
}
.media-card:hover { border-color: #cfdac6; color: inherit; }
.media-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(.4,0,.2,1); }
.media-card:hover img { transform: scale(1.04); }
.media-card .media-card-body { padding: 22px 24px 26px; }
.media-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.media-card p { margin: 0; font-size: .92rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. Lista sa kvačicama / tagovi
   -------------------------------------------------------------------------- */
.check-list { display: grid; gap: 12px; }
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .check-list.cols-2 { grid-template-columns: minmax(0, 1fr); } }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink-2);
}
.check-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  background: var(--brand-050);
  border-radius: 50%;
  color: var(--brand-700);
}

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list--links li { padding: 0; transition: border-color var(--t), background var(--t); }
.tag-list--links li:hover { border-color: var(--brand); background: #fff; }
.tag-list--links a { display: block; padding: 9px 16px; color: var(--ink-2); }
.tag-list--links li:hover a { color: var(--brand-700); }

.tag-list li {
  padding: 9px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   11. Split (tekst + slika)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.split--reverse .split-media { order: -1; }
.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: 0; }
}

/* --------------------------------------------------------------------------
   12. Statistika
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stats div { padding: 28px 24px; background: #fff; }
.stats strong {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stats span { font-size: .88rem; color: var(--muted); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   13. Brend porodica
   -------------------------------------------------------------------------- */
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  transition: border-color var(--t);
}
.brand-card:hover { border-color: #cfdac6; color: inherit; }
.brand-card img { max-width: 160px; margin-bottom: 20px; }
.brand-card p { font-size: .93rem; color: var(--muted); }
.brand-card .card-more { margin-top: 18px; font-weight: 700; color: var(--brand-700); font-size: .88rem; }

/* --------------------------------------------------------------------------
   14. Proizvodi
   -------------------------------------------------------------------------- */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: inherit;
  transition: border-color var(--t);
}
.product-card:hover { border-color: var(--brand); color: inherit; }
.product-card figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.product-card .thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(.4,0,.2,1); }
.product-card:hover img { transform: scale(1.05); }
.product-card figcaption {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}
.product-card .name { display: block; font-weight: 700; color: var(--ink); font-size: .98rem; }
.product-card .kind { display: block; margin-top: 3px; font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. CTA traka sa fotografijom
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 24, 19, .88) 0%, rgba(15, 24, 19, .62) 60%, rgba(15, 24, 19, .45) 100%);
  z-index: -1;
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 52ch; margin-bottom: 28px; }
.cta-band .eyebrow { color: #cfe8a4; }
.cta-band .eyebrow::before { background: #cfe8a4; }

/* --------------------------------------------------------------------------
   16. ISO sertifikati
   -------------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cert-grid a {
  display: block;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t);
}
.cert-grid a:hover { border-color: var(--brand); }
.cert-grid img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   17. Forme
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--brand-700); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa79f; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.form-note { font-size: .82rem; color: var(--muted); }

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
}
.form-msg.is-visible { display: block; }
.form-msg.success { background: var(--brand-050); color: var(--brand-700); border: 1px solid var(--brand-100); }
.form-msg.error   { background: #fdf1f1; color: #a3282a; border: 1px solid #f4d5d5; }

/* --------------------------------------------------------------------------
   18. Kontakt info
   -------------------------------------------------------------------------- */
.info-block { display: grid; gap: 22px; }
.info-item { display: flex; gap: 14px; }
.info-item .ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--brand-050);
  border-radius: var(--r-sm);
  color: var(--brand-700);
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-item h4 { margin: 0 0 3px; font-size: .95rem; }
.info-item p, .info-item ul { margin: 0; font-size: .93rem; color: var(--muted); }
.info-item a { color: var(--muted); }
.info-item a:hover { color: var(--brand-700); }

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   19. Prose (tekstualne strane)
   -------------------------------------------------------------------------- */
.prose { font-size: 1.02rem; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child,
.prose .eyebrow + h2 { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
}

.callout {
  padding: 24px 26px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: var(--r);
}
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .68);
  font-size: .92rem;
}
.site-footer h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
@media (max-width: 980px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: minmax(0, 1fr); } }

.footer-logo { max-height: 44px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }

.footer-list { display: grid; gap: 9px; }
.footer-contact { display: grid; gap: 7px; }
.footer-contact .lbl { color: rgba(255, 255, 255, .45); }

.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: .9rem;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .42); }
.newsletter-form input:focus { outline: none; border-color: var(--brand); }
.newsletter-form button {
  flex: none;
  padding: 12px 20px;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t);
}
.newsletter-form button:hover { background: var(--brand-600); }

.footer-iso { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-iso img { height: 46px; width: auto; background: #fff; padding: 4px; border-radius: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 20px; }

.social { display: flex; gap: 10px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .78);
  transition: background var(--t), color var(--t);
}
.social a:hover { background: var(--brand); color: #fff; }
.social svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   21. Nazad na vrh
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t);
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   22. Pomoćne klase
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.no-scroll { overflow: hidden; }

/* Blaga animacija pojavljivanja */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(.4, 0, .2, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .topbar, .site-header, .cta-band, .to-top, .site-footer { display: none !important; }
  body { color: #000; }
}
