/* alati.geoprizma.hr · isti dizajnerski sustav kao geoprizma.hr (boje, Public Sans, mono oznake, kartice) */
@font-face {
  font-family: 'Public Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/public-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #14181f;
  --ink-2: #212934;
  --muted: #5a606c;
  --paper: #fbfaf8;
  --paper-2: #f3f1ec;
  --line: #e1ddd5;
  --red: #ae001e;
  --red-dark: #8a0018;
  --orange: #ff9500;
  --font: 'Public Sans Variable', 'Public Sans', Arial, Helvetica, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --header-h: 4.25rem;
  --section: clamp(3.5rem, 7vw, 6rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 750;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.6rem);
}
h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--red);
  color: #fff;
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip:focus {
  top: 0.75rem;
}

/* ---------- gradivni elementi */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 0.45rem;
  background: repeating-linear-gradient(90deg, currentColor 0 0.45rem, transparent 0.45rem 0.7rem);
}
.hero .eyebrow,
.dark .eyebrow {
  color: var(--orange);
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  transition: translate 0.25s var(--ease);
}
.btn:hover svg {
  translate: 0.25em 0;
}
.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-dark);
}
.btn--ghost {
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- zaglavlje (kao na geoprizma.hr) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  flex: none;
  display: block;
}
.logo img {
  width: clamp(9.5rem, 16vw, 12.5rem);
  height: auto;
}
.nav {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 0.4rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  border-bottom: 2px solid var(--red);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.25s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current]::after {
  scale: 1 1;
}
.nav a[aria-current] {
  color: var(--red);
}
.header-cta {
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 60rem) {
  .site-header__in {
    flex-wrap: wrap;
    gap: 0 1rem;
    padding-block: 0.6rem 0;
  }
  .header-cta {
    margin-left: auto;
    padding: 0.7rem;
  }
  .header-cta span {
    display: none;
  }
  .nav {
    order: 3;
    flex: 1 1 100%;
    margin: 0.4rem 0 0;
    gap: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav a {
    white-space: nowrap;
    padding-block: 0.5rem;
  }
}

/* ---------- hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(90% 120% at 85% 40%, #2a1016 0%, transparent 60%), var(--ink);
  color: #f5f3ee;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 78%;
  z-index: -1;
  background: url('img/contours.svg') center / cover no-repeat;
  filter: invert(1);
  opacity: 0.13;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--ink) 16%, transparent 62%);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero h1 {
  margin-bottom: 0.35em;
}
.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(95deg, #ff5a3c, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero .lead {
  color: #d5d2cb;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa1b0;
}
.hero__meta b {
  color: var(--orange);
  font-weight: 500;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: rise 0.8s var(--ease) both;
  }
  .hero__copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero__copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero__copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero__copy > :nth-child(5) {
    animation-delay: 0.32s;
  }
  .hero__fig {
    animation: rise 0.9s 0.2s var(--ease) both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      translate: 0 1.25rem;
    }
  }
}
.hero__fig {
  margin: 0;
}
.hero__fig svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.45));
}
@media (max-width: 62rem) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero::after {
    background: linear-gradient(180deg, var(--ink) 10%, transparent 70%);
  }
}

/* grafika u heroju */
.hf-panel {
  fill: #0e1218;
  stroke: rgb(255 255 255 / 0.14);
}
.hf-bar {
  fill: #151b24;
}
.hf-line {
  stroke: rgb(255 255 255 / 0.1);
  stroke-width: 1;
}
.hf-grid {
  fill: none;
  stroke: rgb(255 255 255 / 0.055);
  stroke-width: 1;
}
.hf-mono {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
.hf-dim {
  fill: #9aa1b0;
}
.hf-or {
  fill: var(--orange);
}
.hf-w {
  fill: #f5f3ee;
}
.hf-contour {
  fill: none;
  stroke: var(--orange);
  stroke-opacity: 0.55;
  stroke-width: 1;
}
.hf-par {
  fill: rgb(255 255 255 / 0.03);
  stroke: rgb(255 255 255 / 0.4);
  stroke-width: 1.1;
}
.hf-subject {
  fill: rgb(255 59 92 / 0.16);
  stroke: #ff3b5c;
  stroke-width: 2.6;
  stroke-linejoin: round;
}
.hf-node {
  fill: #0e1218;
  stroke: #ff3b5c;
  stroke-width: 1.6;
}
.hf-chip {
  fill: #181f2a;
  stroke: rgb(255 255 255 / 0.2);
}
.hf-chip--out {
  stroke: rgb(255 149 0 / 0.55);
}
.hf-link {
  fill: none;
  stroke: rgb(255 255 255 / 0.35);
  stroke-width: 1.3;
  stroke-dasharray: 3 5;
}
.hf-link--out {
  stroke: var(--orange);
  stroke-opacity: 0.8;
}
.hf-buffer {
  fill: none;
  stroke: #ff9500;
  stroke-opacity: 0.7;
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}
.hf-ok {
  fill: #5bd18a;
}
@media (prefers-reduced-motion: no-preference) {
  .hf-link,
  .hf-link--out,
  .hf-buffer {
    animation: march 1.6s linear infinite;
  }
  .hf-buffer {
    animation-duration: 6s;
  }
  .hf-pulse {
    transform-origin: 280px 190px;
    animation: pulse 3.2s ease-out infinite;
  }
  @keyframes march {
    to {
      stroke-dashoffset: -16;
    }
  }
  @keyframes pulse {
    0% {
      scale: 0.5;
      opacity: 0.9;
    }
    100% {
      scale: 2.6;
      opacity: 0;
    }
  }
}
.hf-pulse {
  fill: none;
  stroke: #ff3b5c;
  stroke-width: 1.4;
}

/* ---------- sekcije */
.section {
  padding-block: var(--section);
}
.section--tint {
  background: var(--paper-2);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.section-head h2 {
  margin: 0;
  max-width: 22ch;
}
.section-head > p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
}

/* ---------- kartice alata: cijeli okvir je poveznica */
.tools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 52rem) {
  .tools {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.3s, translate 0.3s var(--ease);
}
.tool:hover,
.tool:has(a:focus-visible) {
  border-color: var(--red);
  box-shadow: 0 22px 44px -22px rgb(20 24 31 / 0.35);
  translate: 0 -3px;
}
.tool:has(a:focus-visible) {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.tool a:focus-visible {
  outline: none;
}
.tool__art {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.tool__art .il {
  width: 100%;
  height: auto;
  transition: scale 0.6s var(--ease);
}
.tool:hover .il {
  scale: 1.035;
}
.tool__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
}
.tool__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool__tag b {
  font-weight: 500;
  color: var(--red);
}
.tool h3 {
  margin: 0 0 0.5rem;
}
.tool h3 a {
  text-decoration: none;
}
/* proširuje klik na cijelu karticu */
.tool h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tool__body > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 1.1rem;
}
.tool ol {
  list-style: none;
  counter-reset: s;
  margin: 0 0 1.4rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.tool li {
  counter-increment: s;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.tool li::before {
  content: '0' counter(s);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--red);
}
.tool__go {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 650;
  color: var(--red);
}
.tool__go small {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.tool__go svg {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  transition: translate 0.25s var(--ease);
}
.tool:hover .tool__go svg {
  translate: 0.3rem 0;
}

/* ilustracije */
.il-bg {
  fill: #f3f1ec;
}
.il-grid {
  fill: none;
  stroke: #e1ddd5;
  stroke-width: 1;
}
.il-par {
  fill: #fbfaf8;
  stroke: #14181f;
  stroke-opacity: 0.42;
  stroke-width: 1;
  stroke-linejoin: round;
}
.il-subject {
  fill: rgb(174 0 30 / 0.12);
  stroke: #ae001e;
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.il-hatch {
  stroke: #ae001e;
  stroke-opacity: 0.35;
  stroke-width: 1;
}
.il-node {
  fill: #fff;
  stroke: #ae001e;
  stroke-width: 1.5;
}
.il-contour {
  fill: none;
  stroke: #ff9500;
  stroke-opacity: 0.75;
  stroke-width: 1;
}
.il-road-a {
  fill: none;
  stroke: #fff;
  stroke-width: 9;
}
.il-road-b {
  fill: none;
  stroke: #cfcac0;
  stroke-width: 1;
  stroke-dasharray: 6 5;
}
.il-buffer {
  fill: none;
  stroke: #14181f;
  stroke-opacity: 0.55;
  stroke-width: 1.1;
  stroke-dasharray: 4 5;
}
.il-card {
  fill: #fff;
  stroke: #d9d5cc;
}
.il-ink {
  fill: #14181f;
}
.il-win-dark {
  fill: #161c27;
  stroke: rgb(255 255 255 / 0.14);
}
.il-win-bar {
  fill: #1e2633;
}
.il-win-light {
  fill: #fff;
  stroke: #d9d5cc;
}
.il-bar-light {
  fill: #f3f1ec;
}
.il-text {
  font-family: var(--mono);
  fill: #14181f;
}
.il-muted {
  fill: #5a606c;
}
.il-red {
  fill: #ae001e;
}
.il-white {
  fill: #fff;
}
.il-stroke-red {
  fill: none;
  stroke: #ae001e;
  stroke-width: 2;
  stroke-linejoin: round;
}
.il-line-or {
  fill: none;
  stroke: #ff9500;
  stroke-width: 1.8;
  stroke-dasharray: 6 4;
}
.il-cross {
  stroke: #fff;
  stroke-width: 1.4;
  fill: none;
}
.il-tok-t {
  fill: #ae001e;
}
.il-tok-a {
  fill: #8a5a00;
}
.il-tok-n {
  fill: #14181f;
}
.il-chip-red {
  fill: #ae001e;
}
.il-chip-ink {
  fill: #14181f;
}
.il-ok {
  fill: #2f855a;
}
.il-bar {
  fill: #d9d5cc;
}
.il-row-alt {
  fill: #faf8f4;
}
.il-pin {
  fill: #14181f;
  stroke: #fff;
  stroke-width: 1.5;
}
.il-pin-subject {
  fill: #ae001e;
  stroke: #fff;
  stroke-width: 1.5;
}
.il-field-a {
  fill: #c2cab0;
}
.il-field-b {
  fill: #d7dcc6;
}
.il-field-c {
  fill: #b8c3a2;
}
.il-field-d {
  fill: #dcd8c4;
}
.il-tree {
  fill: #93a47c;
}
.il-roof {
  fill: #b4a99a;
}
.il-roof-b {
  fill: #c9bba8;
}
.il-parcel-line {
  fill: none;
  stroke: #fff;
  stroke-width: 1.3;
  stroke-linejoin: round;
}
.il-dim {
  fill: none;
  stroke: #14181f;
  stroke-width: 1;
}
.il-tag {
  fill: #fff;
  stroke: #14181f;
  stroke-opacity: 0.5;
}
.il-leader {
  stroke: #14181f;
  stroke-width: 1;
  stroke-opacity: 0.6;
}
@media (prefers-reduced-motion: no-preference) {
  .il-buffer {
    animation: march 5s linear infinite;
  }
  .il-line-or {
    animation: march 2s linear infinite;
  }
}

/* ---------- kako koristiti */
.dark {
  background: var(--ink);
  color: #f3f1ec;
}
.guide {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 62rem) {
  .guide {
    grid-template-columns: minmax(0, 1fr);
  }
}
.guide h2 {
  max-width: 14ch;
}
.guide__intro > p:not(.eyebrow) {
  color: #c9c6bf;
  max-width: 40ch;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 52rem) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
.step {
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.03);
}
.step b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 2.25rem;
}
.step h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: #fff;
}
.step p {
  margin: 0;
  color: #c9c6bf;
  font-size: 0.95rem;
}

/* ---------- brzi odabir: cijeli redak je poveznica */
.choice {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.choice a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1.4fr) minmax(0, 1fr) 2.5rem;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.2s, padding 0.25s var(--ease);
}
.choice a:hover,
.choice a:focus-visible {
  background: #fff;
  padding-inline: 1.5rem;
}
.choice__n {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--red);
}
.choice__q {
  font-size: 1.05rem;
  color: var(--ink);
}
.choice__t {
  font-weight: 700;
  text-align: right;
}
.choice svg {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.choice a:hover svg {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
@media (max-width: 44rem) {
  .choice a {
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
    gap: 0.25rem 0.75rem;
  }
  .choice__q {
    grid-column: 2;
  }
  .choice__t {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    color: var(--red);
  }
  .choice svg {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

/* ---------- napomena o podacima */
.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
}
.note svg {
  width: 2.75rem;
  height: 2.75rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.note h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
}
.note p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 80ch;
}
@media (max-width: 40rem) {
  .note {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
}

/* ---------- podnožje (kao na geoprizma.hr) */
.site-footer {
  background: var(--ink);
  color: #c9c6bf;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.95rem;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 56rem) {
  .site-footer .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 34rem) {
  .site-footer .grid {
    grid-template-columns: 1fr;
  }
}
.site-footer .brand img {
  width: 11.5rem;
  height: auto;
  margin-bottom: 1rem;
}
.site-footer .social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.site-footer h2 {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0.3rem 0 0.9rem;
  font-weight: 500;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.site-footer a {
  text-decoration: none;
  color: #f0eee9;
}
.site-footer a:hover {
  color: var(--orange);
}
.site-footer address {
  font-style: normal;
  margin-bottom: 1rem;
}
.site-footer address strong {
  color: #fff;
}
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.85rem;
}
.legal p {
  margin: 0;
  display: flex;
  gap: 1.25rem;
}
@media (max-width: 40rem) {
  .nav a:nth-child(3) {
    display: none;
  }
}
/* peta kartica: preko cijele širine na širokim ekranima */
@media (min-width: 52rem) {
  .tools > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tools > li:last-child:nth-child(odd) .tool { flex-direction: row; }
  .tools > li:last-child:nth-child(odd) .tool__art { flex: 0 0 48%; border-bottom: 0; border-right: 1px solid var(--line); }
  .tools > li:last-child:nth-child(odd) .tool__body { justify-content: center; }
}
