/* ===== CSS VARIJABLE — plava/narandžasta paleta (fiskalizacija RS) ===== */
:root {
  --blue:         #1a4f8c;
  --blue-dark:    #0f3564;
  --blue-light:   #e6eef8;
  --navy:         #0d2d5a;
  --navy-dark:    #081e3f;
  --navy-light:   #e8edf5;
  --steel:        #2e6da4;
  --steel-dark:   #1e4d7a;
  --steel-light:  #edf3f9;
  --orange:       #e85d26;
  --orange-dark:  #c04a1a;
  --orange-light: #fdf0eb;
  --teal:         #1a7c6c;
  --teal-light:   #e4f3f0;
  --bg:           #f0f4f8;
  --text:         #0d1b2e;
  --text-muted:   #3d5270;
  --text-light:   #7a93b0;
  --border:       #ccd6e4;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 18px rgba(0,0,0,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: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  isolation: isolate;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-main {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue);
  letter-spacing: -.01em;
}
.nav-logo-sub {
  font-family: var(--font-b);
  font-weight: 600;
  font-size: .68rem;
  color: var(--text-light);
  letter-spacing: .02em;
}
.nav-links { display: flex; gap: 1.1rem; list-style: none; }
.nav-links a { font-size: .83rem; font-weight: 600; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }

/* ===== 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: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 99;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
.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(--blue); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #060f1e 0%, #0d2246 45%, #07132b 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 15% 55%, rgba(26,79,140,.25) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(46,109,164,.18) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(15,53,100,.30) 0%, transparent 60%);
  pointer-events: none;
}
/* Circuit board pattern decoration */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0px,
    var(--orange) 40px,
    transparent 40px,
    transparent 60px
  );
  opacity: .6;
}
.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(232,93,38,.18);
  border: 1px solid rgba(232,93,38,.4);
  color: #ffaa7e;
  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: #7eb8e8; }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 640px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  max-width: 580px;
}
.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: #7eb8e8;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
  font-weight: 600;
}

/* ===== HERO IMAGE ===== */
.hero-image-wrap {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #071225;
}
.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 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(--blue);
  margin-bottom: .5rem;
}
.section-tag.blue   { color: var(--blue); }
.section-tag.navy   { color: var(--navy); }
.section-tag.steel  { color: var(--steel); }
.section-tag.orange { color: var(--orange); }
.section-tag.teal   { color: var(--teal); }
.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: 680px; }

.section-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 1rem 0 0;
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--blue-light);
  border: 1.5px solid rgba(26,79,140,.2);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.info-box-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.info-box-text { font-size: .86rem; color: #0d1e3a; line-height: 1.6; }
.info-box-text strong { font-weight: 700; }

/* ===== ALERT BOX (OFS upozorenje) ===== */
.alert-box {
  background: #fff8f5;
  border: 1.5px solid rgba(232,93,38,.35);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.alert-box-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.alert-box-text { font-size: .86rem; color: #3a1a0a; line-height: 1.6; }
.alert-box-text strong { color: var(--orange-dark); font-weight: 700; }

/* ===== OFS CARD (poseban dizajn za jedini operater) ===== */
.ofs-card {
  background: linear-gradient(135deg, #0d2246 0%, #1a4f8c 100%);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(126,184,232,.3);
  padding: 1.6rem;
  box-shadow: 0 6px 28px rgba(26,79,140,.25);
  color: white;
  margin-bottom: 2rem;
  position: relative;
  overflow: visible;
}
.ofs-card::before {
  content: 'JEDINI ODOBRENI OPERATER';
  position: absolute;
  top: 1rem;
  right: -2.2rem;
  background: var(--orange);
  color: white;
  font-family: var(--font-d);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: .3rem 3rem;
  transform: rotate(12deg);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ofs-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.ofs-card h3 {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .35rem;
  color: white;
}
.ofs-card .ofs-subtitle {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .85rem;
}
.ofs-meta-row {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  margin-bottom: .4rem;
  flex-wrap: wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ofs-meta-row a { color: #7eb8e8; font-weight: 600; }
.ofs-meta-row a:hover { color: white; text-decoration: underline; }
.ofs-prices {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.ofs-prices h4 {
  font-family: var(--font-d);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.55);
  margin-bottom: .7rem;
}
.ofs-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .83rem;
  gap: .75rem;
}
.ofs-price-row:last-child { border-bottom: none; }
.ofs-price-label { color: rgba(255,255,255,.7); }
.ofs-price-val   { font-weight: 700; color: #ffaa7e; white-space: nowrap; }
.ofs-phone-btns  { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.ofs-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--orange);
  color: white;
  font-family: var(--font-b);
  font-size: .82rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 9px;
  transition: background .2s;
  white-space: nowrap;
}
.ofs-phone-btn:hover { background: var(--orange-dark); }
.ofs-phone-btn.secondary {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}
.ofs-phone-btn.secondary:hover { background: rgba(255,255,255,.22); }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.filter-buttons {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.filter-label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.filter-btn {
  border: 2px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-family: var(--font-b);
  font-size: .84rem;
  font-weight: 600;
  padding: .42rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-btn:hover  { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: white; }
.search-wrap { position: relative; flex-shrink: 0; }
.search-wrap input {
  border: 2px solid var(--border);
  background: white;
  border-radius: 20px;
  padding: .42rem 1rem .42rem 2.25rem;
  font-family: var(--font-b);
  font-size: .84rem;
  outline: none;
  width: 220px;
  transition: border-color .2s;
  color: var(--text);
}
.search-wrap input:focus { border-color: var(--steel); }
.search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 14px;
  height: 14px;
  pointer-events: none;
}

/* ===== NO RESULTS ===== */
.no-results {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
}
.no-results.show { display: block; }

/* ===== CONTENT SECTIONS ===== */
.content-section { margin-bottom: .5rem; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1rem;
}
.salon-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.salon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}
.card-badges { display: flex; gap: .3rem; flex-wrap: wrap; }
.badge {
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 9px;
  font-family: var(--font-d);
  white-space: nowrap;
}

/* Badge types */
.badge-esir        { background: var(--blue-light);   color: var(--blue-dark); }
.badge-hardver     { background: var(--navy-light);   color: var(--navy-dark); }
.badge-cijene      { background: #fff8f0;              color: #8c4a00; }
.badge-ugostiteljstvo { background: var(--teal-light); color: #0d4d42; }
.badge-enterprise  { background: #f0eef8;              color: #4a2d8c; }
.badge-medical     { background: #e8f8f0;              color: #0d5c30; }
.badge-cloud       { background: #e8f0fb;              color: #1a3a7a; }
.badge-ecommerce   { background: #fde8f5;              color: #7a0d4a; }
.badge-vending     { background: #fdf5e0;              color: #7a5c00; }
.badge-distributer { background: var(--steel-light);  color: var(--steel-dark); }

.card-title {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .1rem;
}
.card-desc { font-size: .855rem; color: var(--text-muted); line-height: 1.55; }

.card-meta { display: flex; flex-direction: column; gap: .3rem; }
.meta-row {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.meta-icon { flex-shrink: 0; font-size: .82rem; margin-top: 1px; line-height: 1.5; }

.card-tags { display: flex; flex-wrap: wrap; gap: .28rem; }
.tag {
  font-size: .67rem;
  font-weight: 600;
  padding: .15rem .48rem;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Istaknuta cijena na kartici */
.card-price-badge {
  background: var(--orange-light);
  border: 1px solid rgba(232,93,38,.25);
  border-radius: 8px;
  padding: .3rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange-dark);
  white-space: nowrap;
  font-family: var(--font-d);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--bg);
}
.entity-type {
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-light);
}
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--blue);
  color: white;
  font-family: var(--font-b);
  font-size: .8rem;
  font-weight: 700;
  padding: .42rem .85rem;
  border-radius: 9px;
  transition: background .2s;
  white-space: nowrap;
  min-height: 36px;
}
.phone-btn:hover { background: var(--blue-dark); }

.phone-stack {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-end;
}
.phone-inline {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== KORACI FISKALIZACIJE ===== */
.steps-wrap {
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.step-item {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.1rem 1.3rem 1.1rem 4.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: step-counter;
}
.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item h4 {
  font-family: var(--font-d);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}
.step-item p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.step-item a { color: var(--blue); font-weight: 600; }
.step-item a:hover { text-decoration: underline; }

/* ===== PRICE TABLE ===== */
.price-table-wrap {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  overflow-x: auto;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  font-family: var(--font-b);
}
.price-table th {
  background: #edf2f8;
  font-family: var(--font-d);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: .65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.price-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--bg);
  vertical-align: top;
  color: var(--text);
  line-height: 1.5;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--bg); }
.price-table .pt-service { font-weight: 600; color: var(--text); }
.price-table .pt-range   { color: var(--text-muted); font-size: .8rem; }
.price-table .pt-avg     { font-weight: 700; color: var(--blue); white-space: nowrap; }
.price-table .pt-orange  { font-weight: 700; color: var(--orange); white-space: nowrap; }
.price-table .pt-group   {
  background: #edf2f8;
  font-family: var(--font-d);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--blue);
  padding: .4rem 1rem;
  border-bottom: 1px solid var(--border);
}

/* ===== MAP ===== */
.map-wrap {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.map-legend {
  display: flex;
  gap: 1.25rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #edf2f8;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.legend-dot   { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.ld-esir      { background: var(--blue); }
.ld-ofs       { background: var(--orange); }
.ld-hardver   { background: var(--steel); }

#map { height: 460px; }
.map-note {
  padding: .7rem 1.25rem;
  font-size: .77rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  background: #edf2f8;
}

/* ===== SAVJETI ===== */
.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(--blue-light); }
.ti-2 { background: var(--navy-light); }
.ti-3 { background: var(--orange-light); }
.ti-4 { background: var(--steel-light); }
.ti-5 { background: var(--teal-light); }
.ti-6 { background: #f0eef8; }
.ti-7 { background: #e8f8f0; }
.ti-8 { background: #fff8e8; }
.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; }

/* ===== DJELATNOSTI GRID ===== */
.djelatnosti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .85rem;
  margin-bottom: 3rem;
}
.djelatnost-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.djelatnost-icon { font-size: 1.8rem; margin-bottom: .45rem; }
.djelatnost-card h4 { font-family: var(--font-d); font-size: .88rem; font-weight: 700; margin-bottom: .3rem; }
.djelatnost-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

/* ===== 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(--blue); }
.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(--blue); }
.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;
}

/* ===== 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(--blue); color: var(--blue); }

/* ===== 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(--blue); 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: #7eb8e8; }
.footer-copy { font-size: .76rem; }

/* ===== SCROLL MARGIN ===== */
#ofs, #esir, #hardver, #mapa, #cijene, #savjeti, #fiskalizacija, #faq {
  scroll-margin-top: 70px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-stats        { grid-template-columns: repeat(2, 1fr); }
  .hero-image-wrap   { max-height: 240px; }
  .hero-image        { height: 240px; }
  .nav-links         { display: none; }
  .hamburger         { display: flex; }
  .filter-bar        { flex-direction: column; align-items: stretch; gap: .75rem; }
  .filter-buttons    { flex-wrap: wrap; gap: .4rem; }
  .search-wrap       { width: 100%; }
  .search-wrap input { width: 100%; }
  .cards-grid        { grid-template-columns: 1fr; }
  .tips-grid         { grid-template-columns: 1fr; }
  .djelatnosti-grid  { grid-template-columns: repeat(2, 1fr); }
  .section-header    { margin: 2rem 0 1.25rem; }
  .section-header h2 { font-size: 1.45rem; }
  .map-legend        { gap: .75rem; }
  #map               { height: 320px; }
  .price-table th,
  .price-table td    { padding: .5rem .65rem; font-size: .78rem; }
  .filter-btn    { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: .5rem 1rem; }
  .phone-btn     { min-height: 44px; padding: .55rem .9rem; font-size: .82rem; }
  .share-btn     { min-height: 44px; padding: .55rem 1rem; }
  .card-footer   { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .phone-inline, .phone-stack { width: 100%; align-items: flex-start; justify-content: flex-start; }
  .phone-btn     { width: 100%; justify-content: center; }
  .ofs-card-inner { grid-template-columns: 1fr; }
  .ofs-card::before { display: none; }
  .ofs-card { padding: 1.2rem; }
  .ofs-phone-btns { flex-direction: column; }
  .ofs-phone-btn { width: 100%; justify-content: center; }
  .ofs-prices { margin-top: .5rem; }
  .ofs-price-row { flex-wrap: wrap; }
  .ofs-price-val { margin-left: auto; }
  .step-item { padding-left: 3.8rem; }
}

@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.4rem; }
  .stat-label    { font-size: .65rem; }
  .section-header h2 { font-size: 1.3rem; }
  .meta-row      { word-break: break-word; }
  .card-title    { font-size: .98rem; }
  .hero-image-wrap { max-height: 180px; }
  .hero-image    { height: 180px; }
  .djelatnosti-grid { grid-template-columns: 1fr; }
}
