/* Jedna datoteka po težini: latinica i Latin Extended-A (č ć đ š ž) zajedno,
   da se „đ” ne crta iz drugog fonta. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400-full.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500-full.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600-full.woff2") format("woff2");
}

:root {
  --paper: #e7f4f6;
  --paper-2: #d5eef2;
  --card: #ffffff;
  --ink: #10233c;
  --muted: #3d5874;
  --line: #d5e4ee;
  --pine: #0f766e;
  --pine-2: #115e59;
  --copper: #ea580c;
  --copper-2: #fdba74;
  --cream: #fff7ed;
  --quote: #07182c;
  --quote-dim: #b9cbe0;
  --shadow: 0 16px 36px rgba(7, 30, 56, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", "Noto Serif", "Liberation Serif", Georgia, serif;
  --sans: "Outfit", "Segoe UI", "Noto Sans", "Liberation Sans", "DejaVu Sans", sans-serif;
  --header: 4.6rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(56, 189, 248, 0.35), transparent 60%),
    radial-gradient(800px 420px at 100% 0%, rgba(251, 146, 60, 0.28), transparent 55%),
    linear-gradient(165deg, #06243f 0%, #0c4a6e 46%, #0f766e 100%);
  background-attachment: fixed;
  color: #e8f4fb;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
}

img, svg { max-width: 100%; }

a { color: #fb923c; }

a:hover { color: #fdba74; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, .trade-title, .price-main, .line-sum, .grand strong {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 50;
}

.skip:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 28, 48, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(0.98rem, 2.2vw, 1.2rem);
  letter-spacing: 0;
  line-height: 1.2;
  max-width: 18rem;
}

.brand small {
  color: #fdba74;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.nav-main {
  display: flex;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.nav-main a {
  color: white;
  text-decoration: none;
}

.nav-main a:hover { color: #fdba74; }
.nav-partner {
  color: white;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-partner:hover { color: #fdba74; }
@media (min-width: 980px) {
  .nav-partner { display: none; }
}

.header-mail {
  color: #1a1206;
  background: linear-gradient(180deg, #fdba74, #f97316);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.hero { padding: 2.2rem 0 1.4rem; }

.hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.hero .lead { max-width: none; }

.hero #trade-nav {
  padding: 0;
  gap: 0.4rem;
}

.hero .trade-btn {
  min-height: 2.35rem;
  padding: 0.32rem 0.45rem;
  font-size: 0.78rem;
  border-radius: 0.65rem;
  gap: 0.3rem;
}

.kicker, .eyebrow {
  margin: 0 0 0.45rem;
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.98;
  max-width: 18ch;
  color: white;
}

.lead {
  max-width: 44rem;
  color: #d7e7f2;
  font-size: 1.08rem;
}

.hero-actions, .estimate-actions, .inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  color: #1c1206;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
}
.btn-primary:hover { background: linear-gradient(180deg, #fdba74, #f97316); color: #1c1206; }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: white; color: #0c4a6e; }
.btn-copper {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  color: #1c1206;
  width: 100%;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}
.btn-copper:hover { background: #fdba74; color: #1c1206; }
.btn-ghost-light, .btn-text {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 232, 0.35);
  width: 100%;
}
.btn-text { border-color: transparent; color: var(--quote-dim); min-height: 2.2rem; }
.btn-ghost-light:hover, .btn-text:hover { color: white; }

.price-unit, .price-gross {
  color: var(--muted);
  margin: 0;
}

.price-main {
  margin: 0.7rem 0 0.15rem;
  color: var(--copper);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1;
}

.disclaimer-band {
  background: linear-gradient(90deg, #f59e0b, #fb7185);
  color: #1c1206;
  padding: 0.95rem 0;
}

.disclaimer-band p {
  margin: 0;
  max-width: 46rem;
  font-size: 1.02rem;
}

.steps { padding: 1.3rem 0 0.2rem; }

.step-grid {
  display: grid;
  gap: 0.8rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.step b {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--copper);
  font-weight: 500;
}

.step strong { color: white; }
.step p { margin: 0.15rem 0 0; color: #d7e7f2; }

.workspace { padding: 1.6rem 0 2.5rem; }

.workspace h2, .guide h2, .faq h2 { color: white; }

.workspace h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 0.4rem; }

.section-lead { max-width: 42rem; color: #d7e7f2; }

.fine-print { color: var(--muted); font-size: 0.92rem; max-width: 46rem; }

.workspace-grid { display: block; }

#trade-nav {
  position: static;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: stretch;
  padding: 0.15rem 0 0.85rem;
  background: transparent;
}

.trade-btn {
  appearance: none;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(153, 246, 228, 0.28);
  background: #0c3f58;
  color: #e7f6f8;
  border-radius: 0.75rem;
  padding: 0.45rem 0.6rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font: 600 0.86rem/1.2 var(--sans);
  cursor: pointer;
  text-align: left;
  min-height: 2.85rem;
  box-shadow: 0 6px 14px rgba(4, 20, 40, 0.12);
}

.trade-num {
  font-variant-numeric: tabular-nums;
  color: #99f6e4;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.trade-name { min-width: 0; overflow-wrap: break-word; }

.trade-btn.is-active {
  background: #0c3f58;
  border-color: #fb923c;
  box-shadow: inset 3px 0 0 #fb923c;
  color: white;
}

.trade-btn.is-active .trade-num,
.trade-btn.is-active .trade-ico { color: #fb923c; }

.panel-head { padding-top: 0.4rem; }

.trade-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0;
  color: #99f6e4;
}

.trade-heading { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.trade-ico { width: 1.15rem; height: 1.15rem; display: inline-flex; color: #99f6e4; flex: 0 0 auto; }
.trade-ico svg { width: 100%; height: 100%; display: block; }
.trade-ico-lg { width: 2.2rem; height: 2.2rem; color: white; background: #0f766e; border-radius: 0.7rem; padding: 0.35rem; }
.panel-head p, .panel-head .search span, .panel-disclaimer, .trade-faq summary, .trade-faq details p { color: #d7e7f2; }
.item-card h4 { color: #10233c; }

.search { display: block; margin: 1rem 0 0.4rem; }
.search span { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.3rem; }
.search input, .field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
}

.cards { display: grid; gap: 0.9rem; margin-top: 1rem; }

.item-card {
  background: var(--card);
  color: var(--ink);
  border: 0;
  border-top: 6px solid #0f766e;
  border-radius: 1.15rem;
  padding: 1rem 1rem 1.05rem;
  box-shadow: var(--shadow);
}

.item-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.item-head h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.unit {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.item-opis { margin: 0.45rem 0 0; color: var(--muted); }
.item-note, .mode-note, .panel-disclaimer {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--copper);
}

.item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-top: 0.9rem;
}

.qty-label, .choice legend, .field span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: 0.3rem;
}

.choice { border: 0; margin: 0; padding: 0; min-width: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.choices label {
  position: relative;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  font-size: 0.92rem;
}

.choices input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}

.choices label:has(input:checked) {
  background: #0f766e;
  border-color: #0f766e;
  color: white;
}

.choices label:has(input:focus-visible) {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  min-height: 2.6rem;
}

.qty button {
  width: 2.4rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

.qty input {
  width: 3.6rem;
  border: 0;
  background: transparent;
  text-align: center;
  font: 500 1rem/1 var(--sans);
  color: var(--ink);
  padding: 0;
}

.qty-unit {
  display: inline-flex;
  align-items: center;
  padding-right: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #0f766e;
  white-space: nowrap;
}

.qty-block-line { min-width: 0; }
.qty-label-light { color: rgba(246, 241, 232, 0.78); margin-bottom: 0.2rem; }
.qty-small .qty-unit { color: #f3c9a4; }

.item-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.price-main { font-size: clamp(1.6rem, 3vw, 2.15rem); overflow-wrap: anywhere; color: #ea580c; }
.price p { margin: 0; }
.price-unit, .price-gross { font-size: 0.9rem; }
.price-gross { margin-top: 0.15rem; }

.filter-empty {
  background: var(--paper-2);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}

.trade-faq { margin-top: 1.4rem; }
.trade-faq details, .faq details {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}
.trade-faq details:last-child, .faq details:last-child { border-bottom: 1px solid var(--line); }
.trade-faq summary, .faq summary {
  cursor: pointer;
  font-weight: 600;
}
.trade-faq details p, .faq details p { margin: 0.45rem 0 0.2rem; }
.trade-faq details p { color: #ffffff; }
.faq details p { color: var(--muted); }

.panel-disclaimer { color: #ffffff; }

.estimate {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: min(88vh, 760px);
  overflow: auto;
  visibility: hidden;
  background: var(--quote);
  color: var(--cream);
  border-radius: 1.3rem 1.3rem 0 0;
  padding: 1rem 1rem 1.4rem;
  transform: translateY(110%);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.2);
}

.estimate h2 { font-size: 2rem; margin: 0; color: var(--cream); }
.estimate h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-2);
}
.kicker-light { color: var(--copper-2); }
.estimate-count { color: var(--quote-dim); margin: 0.2rem 0 0.8rem; }

.estimate-top { margin-bottom: 0.4rem; }
.sheet-close {
  display: inline-flex;
  margin-bottom: 0.6rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 241, 232, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: 500 0.9rem/1 var(--sans);
}

.warn {
  background: #f4e3d4;
  color: #3d2618;
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
}

.empty-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.empty p { color: var(--quote-dim); }

.group { padding: 0.3rem 0 0.8rem; border-top: 1px solid rgba(246, 241, 232, 0.12); }
.line {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0;
}
.line-title { margin: 0; font-weight: 600; }
.line-meta, .line-unit, .line-unit-label { margin: 0.15rem 0 0; color: var(--quote-dim); font-size: 0.86rem; }
.line-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}
.line-sum {
  margin: 0;
  font-size: 1.2rem;
  color: var(--copper-2);
  text-align: right;
}
.qty-small { background: #2a2622; border-color: #3d3832; }
.qty-small button, .qty-small input { color: var(--cream); }
.linkish {
  background: none;
  border: 0;
  color: var(--quote-dim);
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  font: 500 0.85rem/1 var(--sans);
}
.subtotal {
  margin: 0.15rem 0 0.5rem;
  color: var(--quote-dim);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.subtotal strong { color: var(--cream); font-weight: 600; }
.subtotal-gross { display: block; }

.grand {
  margin-top: 0.6rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(246, 241, 232, 0.16);
  display: grid;
  gap: 0.35rem;
}
.grand div { display: block; }
.grand span { color: var(--quote-dim); }
.grand strong {
  display: block;
  font-size: 1.2rem;
  text-align: left;
  overflow-wrap: anywhere;
}
.grand-gross strong { font-size: clamp(1.45rem, 3vw, 1.85rem); color: var(--copper-2); line-height: 1.05; }
.estimate-note { color: var(--quote-dim); font-size: 0.88rem; }
.estimate-actions { display: grid; gap: 0.45rem; }

.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23, 21, 18, 0.48);
  z-index: 35;
}

.estimate-bar {
  display: none;
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 30;
}

.estimate-bar button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  background: var(--quote);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: 500 0.95rem/1.2 var(--sans);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.estimate-bar strong {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--copper-2);
}

.estimate-bar small { color: var(--quote-dim); }

.guide, .faq, .inquiry { padding: 1rem 0 2rem; }

.guide h2, .faq h2, .inquiry h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
  color: white;
}

.guide-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.guide article {
  background: white;
  color: var(--ink);
  border: 0;
  border-top: 5px solid #0ea5e9;
  border-radius: 1rem;
  padding: 1rem 1rem 0.9rem;
  box-shadow: var(--shadow);
}
.guide article:nth-child(6n+2) { border-top-color: #e11d48; }
.guide article:nth-child(6n+3) { border-top-color: #2563eb; }
.guide article:nth-child(6n+4) { border-top-color: #ea580c; }
.guide article:nth-child(6n+5) { border-top-color: #059669; }
.guide article:nth-child(6n+6) { border-top-color: #7c3aed; }

.guide h3 { margin-bottom: 0.35rem; font-size: 1.25rem; color: var(--ink); }
.guide p { color: var(--muted); margin-bottom: 0.6rem; }
.guide a { font-weight: 600; color: #c2410c; }

.faq details {
  background: white;
  color: var(--ink);
  border: 0;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  margin: 0 0 0.55rem;
  box-shadow: var(--shadow);
}
.faq summary { color: var(--ink); }
.faq details p { color: var(--muted); }

.inquiry {
  background: transparent;
  color: white;
  padding: 2.2rem 0;
}

.inquiry h2, .inquiry a { color: var(--cream); }
.inquiry .section-lead, .inquiry .fine-print { color: rgba(246, 241, 232, 0.82); }

.inquiry-grid { display: grid; gap: 1.3rem; }

form {
  background: var(--card);
  color: var(--ink);
  border-radius: 1.2rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.form-grid { display: grid; gap: 0.75rem; }
.field textarea { min-height: 7rem; resize: vertical; }
.sazetak {
  min-height: 9rem;
  background: #f6f3ec;
  color: var(--muted);
}

#form-poruka { min-height: 1.3rem; margin: 0.7rem 0 0; }
#form-poruka.is-error, #partner-poruka.is-error { color: #8c2f2f; }

.site-footer {
  background: var(--quote);
  color: var(--quote-dim);
  padding: 2rem 0 6.2rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.site-footer strong {
  display: block;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.site-footer a { color: var(--copper-2); }
.site-footer p { margin: 0.3rem 0; }

#print-root { display: none; }

.inquiry .eyebrow { color: var(--copper-2); }

@media (max-width: 719px) {
  :root { --header: 6.3rem; }
  .header-inner { flex-wrap: wrap; row-gap: 0.15rem; }
  .header-mail { margin-left: 3.15rem; font-size: 0.88rem; }
  .hero { padding: 0.85rem 0 0; }
  .lead { font-size: 1rem; }
  .hero-actions { margin-top: 0.85rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .disclaimer-band { padding: 0.75rem 0; }
}

@media (max-width: 979px) {
  body { padding-bottom: 5.4rem; }
  body.sheet-open .estimate { visibility: visible; }
  body.sheet-open { overflow: hidden; padding-bottom: 0; }
  body.sheet-open .estimate { transform: translateY(0); }
  body.sheet-open .backdrop { display: block; }
  body.sheet-open .estimate-bar { display: none; }
  .estimate-bar { display: block; }
  .nav-main { display: none; }
  .item-foot .btn { width: 100%; }
}

@media (min-width: 720px) {
  .step-grid, .guide-grid, .inquiry-grid, .footer-grid, .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid.two .wide { grid-column: 1 / -1; }
  #kalkulator #trade-nav,
  .hero #trade-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer { padding-bottom: 2rem; }
}

@media (min-width: 980px) {
  .hero { padding-top: 3rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: start;
  }
  .hero #trade-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workspace-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.1rem;
    align-items: start;
  }
  #kalkulator #trade-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0 0 0.9rem;
  }
  #trade-panel { min-width: 0; }
  .trade-btn {
    width: 100%;
    margin: 0;
    background: #0c3f58;
    justify-content: flex-start;
  }
  .estimate {
    position: sticky;
    top: calc(var(--header) + 0.6rem);
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    visibility: visible;
    height: auto;
    max-height: calc(100vh - var(--header) - 1.4rem);
    border-radius: 1.3rem;
    z-index: 5;
  }
  .sheet-close, .estimate-bar, .backdrop { display: none !important; }
  .site-footer { padding-bottom: 2.4rem; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .estimate { transition: none; }
}

@media print {
  body { background: white; color: black; padding: 0; }
  .site-header, .hero, .disclaimer-band, .steps, .workspace, .guide, .faq, .inquiry, .sponzori, .site-footer, .estimate-bar, .backdrop, .skip, .visually-hidden {
    display: none !important;
  }
  #print-root { display: block; }
  #print-root, #print-root * { visibility: visible; }
  .print-title {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    margin: 0.2rem 0;
  }
  table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
  th, td { border-bottom: 1px solid #ccc; text-align: left; vertical-align: top; padding: 0.35rem 0.4rem; font-size: 0.86rem; }
  .print-group td { font-weight: 700; padding-top: 0.7rem; border-bottom: 0; }
  .print-sub td { font-weight: 600; }
  .print-meta { color: #444; }
  .print-gross { font-size: 1.1rem; }
  .print-foot { margin-top: 1.2rem; font-size: 0.85rem; }
}

img.brand-mark { display: block; width: 2.4rem; height: 2.4rem; object-fit: contain; }
.updated { color: #fdba74; font-weight: 600; margin: 0.8rem 0 0; }
.link-grid { display: grid; gap: 0.75rem; margin-top: 1rem; }
.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 8.2rem;
  background: #0c3f58;
  color: #e7f6f8;
  text-decoration: none;
  border: 1px solid rgba(153, 246, 228, 0.28);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 24px rgba(2, 12, 27, 0.18);
}
.link-card strong { color: white; font-size: 1.05rem; line-height: 1.25; }
.link-card span { color: #d7e7f2; font-size: 0.92rem; }
.link-card:hover { border-color: #fb923c; color: white; }

.seo-page { padding: 1.4rem 0 2.2rem; }
.crumb { margin: 0 0 0.8rem; color: #99f6e4; font-size: 0.92rem; }
.crumb a { color: #fdba74; text-decoration: none; }
.seo-page h1 { max-width: 20ch; }
.prose { max-width: 46rem; }
.prose p, .prose li { color: #d7e7f2; }
.prose h2, .seo-page h2 { color: white; font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 1.4rem 0 0.6rem; }
.prose ul { margin: 0.2rem 0 1rem; padding-left: 1.2rem; }
.table-wrap { overflow-x: auto; border-radius: 1rem; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; background: white; color: #10233c; min-width: 36rem; }
.price-table th, .price-table td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid #d5e4ee; vertical-align: top; }
.price-table th { background: #0c3f58; color: white; font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.sponzori { padding: 0.4rem 0 1.6rem; }
.sponzori-vrh { margin: 0.45rem 0 0.7rem; padding: 0; }
.sponzori-vrh-naslov {
  margin: 0 0 0.35rem;
  color: #fdba74;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sponzori-vrh .oglas-red {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.15rem;
}
.sponzori-vrh .oglas-slot {
  flex: 0 0 78%;
  min-height: 5.75rem;
  min-width: 0;
  scroll-snap-align: start;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
}
.sponzori-vrh .oglas-oznaka { margin: 0; flex: 0 0 auto; }
.sponzori-vrh .oglas-slot a {
  font-size: 0.95rem;
  line-height: 1.25;
  white-space: normal;
}
#grupa-otvorena { scroll-margin-top: calc(var(--header) + 0.4rem); }
@media (min-width: 720px) {
  .sponzori-vrh .oglas-red {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
  .sponzori-vrh .oglas-slot {
    flex: unset;
    min-height: 6.5rem;
    padding: 0.8rem 0.9rem;
  }
}
.sponzori-raspored { display: grid; gap: 1rem; }
.sponzori-blok h2 {
  color: white;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0 0 0.25rem;
}
.sponzori-uvod { margin: 0 0 0.75rem; color: #d7e7f2; }
.oglas-red { display: grid; gap: 0.7rem; }
.oglas-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 8.2rem;
  background: white;
  color: #10233c;
  border-radius: 1rem;
  padding: 0.85rem 0.95rem 1rem;
  box-shadow: var(--shadow);
}
.oglas-oznaka {
  margin: 0;
  align-self: flex-start;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.oglas-slot a {
  color: #10233c;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.3;
}
.oglas-slot a:hover { color: #c2410c; }
.oglas-slot p { margin: 0; color: #3d5874; font-size: 0.92rem; }
.oglas-prazan {
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed #fdba74;
}
.oglas-logo, .oglas-monogram {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  object-fit: contain;
  background: #e7f4f6;
}
.oglas-monogram {
  display: grid;
  place-items: center;
  color: #0f766e;
  font-weight: 700;
}
.oglas-kontakt { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; }
.paketi { width: 100%; border-collapse: collapse; background: white; color: #10233c; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); margin: 0.6rem 0 1rem; }
.paketi th, .paketi td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid #d5e4ee; vertical-align: top; }
.paketi th { background: #0c3f58; color: white; }
.paketi td:last-child, .paketi th:last-child { text-align: left; white-space: normal; }
.partner-lista { margin: 0.2rem 0 1rem; padding-left: 1.15rem; color: #d7e7f2; }
.partner-lista li { margin: 0.28rem 0; }
.stranica-partner .site-footer { padding-bottom: 2rem; }
@media (min-width: 800px) {
  .sponzori-raspored { grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr); align-items: start; }
  .oglas-red { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sponzori-materijal .oglas-red { grid-template-columns: 1fr; }
}
.related { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.related a {
  background: #0c3f58;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(153, 246, 228, 0.28);
}
.related a:hover { border-color: #fb923c; }
.seo-page .faq details { margin-top: 0.45rem; }

.koraci { margin: 0.2rem 0 1rem; padding-left: 1.2rem; color: #d7e7f2; }
.koraci li { margin: 0.28rem 0; }
.dva { display: grid; gap: 0.8rem; margin: 0.4rem 0 1rem; }
.dva article {
  background: rgba(7, 24, 44, 0.35);
  border: 1px solid rgba(153, 246, 228, 0.28);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
}
.dva h3 { margin: 0 0 0.4rem; color: #fdba74; font-size: 1rem; }
.dva li { color: #d7e7f2; }
.primjer-kartice { display: grid; gap: 0.7rem; margin: 0.6rem 0 1rem; }
.primjer-kartica {
  background: white;
  color: #10233c;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
}
.primjer-kartica strong { display: block; }
.primjer-kartica .price-main { margin: 0.35rem 0 0; }
.biljeska { color: #d7e7f2; font-size: 0.92rem; }
.vodic-zaglavlje { display: flex; flex-direction: column; gap: 0.75rem; }
.vodic-zaglavlje .crumb { margin: 0; }
.upit-grupa {
  width: 100%;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.25;
  padding: 0.9rem 1rem;
}
.vodic-embed { padding: 1.2rem 0 2rem; }
.vodic-embed[hidden] { display: none !important; }
#pocetna[hidden] { display: none !important; }
.back-link { margin: 0 0 0.8rem; }
@media (min-width: 720px) {
  .dva { grid-template-columns: 1fr 1fr; }
  .primjer-kartice { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .vodic-zaglavlje {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "crumb gumb" "naslov gumb";
    column-gap: 1.4rem;
    row-gap: 0.35rem;
    align-items: start;
  }
  .vodic-zaglavlje .crumb { grid-area: crumb; }
  .vodic-naslov { grid-area: naslov; }
  .upit-grupa {
    grid-area: gumb;
    width: 16.5rem;
    margin-top: 0.15rem;
  }
}
@media (min-width: 720px) {
  .link-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .link-grid { grid-template-columns: 1fr 1fr 1fr; }
}
