/* ===== CSS VARIJABLE ===== */
:root {
  --forest:       #2e7d4f;
  --forest-dark:  #1b5e3a;
  --forest-light: #e2f2e8;
  --sky:          #2a7fa8;
  --sky-dark:     #1d5f80;
  --sky-light:    #e0eff7;
  --amber:        #c98a2d;
  --amber-dark:   #94621c;
  --amber-light:  #faeed9;
  --viber:        #7360f2;
  --viber-dark:   #5a48d6;
  --bg:           #f6faf7;
  --text:         #1f2d24;
  --text-muted:   #5c6e62;
  --text-light:   #93a398;
  --border:       #e2ebe4;
  --shadow-sm:    0 1px 3px rgba(20,45,30,0.06);
  --shadow-md:    0 4px 16px rgba(20,45,30,0.10);
  --radius:       12px;
  --radius-lg:    18px;
  --font-d: 'Baloo 2', sans-serif;
  --font-b: 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-d);
  color: var(--forest);
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
  white-space: nowrap;
}
.nav-logo .logo-main { font-weight: 800; font-size: .98rem; color: var(--forest); letter-spacing: .005em; }
.nav-logo .logo-sub  { font-weight: 600; font-size: .65rem; color: var(--text-muted); letter-spacing: .06em; text-transform: lowercase; }
.nav-logo:hover .logo-main { color: var(--forest-dark); }
.nav-links { display: flex; gap: 1.25rem; list-style: none; align-items: center; }
.nav-links a { font-size: .86rem; font-weight: 600; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--forest); }
.nav-links a.nav-cta {
  background: var(--viber);
  color: white;
  padding: .35rem .85rem;
  border-radius: 18px;
  font-family: var(--font-d);
  font-weight: 700;
  transition: background .2s;
}
.nav-links a.nav-cta:hover { background: var(--viber-dark); color: white; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background .2s;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 1099;
}
.mobile-menu.open { display: block; }
.mobile-menu ul   { list-style: none; padding: .4rem 0; }
.mobile-menu li a {
  display: block;
  padding: .85rem 1.5rem;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  border-bottom: 1px solid var(--bg);
  transition: background .15s, color .15s;
}
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu li a:hover { background: var(--bg); color: var(--forest); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #14301f 0%, #1d3a2a 45%, #15292e 100%);
  color: white;
  padding: 3.5rem 1.5rem 2.75rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(46,125,79,.20) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42,127,168,.14) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; }

.breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color .2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { opacity: .35; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(140,212,170,.16);
  border: 1px solid rgba(140,212,170,.4);
  color: #bfe3cd;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-family: var(--font-d);
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(1.85rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: .85rem;
}
.hero h1 span { color: #bfe3cd; }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.74);
  max-width: 660px;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  max-width: 640px;
}
.stat-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: .85rem .75rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-d);
  font-size: 1.65rem;
  font-weight: 800;
  color: #bfe3cd;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
  font-weight: 600;
}

/* ===== DUGMAD ===== */
.btn-viber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--viber);
  color: white;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .92rem;
  padding: .65rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(115,96,242,.35);
  transition: background .2s, transform .15s;
}
.btn-viber:hover { background: var(--viber-dark); transform: translateY(-1px); }
.btn-viber.btn-sm { font-size: .8rem; padding: .42rem .9rem; border-radius: 9px; box-shadow: none; }
.btn-viber.btn-lg { font-size: 1.02rem; padding: .8rem 1.8rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .92rem;
  padding: .65rem 1.4rem;
  border-radius: 12px;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.45); }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: white;
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .8rem;
  padding: .4rem .9rem;
  border-radius: 9px;
  transition: border-color .2s, color .2s;
}
.btn-ghost-dark:hover { border-color: var(--amber); color: var(--amber-dark); }

/* ===== HERO IMAGE ===== */
.hero-image-wrap {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #1d3a2a;
}
.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.section-header { margin: 3rem 0 1.5rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--forest);
  margin-bottom: .5rem;
}
.section-tag.sky   { color: var(--sky-dark); }
.section-tag.amber { color: var(--amber-dark); }
.section-header h2 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .45rem;
}
.section-header p { color: var(--text-muted); font-size: .94rem; max-width: 660px; }

/* ===== POSTUPAK (3 KORAKA) ===== */
.postupak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-bottom: 3rem;
}
.postupak-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.postupak-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--forest);
}
.postupak-card.pc-sky::before   { background: var(--sky); }
.postupak-card.pc-amber::before { background: var(--amber); }
.postupak-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
}
.postupak-head .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--forest-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.postupak-card.pc-sky   .postupak-head .ico { background: var(--sky-light); }
.postupak-card.pc-amber .postupak-head .ico { background: var(--amber-light); }
.postupak-head h3 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.postupak-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.postupak-list li {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 1.4rem;
  position: relative;
}
.postupak-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--forest);
  font-weight: 800;
}
.postupak-card.pc-sky   .postupak-list li::before { color: var(--sky); }
.postupak-card.pc-amber .postupak-list li::before { color: var(--amber); }

/* ===== STALNI TERMINI ===== */
.termini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.15rem;
  margin-bottom: 3rem;
}
.termin-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.termin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.termin-day {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .85rem 1.25rem;
  color: white;
}
.tc-forest .termin-day { background: var(--forest); }
.tc-sky    .termin-day { background: var(--sky); }
.tc-amber  .termin-day { background: var(--amber); }
.termin-dan {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .08em;
}
.termin-vrijeme {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
}
.termin-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.termin-body h3 {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.termin-desc { font-size: .855rem; color: var(--text-muted); line-height: 1.55; }
.termin-meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .79rem;
  color: var(--text-muted);
  margin-top: auto;
}
.termin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .8rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.termin-status { font-size: .76rem; font-weight: 700; font-family: var(--font-d); }
.st-aktivno { color: var(--forest-dark); }
.st-uskoro  { color: var(--text-light); }
.tc-uskoro  { opacity: .92; }
.tc-uskoro.tc-amber .termin-day { background: repeating-linear-gradient(45deg, var(--amber), var(--amber) 12px, #b97f27 12px, #b97f27 24px); }
.tc-uskoro.tc-sky   .termin-day { background: repeating-linear-gradient(45deg, var(--sky),   var(--sky)   12px, #1d5f80 12px, #1d5f80 24px); }

/* ===== MAP ===== */
.map-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}
.map-legend {
  padding: .7rem 1.25rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: #fafcfa;
}
.legend-item { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--text-muted); }
.legend-dot  { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.ld-forest { background: var(--forest); }
.ld-sky    { background: var(--sky); }
.ld-amber  { background: var(--amber); }
#map { height: 460px; z-index: 1; }
.map-note {
  padding: .7rem 1.25rem;
  font-size: .77rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  background: #fafcfa;
}
.map-note a { color: var(--forest); font-weight: 700; }
.map-note a:hover { text-decoration: underline; }

/* Popup dugme unutar Leaflet popupa */
.popup-btn {
  display: inline-block;
  margin-top: .45rem;
  background: var(--forest);
  color: white !important;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  padding: .32rem .7rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}
.popup-btn:hover { background: var(--forest-dark); }

/* ===== PRAVILA / TIPS ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-bottom: 3rem;
}
.tip-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.tip-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ti-1 { background: var(--forest-light); }
.ti-2 { background: var(--sky-light);  }
.ti-3 { background: var(--amber-light); }
.ti-4 { background: var(--forest-light); }
.ti-5 { background: var(--sky-light); }
.ti-6 { background: var(--amber-light); }
.tip-content h3 { font-family: var(--font-d); font-size: .93rem; font-weight: 700; margin-bottom: .25rem; }
.tip-content p  { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }

/* ===== SIGURNOST ===== */
.safety-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 3rem;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 1.4rem;
}
.safety-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.safety-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--forest-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.safety-item p { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
.safety-item strong { color: var(--text); }
.disclaimer {
  padding: 1.2rem 1.4rem;
  background: var(--amber-light);
  border-top: 1px solid var(--border);
}
.disclaimer h3 {
  font-family: var(--font-d);
  font-size: .95rem;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: .35rem;
}
.disclaimer p { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 3rem; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-family: var(--font-d);
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .15s;
}
.faq-q:hover      { background: var(--bg); }
.faq-q.open       { color: var(--forest); }
.faq-arrow {
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  transition: transform .3s;
}
.faq-q.open .faq-arrow { transform: rotate(45deg); color: var(--forest); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner {
  padding: 0 1.2rem 1rem;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== DONJI CTA ===== */
.bottom-cta {
  background: linear-gradient(135deg, #14301f 0%, #1d3a2a 60%, #15292e 100%);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
}
.bottom-cta h3 {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.bottom-cta p {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

/* ===== SHARE ===== */
.share-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}
.share-box h3 { font-family: var(--font-d); font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.share-box p  { font-size: .84rem; color: var(--text-muted); margin-bottom: 1rem; }
.share-btns   { display: flex; gap: .55rem; justify-content: center; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: 9px;
  font-size: .81rem; font-weight: 700;
  cursor: pointer; border: 2px solid transparent;
  transition: all .2s; font-family: var(--font-b);
}
.s-fb    { background: #1877f2; color: white; }
.s-fb:hover    { background: #0d65d8; }
.s-viber { background: #665cac; color: white; }
.s-viber:hover { background: #5046a0; }
.s-wa    { background: #25d366; color: white; }
.s-wa:hover    { background: #1db954; }
.s-copy  { background: white; color: var(--text); border-color: var(--border); }
.s-copy:hover  { border-color: var(--forest); color: var(--forest); }

/* ===== UPDATE NOTE ===== */
.update-note {
  display: block;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: .85rem 1.2rem;
  margin-bottom: 3rem;
  font-size: .81rem;
  color: var(--text-muted);
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}
.update-note a { color: var(--forest); font-weight: 700; }
.update-note a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.55);
  padding: 2rem 1.5rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.footer-links a { color: rgba(255,255,255,.7); font-size: .83rem; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: #bfe3cd; }
.footer-copy { font-size: .76rem; }

/* ===== UVOD SEKCIJA ===== */
.uvod-section {
  margin: 2.5rem 0 0;
}
.uvod-inner {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2rem 2rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.uvod-text .section-tag { margin-bottom: .5rem; }
.uvod-text h2 {
  font-family: var(--font-d);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.uvod-text p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.uvod-text p:last-child { margin-bottom: 0; }
.uvod-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.uvod-stat {
  background: var(--forest-light);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.uvod-num {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--forest-dark);
  line-height: 1;
}
.uvod-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.4;
}

/* ===== KARTICA ZA TELEFON ===== */
.kartica-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.kartica-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kartica-card {
  width: 280px;
  background: #f6faf7;
  border-radius: 20px;
  border: 2px solid #2e7d4f;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.kartica-top {
  background: var(--forest);
  padding: 12px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kartica-title {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 18px;
  color: white;
  line-height: 1;
}
.kartica-sub {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: 2px;
}
.kartica-badge-top {
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 4px 10px;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  color: white;
}
.kartica-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.kartica-tagline {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
}
.kartica-tagline span { color: var(--forest); }
.kartica-emoji {
  font-size: 72px;
  line-height: 1;
  text-align: center;
}
.kartica-divider {
  width: 100%;
  border: none;
  border-top: 1.5px dashed #c0d4c6;
  margin: 0;
}
.kartica-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  align-items: center;
}
.kartica-pill {
  background: var(--forest-light);
  color: var(--forest-dark);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  text-align: center;
}
.kartica-pill.kp-viber {
  background: #eeecfe;
  color: #3d2fa0;
}
.kartica-footer-note {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}
.kartica-url {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  color: var(--forest);
}
.kartica-upute {
  padding-top: .25rem;
}
.kartica-upute h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .85rem;
}
.upute-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 0;
  counter-reset: uputa;
}
.upute-list li {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 2rem;
  position: relative;
  counter-increment: uputa;
}
.upute-list li::before {
  content: counter(uputa);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  background: var(--forest);
  color: white;
  border-radius: 50%;
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upute-list li strong { color: var(--text); }

/* ===== SCROLL MARGIN ===== */
#uvod, #kako, #termini, #kartica, #mapa, #pravila, #sigurnost, #faq {
  scroll-margin-top: 70px;
}


/* ===== STATUSNA TRAKA ===== */
.status-bar {
  background: var(--sky-light);
  color: var(--sky-dark);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .88rem;
  text-align: center;
}
.status-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .55rem 1.5rem;
}
.status-bar.st-ok       { background: var(--forest-light); color: var(--forest-dark); }
.status-bar.st-otkazano { background: #fdeaea; color: #a33030; }

/* ===== ODBROJAVANJE (HERO) ===== */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: #eaf5ee;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .88rem;
  padding: .4rem .95rem;
  border-radius: 20px;
  margin: 0 0 1rem;
}
.countdown .cd-ico { font-size: 1rem; }

/* ===== PROGNOZA NA TERMIN KARTICI ===== */
.prognoza {
  margin-top: .75rem;
  background: var(--sky-light);
  color: var(--sky-dark);
  border-radius: 9px;
  padding: .5rem .8rem;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
}
.prognoza strong { font-weight: 800; }

/* ===== ALATI NA TERMIN KARTICI ===== */
.termin-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .76rem;
  padding: .38rem .75rem;
  border-radius: 9px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.tool-btn:hover {
  border-color: var(--forest);
  color: var(--forest-dark);
  background: var(--forest-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-image-wrap   { max-height: 180px; }
  .hero-image        { height: 180px; }
  .kartica-wrap      { grid-template-columns: 1fr; }
  .kartica-preview   { width: 100%; }
  .kartica-card      { width: 100%; max-width: 320px; }
  .uvod-inner        { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.4rem; }
  .uvod-stats        { flex-direction: row; flex-wrap: wrap; }
  .uvod-stat         { flex: 1; min-width: 140px; }
  .hero-stats        { grid-template-columns: repeat(2, 1fr); }
  .nav-links         { display: none; }
  .hamburger         { display: flex; }
  .postupak-grid     { grid-template-columns: 1fr; }
  .termini-grid      { grid-template-columns: 1fr; }
  .tips-grid         { grid-template-columns: 1fr; }
  .safety-grid       { grid-template-columns: 1fr; }
  .section-header    { margin: 2rem 0 1.25rem; }
  .section-header h2 { font-size: 1.45rem; }
  .map-legend        { gap: .75rem; }
  #map               { height: 340px; }

  .btn-viber, .btn-ghost { min-height: 48px; width: 100%; }
  .btn-viber.btn-sm, .btn-ghost-dark.btn-sm { min-height: 44px; width: 100%; }
  .share-btn   { min-height: 44px; padding: .55rem 1rem; }
  .termin-footer { flex-direction: column; align-items: stretch; }
  .termin-status { text-align: left; }
  .countdown     { font-size: .8rem; padding: .38rem .8rem; }
  .tool-btn      { min-height: 40px; flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .hero          { padding: 2.25rem 1rem 2rem; }
  .container     { padding: 0 1rem; }
  .hero h1       { font-size: 1.65rem; }
  .hero-sub      { font-size: .92rem; }
  .stat-num      { font-size: 1.3rem; }
  .stat-label    { font-size: .65rem; }
  .section-header h2 { font-size: 1.3rem; }
  .termin-vrijeme { font-size: 1.15rem; }
  .nav-logo .logo-main { font-size: .85rem; }
  .nav-logo .logo-sub  { font-size: .58rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
