/* =========================================================
   GeoTop d.o.o. — dizajn 2026
   ========================================================= */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-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;
}

:root {
  --night: #1b2620;
  --night-2: #141d18;
  --night-3: #155a2b;
  --green: #2f9e44;
  --green-bright: #4cc764;
  --green-dark: #1d7a33;
  --mint: #e7f6ea;
  --yellow: #f5c400;
  --yellow-soft: #fff6cc;
  --paper: #f6f7f4;
  --white: #ffffff;
  --ink: #0f1a14;
  --text: #33413a;
  --muted: #66746c;
  --line: #e2e7e1;
  --line-dark: rgba(255,255,255,.1);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(20,30,24,.04), 0 12px 32px -12px rgba(20,30,24,.14);
  --shadow-lg: 0 30px 60px -20px rgba(20,30,24,.35);
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--white); }
.section.dark { background: var(--night); color: #d6ecdb; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.section-head.row > div { max-width: 640px; }
.section-head.row p { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--yellow); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.hl { color: var(--green-bright); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 12px; }

/* ---------- Gumbi ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.1;
  background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--fg); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { --bg: var(--green); --fg: #fff; box-shadow: 0 10px 24px -10px rgba(47,158,68,.7); }
.btn-primary:hover { --bg: var(--green-dark); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); box-shadow: 0 10px 28px -10px rgba(245,196,0,.7); }
.btn-yellow:hover { --bg: #ffd31a; }
.btn-ghost { --bg: rgba(255,255,255,.06); --fg: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgba(255,255,255,.14); }
.btn-outline { --bg: transparent; --fg: var(--ink); border-color: #cdd6cf; }
.btn-outline:hover { border-color: var(--ink); }
.btn-dark { --bg: var(--ink); --fg: #fff; }

/* ---------- Zaglavlje ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,30,24,.82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand .logo { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.brand .logo img { width: 40px; }
.brand strong { font-size: 1.15rem; display: block; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.brand small { color: #a7cfb1; font-size: .78rem; font-weight: 500; }
.brand:hover { color: #fff; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: .6em 1em; border-radius: 999px; text-decoration: none; color: #e6f4e9; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--night); background: #fff; }
.nav .nav-phone { margin-left: 10px; padding: .6em 1.1em; background: var(--yellow); color: var(--ink); display: inline-flex; gap: .5em; align-items: center; }
.nav .nav-phone:hover { background: #ffd31a; color: var(--ink); }
.nav .nav-phone svg { width: 1em; height: 1em; }
.nav-toggle {
  display: none; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer; padding: 0; color: #fff;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line-dark); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 4px; }
  .nav a { padding: .9em 1em; border-radius: 12px; }
  .nav .nav-phone { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero (početna) ---------- */
.hero {
  position: relative; overflow: hidden; color: #d6ecdb;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(47,158,68,.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(245,196,0,.10), transparent 60%),
    var(--night);
}
.hero::before {
  content: ""; position: absolute; inset: -10%;
  background: url("../img/topo-light.svg") center / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%, 2%, 0) scale(1.05); } }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(110px, 12vw, 170px); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--yellow); }
.hero .lead { color: #c9e4cf; max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); font-size: .86rem; font-weight: 600; color: #dfe8e2; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(76,199,100,.2); }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,30,24,.55)); }
.hero-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--r-lg);
  border: 2px solid var(--yellow); opacity: .7;
}
.chip {
  position: absolute; z-index: 2; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.chip strong { display: block; font-size: 1.5rem; line-height: 1; letter-spacing: -.03em; }
.chip span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.chip .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; }
.chip .dot svg { width: 22px; height: 22px; }
.chip-1 { left: -34px; bottom: 54px; }
.chip-2 { right: -18px; top: 36px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-media .frame { aspect-ratio: 5 / 4; }
  .chip-1 { left: -6px; } .chip-2 { right: -6px; }
}

/* Brzi kontakt — kartice preko ruba hero dijela */
.quick { position: relative; z-index: 3; margin-top: -72px; }
.quick .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick a {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .2s;
}
.quick a:hover { transform: translateY(-4px); border-color: var(--green); color: var(--ink); }
.quick .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; flex: none; }
.quick a:first-child .ic { background: var(--yellow); color: var(--ink); }
.quick .ic svg { width: 24px; height: 24px; }
.quick small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.quick strong { font-size: 1.12rem; letter-spacing: -.01em; word-break: break-word; }
@media (max-width: 860px) { .quick .grid { grid-template-columns: 1fr; } .quick { margin-top: -56px; } }

/* ---------- Podstranice: hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #c9e4cf; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  background: radial-gradient(700px 400px at 90% 0%, rgba(47,158,68,.25), transparent 60%), var(--night);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/topo-light.svg") right center / cover no-repeat; opacity: .9; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .35em; }
.page-hero p { color: #c9e4cf; margin: 0; max-width: 680px; font-size: 1.1rem; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #a7cfb1; font-weight: 600; }
.crumbs a { color: #e6f4e9; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Kartice i mreže ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }

/* Bento usluge */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.tile .num { font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.tile h3 { font-size: 1.3rem; margin: 0 0 .35em; }
.tile p { margin: 0; color: var(--muted); font-size: .97rem; }
.tile .go {
  position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go { background: var(--green); color: #fff; transform: rotate(-45deg); }
.tile.feature { grid-column: span 2; grid-row: span 2; background: var(--night); color: #d6ecdb; border: 0; min-height: 460px; }
.tile.feature h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tile.feature p { color: #c9e4cf; font-size: 1.05rem; max-width: 420px; }
.tile.feature .num { color: var(--yellow); }
.tile.feature .bg { position: absolute; inset: 0; z-index: 0; }
.tile.feature .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform .6s var(--ease); }
.tile.feature .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,24,.2) 0%, rgba(20,30,24,.95) 85%); }
.tile.feature:hover .bg img { transform: scale(1.05); }
.tile.feature > *:not(.bg):not(.go) { position: relative; z-index: 1; }
.tile.feature .go { z-index: 2; }
.tile.feature .bg { background: radial-gradient(500px 300px at 100% 0%, rgba(76,199,100,.35), transparent 60%), url("../img/topo-light.svg") center / cover no-repeat; }
.tile.feature .go { background: var(--yellow); }
.tile.wide { grid-column: span 2; }
.tile.green { background: var(--mint); border-color: transparent; }
.tile.yellow { background: var(--yellow-soft); border-color: transparent; }
.tile .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--paper); color: var(--green-dark); display: grid; place-items: center; }
.tile.green .ic, .tile.yellow .ic { background: #fff; }
.tile .ic svg { width: 26px; height: 26px; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile.feature, .tile.wide { grid-column: auto; grid-row: auto; }
  .tile.feature { min-height: 380px; }
}

/* O nama */
.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1fr 1fr; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split .media .stamp {
  position: absolute; right: -16px; bottom: -28px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-weight: 800; line-height: 1.05; box-shadow: var(--shadow-lg); transform: rotate(-8deg);
}
.split .media .stamp b { display: block; font-size: 2.6rem; letter-spacing: -.04em; }
.split .media .stamp small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .media .stamp { right: 8px; width: 120px; height: 120px; } .split .media .stamp b { font-size: 2rem; } }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.values div { padding: 18px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.values strong { display: block; color: var(--ink); margin-bottom: 2px; }
.values span { font-size: .93rem; color: var(--muted); }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Brojke */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stats div { padding: 34px 24px 6px; border-right: 1px solid var(--line-dark); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.stats strong em { font-style: normal; color: var(--yellow); }
.stats span { color: #a7cfb1; font-weight: 600; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div { border-bottom: 1px solid var(--line-dark); padding-bottom: 26px; }
}

/* Koraci */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps .card { position: relative; padding: 0; background: none; border: 0; box-shadow: none; }
.steps .card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: relative; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 22px;
  background: var(--night); color: var(--yellow); font-weight: 800; display: grid; place-items: center;
}
.steps .card h3 { font-size: 1.15rem; }
.steps .card p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 6px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a33' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 9vw, 120px); background: transparent; }
.section.alt + .cta, .faq-wrap + .cta { background: var(--white); }
.cta .panel {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px);
  background: radial-gradient(600px 300px at 100% 0%, rgba(245,196,0,.18), transparent 60%), var(--green-dark);
  color: #e3f3e6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta .panel::before { content: ""; position: absolute; inset: 0; background: url("../img/topo-light.svg") center / cover no-repeat; opacity: 1.4; }
.cta .panel > * { position: relative; }
.cta h2 { color: #fff; margin: 0 0 .25em; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta p { margin: 0; color: #d3ecd8; max-width: 520px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Usluge (detalj) ---------- */
.service-list { display: grid; gap: 16px; }
.service {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 30px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); scroll-margin-top: 100px; transition: border-color .25s, box-shadow .25s;
}
.service:hover, .service:target { border-color: var(--green); box-shadow: var(--shadow); }
.service .icon { width: 72px; height: 72px; border-radius: 20px; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; }
.service .icon svg { width: 34px; height: 34px; }
.service h2 { font-size: 1.45rem; margin-bottom: .4em; }
.service p { margin-bottom: .6em; }
.service p:last-child { margin-bottom: 0; }
.service .meta { font-size: .93rem; color: var(--muted); padding: 10px 14px; background: var(--paper); border-radius: 10px; display: inline-block; }
@media (max-width: 600px) { .service { grid-template-columns: 1fr; padding: 24px; } .service .icon { width: 56px; height: 56px; } }
.layout-aside { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside .card.dark { background: var(--night); color: #c9e4cf; border: 0; }
.aside .card.dark h3 { color: #fff; }
.aside .card .btn { width: 100%; margin-top: 8px; }
.aside nav a { display: block; padding: 8px 0; text-decoration: none; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.aside nav a:last-child { border-bottom: 0; }
.aside nav a:hover { color: var(--green-dark); }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---------- Cjenik ---------- */
.notice { border-radius: var(--r); padding: 22px 26px; margin-bottom: 24px; background: var(--yellow-soft); border: 1px solid #f3e19a; }
.notice.info { background: var(--mint); border-color: #cbe9d1; }
.notice p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
table.price { width: 100%; border-collapse: collapse; min-width: 680px; }
table.price th, table.price td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.price thead th { background: var(--night); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
table.price tbody tr { transition: background .15s; }
table.price tbody tr:hover { background: #f8faf7; }
table.price tbody tr:last-child td { border-bottom: 0; }
table.price td:first-child { color: var(--muted); font-weight: 700; font-size: .9rem; }
table.price .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.price td.num strong { color: var(--ink); font-size: 1.05rem; }
table.price .base { color: var(--muted); }
table.price small { color: var(--muted); display: block; font-size: .82rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: var(--ink); vertical-align: middle; }

.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.archive { font-size: .93rem; margin-top: 12px; }
.archive ul { padding-left: 1.2em; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 8px 28px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; }
.contact-list li:first-child .icon { background: var(--yellow); color: var(--ink); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--green-dark); }

#upit.card { padding: clamp(24px, 4vw, 40px); }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 700; margin-bottom: 7px; color: var(--ink); font-size: .92rem; }
form input, form select, form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s;
}
form input:hover, form select:hover, form textarea:hover { border-color: #c9d3cb; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(47,158,68,.15); }
form textarea { min-height: 150px; resize: vertical; }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row2 { grid-template-columns: 1fr; } }
form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
form .consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
form button.btn { width: 100%; padding: 1.1em; font-size: 1.02rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; display: none; font-weight: 600; }
.alert.show { display: block; }
.alert.ok { background: var(--mint); color: var(--green-dark); }
.alert.err { background: #fdecec; color: #9b1c1c; }

.map { position: relative; border-radius: var(--r); overflow: hidden; background: var(--night) url("../img/topo-light.svg") center / cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map .map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.map .map-consent p { max-width: 360px; color: #c9e4cf; font-size: .92rem; }
.map .map-consent .pin { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(245,196,0,.15); }
.map .map-consent .pin svg { width: 26px; height: 26px; }
.photo { margin: 0; }
.photo img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* ---------- Česta pitanja ---------- */
.faq-wrap { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.08rem; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a14' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }

/* ---------- Podnožje ---------- */
.footer { background: var(--night); color: #a7cfb1; padding: clamp(56px, 8vw, 88px) 0 28px; font-size: .95rem; position: relative; overflow: hidden; }
.footer .big { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1.05; margin-bottom: 40px; max-width: 760px; }
.footer .big a { color: var(--yellow); text-decoration: none; }
.footer .big a:hover { text-decoration: underline; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1em; }
.footer a { color: #dfe8e2; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55em; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.footer .legal { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---------- Mobilna traka za poziv ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90;
    padding: 6px; border-radius: 20px; background: rgba(20,30,24,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border-radius: 14px; text-decoration: none; color: #fff; font-size: .85rem; font-weight: 700; }
  .callbar a svg { width: 18px; height: 18px; }
  .callbar a.primary { background: var(--yellow); color: var(--ink); }
  body { padding-bottom: 84px; }
}

.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }

/* ---------- Animacije pri pomicanju ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Uski zasloni ---------- */
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div { padding: 26px 14px 22px; }
  .stats strong { font-size: clamp(2rem, 10vw, 2.8rem); }
}
@media (max-width: 440px) {
  .brand small { display: none; }
  .hero .actions .btn { width: 100%; }
  .chip { padding: 10px 12px; }
  .chip strong { font-size: 1.2rem; }
  .chip .dot { width: 32px; height: 32px; }
}

/* Cjenik kao kartice na mobitelu */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  table.price { min-width: 0; }
  table.price thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.price, table.price tbody, table.price tr, table.price td { display: block; width: 100%; }
  table.price tbody tr { background: #fff !important; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
  table.price td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; text-align: right; }
  table.price td::before { content: attr(data-label); font-weight: 700; color: var(--muted); font-size: .82rem; text-align: left; flex: none; max-width: 45%; }
  table.price td[data-label="Usluga"] { display: block; text-align: left; font-weight: 700; color: var(--ink); }
  table.price td[data-label="Usluga"]::before { display: none; }
  table.price td[data-label="Šifra"] { display: none; }
  table.price tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  table.price tbody tr td:last-child { border-bottom: 0; }
}


/* =========================================================
   Svijetla tema — zelena samo kao naglasak
   ========================================================= */
/* Zaglavlje: bijelo */
.header { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px -14px rgba(20,30,24,.35); }
.brand, .brand:hover, .brand strong { color: var(--ink); }
.brand small { color: var(--muted); }
.brand .logo { border: 1px solid var(--line); }
.nav a { color: var(--text); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--green-dark); background: var(--mint); }
.nav-toggle { background: var(--paper); border-color: var(--line); color: var(--ink); }
@media (max-width: 920px) { .nav { background: #fff; border-bottom-color: var(--line); } }

/* Hero: svijetao, s blagim izohipsama */
.hero {
  color: var(--text);
  background:
    radial-gradient(700px 460px at 88% 20%, rgba(47,158,68,.12), transparent 65%),
    radial-gradient(520px 360px at 6% 92%, rgba(245,196,0,.14), transparent 65%),
    linear-gradient(180deg, #fbfcf9 0%, var(--paper) 100%);
}
.hero::before { background-image: url("../img/topo-green.svg"); opacity: .7; }
.hero h1 { color: var(--ink); }
.hero h1 .hl { color: var(--green); }
.hero .lead { color: var(--muted); }
.hero .eyebrow { color: var(--green-dark); }
.hero .btn-ghost, .page-hero .btn-ghost { --bg: #fff; --fg: var(--ink); border-color: #cdd6cf; backdrop-filter: none; }
.hero .btn-ghost:hover { border-color: var(--ink); }
.pill { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--shadow); }
.pill::before { background: var(--green); box-shadow: 0 0 0 4px rgba(47,158,68,.15); }
.hero-media .frame { border: 6px solid #fff; }
.hero-media::before { border-color: var(--yellow); opacity: 1; }
.quick { margin-top: -64px; }

/* Podstranice: svijetli naslovni dio */
.page-hero {
  color: var(--muted);
  background:
    radial-gradient(600px 360px at 95% 0%, rgba(47,158,68,.12), transparent 65%),
    linear-gradient(180deg, #fbfcf9 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before { background-image: url("../img/topo-green.svg"); opacity: .6; }
.page-hero h1 { color: var(--ink); }
.page-hero p { color: var(--muted); }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--green-dark); }
.crumbs a:hover { color: var(--green); }
.page-hero + .section { padding-top: clamp(40px, 5vw, 64px); }

/* Brojke: svijetle kartice */
.section.dark { background: var(--paper); color: var(--text); }
.section.dark h2 { color: var(--ink); }
.section.dark .eyebrow { color: var(--green-dark); }
.stats { border-top: 0; gap: 16px; }
.stats div { border: 1px solid var(--line) !important; border-radius: var(--r); padding: 30px 26px 24px; background: #fff; }
.stats strong { color: var(--ink); }
.stats strong span { color: inherit; font: inherit; }
.stats strong em { color: var(--green); }
.stats span { color: var(--muted); }

/* Istaknuta usluga — jedini veći zeleni blok */
.tile.feature { background: linear-gradient(140deg, #1d7834 0%, #2b9443 100%); }
.tile.feature .bg { background: url("../img/topo-light.svg") center / cover no-repeat; }
.tile.feature .bg::after { background: linear-gradient(180deg, transparent 40%, rgba(20,30,24,.35) 100%); }
.tile.feature p { color: #e6f4e9; }
.tile.green { background: #fff; border-color: var(--line); }
.tile.green .ic { background: var(--mint); }
.tile.yellow .ic { background: #fff; }

/* Koraci */
.steps .card::before { background: #fff; color: var(--green-dark); border: 2px solid var(--green); }

/* Izmjenične pozadine */
.faq-wrap { background: var(--paper); }
.section.alt + .cta, .faq-wrap + .cta { background: var(--paper); }

/* Kartica u bočnom stupcu i karta */
.aside .card.dark { background: var(--night); }
.map { background: var(--mint) url("../img/topo-green.svg") center / cover; }
.map .map-consent p { color: var(--muted); }

/* Mobilna traka */
@media (max-width: 700px) {
  .callbar { background: rgba(255,255,255,.96); border: 1px solid var(--line); }
  .callbar a { color: var(--ink); }
  .callbar a.primary { background: var(--green); color: #fff; }
}

/* =========================================================
   Zelena samo u sitnim detaljima
   ========================================================= */
/* Istaknuta usluga: svijetla kartica */
.tile.feature { background: #fff; color: var(--text); border: 1px solid var(--line); }
.tile.feature .bg { background: url("../img/topo-green.svg") center / cover no-repeat; opacity: .8; }
.tile.feature .bg::after { display: none; }
.tile.feature h3 { color: var(--ink); }
.tile.feature p { color: var(--muted); }
.tile.feature .num { color: var(--green-dark); }
.tile.feature .go { background: var(--green); color: #fff; }

/* Završni poziv: svijetla kartica */
.cta .panel { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta .panel::before { background-image: url("../img/topo-green.svg"); opacity: .6; }
.cta h2 { color: var(--ink); }
.cta p { color: var(--muted); }
.cta .btn-ghost { --bg: #fff; --fg: var(--ink); border-color: #cdd6cf; backdrop-filter: none; }
.cta .btn-ghost:hover { border-color: var(--ink); }

/* Neutralne pozadine */
.map { background: var(--paper) url("../img/topo-green.svg") center / cover; border: 1px solid var(--line); }
.notice.info { background: #fff; border-color: var(--line); border-left: 4px solid var(--green); }
.hero { background: linear-gradient(180deg, #fcfcfa 0%, var(--paper) 100%); }
.hero::before { opacity: .5; }
.page-hero { background: linear-gradient(180deg, #fcfcfa 0%, var(--paper) 100%); }
.page-hero::before { opacity: .45; }

/* Stranice pojedinih usluga */
.service-page { max-width: none; padding: clamp(24px, 4vw, 44px); }
.service-page h2 { font-size: 1.45rem; margin-top: 1.6em; }
.service-page h2:first-child { margin-top: 0; }
.service-page ol { padding-left: 1.2em; }
.service-page ol li { margin-bottom: .5em; padding-left: .2em; }
.service-page ol li::marker { color: var(--green); font-weight: 800; }
.aside .card .btn-outline { width: 100%; }
.page-hero .actions .btn-ghost { --bg: #fff; --fg: var(--ink); border-color: #cdd6cf; }

/* Cjenik — jedna stavka */
.price-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.price-hero > div { max-width: 640px; }
.price-hero .from { font-size: 1.1rem; color: var(--muted); margin: 0 0 .4em; }
.price-hero .from strong { font-size: clamp(2.6rem, 6vw, 3.8rem); color: var(--ink); letter-spacing: -.04em; margin: 0 .15em; }
.price-hero .from span { font-weight: 600; }
.price-hero p:last-child { margin: 0; color: var(--muted); }
.legal-note { font-size: .92rem; color: var(--muted); max-width: 900px; }
.small { font-size: .88rem; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.info-grid h2 { font-size: 1.2rem; margin-bottom: .6em; }
.info-grid p { font-size: .96rem; }
ul.files { list-style: none; padding: 0; margin: 0 0 .8em; }
ul.files li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--paper); font-size: .86rem; word-break: break-all; display: flex; justify-content: space-between; gap: 10px; }
ul.files li span { font-weight: 800; color: var(--green-dark); flex: none; }

.aside-price { margin: 0 0 .3em; color: var(--muted); font-weight: 600; }
.aside-price strong { font-size: 2rem; color: var(--ink); letter-spacing: -.03em; }

.price-note { margin-top: 10px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; font-size: .95rem; color: var(--text); }

.chip strong span { display: inline; font: inherit; color: inherit; }
