/* =========================================================
   FISKOM — Moderan responsive sajt
   ========================================================= */
:root {
  --blue-900: #0a2540;
  --blue-700: #114e8c;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --blue-50:  #e9f2fc;
  --accent:   #ff7a18;
  --accent-d: #e96706;
  --ink:      #16202c;
  --muted:    #5b6b7c;
  --line:     #e3e8ef;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fc;
  --ok:       #1ca97a;
  --radius:   14px;
  --radius-sm:10px;
  --shadow:   0 10px 30px rgba(13, 38, 76, .10);
  --shadow-sm:0 4px 14px rgba(13, 38, 76, .08);
  --maxw:     1180px;
  --font:     "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--blue-900); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,122,24,.30); }
.btn--primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--blue-700); }
.btn--blue { background: var(--blue-600); color: #fff; }
.btn--blue:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--blue-700); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-700); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-900); color: #cfe0f3;
  font-size: .9rem;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #cfe0f3; }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.topbar__info span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(13,38,76,.04);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 1.25rem; letter-spacing: -1px;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-weight: 900; font-size: 1.4rem; color: var(--blue-900); letter-spacing: .5px; line-height: 1; }
.brand__sub { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: .55rem .9rem; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .98rem;
}
.menu a:hover, .menu a.active { color: var(--blue-700); background: var(--blue-50); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  position: relative; z-index: 70;
}
.burger span { width: 22px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1b6fd0 0%, transparent 60%),
              linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 80px 0; }
.hero h1 { color: #fff; }
.hero h1 span { color: #ffd9b8; }
.hero p { color: #d8e6f7; font-size: 1.18rem; max-width: 36ch; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .5px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px);
}
.hero__card h3 { color: #fff; margin-bottom: 1rem; }
.hero__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hero__list li { display: flex; gap: .7rem; align-items: flex-start; color: #eaf2fc; }
.hero__list .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 900; }

/* ---------- Stat bar ---------- */
.stats { background: var(--blue-900); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; text-align: center; }
.stat b { display: block; font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; }
.stat span { color: #9fc0e6; font-size: .95rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center; font-size: 1.6rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }

/* section heading */
.sec-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.sec-head .kicker { color: var(--accent); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .82rem; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Services list (chips) ---------- */
.svc-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.svc-list li { break-inside: avoid; display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.svc-list li::before { content: "✓"; color: var(--ok); font-weight: 900; flex: none; }

/* ---------- Brand strip ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .6rem 1.4rem; font-weight: 800; color: var(--blue-900); letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Products ---------- */
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod__img {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--blue-50), #fff);
  display: grid; place-items: center; color: var(--blue-600); position: relative;
}
.prod__img .glyph { font-size: 3.4rem; }
.prod__tag {
  position: absolute; top: 12px; left: 12px; background: var(--blue-900); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; letter-spacing: .5px;
}
.prod__body { padding: 20px; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.prod__body h3 { margin: 0; }
.prod__body p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.prod__cat { font-size: .8rem; color: var(--blue-600); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* category pills */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cat {
  display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center;
  padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s;
}
.cat:hover { transform: translateY(-4px); border-color: var(--blue-500); color: var(--blue-700); }
.cat .emoji { font-size: 2rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff; padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; opacity:.5; }
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: #d8e6f7; position: relative; max-width: 60ch; margin: .5rem auto 0; }
.crumbs { position: relative; font-size: .9rem; color: #9fc0e6; margin-bottom: .8rem; }
.crumbs a { color: #cfe0f3; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(4,1fr); counter-reset: step; }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; box-shadow: 0 6px 16px rgba(255,122,24,.4);
}
.step h3 { margin-top: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-size: 1.4rem; }
.info-row b { display: block; color: var(--blue-900); }
.info-row a, .info-row span { color: var(--muted); }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form label { font-weight: 700; font-size: .9rem; color: var(--blue-900); margin-bottom: -8px; }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--bg-soft); transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), #ff9e4d);
  color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff3e9; max-width: 50ch; margin: 0 auto 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #b9cde4; padding: 60px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .5px; }
.footer a { color: #b9cde4; display: block; padding: .25rem 0; }
.footer a:hover { color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #91aacb; margin-top: .8rem; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .88rem; color: #7e98ba; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; padding: 56px 0; }
  .grid-4, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .menu {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(82vw, 340px); height: 100vh; height: 100dvh; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: .2rem; z-index: 60;
    background: #ffffff; padding: 84px 20px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.18);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .menu.open { transform: translateX(0); }
  .menu a { padding: .9rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .nav__cta .btn { display: none; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .svc-list { columns: 1; }
  .cta-band { padding: 32px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__info { font-size: .82rem; }
}
