@font-face{font-family:'Archivo';font-style:normal;font-weight:500 700;font-display:swap;src:url(/fonts/archivo-500-700-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500 700;font-display:swap;src:url(/fonts/archivo-500-700-latin.woff2) format('woff2');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}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');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}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');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}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/instrument-sans-400-600-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/instrument-sans-400-600-latin.woff2) format('woff2');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}
/* Unutrašnje strane u izgledu početne (novi-dizajn): ista pisma, boje, dugmad, tamna polja sa mrežom i podnožje.
   Pisma (@font-face) i zaglavlje za desktop dodaje build.mjs. */
:root {
  --petrolej: #0E2A33;
  --najtamnija: #08191F;
  --tirkizna: #2F8F83;
  --tirkizna-svetla: #5FC2B0;
  --tirkizna-tamna: #216F65;
  --svetla: #E8F1EE;
  --bela: #FFFFFF;
  --linija: rgba(14, 42, 51, 0.14);
  --tekst-tih: #3F5A63;
  --na-tamnom: #B8C8CD;
  --naslovi: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sirina: 1240px;
  --ivica: 20px;
  --razmak: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bela);
  color: var(--petrolej);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tirkizna); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--naslovi); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.012em; }
p { text-wrap: pretty; }

.okvir { width: 100%; max-width: var(--sirina); margin-inline: auto; padding-inline: var(--ivica); }
/* od 1200 px okvir prati zaglavlje: ista širina i isti korak --k kao na početnoj */
@media (min-width: 1200px) { .okvir { max-width: calc(1240px * var(--k)); padding-inline: calc(20px * var(--k)); } }
@media (max-width: 1199px) { :root { --ivica: clamp(20px, 4vw, 40px); } }
.preskoci { position: absolute; left: -9999px; top: 0; background: var(--petrolej); color: var(--bela); padding: 12px 16px; z-index: 60; }
.preskoci:focus { left: 8px; top: 8px; }

/* Tamno i svetlo polje sa mrežom, kao sekcije početne */
.vrh, .tamna, .poziv-kraj {
  background-color: var(--petrolej);
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.14) 1.3px, transparent 1.7px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--bela);
}
.pojas {
  background-color: var(--svetla);
  background-image:
    radial-gradient(circle at 0 0, rgba(14, 42, 51, 0.13) 1.3px, transparent 1.7px),
    linear-gradient(rgba(14, 42, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 42, 51, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Dugmad, ista kao na početnoj */
.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  background: linear-gradient(180deg, #86DDCB 0%, #5FC2B0 100%); color: #06171C;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(6, 23, 28, 0.16), 0 1px 0 #24766B, 0 10px 22px -8px rgba(47, 143, 131, 0.7);
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap;
  text-decoration: none; border: 0; border-radius: 6px; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
}
.dugme:hover { background: linear-gradient(180deg, #9BE7D7 0%, #6FCDBB 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(6, 23, 28, 0.16), 0 1px 0 #24766B, 0 14px 26px -8px rgba(47, 143, 131, 0.8); }
.dugme:active { transform: translateY(1px); }
.dugme-tiho { background: rgba(255, 255, 255, 0.05); color: var(--bela); border: 1.5px solid rgba(255, 255, 255, 0.34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 22px -12px rgba(0, 0, 0, 0.6); }
.dugme-tiho:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--bela); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 22px -12px rgba(0, 0, 0, 0.6); }
.dugmad { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Telefon (ispod 1200 px): zaglavlje i donji meni su isti HTML kao na početnoj (build.mjs, renderPhoneChrome).
   Ova pravila prate ona pod #m-vrh u novi-dizajn/stil.css, zajedno sa uvećanjem --kz. */
[hidden] { display: none !important; }
@media (min-width: 1200px) { .ml { display: none !important; } }
@media (max-width: 1199px) {
  .ml { zoom: var(--kz); --pad: max(0px, calc((100% - 390px) / 2)); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--petrolej); }
  .ml a { text-decoration: none; }
  .m-zag.ml { padding: 0 calc(12px + var(--pad)) 0 calc(20px + var(--pad)); }
  .ml .jez { display: inline-flex; align-items: center; gap: 6px; }
  .ml .zast { display: block; width: 18px; height: 13.5px; max-width: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(14, 42, 51, 0.18); }
  .ml .mn { margin: 0; font-family: var(--mono); font-size: 10.5px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: #4A6670; }
  .ml .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border: 0; border-radius: 27px; background: transparent; color: #0E2A33; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer; padding: 0; }
  .ml .tab-on { background: rgba(47, 143, 131, 0.16); }
  .ml .srow { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px; border-radius: 16px; color: #0E2A33; }
  .ml .srow:hover { background: rgba(14, 42, 51, 0.06); }
  .pod { padding-bottom: calc(96px * var(--kz)); }
}

/* Vrh strane: tamno polje, cev sa početne koja se završava prstenom iz znaka */
.vrh { position: relative; overflow: hidden; }
.vrh::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 58%, rgba(47, 143, 131, 0.3), transparent 42%); pointer-events: none; }
.vrh .okvir { position: relative; padding-block: clamp(56px, 7vw, 104px); min-height: clamp(0px, 36vw, 520px); display: flex; flex-direction: column; justify-content: center; }
.vrh h1 { max-width: 16ch; color: var(--bela); }
.vrh .uvod { margin-top: 28px; max-width: 58ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--na-tamnom); }
.mrvice { margin-bottom: 28px; font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tirkizna-svetla); }
.mrvice ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mrvice li + li::before { content: '/'; margin-right: 10px; opacity: 0.5; }
.mrvice a { text-decoration: none; color: #8FB3BA; }
.mrvice a:hover { color: var(--bela); }
/* Crtež strane (src/crtezi.mjs): platno 460 x 520, smanjuje se istim korakom --k kao zaglavlje */
.vrh-crtez { position: absolute; top: 0; right: calc(20px * var(--k, 1)); width: calc(460px * var(--k, 1)); height: calc(520px * var(--k, 1)); max-width: none; overflow: visible; pointer-events: none; }
.vrh-crtez text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; fill: #8FB3BA; }
.vrh-crtez .c-jak { fill: var(--bela); font-weight: 500; }
/* telefon: crtež stoji ispod teksta, od ivice do ivice, i ide do dna tamnog polja */
@media (max-width: 1199px) {
  .vrh .okvir { padding-bottom: 0; min-height: 0; }
  .vrh-crtez { position: static; align-self: center; width: calc(100% + 2 * var(--ivica)); max-width: 460px; height: auto; aspect-ratio: 460 / 520; margin: 28px calc(-1 * var(--ivica)) 0; flex: none; clip-path: inset(0 0 -200px 0); }
}
@media (min-width: 1200px) {
  .vrh .okvir { min-height: calc(520px * var(--k, 1)); }
  .vrh h1, .vrh .uvod { max-width: calc(100% - 500px * var(--k, 1)); }
}

/* Pokret u crtežu: tečnost teče niz cev, bakterije se mrdaju, mehurići idu gore, mast i mulj se tanje */
.c-tok { stroke-dasharray: 5 9; animation: c-tok 1.1s linear infinite; }
.c-wig { transform-box: fill-box; transform-origin: center; animation: c-wig 2.2s ease-in-out infinite alternate; }
.c-bub { animation: c-bub 3.2s ease-in infinite; }
.c-blink { animation: c-blink 2.8s ease-in-out infinite; }
.c-mast { transform-box: fill-box; transform-origin: 50% 100%; animation: c-tanji 7s ease-in-out infinite alternate; }
.c-mulj { transform-box: fill-box; transform-origin: 50% 100%; animation: c-tanji 9s ease-in-out infinite alternate; }
.c-kap { transform-box: fill-box; transform-origin: center; animation: c-kap 5s ease-in-out infinite alternate; }
.c-pad { animation: c-pad 3.6s ease-in infinite; }
.c-kaplja { animation: c-kaplja 2.4s ease-in infinite; }
.c-kvaka { stroke-dasharray: 1; stroke-dashoffset: 1; animation: c-kvaka 0.5s ease-out forwards; }
.c-prsten circle { transform-box: fill-box; transform-origin: center; animation: c-rast 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes c-tok { to { stroke-dashoffset: -14; } }
@keyframes c-wig { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes c-bub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translateY(-70px); opacity: 0; } }
@keyframes c-blink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes c-tanji { from { transform: scaleY(1); } to { transform: scaleY(0.3); } }
@keyframes c-kap { from { transform: scale(1); } to { transform: scale(0.45); } }
@keyframes c-pad { 0% { transform: translateY(-70px); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }
@keyframes c-kaplja { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
@keyframes c-kvaka { to { stroke-dashoffset: 0; } }
@keyframes c-rast { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .vrh-crtez * { animation: none !important; }
  .c-kvaka { stroke-dashoffset: 0; }
  .c-pad, .c-kaplja { opacity: 1; }
  .dugme { transition: none; }
}

/* Sekcije */
.sekcija { padding-block: var(--razmak); }
.vrh + .obicna { padding-top: var(--razmak); }
.obicna + .obicna { padding-top: 0; }
.dvoje { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.dvoje > h2 { max-width: 13ch; }
@media (max-width: 860px) { .dvoje { grid-template-columns: 1fr; } .dvoje > h2 { max-width: none; } }

/* Redovi: naslov levo, objašnjenje desno */
.redovi > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding-block: 24px; border-top: 1px solid var(--linija); }
.redovi > div:last-child { border-bottom: 1px solid var(--linija); }
.redovi dd { color: var(--tekst-tih); }
@media (max-width: 560px) { .redovi > div { grid-template-columns: 1fr; } }

/* Tamna sekcija */
.tamna .dvoje { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tamna h2 { max-width: 16ch; }
.tamna .opis { margin-top: 24px; max-width: 48ch; color: var(--na-tamnom); font-size: 1.1875rem; }
.tacke li { position: relative; padding: 20px 0 20px 34px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--naslovi); font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; }
.tacke li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.tacke li::before { content: ''; position: absolute; left: 0; top: 29px; width: 12px; height: 12px; border-radius: 50%; background: var(--tirkizna-svetla); }
@media (max-width: 860px) { .tamna .dvoje { grid-template-columns: 1fr; } }

/* Oblici doziranja */
.oblici-uvod { margin-top: 20px; max-width: 56ch; color: #2E4A53; font-size: 1.1875rem; }
.oblici { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--linija); }
.oblici li { padding: 32px 32px 8px 0; }
.oblici li + li { padding-left: 32px; border-left: 1px solid var(--linija); }
.oblici svg { width: 64px; height: 64px; margin-bottom: 28px; }
.oblici p { margin-top: 10px; color: var(--tekst-tih); }
@media (max-width: 760px) {
  .oblici { grid-template-columns: 1fr; }
  .oblici li, .oblici li + li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--linija); }
  .oblici svg { grid-row: span 2; margin: 0; }
}

/* Veze ka stranama */
.veze { margin-top: 48px; }
.veze a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 28px; gap: 8px 32px; align-items: center; padding: 26px 16px; margin-inline: -16px; border-top: 1px solid var(--linija); text-decoration: none; transition: background-color 0.15s; }
.veze li:last-child a { border-bottom: 1px solid var(--linija); }
.veze a:hover { background: var(--svetla); }
.veze h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; }
.veze p { color: var(--tekst-tih); }
.veze svg { width: 28px; height: 28px; }
@media (max-width: 700px) { .veze a { grid-template-columns: 1fr 28px; } .veze p { grid-column: 1; } .veze svg { grid-row: 1; grid-column: 2; } }

/* Koraci, pravi redosled: broj je pločica sa cevi, kao na početnoj */
.koraci { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; counter-reset: korak; }
.koraci li { counter-increment: korak; padding-top: 24px; border-top: 1px solid var(--linija); }
.koraci li::before { content: counter(korak, decimal-leading-zero); display: inline-block; margin-bottom: 22px; padding: 7px 14px; border-radius: 5px; background: var(--tirkizna); color: #06171C; font-family: var(--mono); font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: 0.06em; box-shadow: inset 0 0 0 1px #1C6A60; }
.koraci p { margin-top: 10px; color: var(--tekst-tih); }
@media (max-width: 900px) { .koraci { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .koraci { grid-template-columns: 1fr; } }

/* Pitanje sa odgovorom */
.pojas + .pojas { padding-top: 0; }
.pojas h2 { max-width: 22ch; font-size: clamp(1.625rem, 3vw, 2.375rem); }
.pojas p { margin-top: 24px; max-width: 64ch; font-size: 1.1875rem; line-height: 1.6; color: #2E4A53; }

/* Tekst */
.tekst p { max-width: 66ch; font-size: 1.0625rem; color: #2E4A53; }
.tekst p + p { margin-top: 18px; }
.tekst-sam p { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -0.015em; max-width: 46ch; color: var(--petrolej); }

/* Nabrajanje */
.nabrajanje { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.nabrajanje li { position: relative; padding: 18px 0 18px 30px; border-top: 1px solid var(--linija); font-weight: 500; }
.nabrajanje li::before { content: ''; position: absolute; left: 0; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--tirkizna); }
@media (max-width: 640px) { .nabrajanje { grid-template-columns: 1fr; } }

/* Česta pitanja */
.pitanja > div { padding-block: 26px; border-top: 1px solid var(--linija); }
.pitanja > div:last-child { border-bottom: 1px solid var(--linija); }
.pitanja p { margin-top: 10px; max-width: 62ch; color: var(--tekst-tih); }

/* Napomena o sadržaju koji čeka klijenta */
.ceka { padding: 20px 24px; border: 1.5px dashed var(--tirkizna); border-radius: 8px; color: var(--tekst-tih); max-width: 66ch; }

/* Završni poziv */
.poziv-kraj { position: relative; text-align: center; }
.poziv-kraj::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(47, 143, 131, 0.28), transparent 55%); pointer-events: none; }
.poziv-kraj .okvir { position: relative; }
.poziv-kraj h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.02; }
.poziv-kraj p { margin: 24px auto 0; max-width: 48ch; color: var(--na-tamnom); font-size: 1.1875rem; }
.poziv-kraj .dugmad { justify-content: center; }

/* Formular */
.kontakt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }
.forma { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.polje { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.polje.siroko, .forma .saglasnost, .forma .dugme, .forma .poruka { grid-column: 1 / -1; }
.polje label { font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: #4A6670; }
.polje .zvezda { color: var(--tirkizna-tamna); }
.polje input, .polje select, .polje textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; color: var(--petrolej); background: var(--bela);
  border: 1px solid rgba(14, 42, 51, 0.32); border-radius: 6px;
}
.polje textarea { min-height: 132px; resize: vertical; }
.polje input:focus-visible, .polje select:focus-visible, .polje textarea:focus-visible { outline: 2px solid var(--tirkizna); outline-offset: 1px; border-color: var(--tirkizna); }
.polje [aria-invalid='true'] { border-color: #B3261E; }
.saglasnost { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--tekst-tih); cursor: pointer; }
.saglasnost input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--tirkizna); }
.saglasnost a { color: var(--petrolej); text-underline-offset: 3px; }
.forma .dugme { justify-self: start; }
.zamka { position: absolute; left: -9999px; }
.poruka { padding: 14px 16px; border-radius: 6px; font-size: 15.5px; }
.poruka[hidden] { display: none; }
.poruka.uspeh { background: var(--svetla); border: 1px solid rgba(47, 143, 131, 0.5); }
.poruka.neuspeh { background: #FBEAE8; border: 1px solid rgba(179, 38, 30, 0.4); color: #7A1A14; }
.podaci { padding: 28px; border-radius: 10px; background: var(--svetla); }
.podaci h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.podaci dl { margin-top: 20px; }
.podaci dl > div { padding-block: 14px; border-top: 1px solid var(--linija); }
.podaci dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #4A6670; }
.podaci dd { font-weight: 500; overflow-wrap: anywhere; }
.podaci a { text-decoration-color: var(--tirkizna); text-underline-offset: 3px; }
@media (max-width: 560px) { .forma { grid-template-columns: 1fr; } .forma .dugme { justify-self: stretch; } }

/* Podnožje, isto kao na početnoj */
.pod { background: var(--najtamnija); color: var(--na-tamnom); font-size: 15px; }
.pod .mn { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; }
.pod .fl { color: var(--na-tamnom); text-decoration: none; }
.pod .fl:hover { color: var(--bela); }

/* Vrlo veliki ekrani: sadržaj raste istim korakom kao zaglavlje i početna */
@media (min-width: 2240px) and (min-height: 1150px) { main, .pod { zoom: 1.2; } }
@media (min-width: 2560px) and (min-height: 1300px) { main, .pod { zoom: 1.35; } }
@media (min-width: 3200px) and (min-height: 1600px) { main, .pod { zoom: 1.7; } }
@media (min-width: 3840px) and (min-height: 1900px) { main, .pod { zoom: 2; } }

/* Politika privatnosti: običan tekst za čitanje */
.politika > * { max-width: 72ch; }
.politika h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; margin-top: 44px; }
.politika > p:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: #4A6670; }
.politika p, .politika li { font-size: 1.0625rem; color: #2E4A53; }
.politika p { margin-top: 14px; }
.politika ul { margin-top: 12px; padding-left: 1.25em; list-style: disc; }
.politika li + li { margin-top: 6px; }
.politika li::marker { color: var(--tirkizna); }

/* Greška ispod polja formulara */
.greska-polja { margin: 0; font-size: 13.5px; line-height: 1.45; color: #B3261E; }
.greska-polja[hidden] { display: none; }
.forma .saglasnost + .greska-polja { grid-column: 1 / -1; margin-top: -8px; padding-left: 32px; }
.polje [aria-invalid='true'] { box-shadow: 0 0 0 1px #B3261E; }

/* ---------- Zaglavlje za desktop (od 1200 px), isto kao na početnoj ----------
   Pravila prate ona pod #vrh u novi-dizajn/stil.css (meni, dugme, zastavice, --k). Ko menja jedno, menja i drugo. */
:root { --k: 1; }
@media (min-width: 1400px) and (max-width: 1439px) { :root { --k: 0.9722; } }
@media (min-width: 1360px) and (max-width: 1399px) { :root { --k: 0.9444; } }
@media (min-width: 1320px) and (max-width: 1359px) { :root { --k: 0.9167; } }
@media (min-width: 1280px) and (max-width: 1319px) { :root { --k: 0.8889; } }
@media (min-width: 1240px) and (max-width: 1279px) { :root { --k: 0.8611; } }
@media (min-width: 1200px) and (max-width: 1239px) { :root { --k: 0.8333; } }

.zd { display: none; }
@media (min-width: 1200px) {
  .zaglavlje { display: none; }
  .zd { display: block; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; font-feature-settings: normal; color: #0E2A33; }
  .zd a { color: #216F65; text-decoration: none; }
  .zd a:hover { color: #0E2A33; }
  .zd .okvir { width: auto; max-width: calc(1240px * var(--k)); margin: 0 auto; padding-inline: calc(20px * var(--k)); }
  .zd .meni { display: flex; flex-wrap: nowrap; gap: calc(28px * var(--k)); margin-right: auto; }
  .zd .btn, .zd .nl { white-space: nowrap; }
  .zd .nl { color: #0E2A33; font-size: 14px; font-weight: 500; padding: 12px 0; }
  .zd .nl:hover, .zd .nl[aria-current='page'] { color: #216F65; }
  .zd .btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 6px; font-family: 'Instrument Sans', system-ui, sans-serif; font-weight: 600; font-size: 16px; transition: background .2s, box-shadow .2s, transform .12s; }
  .zd .btn-p { background: linear-gradient(180deg, #86DDCB 0%, #5FC2B0 100%); color: #06171C; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(6,23,28,.16), 0 1px 0 #24766B, 0 10px 22px -8px rgba(47,143,131,.7); }
  .zd .btn-p:hover { background: linear-gradient(180deg, #9BE7D7 0%, #6FCDBB 100%); color: #06171C; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(6,23,28,.16), 0 1px 0 #24766B, 0 14px 26px -8px rgba(47,143,131,.8); }
  .zd .btn:active { transform: translateY(1px); }
  .zd .jez { display: inline-flex; align-items: center; gap: 6px; }
  .zd .zast { display: block; width: 20px; height: 15px; max-width: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(14,42,51,.18); }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .zd .meni { gap: 12px; }
  .zd .nl { font-size: 13.5px; }
  .zd .okvir { gap: 20px !important; }
  .zd .btn { padding: 0 14px !important; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .zd .meni { gap: 8px; }
  .zd .nl { font-size: 13px; }
  .zd .okvir { gap: 14px !important; }
}
@media (min-width: 2240px) and (min-height: 1150px) { .zd { zoom: 1.2; } .zd > .okvir { --k: 1; } }
@media (min-width: 2560px) and (min-height: 1300px) { .zd { zoom: 1.35; } }
@media (min-width: 3200px) and (min-height: 1600px) { .zd { zoom: 1.7; } }
@media (min-width: 3840px) and (min-height: 1900px) { .zd { zoom: 2; } }

/* ---------- Izbor jezika u zaglavlju za desktop (14.10.2026) ----------
   Od 1440 px stoji par SR / EN, ispod 1440 px padajući izbor, a oslobođeni prostor ide meniju:
   puna slova od 14 px i razmaci raspodeljeni po celoj širini. Ovaj blok build.mjs lepi na kraj stila početne
   i stila ostalih strana. */
.zd .jez-meni { display: none; position: relative; }
.zd .jez-meni summary { display: flex; align-items: center; gap: 7px; padding: 10px 10px; border-radius: 8px; list-style: none; cursor: pointer; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: #0E2A33; }
.zd .jez-meni summary::-webkit-details-marker { display: none; }
.zd .jez-meni summary:hover, .zd .jez-meni[open] summary { background: rgba(14, 42, 51, 0.06); }
.zd .jez-meni summary:focus-visible { outline: 2px solid #2F8F83; outline-offset: 2px; }
.zd .jez-meni summary svg { transition: transform .15s; }
.zd .jez-meni[open] summary svg { transform: rotate(180deg); }
.zd .jez-lista { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 6px; border-radius: 12px; background: #FFFFFF; border: 1px solid rgba(14, 42, 51, 0.1); box-shadow: 0 18px 40px -12px rgba(6, 23, 28, 0.35); z-index: 60; }
.zd .jez-lista a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #0E2A33 !important; font-size: 15px; font-weight: 500; text-decoration: none; }
.zd .jez-lista a:hover { background: #E8F1EE; }
.zd .jez-lista a[aria-current='page'] { background: #E8F1EE; color: #216F65 !important; }
.zd .jez-lista .jez-kod { margin-left: auto; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; color: #4A6670; }
@media (min-width: 1200px) and (max-width: 1439px) {
  :is(#vrh, body) .zd .jez-par { display: none !important; }
  :is(#vrh, body) .zd .jez-meni { display: block; }
  :is(#vrh, body) .zd .meni { flex: 1; justify-content: space-evenly; gap: 0; margin-right: 0; }
  :is(#vrh, body) .zd .nl { font-size: 14px; }
  :is(#vrh, body) .zd > .okvir > div:last-child { gap: 10px !important; }
}

/* ---------- Traka za pristanak na kolačiće (src/beleznik.js), 14.10.2026 ----------
   build.mjs ovaj blok lepi u stil početne i stil ostalih strana. */
.pristanak { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(720px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: #FFFFFF; color: #0E2A33; border: 1px solid rgba(14, 42, 51, .12); box-shadow: 0 24px 60px -16px rgba(6, 23, 28, .6), 0 2px 8px rgba(6, 23, 28, .12); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 14.5px; line-height: 1.5; }
.pristanak[hidden] { display: none; }
.pristanak p { margin: 0; flex: 1 1 280px; }
.pristanak a { color: #216F65 !important; text-decoration: underline; text-underline-offset: 3px; }
.pristanak-dugmad { display: flex; gap: 8px; flex: 0 0 auto; }
.pristanak button { min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid rgba(14, 42, 51, .3); background: #FFFFFF; color: #0E2A33; font: 600 14px/1 'Instrument Sans', system-ui, sans-serif; cursor: pointer; }
.pristanak button:hover { border-color: #0E2A33; }
.pristanak .pristanak-da { background: #2F8F83; border-color: #2F8F83; color: #FFFFFF; }
.pristanak .pristanak-da:hover { background: #216F65; border-color: #216F65; }
.pristanak button:focus-visible { outline: 2px solid #2F8F83; outline-offset: 2px; }
@media (max-width: 1199px) { .pristanak { bottom: 104px; } }
@media (max-width: 480px) { .pristanak-dugmad { width: 100%; } .pristanak button { flex: 1 1 0; } }
.kolacici-dugme { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Cloudflare Turnstile u formularu (src/forma.js ga crta tek kad posetilac priđe formularu) */
.turnstile-polje { grid-column: 1 / -1; }
.turnstile-polje iframe { border-radius: 8px; }

/* „Izrada sajta 2ranq": poseban, centriran red na kraju podnožja */
.izrada { flex-basis: 100%; width: 100%; text-align: center; padding-top: 4px; }

:root{--kz:1.5}
@media (max-width:319px){:root{--kz:.8205}}
@media (min-width:320px) and (max-width:329px){:root{--kz:0.8205}}
@media (min-width:330px) and (max-width:339px){:root{--kz:0.8462}}
@media (min-width:340px) and (max-width:349px){:root{--kz:0.8718}}
@media (min-width:350px) and (max-width:359px){:root{--kz:0.8974}}
@media (min-width:360px) and (max-width:369px){:root{--kz:0.9231}}
@media (min-width:370px) and (max-width:379px){:root{--kz:0.9487}}
@media (min-width:380px) and (max-width:389px){:root{--kz:0.9744}}
@media (min-width:390px) and (max-width:399px){:root{--kz:1.0000}}
@media (min-width:400px) and (max-width:409px){:root{--kz:1.0256}}
@media (min-width:410px) and (max-width:419px){:root{--kz:1.0513}}
@media (min-width:420px) and (max-width:429px){:root{--kz:1.0769}}
@media (min-width:430px) and (max-width:439px){:root{--kz:1.1026}}
@media (min-width:440px) and (max-width:449px){:root{--kz:1.1282}}
@media (min-width:450px) and (max-width:459px){:root{--kz:1.1538}}
@media (min-width:460px) and (max-width:469px){:root{--kz:1.1795}}
@media (min-width:470px) and (max-width:479px){:root{--kz:1.2051}}
@media (min-width:480px) and (max-width:489px){:root{--kz:1.2308}}
@media (min-width:490px) and (max-width:499px){:root{--kz:1.2564}}
@media (min-width:500px) and (max-width:509px){:root{--kz:1.2821}}
@media (min-width:510px) and (max-width:519px){:root{--kz:1.3077}}
@media (min-width:520px) and (max-width:529px){:root{--kz:1.3333}}
@media (min-width:530px) and (max-width:539px){:root{--kz:1.3590}}
@media (min-width:540px) and (max-width:549px){:root{--kz:1.3846}}
@media (min-width:550px) and (max-width:559px){:root{--kz:1.4103}}
@media (min-width:560px) and (max-width:569px){:root{--kz:1.4359}}
@media (min-width:570px) and (max-width:579px){:root{--kz:1.4615}}
@media (min-width:580px) and (max-width:589px){:root{--kz:1.4872}}
