/* ==========================================================================
   CodeHarbor Technologies – javni sajt
   Boje uzete iz loga: navy #022C4F, teal #0199AC, svjetlo svjetionika #8AD5D9
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.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: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #022C4F;
  --night: #01182E;
  --deep: #0F4B72;
  --teal: #0199AC;
  --teal-dark: #017785;
  --beam: #8AD5D9;
  --mist: #EEF5F7;
  --line: #D8E5EB;
  --ink: #13283B;
  --slate: #50677B;
  --white: #FFFFFF;

  --f-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { flex: none; }

/* --- Dugmad -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-head); font-weight: 650; font-size: .95rem;
  padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { color: #fff; border-color: rgba(138, 213, 217, .55); }
.btn-ghost:hover { border-color: var(--beam); background: rgba(138, 213, 217, .1); }
.btn-ghost-dark { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--beam); }
.link-strong { font-family: var(--f-head); font-weight: 700; color: var(--teal-dark); text-decoration: none; border-bottom: 2px solid var(--beam); padding-bottom: 2px; }
.link-strong:hover { border-color: var(--teal); }

/* --- Zaglavlje ----------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-family: var(--f-head); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; }
.b-code { color: var(--navy); }
.b-harbor { color: var(--teal); }
.brand-sub { font-family: var(--f-head); font-size: .62rem; font-weight: 600; letter-spacing: .38em; color: var(--navy); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a:not(.btn):hover { color: var(--teal-dark); }
.nav a.is-active { color: var(--teal-dark); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle-close { display: none; }

/* --- Hero (noćna luka sa svjetionikom) ---------------------------------- */
.hero { position: relative; overflow: hidden; color: #DCEBF2; background: linear-gradient(180deg, var(--night) 0%, var(--navy) 62%, var(--deep) 100%); padding: 84px 0 150px; }
.hero-sky { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 9%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 26%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 12%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 86% 22%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 6%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 42%, rgba(255,255,255,.3) 50%, transparent 51%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero-lead { font-size: 1.15rem; max-width: 52ch; color: #C3D9E4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0; }
.hero-facts div { display: flex; flex-direction: column-reverse; }
.hero-facts dt { font-size: .85rem; color: #94B4C6; }
.hero-facts dd { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 1.9rem; color: var(--beam); line-height: 1.1; }

.hero-light { position: relative; justify-self: center; width: min(360px, 100%); }
.hero-light::before { content: ""; position: absolute; left: 50%; top: 55%; width: 135%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 213, 217, .28), rgba(1, 153, 172, .10) 55%, transparent 100%); }
.hero-light img { position: relative; width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
/* Snopovi svjetla izlaze iz lanterne (≈ 50% / 16% slike) */
.beam { position: absolute; top: 15.5%; height: 120px; margin-top: -60px; pointer-events: none; transform-origin: var(--ox) 50%; }
.beam-left { right: 50%; width: 900px; --ox: 100%; background: linear-gradient(270deg, rgba(138, 213, 217, .55), rgba(138, 213, 217, 0) 85%); clip-path: polygon(0 0, 100% 46%, 100% 54%, 0 100%); }
.beam-right { left: 50%; width: 520px; --ox: 0%; background: linear-gradient(90deg, rgba(138, 213, 217, .55), rgba(138, 213, 217, 0) 85%); clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%); }
@media (prefers-reduced-motion: no-preference) {
  .beam { animation: sweep 2.6s cubic-bezier(.3, .7, .2, 1) .3s both; }
  .beam-left { --from: 9deg; }
  .beam-right { --from: -9deg; }
  @keyframes sweep { from { opacity: 0; transform: rotate(var(--from)); } 35% { opacity: 1; } to { opacity: 1; transform: rotate(0); } }
}
.hero-waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 140px; }
.hero-waves .wv1 { fill: var(--teal); opacity: .55; }
.hero-waves .wv2 { fill: #0F6F99; opacity: .8; }
.hero-waves .wv3 { fill: #fff; }

/* --- Sekcije ------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0 88px; }
.section-mist { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head-row > div { max-width: 640px; }

/* Usluge – lista, ne kartice */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
.svc { display: flex; gap: 18px; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mist); color: var(--teal-dark); flex: none; transition: background-color .15s, color .15s; }
.section-mist .svc-icon { background: #fff; }
.svc-icon-lg { width: 64px; height: 64px; }
.svc-text { display: flex; flex-direction: column; }
.svc-title { font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; color: var(--navy); margin-bottom: 4px; }
.svc-desc { color: var(--slate); font-size: .97rem; }
.svc:hover .svc-icon { background: var(--teal); color: #fff; }
.svc:hover .svc-title { color: var(--teal-dark); }

/* Koraci saradnje – stvarni redoslijed, zato brojevi */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--beam) 0 10px, transparent 10px 18px); }
.steps li { position: relative; counter-increment: step; padding-top: 66px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--f-head); font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--mist); }
.steps li:last-child::before { background: var(--teal); }
.steps p { color: var(--slate); font-size: .97rem; }

/* Projekti */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj-grid-2 { grid-template-columns: repeat(2, 1fr); }
.proj { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.proj[hidden] { display: none; }
.proj-visual { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--navy); }
.proj-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.proj:hover .proj-visual img { transform: scale(1.03); }
.proj-placeholder { position: relative; width: 100%; height: 100%; background: linear-gradient(160deg, var(--night), var(--navy) 60%, var(--deep)); display: flex; align-items: center; justify-content: center; }
.proj-placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.proj-placeholder .w1 { fill: var(--teal); opacity: .5; }
.proj-placeholder .w2 { fill: #0F6F99; opacity: .9; }
.proj-placeholder span { position: relative; font-family: var(--f-head); font-weight: 800; font-size: 3rem; color: var(--beam); letter-spacing: .04em; margin-bottom: 40px; }
.proj-body { padding: 18px 2px 0; }
.proj-cat { font-size: .85rem; font-weight: 600; color: var(--teal-dark); margin: 0 0 4px; }
.proj-title { font-size: 1.15rem; margin-bottom: 6px; }
.proj:hover .proj-title { color: var(--teal-dark); }
.proj-desc { color: var(--slate); font-size: .96rem; margin: 0; }

/* Poziv na akciju */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #C3D9E4; padding: 72px 0; }
.cta-beam { position: absolute; top: 50%; right: -40px; width: 70%; height: 240px; margin-top: -120px; background: linear-gradient(270deg, rgba(138, 213, 217, .22), transparent 80%); clip-path: polygon(0 0, 100% 45%, 100% 55%, 0 100%); pointer-events: none; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { max-width: 56ch; margin: 0; }

/* Zaglavlje podstranica */
.page-head { position: relative; background: linear-gradient(180deg, var(--night), var(--navy)); color: #C3D9E4; padding: 64px 0 96px; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-lead { font-size: 1.12rem; max-width: 60ch; margin: 0; }
.crumbs { margin-bottom: 14px; font-size: .92rem; }
.crumbs a { color: var(--beam); text-decoration: none; }
.crumbs a::before { content: "‹ "; }
.crumbs a:hover { text-decoration: underline; }
.page-head-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: #fff; }

/* Detalji usluge/projekta */
.svc-detail-list { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: auto 1fr 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-row:first-child { padding-top: 0; }
.svc-row h2 { font-size: 1.45rem; margin-bottom: 8px; }
.svc-row h2 a { color: inherit; text-decoration: none; }
.svc-row h2 a:hover { color: var(--teal-dark); }
.svc-row p { color: var(--slate); margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.checks .icon { color: var(--teal); margin-top: 3px; }
.checks-lg li { font-size: 1.02rem; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.06rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.detail-image { border-radius: var(--r-md); margin-bottom: 32px; width: 100%; }
.side-box { position: sticky; top: 100px; background: var(--mist); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.side-box h2 { font-size: 1.25rem; margin: 6px 0 0; }
.side-box p { color: var(--slate); margin: 0; font-size: .96rem; }
.side-box .svc-icon { background: #fff; }
.side-alt { text-align: center; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.facts dt, .facts-label { font-size: .85rem; color: var(--slate); margin: 0; }
.facts dd { margin: 0; font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; color: var(--navy); }
.tags-lg li { padding: 0; font-size: 1rem; }
.tags-lg a { display: block; padding: 10px 20px; color: var(--navy); text-decoration: none; font-family: var(--f-head); font-weight: 600; }
.tags-lg a:hover { color: var(--teal-dark); }
.tags-lg li:hover { border-color: var(--teal); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 600 .92rem var(--f-head); border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { color: var(--slate); }

/* O nama */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; max-width: 420px; margin: 0 auto; }
.about-figure figcaption { text-align: center; color: var(--slate); font-size: .95rem; margin-top: 18px; max-width: 40ch; margin-inline: auto; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.values div { border-top: 3px solid var(--teal); padding-top: 20px; }
.values p { color: var(--slate); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; color: var(--navy); }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1, 153, 172, .18); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field-error { color: #B03A2E; font-size: .9rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--slate); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); margin-bottom: 28px; }
.notice p { margin: 2px 0 0; }
.notice-success { background: #E3F6F3; color: #0B5345; }
.notice-success .icon { color: #12876F; }
.contact-side { background: var(--mist); border-radius: var(--r-md); padding: 30px; }
.contact-side h2 { font-size: 1.3rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--teal-dark); margin-top: 3px; }
.contact-list span { display: block; font-size: .85rem; color: var(--slate); }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--teal-dark); }

/* Paginacija */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.pager-btn { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; }
.pager-btn.is-disabled { opacity: .45; }
.pager-info { color: var(--slate); font-size: .92rem; }

/* Podnožje */
.footer { position: relative; background: var(--night); color: #9DB7C7; padding: 90px 0 0; margin-top: -1px; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; fill: var(--navy); }
.page-plain .footer-wave { fill: #fff; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 72px; margin-bottom: 14px; background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 8px; }
.footer-name { font-family: var(--f-head); font-weight: 800; color: #fff; font-size: 1.2rem; margin: 0 0 4px; }
.footer-tag { max-width: 34ch; font-size: .95rem; }
.footer-h { font-family: var(--f-head); font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.footer a { color: #C3D9E4; text-decoration: none; }
.footer a:hover { color: var(--beam); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(138, 213, 217, .3); border-radius: 50%; }
.social a:hover { border-color: var(--beam); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(138, 213, 217, .15); padding-top: 20px; padding-bottom: 28px; font-size: .88rem; }
.footer-bottom a { color: #6F8FA3; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1020px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-row .checks { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 2px; }
  .nav a:not(.btn) { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--mist); }
  .nav a.is-active { box-shadow: none; }
  .nav-cta { margin: 14px 0 0; }
  .nav-open .nav { display: flex; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline; }

  .hero { padding: 56px 0 130px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-light { grid-row: 1; width: 190px; justify-self: start; }
  .beam-left { width: 300px; }
  .beam-right { width: 600px; }
  .svc-list { grid-template-columns: 1fr; }
  .detail-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .side-box { position: static; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand-word { font-size: 1.15rem; }
  .brand img { width: 40px; }
  .section { padding: 64px 0; }
  .proj-grid, .proj-grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .svc-row .checks { grid-column: auto; }
  .hero-facts { gap: 12px 28px; }
  .hero-facts dd { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
.page-mist .footer-wave { fill: var(--mist); }

/* Budžet: vlastiti iznos */
.budget-custom { margin-top: 10px; }
.budget-custom[hidden] { display: none; }
.input-suffix { display: flex; }
.input-suffix input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-suffix span { display: flex; align-items: center; padding: 0 14px; background: var(--mist); border: 1.5px solid var(--line); border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--slate); font-weight: 600; }
