/* ==========================================================================
   BRANT ENERGY — Design System
   Paleta: duboka tamnoplava (korporativna), krem-bijela, grafit, sunčano žuta
   Fontovi: Montserrat (naslovi, usklađeno s logotipom) + Inter (tekst)
   ========================================================================== */

/* Fontovi s vlastitog poslužitelja (SIL OFL 1.1, vidi /assets/fonts/LICENSE.txt).
   Varijabilni fontovi: jedna datoteka pokriva sve debljine. Latinica + proširena latinica (č ć đ š ž). */
/* Hrvatska slova (č ć đ š ž) u zasebnoj maloj datoteci (3–7 KB umjesto 70–80 KB). Ostali rijetki
   znakovi iz „latin-ext” i dalje su u velikoj datoteci, koja se preuzima samo ako se takav znak pojavi. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../assets/fonts/inter-hr.woff2) format('woff2');
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(../assets/fonts/montserrat-hr.woff2) format('woff2');
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-0105, U+0108-010B, U+010E-010F, U+0112-015F, U+0162-017C, U+017F-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(../assets/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-0105, U+0108-010B, U+010E-010F, U+0112-015F, U+0162-017C, U+017F-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Zamjenski fontovi s mjerama prilagođenima Interu i Montserratu (izmjereno u pregledniku).
   Dok pravi font ne stigne, tekst se prikazuje sistemskim Arialom iste širine i visine,
   pa se nakon zamjene ništa ne pomiče (Googleov pokazatelj CLS ostaje 0). */
@font-face { font-family: 'Inter Fallback'; font-weight: 400 500; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Helvetica Neue'), local('HelveticaNeue'), local('Roboto'), local('Roboto-Regular');
  size-adjust: 106.1%; ascent-override: 91.5%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 600 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  size-adjust: 101.5%; ascent-override: 95.5%; descent-override: 23.6%; line-gap-override: 0%; }
@font-face { font-family: 'Montserrat Fallback'; font-weight: 600; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  size-adjust: 107%; ascent-override: 90.7%; descent-override: 23.4%; line-gap-override: 0%; }
@font-face { font-family: 'Montserrat Fallback'; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  size-adjust: 109.1%; ascent-override: 88.9%; descent-override: 22.9%; line-gap-override: 0%; }
@font-face { font-family: 'Montserrat Fallback'; font-weight: 800; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Arimo-Bold'), local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Roboto Bold'), local('Roboto-Bold');
  size-adjust: 111.3%; ascent-override: 87.1%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(../assets/fonts/montserrat-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 {
  /* Navy / Night */
  --navy-975: #050912;
  --navy-950: #070D1A;
  --navy-900: #0B1324;
  --navy-850: #0F1A30;
  --navy-800: #13213D;
  --navy-700: #1B2D52;
  --navy-600: #263C69;
  --navy-500: #3A5288;

  /* Light / Day */
  --cream: #FAFBF7;
  --paper: #F1F3EE;
  --paper-2: #E7EAE3;
  --graphite: #262A31;
  --graphite-2: #4A505B;
  --muted: #8C96AA;
  --muted-dark: #5E6676;

  /* Sun */
  --sun-300: #FFE27A;
  --sun-400: #FFD43B;
  --sun-500: #FFC21A;
  --sun-600: #F5A400;
  --amber-500: #FF8A00;
  --grad-sun: linear-gradient(135deg, #FFDD55 0%, #FFC21A 45%, #FF9A0A 100%);
  --grad-sun-soft: linear-gradient(135deg, rgba(255, 212, 59, .18), rgba(255, 138, 0, .08));

  /* Status */
  --green-400: #42E2A0;
  --green-500: #1FC985;
  --red-400: #FF6B6B;

  /* Lines / glass */
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --line-dark: rgba(11, 19, 36, .1);
  --glass: rgba(15, 26, 48, .62);
  --glass-light: rgba(255, 255, 255, .06);

  /* Type */
  --font-display: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radii, shadows */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(5, 9, 18, .08);
  --shadow-md: 0 12px 40px -12px rgba(5, 9, 18, .25);
  --shadow-lg: 0 30px 80px -20px rgba(5, 9, 18, .45);
  --glow-sun: 0 10px 40px -8px rgba(255, 170, 0, .55);

  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .9, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sun-400); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--sun-500); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }

/* ---------- Icons ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
i[data-icon] { display: inline-flex; font-style: normal; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sun-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-sun); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--sun-400); }

.h-display { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h-section { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.03em; }
.h-card { font-size: 1.3rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--graphite-2); line-height: 1.65; max-width: 640px; }
.section-dark .lead { color: #B5BFD3; }
.text-sun { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad-sun); color: var(--navy-950); box-shadow: var(--glow-sun); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(255, 170, 0, .7); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid var(--line-strong); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-outline-dark { border: 1.5px solid var(--navy-900); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: #fff; }
.btn-whatsapp { background: #1FAF5A; color: #fff; box-shadow: 0 10px 30px -10px rgba(31,175,90,.7); }
.btn-whatsapp:hover { transform: translateY(-2px); background: #23c465; }
.btn-lg { --pad-y: 18px; --pad-x: 32px; font-size: 1rem; }
.btn-sm { --pad-y: 10px; --pad-x: 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.section-dark .link-arrow { color: var(--sun-400); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s, height .3s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(7, 13, 26, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-text b { font-size: 1.22rem; font-weight: 800; letter-spacing: .04em; }
.brand-text span { font-size: .62rem; font-weight: 500; letter-spacing: .42em; margin-top: 3px; opacity: .85; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.82); font-size: .92rem; font-weight: 500; transition: color .2s, background .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav-drop { position: relative; }
.nav-drop .ico { width: 14px; height: 14px; transition: transform .3s; }
.nav-drop:hover .ico, .nav-drop:focus-within .ico { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: 340px; padding: 10px; border-radius: var(--r-md);
  background: rgba(11, 19, 36, .96); border: 1px solid var(--line-strong); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.drop-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-menu a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; color: #fff; transition: background .2s; }
.drop-menu a:hover { background: rgba(255,255,255,.06); }
.drop-menu .di { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-sun-soft); color: var(--sun-400); flex: none; }
.drop-menu b { display: block; font-family: var(--font-display); font-size: .92rem; }
.drop-menu small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .9rem; opacity: .9; }
.header-phone:hover { opacity: 1; color: var(--sun-400); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; place-items: center; border: 1px solid var(--line-strong); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-950);
  padding: calc(var(--header-h) + 20px) 24px 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; padding: 14px 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; white-space: nowrap; }
.mobile-nav a small { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); white-space: normal; text-align: right; }
.mobile-nav .btn { margin-top: 20px; font-size: 1rem; border: 0; justify-content: center; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section-sm { padding: clamp(56px, 7vw, 80px) 0; }
.section-dark { background: var(--navy-950); color: #E6EAF2; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-navy { background: var(--navy-900); color: #E6EAF2; }
.section-paper { background: var(--paper); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-head.split .lead { margin: 0; }

/* Grid lines background */
.bg-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.glow-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .5; }
.glow-orb.sun { background: radial-gradient(circle, rgba(255, 180, 0, .55), transparent 65%); }
.glow-orb.blue { background: radial-gradient(circle, rgba(58, 82, 136, .8), transparent 65%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 50px) 0 90px; color: #fff; overflow: hidden; background: var(--navy-950);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
/* naslovnica: slika ispod videa služi kao poster (različita za mobitel i računalo) */
.hero-media picture, .hero-media picture + video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media picture img { display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,18,.94) 0%, rgba(5,9,18,.78) 38%, rgba(5,9,18,.35) 70%, rgba(5,9,18,.55) 100%),
    linear-gradient(0deg, rgba(5,9,18,1) 0%, transparent 30%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero .lead { color: #C9D2E3; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #D5DCEA; }
.hero-trust .ico { color: var(--sun-400); width: 20px; height: 20px; }

/* Quick estimate card */
.quick-card {
  position: relative; padding: 30px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(23, 38, 70, .72), rgba(9, 15, 30, .82));
  border: 1px solid var(--line-strong); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
}
.quick-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 210, 60, .7), transparent 35%, transparent 70%, rgba(255,255,255,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.quick-card .qc-label { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #AEB8CC; margin-bottom: 6px; }
.quick-card .qc-badge { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-400); display: inline-flex; align-items: center; gap: 6px; }
.quick-card .qc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(66, 226, 160, .2); animation: pulse 2s infinite; }
.qc-bill { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
.qc-bill small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.qc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.qc-out div { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.qc-out span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.qc-out b { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.qc-out .hl b { color: var(--sun-400); }
.qc-note { font-size: .75rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(66,226,160,.2); } 50% { box-shadow: 0 0 0 8px rgba(66,226,160,0); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--sun-400), transparent); animation: drip 2.2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Page hero (sub pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 90px; color: #fff; background: var(--navy-950); overflow: hidden; }
.page-hero .hero-media::after { background: linear-gradient(90deg, rgba(5,9,18,.95) 0%, rgba(5,9,18,.8) 45%, rgba(5,9,18,.45) 100%), linear-gradient(0deg, rgba(5,9,18,.9), transparent 40%); }
.page-hero .container { position: relative; z-index: 2; }
/* Naslovne slike od 1376 px (hala, kuća, off-grid, elektroinstalacije): na velikim ekranima
   prikazuju se u svojoj veličini uz desni rub, a lijevi rub se stapa u tamnu pozadinu.
   Inače bi se na 1920 px razvukle ~1,5× i bile mutne. */
@media (min-width: 1000px) {
  .page-hero .hero-media.hm-native picture { left: auto; right: 0; width: min(100%, 1440px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .page-hero .hero-media.hm-native img { transform: none; }
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 820px; }
.page-hero .lead { color: #C9D2E3; margin-bottom: 32px; }
.breadcrumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--sun-400); }

/* ---------- Marquee / stats strip ---------- */
.stat-strip { position: relative; z-index: 3; margin-top: -60px; }
.stat-strip .inner {
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--line-dark);
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; line-height: 1.1; }
.stat b em { font-style: normal; color: var(--sun-600); }
.stat span { font-size: .88rem; color: var(--muted-dark); }

/* ---------- Segment / services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  background: var(--navy-900); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,9,18,.1) 0%, rgba(5,9,18,.55) 45%, rgba(5,9,18,.94) 100%); }
.tile .tag { position: absolute; top: 24px; left: 24px; padding: 7px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
.tile .tag.sun { background: var(--grad-sun); color: var(--navy-950); border: 0; }
.tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.tile p { color: #C9D2E3; font-size: .95rem; margin-bottom: 18px; max-width: 460px; }
.tile .tile-points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tile .tile-points li { font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.tile .link-arrow { color: var(--sun-400); }
.tile-xl { grid-column: span 3; min-height: 460px; }
.tile-md { grid-column: span 2; }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: 32px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line-dark); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .card-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy-900); color: var(--sun-400);
}
.card .card-ico .ico { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--navy-900); }
.card p { color: var(--graphite-2); font-size: .96rem; margin: 0; }
.card-dark { background: linear-gradient(160deg, var(--navy-850), var(--navy-900)); border-color: var(--line); color: #C9D2E3; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #A9B4C9; }
.card-dark .card-ico { background: var(--grad-sun-soft); border: 1px solid rgba(255, 200, 60, .25); }
.card-dark:hover { border-color: rgba(255, 200, 60, .3); box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* USP bento (dark) */
.usp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.usp-bento > * { grid-column: span 4; }
.usp-bento .span-8 { grid-column: span 8; }
.usp-bento .span-6 { grid-column: span 6; }
.usp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.usp-feature .uf-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.usp-feature .uf-media { position: relative; min-height: 280px; }
.usp-feature .uf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spec-list { margin-top: 18px; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #C9D2E3; }
.spec-list .ico { color: var(--green-400); margin-top: 2px; width: 18px; height: 18px; }
.light .spec-list li, .spec-list.dark li { color: var(--graphite-2); }
.spec-list.dark .ico { color: var(--green-500); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--paper-2) 0 8px, transparent 8px 16px);
}
.process .progress-line { position: absolute; top: 34px; left: 8%; height: 2px; width: 0; background: var(--grad-sun); transition: width 2s var(--ease); }
.process.is-visible .progress-line { width: 84%; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .num {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--paper-2);
  color: var(--navy-900); box-shadow: var(--shadow-sm); transition: all .5s var(--ease);
}
.step .num .ico { width: 28px; height: 28px; }
.process.is-visible .step .num { border-color: var(--sun-500); background: var(--navy-900); color: var(--sun-400); }
.step .step-n { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--sun-600); text-transform: uppercase; }
.step h3 { font-size: 1.25rem; margin: 6px 0 10px; color: var(--navy-900); }
.step p { font-size: .93rem; color: var(--graphite-2); margin: 0; }
.step .dur { display: inline-block; margin-top: 14px; font-size: .75rem; font-weight: 600; color: var(--navy-700); background: var(--paper); padding: 5px 12px; border-radius: 999px; }

/* ---------- Guarantees (big numbers) ---------- */
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guarantee { padding: 44px 28px; border-right: 1px solid var(--line); }
.guarantee:last-child { border-right: 0; }
.guarantee .big { font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.guarantee .big small { font-size: .32em; letter-spacing: 0; margin-left: 6px; color: var(--muted); font-weight: 600; }
.guarantee h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.guarantee p { font-size: .88rem; color: #9AA5BC; margin: 0; }

/* ---------- Scenarios ---------- */
.scenario { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.scenario .sc-head { padding: 28px 28px 0; }
.scenario .sc-badge { display: inline-flex; gap: 8px; align-items: center; font-size: .75rem; font-weight: 700; color: var(--navy-700); background: var(--paper); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.scenario h3 { font-size: 1.25rem; }
.scenario .sc-compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 18px 28px; padding: 18px; background: var(--paper); border-radius: var(--r-md); }
.scenario .sc-compare div { text-align: center; }
.scenario .sc-compare span { display: block; font-size: .72rem; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .08em; }
.scenario .sc-compare b { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-900); }
.scenario .sc-compare .after b { color: var(--green-500); }
.scenario .sc-compare .ico { color: var(--sun-600); }
.scenario dl { margin: 0; padding: 0 28px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scenario dt { font-size: .76rem; color: var(--muted-dark); }
.scenario dd { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }

/* ---------- Day/Night (net-billing) ---------- */
.dn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dn-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); margin-bottom: 28px; }
.dn-switch button { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #B5BFD3; display: inline-flex; gap: 8px; align-items: center; transition: all .3s; }
.dn-switch button.is-active { background: var(--grad-sun); color: var(--navy-950); }
.dn-visual { position: relative; border-radius: var(--r-xl); padding: 34px; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border: 1px solid var(--line-strong); overflow: hidden; }
.dn-bar { margin: 18px 0 26px; }
.dn-bar .lbl { display: flex; justify-content: space-between; font-size: .85rem; color: #B5BFD3; margin-bottom: 10px; }
.dn-bar .lbl b { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.dn-track { height: 14px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.dn-fill { height: 100%; border-radius: 99px; background: var(--grad-sun); width: 35%; transition: width 1s var(--ease); }
.dn-fill.green { background: linear-gradient(90deg, #1FC985, #42E2A0); }
.dn-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dn-node { text-align: center; padding: 16px 8px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: all .5s; }
.dn-node .ico { width: 28px; height: 28px; margin: 0 auto 8px; color: #7F8BA3; transition: color .5s; }
.dn-node span { font-size: .78rem; color: #B5BFD3; }
.dn-node.on { border-color: rgba(255, 200, 60, .45); background: rgba(255, 200, 60, .08); }
.dn-node.on .ico { color: var(--sun-400); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-dark); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--sun-400); }
.faq .faq-body { padding: 0 26px 24px; color: var(--graphite-2); font-size: .97rem; }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(44px, 6vw, 80px); background: var(--navy-900); color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 20%, rgba(255, 180, 0, .35), transparent 60%), radial-gradient(500px 300px at 10% 100%, rgba(58, 82, 136, .6), transparent 60%); }
.cta-band .cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: #fff; }
.cta-band p { color: #C9D2E3; margin: 0; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--graphite-2); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--paper-2); background: #fff;
  font-size: .97rem; transition: border-color .2s, box-shadow .2s; color: var(--graphite);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--sun-500); box-shadow: 0 0 0 4px rgba(255, 194, 26, .18); }
.input.is-invalid { border-color: var(--red-400); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B1324' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.input-icon { position: relative; }
.input-icon .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted-dark); line-height: 1.5; margin: 6px 0 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--sun-600); flex: none; }
.check a { text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-size: .85rem; margin-top: 10px; display: none; }
.form-msg.err { display: block; color: #D64545; }
.dark-form .field label { color: #B5BFD3; }
.dark-form .input, .dark-form .select, .dark-form .textarea { background: rgba(255,255,255,.05); border-color: var(--line-strong); color: #fff; }
.dark-form .input::placeholder, .dark-form .textarea::placeholder { color: #7F8BA3; }
.dark-form .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.dark-form .select option { background: var(--navy-900); }
.dark-form .check { color: #9AA5BC; }

.trust-micro { display: grid; gap: 10px; margin-top: 18px; }
.trust-micro li { display: flex; gap: 10px; font-size: .8rem; color: var(--muted-dark); line-height: 1.45; }
.trust-micro .ico { width: 18px; height: 18px; color: var(--green-500); flex: none; margin-top: 1px; }

/* Range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--sun-500) 0%, var(--sun-500) var(--p, 25%), rgba(140,150,170,.25) var(--p, 25%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--sun-500); box-shadow: 0 4px 16px rgba(255, 170, 0, .55); cursor: grab; transition: transform .2s; }
.range::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--sun-500); box-shadow: 0 4px 16px rgba(255, 170, 0, .55); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   CALCULATOR (multi-step funnel)
   ========================================================================== */
.calc-section { background: var(--navy-950); color: #E6EAF2; overflow: hidden; }
.calc-shell {
  position: relative; border-radius: var(--r-xl); background: var(--cream); color: var(--graphite);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.7); overflow: hidden;
}
.calc-tabs { display: flex; gap: 6px; padding: 10px; background: var(--navy-900); overflow-x: auto; scrollbar-width: none; }
.calc-tabs::-webkit-scrollbar { display: none; }
.calc-tabs a, .calc-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; color: #A9B4C9; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all .25s; }
.calc-tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.calc-tabs .is-active { background: var(--cream); color: var(--navy-900); }
.calc-tabs .is-active .ico { color: var(--sun-600); }

.calc-progress { padding: 26px 40px 0; }
.calc-progress .cp-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; font-size: .82rem; }
.calc-progress .cp-step { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }
.calc-progress .cp-note { color: var(--green-500); display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 1.4em; text-align: right; }
.calc-progress .cp-note .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }
.calc-progress .cp-track { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.calc-progress .cp-fill { height: 100%; width: 0; background: var(--grad-sun); border-radius: 99px; transition: width .6s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }

.calc-body { padding: 34px 40px 40px; min-height: 460px; }
.calc-step { display: none; animation: stepIn .55s var(--ease); }
.calc-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.calc-step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--navy-900); margin-bottom: 8px; }
.calc-step .step-sub { color: var(--muted-dark); margin-bottom: 28px; }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.opts.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opts.cols-4 { grid-template-columns: repeat(4, 1fr); }
.opts.cols-2 { grid-template-columns: repeat(2, 1fr); }
.opt {
  position: relative; text-align: left; padding: 22px; border-radius: var(--r-md); background: #fff;
  border: 1.5px solid var(--paper-2); transition: all .25s var(--ease); display: flex; flex-direction: column; gap: 8px;
}
.opt:hover { border-color: var(--sun-500); transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(245, 164, 0, .35); }
.opt.is-selected { border-color: var(--sun-500); background: linear-gradient(160deg, #FFF9E6, #fff); box-shadow: 0 0 0 4px rgba(255, 194, 26, .18); }
.opt .opt-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--navy-800); transition: all .25s; }
.opt .opt-ico .ico { width: 24px; height: 24px; }
.opt.is-selected .opt-ico { background: var(--navy-900); color: var(--sun-400); }
.opt b { font-family: var(--font-display); font-size: 1rem; color: var(--navy-900); }
.opt small { font-size: .82rem; color: var(--muted-dark); line-height: 1.45; }
.opt .opt-check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--paper-2); display: grid; place-items: center; color: transparent; transition: all .25s; }
.opt.is-selected .opt-check { background: var(--sun-500); border-color: var(--sun-500); color: var(--navy-950); }
.opt .opt-check .ico { width: 14px; height: 14px; stroke-width: 3; }
.opt-row { flex-direction: row; align-items: center; gap: 16px; }

.bill-display { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; color: var(--navy-900); letter-spacing: -.04em; line-height: 1; margin: 6px 0 22px; }
.bill-display small { font-size: .3em; color: var(--muted-dark); font-weight: 600; letter-spacing: 0; }
.seg { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--paper); gap: 4px; flex-wrap: wrap; }
.seg button { padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--graphite-2); transition: all .25s; }
.seg button.is-active { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }

.calc-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--paper-2); }
.calc-nav .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); font-weight: 600; font-size: .9rem; }
.calc-nav .back:hover { color: var(--navy-900); }
.calc-nav .back .ico { transform: rotate(180deg); }

/* Results: 60/40 layout */
.results { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.results-main { padding: 36px 40px 40px; }
.results-side { padding: 36px 34px 40px; background: var(--navy-900); color: #E6EAF2; position: relative; }
.res-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(31, 201, 133, .12); color: #11A56B; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.res-badge .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.results-main h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); color: var(--navy-900); margin-bottom: 10px; }
.results-main h3 .hl { color: var(--sun-600); }
.res-sub { color: var(--muted-dark); margin-bottom: 24px; font-size: .97rem; }

.res-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.res-card { padding: 22px; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--paper-2); position: relative; }
.res-card.featured { border-color: var(--sun-500); box-shadow: 0 16px 40px -18px rgba(245, 164, 0, .45); }
.res-card .rc-tag { position: absolute; top: -11px; right: 16px; padding: 4px 10px; border-radius: 999px; background: var(--grad-sun); color: var(--navy-950); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.res-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--navy-900); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.res-card h4 .ico { color: var(--sun-600); }
.res-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--paper-2); font-size: .88rem; color: var(--graphite-2); gap: 10px; }
.res-row:last-child { border-bottom: 0; }
.res-row b { font-family: var(--font-display); color: var(--navy-900); font-size: .98rem; white-space: nowrap; }
.res-row.big b { font-size: 1.35rem; }
.res-row.accent b { color: var(--sun-600); font-size: 1.35rem; }
.res-row .strike { text-decoration: line-through; color: var(--muted); font-size: .8rem; margin-right: 6px; font-weight: 500; }

.res-tools { display: grid; gap: 16px; padding: 22px; border-radius: var(--r-md); background: var(--paper); margin-bottom: 18px; }
.toggle-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.toggle-line .tl-text b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--navy-900); }
.toggle-line .tl-text small { font-size: .78rem; color: var(--muted-dark); }
.switch { position: relative; width: 54px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #C9CFD9; transition: background .3s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--green-500); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:focus-visible + span { outline: 2px solid var(--sun-500); outline-offset: 2px; }
.growth-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.growth-head b { font-family: var(--font-display); font-size: .95rem; color: var(--navy-900); }
.growth-head output { font-family: var(--font-display); font-weight: 800; color: var(--sun-600); }

.res-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.res-hl { padding: 18px 20px; border-radius: var(--r-md); }
.res-hl span { display: block; font-size: .78rem; margin-bottom: 4px; }
.res-hl b { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.15; }
.res-hl.bad { background: #FFF1F0; color: #9A2B2B; }
.res-hl.bad b { color: #C53030; }
.res-hl.good { background: #E9FBF3; color: #0F7A50; }
.res-hl.good b { color: #0E9F64; }
.res-warn { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #FFF8E6; color: #7A5600; font-size: .84rem; margin-top: 14px; line-height: 1.5; }
.res-warn .ico { color: var(--sun-600); margin-top: 1px; }
.res-disclaimer { font-size: .75rem; color: var(--muted); margin: 16px 0 0; line-height: 1.5; }

.results-side h4 { font-family: var(--font-display); color: #fff; font-size: 1.25rem; margin: 0 0 8px; line-height: 1.25; }
.results-side .rs-intro { color: #A9B4C9; font-size: .9rem; margin-bottom: 18px; }
.locked-list { display: grid; gap: 10px; margin-bottom: 22px; }
.locked-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .86rem; color: #D5DCEA; line-height: 1.45; }
.locked-list .ico { color: var(--sun-400); width: 18px; height: 18px; flex: none; margin-top: 1px; }
.pdf-mock { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,210,60,.12), rgba(255,255,255,.03)); border: 1px solid rgba(255,210,60,.25); margin-bottom: 20px; }
.pdf-mock .doc { width: 50px; height: 64px; border-radius: 6px; background: #fff; position: relative; flex: none; box-shadow: 0 6px 16px rgba(0,0,0,.35); overflow: hidden; }
.pdf-mock .doc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: var(--navy-900); }
.pdf-mock .doc::after { content: ""; position: absolute; left: 8px; right: 8px; top: 22px; height: 30px; background: repeating-linear-gradient(#D7DCE4 0 3px, transparent 3px 7px); }
.pdf-mock .doc i { position: absolute; top: 4px; left: 6px; width: 10px; height: 6px; background: var(--sun-400); border-radius: 1px; z-index: 1; }
.pdf-mock b { display: block; color: #fff; font-family: var(--font-display); font-size: .9rem; }
.pdf-mock small { color: #A9B4C9; font-size: .76rem; }
.results-side .trust-micro li { color: #A9B4C9; }
.results-side .trust-micro .ico { color: var(--green-400); }
.results-side .btn-primary { white-space: normal; text-align: center; line-height: 1.3; }

/* ---------- Thank you / misc ---------- */
.ty-card { max-width: 860px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.ty-check { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; background: linear-gradient(135deg, #1FC985, #42E2A0); color: #fff; box-shadow: 0 16px 40px -10px rgba(31,201,133,.6); animation: pop .7s var(--ease); }
.ty-check .ico { width: 42px; height: 42px; stroke-width: 3; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.ty-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; text-align: left; }
.ty-opt { padding: 28px; border-radius: var(--r-lg); border: 1.5px solid var(--paper-2); }
.ty-opt h3 { font-size: 1.15rem; color: var(--navy-900); display: flex; gap: 10px; align-items: center; }
.ty-opt p { font-size: .92rem; color: var(--graphite-2); }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.slot-day { padding: 10px 4px; border-radius: 10px; border: 1.5px solid var(--paper-2); text-align: center; font-size: .78rem; transition: all .2s; }
.slot-day b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); }
.slot-day.is-active, .slot-time.is-active { border-color: var(--sun-500); background: #FFF7DD; }
.slot-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.slot-time { padding: 9px 4px; border-radius: 10px; border: 1.5px solid var(--paper-2); font-size: .85rem; font-weight: 600; transition: all .2s; }
.slot-day:hover, .slot-time:hover { border-color: var(--sun-500); }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; color: var(--navy-900); }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; color: var(--navy-900); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 2em; font-size: .95rem; }
.legal td { padding: 14px 16px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.legal td:first-child { font-weight: 600; color: var(--navy-900); width: 40%; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-dark); transition: all .3s; }
.contact-item:hover { border-color: var(--sun-500); transform: translateX(4px); }
.contact-item .ci-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--sun-400); flex: none; }
.contact-item small { display: block; color: var(--muted-dark); font-size: .8rem; }
.contact-item b { font-family: var(--font-display); color: var(--navy-900); }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--line-dark); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dark); height: 320px; margin-top: 20px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* About */
.values { counter-reset: v; }
.why-how-what { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); }
.whw { padding: 44px 36px; border-right: 1px solid var(--line); position: relative; }
.whw:last-child { border-right: 0; }
.whw .k { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 16px; }
.whw.why { background: linear-gradient(160deg, rgba(255, 200, 60, .12), transparent 60%); }
.whw p { color: #B5BFD3; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-badge { position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: 16px; background: rgba(7,13,26,.82); backdrop-filter: blur(12px); color: #fff; border: 1px solid var(--line-strong); max-width: 280px; }
.float-badge b { font-family: var(--font-display); font-size: 1.6rem; color: var(--sun-400); display: block; line-height: 1.1; }
.float-badge span { font-size: .82rem; color: #C9D2E3; }

/* Comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-dark); font-size: .95rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--paper-2); }
.compare thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-size: .9rem; }
.compare thead th.us { background: var(--grad-sun); color: var(--navy-950); }
.compare td.us { background: #FFFBEF; font-weight: 600; color: var(--navy-900); }
.compare tr:last-child td { border-bottom: 0; }
.compare .ico { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 6px; }
.compare .yes { color: var(--green-500); }
.compare .no { color: var(--red-400); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-975); color: #9AA5BC; padding: 90px 0 0; font-size: .92rem; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer a:hover { color: var(--sun-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--sun-400); width: 18px; height: 18px; margin-top: 3px; }
.footer-legal { border-top: 1px solid var(--line); padding: 28px 0; font-size: .78rem; line-height: 1.7; color: #6F7A90; }
.footer-legal .fl-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; color: #9AA5BC; }
.footer-legal .fl-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-mega { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 15vw, 13rem); letter-spacing: -.05em; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); user-select: none; margin-bottom: -.12em; white-space: nowrap; }

/* Minimal landing header/footer */
.landing-header .container { justify-content: space-between; }
.landing-footer { background: var(--navy-975); color: #6F7A90; padding: 34px 0; font-size: .78rem; text-align: center; line-height: 1.7; }
.landing-footer a { color: #9AA5BC; text-decoration: underline; }

/* Mobile sticky CTA */
.mobile-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; padding: 8px; border-radius: 20px; background: rgba(7,13,26,.92); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 14px; color: #fff; font-size: .7rem; font-weight: 600; }
.mobile-cta a .ico { width: 20px; height: 20px; }
.mobile-cta a.main { flex: 1.6; background: var(--grad-sun); color: var(--navy-950); flex-direction: row; justify-content: center; gap: 8px; font-size: .85rem; font-family: var(--font-display); font-weight: 700; }
.mobile-cta a.wa .ico { color: #3BD47A; }
.mobile-cta.offer-mode { transform: none; }
.mobile-cta.offer-mode a.main { flex: 2.4; }
.mobile-cta.offer-mode.form-seen { transform: translateY(140%); }
.page-thanks .mobile-cta { display: none !important; }

/* Modal (exit intent) */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(5,9,18,.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: all .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: 100%; max-width: 560px; border-radius: var(--r-xl); background: #fff; overflow: hidden; transform: translateY(20px) scale(.97); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
.modal.is-open .modal-box { transform: none; }
.modal-top { padding: 34px 34px 26px; background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.modal-top::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,190,0,.45), transparent 65%); }
.modal-top h3 { font-size: 1.45rem; color: #fff; position: relative; z-index: 1; }
.modal-top p { color: #B5BFD3; margin: 0; font-size: .93rem; position: relative; z-index: 1; }
.modal-body { padding: 26px 34px 32px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); }
.modal-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
/* Ulazna animacija naslovnog dijela: tekst je vidljiv odmah i samo blago "doklizi".
   (Prije je kretao iz opacity 0 s odgodom do 0,9 s — Google je tada glavni sadržaj
   računao kao vidljiv tek nakon animacije, što je kvarilo ocjenu brzine.) */
.hero-anim > * { animation: heroIn .8s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .06s; }
.hero-anim > *:nth-child(3) { animation-delay: .12s; }
.hero-anim > *:nth-child(4) { animation-delay: .18s; }
.hero-anim > *:nth-child(n+5) { animation-delay: .24s; }
@keyframes heroIn { from { transform: translateY(14px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .hero-anim > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .quick-card { max-width: 560px; }
  .results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .usp-bento > *, .usp-bento .span-8, .usp-bento .span-6 { grid-column: span 6; }
  .usp-feature { grid-column: span 12 !important; }
  .dn-wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .cta-band .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band .cta-grid > * { min-width: 0; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-xl { grid-column: span 2; min-height: 400px; }
  .tile-md { grid-column: span 1; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .process::before, .process .progress-line { display: none; }
  .guarantees { grid-template-columns: 1fr 1fr; }
  .guarantee:nth-child(2) { border-right: 0; }
  .guarantee:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-strip .inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .opts.cols-4 { grid-template-columns: 1fr 1fr; }
  .opts.cols-3 { grid-template-columns: 1fr; }
  .why-how-what { grid-template-columns: 1fr; }
  .whw { border-right: 0; border-bottom: 1px solid var(--line); }
  .usp-feature { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .container { padding: 0 18px; }
  .brand img { height: 28px; }
  .brand-text b { font-size: 1.05rem; }
  .header-cta .btn { display: none; }
  .hero { padding-bottom: 70px; }
  .hero-actions .btn { width: 100%; }
  .bento, .grid-2, .grid-3, .grid-4, .process { grid-template-columns: 1fr; }
  .tile-xl, .tile-md { grid-column: span 1; min-height: 360px; }
  .usp-bento > *, .usp-bento .span-8, .usp-bento .span-6 { grid-column: span 12; }
  .guarantees { grid-template-columns: 1fr; }
  .guarantee { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .calc-progress { padding: 20px 20px 0; }
  .calc-body, .results-main, .results-side { padding: 26px 20px 28px; }
  .res-cards, .res-highlight, .form-row, .ty-options { grid-template-columns: 1fr; }
  .ty-options { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
  .ty-card { padding: 30px 18px; }
  .ty-opt { padding: 20px 16px; min-width: 0; }
  .ty-summary { padding: 16px 18px; }
  .slots { gap: 5px; }
  .slot-day { padding: 8px 2px; font-size: .72rem; min-width: 0; }
  .slot-day b { font-size: .9rem; }
  .opts, .opts.cols-2, .opts.cols-3, .opts.cols-4 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .results, .res-cards, .res-highlight { grid-template-columns: minmax(0, 1fr); }
  .results-main, .results-side, .res-card { min-width: 0; }
  .res-row { flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
  .res-row > span { flex: 1 1 140px; min-width: 0; }
  .res-row b { margin-left: auto; text-align: right; }
  .res-row b { white-space: normal; }
  .calc-nav { flex-wrap: wrap; gap: 12px 16px; }
  .calc-nav .btn { white-space: normal; text-align: center; flex: 1 1 auto; justify-content: center; }
  .calc-nav .link-arrow { flex-wrap: wrap; }
  .opt { flex-direction: row; align-items: center; gap: 14px; padding: 16px 44px 16px 16px; }
  .opt .opt-ico { width: 42px; height: 42px; flex: none; }
  .opt-text { display: flex; flex-direction: column; gap: 2px; }
  .calc-progress .cp-note { display: none; }
  .mobile-cta { display: flex; }
  .stat { padding: 22px 18px; }
  .scenario dl { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: repeat(5, 1fr); }
  .slot-times { grid-template-columns: repeat(2, 1fr); }
  .compare th, .compare td { padding: 12px; font-size: .85rem; }
  .site-footer { padding-bottom: 90px; }
  .dn-flow { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   DODACI — dovršetak weba (listopad 2026.)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--sun-400); color: var(--navy-950); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.opt-label { font-weight: 400; color: var(--muted); }
.center-block { margin-left: auto; margin-right: auto; }

/* Header: više stavki */
.nav > a, .nav-drop > button { padding: 10px 11px; font-size: .9rem; }
.header-cta { gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); }
.lang-switch a { padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: rgba(255,255,255,.12); color: #fff; }
.lang-switch.mobile { align-self: flex-start; margin-top: 18px; }
.lang-switch.mobile a { font-size: .9rem; padding: 8px 14px; border: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #3BD47A; border: 1px solid var(--line-strong); }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.drop-menu a.is-active { background: rgba(255,255,255,.06); }

/* Footer društvene mreže */
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: #fff; transition: all .25s; }
.social a:hover { color: var(--navy-950); background: var(--sun-400); border-color: var(--sun-400); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Hero */
.hero-anim-card { animation: heroIn .8s var(--ease) .2s both; }
.page-hero-sm { padding-bottom: 60px; }
.page-hero-sm::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(255,180,0,.22), transparent 60%); pointer-events: none; }
.landing-hero { min-height: 72vh; display: flex; align-items: center; }
.page-hero .hero-trust { margin-top: 8px; }
.stat-strip.static { margin-top: 0; }

/* Tekstualni blokovi (SEO) */
.prose p { color: var(--graphite-2); font-size: 1.02rem; }
.section-dark .prose p { color: #B5BFD3; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.split.align-start { align-items: start; }

/* Što uključuje */
.included { display: grid; gap: 14px; }
.included li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-dark); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.included li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.included .inc-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--sun-400); }
.included b { font-family: var(--font-display); color: var(--navy-900); display: block; margin-bottom: 2px; }
.included p { margin: 0; color: var(--graphite-2); font-size: .94rem; }

/* Kartice */
.post-card { display: flex; flex-direction: column; }
.post-card .post-meta { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-600); margin-bottom: 14px; }
.post-card p { flex: 1; margin-bottom: 18px !important; }
.calc-link { display: flex; flex-direction: column; }
.calc-link p { flex: 1; margin-bottom: 16px !important; }
.price-card { text-align: center; }
.price-card b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--navy-900); letter-spacing: -.02em; margin: 14px 0 4px; }
.price-card p { margin: 0; }
.pc-ico { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy-800); }
.pc-ico.sun { background: var(--grad-sun); color: var(--navy-950); }
.tip-card { display: flex; gap: 16px; margin-top: 24px; padding: 22px; border-radius: var(--r-md); background: var(--grad-sun-soft); border: 1px solid rgba(245,164,0,.3); }
.tip-card > .ico { color: var(--sun-600); width: 28px; height: 28px; }
.tip-card b { font-family: var(--font-display); color: var(--navy-900); }
.tip-card p { margin: 4px 0 0; font-size: .92rem; color: var(--graphite-2); }
.dark-card { background: linear-gradient(160deg, var(--navy-850), var(--navy-900)); border-color: var(--line-strong); color: #E6EAF2; }
.dark-card .h-card { color: #fff; }
.form-done { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(31,201,133,.12); color: #0E9F64; font-weight: 600; font-size: .9rem; }
.dark-form .form-done, .dark-card .form-done { color: var(--green-400); }
.h-card { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 20px; }

/* Tablica usporedbe — horizontalni scroll na mobitelu */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.table-wrap .compare { min-width: 640px; }

/* Vršna snaga — ilustracija */
.peak-visual { padding: 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #E6EAF2; box-shadow: var(--shadow-lg); }
.pv-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.pv-head b { font-family: var(--font-display); color: #fff; }
.pv-head span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.pv-chart { width: 100%; height: auto; }
.pv-chart path.pv-before { fill: none; stroke: #FF6B6B; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2s var(--ease); }
.pv-chart path.pv-after { fill: none; stroke: var(--green-400); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2s var(--ease) .5s; }
.peak-visual.is-visible path.pv-before, .peak-visual.is-visible path.pv-after { stroke-dashoffset: 0; }
.pv-limit { stroke: rgba(255,255,255,.18); stroke-dasharray: 4 6; }
.pv-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .8rem; color: #B5BFD3; }
.pv-legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.pv-legend .b::before { background: #FF6B6B; }
.pv-legend .a::before { background: var(--green-400); }
.pv-legend .s::before { background: var(--sun-500); height: 8px; opacity: .7; }

/* Kalkulator — dodaci */
.calc-first { padding-top: 40px; }
.range-note { margin: 16px 0 0; font-size: .95rem; color: var(--muted-dark); font-weight: 500; }
.calc-wait { padding: 80px 0; }
.calc-wait .ty-check { background: var(--navy-900); color: var(--sun-400); box-shadow: none; animation: pop .6s var(--ease), spinSlow 3s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.btn-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: inline-block; }
.indep { margin-top: 14px; }
.indep-top { display: flex; justify-content: space-between; font-size: .85rem; color: var(--graphite-2); margin-bottom: 8px; }
.indep-top b { font-family: var(--font-display); color: var(--green-500); }
.indep-track { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.indep-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1FC985, #42E2A0); animation: grow 1.2s var(--ease); }
@keyframes grow { from { width: 0 !important; } }
.peak-card { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: #F2F5FB; border: 1px solid #DCE3F0; margin-bottom: 18px; }
.peak-card > .ico { color: var(--navy-600); width: 26px; height: 26px; margin-top: 2px; }
.peak-card b { font-family: var(--font-display); color: var(--navy-900); }
.peak-card p { margin: 4px 0 0; font-size: .86rem; color: var(--graphite-2); }
.locked-list .ico { color: var(--sun-400); }

/* Hvala */
.ty-section { padding-top: calc(var(--header-h) + 60px); background: var(--paper); }
.ty-summary { max-width: 620px; margin: 24px auto 0; padding: 20px 24px; border-radius: var(--r-md); background: var(--paper); text-align: left; }
.ty-summary b { font-family: var(--font-display); color: var(--navy-900); }
.ty-summary ul { list-style: disc; padding-left: 1.2em; margin-top: 8px; font-size: .9rem; color: var(--graphite-2); }
.ty-sub { font-size: 1.4rem; color: var(--navy-900); margin-top: 40px; }
.ty-sub-first { margin-top: 30px; }
.ty-options + .ty-summary { margin-top: 32px; }
.ty-summary small { font-size: .8rem; color: var(--graphite-2); font-weight: 400; }

/* Kolačići */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 760px; margin: 0 auto; display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 20px; background: #fff; color: var(--graphite); box-shadow: 0 20px 60px -10px rgba(5,9,18,.45); border: 1px solid var(--line-dark); transform: translateY(160%); transition: transform .5s var(--ease); }
.cookie-bar.is-open { transform: none; }
.cookie-bar b { font-family: var(--font-display); color: var(--navy-900); }
.cookie-bar p { margin: 2px 0 0; font-size: .85rem; color: var(--graphite-2); line-height: 1.5; }
.cookie-bar a { text-decoration: underline; }
.cb-actions { display: flex; gap: 8px; flex: none; }
.btn-ghost-dark { border: 1.5px solid var(--paper-2); color: var(--navy-900); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--navy-900); }

/* Landing */
.is-landing .site-header .btn { display: inline-flex; }

@media (max-width: 1240px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 680px) {
  .header-cta .lang-switch:not(.mobile) { display: none; }
  .is-landing .header-cta .lang-switch { display: inline-flex; }
  .is-landing .site-header .btn { --pad-x: 14px; font-size: .8rem; }
  .is-landing .icon-btn { display: none; }
  .cookie-bar { flex-direction: column; align-items: stretch; bottom: 90px; }
  .cb-actions .btn { flex: 1; }
  .landing-hero { min-height: auto; }
  .tip-card { flex-direction: column; }
  .peak-visual { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-chart path.pv-before, .pv-chart path.pv-after { stroke-dashoffset: 0; }
  .hero-anim-card { opacity: 1; }
}
.stat b span { font-size: inherit; color: inherit; }
.calc-section .lead { color: #B5BFD3; }
.calc-section h2 { color: #fff; }
.results.calc-step.is-active { display: grid; }
@media (max-width: 1100px) { .results.calc-step.is-active { grid-template-columns: 1fr; } }
.calc-nav .back { white-space: nowrap; }
/* mobitel: bez vodoravnog pomicanja */
.section, .section-sm, .hero, .page-hero, .calc-section { overflow-x: clip; }
.hero-grid > *, .split > *, .contact-grid > *, .dn-wrap > * { min-width: 0; }
@media (max-width: 680px) {
  .h-display { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .hero-media video, .hero-media img { transform: none; }
  /* Mobitel (naslovnica): uspravni video samo u gornjem dijelu, ispod prelazi u tamnu pozadinu.
     Prije se 16:9 video razvlačio preko cijelog (vrlo visokog) bloka i vidio se samo komad krova. */
  .hero > .hero-media { bottom: auto; height: min(100svh, 780px); }
  .hero > .hero-media::after {
    background:
      linear-gradient(180deg, rgba(5,9,18,.62) 0%, rgba(5,9,18,.42) 40%, rgba(5,9,18,.55) 70%, rgba(5,9,18,1) 100%);
  }
  .hero h1, .hero .lead { text-shadow: 0 2px 18px rgba(5,9,18,.55); }
}
@media (max-width: 680px) {
  .qc-out b { font-size: 1.08rem; }
  .qc-out div { padding: 12px; }
  .qc-bill { font-size: 2.4rem; }
}
@media (max-width: 460px) {
  .is-landing .brand-text { display: none; }
}
.dark-form .select { background-repeat: no-repeat; background-position: right 14px center; }

/* ---------- Kalkulator: karta županija ---------- */
.loc-step { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.loc-map { position: relative; border-radius: var(--r-md); background: linear-gradient(160deg, #F4F6F1, #E9EDE5); padding: 14px; border: 1px solid var(--paper-2); }
.loc-svg { width: 100%; height: auto; display: block; }
.loc-svg .county { fill: #fff; stroke: #C7CEC0; stroke-width: 1.2; cursor: pointer; transition: fill .2s, stroke .2s; vector-effect: non-scaling-stroke; }
.loc-svg .county:hover { fill: #FFF3C4; stroke: var(--sun-600); }
.loc-svg .county.is-selected { fill: var(--sun-500); stroke: var(--navy-900); stroke-width: 1.6; }
.loc-tip { position: absolute; transform: translate(-50%, -140%); padding: 6px 10px; border-radius: 8px; background: var(--navy-900); color: #fff; font-size: .78rem; font-weight: 600; pointer-events: none; white-space: nowrap; }
.loc-side .field { margin-bottom: 18px; }
.loc-sat-cta { padding: 18px; border-radius: var(--r-md); background: var(--grad-sun-soft); border: 1px solid rgba(245,164,0,.3); }
.loc-sat-cta b { display: flex; gap: 8px; align-items: center; font-family: var(--font-display); color: var(--navy-900); }
.loc-sat-cta b .ico { color: var(--sun-600); }
.loc-sat-cta p { font-size: .88rem; color: var(--graphite-2); margin: 6px 0 12px; }
.loc-measured { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: #E9FBF3; color: #0F7A50; margin-bottom: 14px; }
.loc-measured .ico { color: var(--green-500); margin-top: 2px; }
.loc-measured b { display: block; font-family: var(--font-display); }
.loc-measured small { display: block; font-size: .8rem; color: #3D7A60; line-height: 1.4; margin-top: 2px; }
.loc-sat { margin-top: 22px; }

/* ---------- Satelitska provjera krova ---------- */
.roofmap { border-radius: var(--r-md); border: 1.5px solid var(--paper-2); background: #fff; padding: 14px; }
.rm-steps { display: flex; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: none; }
.rm-steps li { flex: 1; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 10px; background: var(--paper); color: var(--muted-dark); font-size: .8rem; font-weight: 600; line-height: 1.2; }
.rm-steps li b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--paper-2); font-size: .74rem; }
.rm-steps li.is-active { background: #FFF6DB; color: var(--navy-900); }
.rm-steps li.is-active b { background: var(--sun-400); border-color: var(--sun-400); color: var(--navy-950); }
.rm-steps li.is-done b { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.rm-geo-big { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-radius: 12px; background: var(--navy-900); color: #fff; text-align: left; transition: background .2s; }
.rm-geo-big:hover { background: var(--navy-700); }
.rm-geo-big .ico { width: 26px; height: 26px; flex: none; color: var(--sun-400); }
.rm-geo-big b { display: block; font-family: var(--font-display); font-size: 1rem; }
.rm-geo-big small { display: block; font-size: .78rem; color: rgba(255,255,255,.72); }
.rm-geo-big.is-busy .ico, .rm-ctrl [data-geo].is-busy .ico { animation: rmSpin 1s linear infinite; }
@keyframes rmSpin { to { transform: rotate(360deg); } }
.rm-or { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: var(--muted-dark); font-size: .78rem; }
.rm-or::before, .rm-or::after { content: ""; flex: 1; height: 1px; background: var(--paper-2); }
.rm-find { position: relative; }
.rm-search { display: flex; gap: 8px; margin-bottom: 10px; }
.rm-search .input { flex: 1; min-width: 0; padding: 11px 14px; }
.rm-search .btn .ico { width: 16px; height: 16px; }
.rm-results { position: absolute; left: 0; right: 0; top: 100%; margin-top: -6px; z-index: 30; background: #fff; border-radius: 12px; border: 1px solid var(--paper-2); box-shadow: 0 14px 34px -12px rgba(5,9,18,.35); overflow: hidden; max-height: 320px; overflow-y: auto; }
.rm-results li { border-bottom: 1px solid var(--paper-2); font-size: .86rem; }
.rm-results li:last-child { border-bottom: 0; }
.rm-results button { display: block; width: 100%; text-align: left; padding: 10px 14px; }
.rm-results button b { display: block; font-weight: 600; color: var(--navy-900); }
.rm-results button small { display: block; font-size: .76rem; color: var(--muted-dark); }
.rm-results button:hover, .rm-results button.is-sel { background: var(--paper); }
.rm-results .muted { padding: 10px 14px; font-size: .8rem; }
.rm-msg { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: #FFF6DB; color: #6B4E00; font-size: .82rem; line-height: 1.4; }
.rm-view { position: relative; height: 440px; border-radius: 12px; overflow: hidden; background: #2A3142; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.rm-view.is-dragging { cursor: grabbing; }
.rm-view.is-draw { cursor: crosshair; }
.rm-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.rm-layer.rm-bu { z-index: 1; }
.rm-tile { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; }
.rm-bu { opacity: .8; }
.rm-draw { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.rm-bld { fill: rgba(255, 194, 26, .38); stroke: var(--sun-400); stroke-width: 3; stroke-linejoin: round; }
.rm-poly { fill: rgba(255, 194, 26, .35); stroke: var(--sun-400); stroke-width: 2.5; stroke-linejoin: round; }
.rm-poly.open { fill: none; stroke-dasharray: 6 5; }
.rm-pt { fill: #fff; stroke: var(--sun-600); stroke-width: 3; }
.rm-acc { fill: rgba(43, 127, 255, .16); stroke: rgba(43, 127, 255, .5); stroke-width: 1; }
.rm-me { fill: #2B7FFF; stroke: #fff; stroke-width: 3; }
.rm-pin path { fill: #E5484D; stroke: #fff; stroke-width: 2; }
.rm-pin circle { fill: #fff; }
.rm-tap { fill: none; stroke: #fff; stroke-width: 3; animation: rmTap 1s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rmTap { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.4); } }
.rm-hint { position: absolute; left: 12px; right: 64px; top: 12px; z-index: 20; padding: 8px 12px; border-radius: 10px; background: rgba(7,13,26,.8); color: #fff; font-size: .8rem; line-height: 1.4; pointer-events: none; }
.rm-hint.is-warn { background: rgba(160, 40, 20, .9); }
.rm-loading { position: absolute; left: 50%; bottom: 58px; z-index: 20; transform: translateX(-50%); color: #fff; }
.rm-ctrl { position: absolute; z-index: 20; }
.rm-ctrl-r { right: 12px; top: 12px; display: flex; flex-direction: column; gap: 8px; }
.rm-ctrl-r > button, .rm-zoom button { width: 40px; height: 40px; display: grid; place-items: center; background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.rm-ctrl-r > button { border-radius: 10px; }
.rm-ctrl-r > button .ico { width: 20px; height: 20px; }
.rm-ctrl-r > button[aria-pressed="true"] { background: var(--sun-400); color: var(--navy-950); }
.rm-zoom { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.rm-zoom button { font-size: 1.35rem; font-weight: 700; box-shadow: none; border-bottom: 1px solid var(--paper-2); }
.rm-zoom button:last-child { border-bottom: 0; }
.rm-ctrl-r > button:hover, .rm-zoom button:hover { background: var(--paper); }
.rm-ctrl-r > button[aria-pressed="true"]:hover { background: var(--sun-300, var(--sun-400)); }
.rm-mode { left: 12px; bottom: 26px; display: flex; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.rm-mode button { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #fff; color: var(--navy-900); font-size: .8rem; font-weight: 600; }
.rm-mode button + button { border-left: 1px solid var(--paper-2); }
.rm-mode button .ico { width: 17px; height: 17px; }
.rm-mode button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.rm-cover { display: none; }
.rm-attr { position: absolute; right: 0; bottom: 0; z-index: 20; padding: 3px 8px; font-size: .66rem; background: rgba(255,255,255,.8); color: #333; border-top-left-radius: 8px; pointer-events: none; }
/* karta preko cijelog zaslona */
.rm-lock, .rm-lock body { overflow: hidden; }
.roofmap.is-full { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; margin: 0; border: 0; border-radius: 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
.roofmap.is-full .rm-steps, .roofmap.is-full .rm-geo-big, .roofmap.is-full .rm-or { display: none; }
.roofmap.is-full .rm-search { margin-bottom: 8px; }
.roofmap.is-full .rm-view { flex: 1; height: auto; min-height: 0; }
.roofmap.is-full .rm-bar { margin-top: 8px; gap: 8px 14px; }
@media (max-width: 680px) and (pointer: coarse) {
  /* u stranici karta ne hvata prst (stranica se normalno pomiče); radi se s njom preko cijelog zaslona */
  .roofmap:not(.is-full) .rm-view { touch-action: auto; }
  .roofmap:not(.is-full) .rm-cover { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(7,13,26,.35); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
  .roofmap:not(.is-full) .rm-cover .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--sun-400); color: var(--navy-950); box-sizing: content-box; }
  .roofmap:not(.is-full) .rm-ctrl, .roofmap:not(.is-full) .rm-hint { display: none; }
  .roofmap.is-full .rm-bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
  .roofmap.is-full .rm-area b { font-size: 1.15rem; }
  .roofmap.is-full .rm-pitch { font-size: .76rem; }
  .roofmap.is-full .rm-actions { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; gap: 6px; }
  .roofmap.is-full .rm-actions .btn { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
}
.rm-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 12px; }
.rm-area small { display: block; font-size: .75rem; color: var(--muted-dark); }
.rm-area b { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy-900); }
.rm-pitch { margin: 0; }
.rm-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Financiranje u rezultatima ---------- */
.fin-card { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: #F2F5FB; border: 1px solid #DCE3F0; margin-bottom: 18px; }
.fin-card > .ico { color: var(--navy-600); width: 26px; height: 26px; margin-top: 2px; }
.fin-card b { font-family: var(--font-display); color: var(--navy-900); }
.fin-card p { margin: 4px 0 0; font-size: .88rem; color: var(--graphite-2); }
.fin-card a { text-decoration: underline; font-weight: 600; color: var(--navy-700); }

@media (max-width: 900px) {
  .loc-step { grid-template-columns: 1fr; }
  .rm-view { height: 380px; }
}
@media (max-width: 680px) {
  .roofmap { padding: 12px; }
  .rm-steps li { flex-direction: column; gap: 4px; padding: 7px 4px; text-align: center; font-size: .72rem; }
  .rm-view { height: 300px; }
  .rm-bar { flex-direction: column; align-items: stretch; }
  .rm-actions .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
  .rm-mode button { padding: 10px 11px; font-size: .76rem; }
  .rm-sbtn { display: none; }
}
[hidden] { display: none !important; }

/* ---------- Gumb za noćni način ---------- */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.85); border: 1px solid var(--line-strong); transition: all .25s; }
.theme-toggle:hover { color: var(--sun-400); background: rgba(255,255,255,.08); }
.theme-toggle .ico { width: 18px; height: 18px; }

/* ---------- Strujne linije između blokova ---------- */
[data-circuit] { position: relative; }
.circuit-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
[data-circuit] > :not(.circuit-svg) { position: relative; z-index: 1; }
.circuit-svg .c-line { fill: none; stroke: rgba(11,19,36,.12); stroke-width: 1; }
.circuit-svg .c-pulse { fill: none; stroke: var(--sun-500); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 26 40 600; animation: pulseRun 7s linear infinite; filter: drop-shadow(0 0 4px rgba(255,194,26,.8)); }
.circuit-svg .c-pulse-2 { animation-delay: -3.5s; opacity: .7; }
.circuit-svg .c-nodes circle { fill: var(--cream); stroke: rgba(11,19,36,.25); stroke-width: 1; }
.section-dark .circuit-svg .c-line { stroke: rgba(255,255,255,.1); }
.section-dark .circuit-svg .c-nodes circle { fill: var(--navy-950); stroke: rgba(255,255,255,.25); }
@keyframes pulseRun { from { stroke-dashoffset: 668; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .circuit-svg .c-pulse { animation: none; display: none; } }

/* ---------- 3D prikaz sustava ---------- */
.e3d { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, #13213D, #070D1A); border: 1px solid var(--line-strong); min-height: 560px; }
.e3d-canvas { position: absolute; inset: 0; }
.e3d-canvas canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.e3d-canvas canvas:active { cursor: grabbing; }
.e3d-fallback { position: absolute; inset: 0; }
.e3d-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.e3d.is-3d .e3d-fallback { display: none; }
.e3d-label { position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 999px; background: rgba(7,13,26,.78); color: #fff; font-size: .72rem; font-weight: 600; white-space: nowrap; pointer-events: none; translate: -50% -100%; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: opacity .3s; opacity: 0; }
.e3d:not(.is-3d) .e3d-label { display: none; }
.e3d-ui { position: absolute; left: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); padding: 20px; border-radius: var(--r-lg); background: rgba(7,13,26,.82); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); color: #E6EAF2; z-index: 2; }
.e3d-modes { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-bottom: 14px; }
.e3d-modes button { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #B5BFD3; transition: all .3s; }
.e3d-modes button.is-active { background: var(--grad-sun); color: var(--navy-950); }
.e3d[data-mode="night"] .e3d-modes button.is-active { background: linear-gradient(135deg, #8FB8FF, #5C8DF0); color: #071028; }
.e3d[data-mode="evening"] .e3d-modes button.is-active { background: linear-gradient(135deg, #42E2A0, #1FC985); color: #04281A; }
.e3d-ui h3 { color: #fff; font-size: 1.1rem; margin: 0 0 6px; }
.e3d-ui p { margin: 0; font-size: .9rem; color: #B5BFD3; }
.e3d-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .74rem; color: #9AA5BC; }
.e3d-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.e3d-legend .l-sun::before { background: #FFC21A; } .e3d-legend .l-bat::before { background: #42E2A0; } .e3d-legend .l-grid::before { background: #6FA8FF; }
.e3d-hint { position: absolute; right: 18px; top: 18px; z-index: 2; font-size: .74rem; color: rgba(255,255,255,.7); padding: 6px 12px; border-radius: 999px; background: rgba(7,13,26,.55); }
.e3d:not(.is-3d) .e3d-hint { display: none; }
@media (max-width: 680px) {
  .e3d { min-height: 640px; }
  .e3d-ui { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
  .e3d-hint { display: none; }
}

/* ==========================================================================
   NOĆNI NAČIN (Grid Night) — karbonska pozadina, limeta za energiju i uštede
   ========================================================================== */
html[data-theme="night"] {
  --cream: #111112; --paper: #17181B; --paper-2: #2A2C31; --graphite: #E6E8EC; --graphite-2: #A9AFBA;
  --muted: #7D8594; --muted-dark: #9AA1AE; --line-dark: rgba(255,255,255,.08);
  --lime: #D2FF00;
  color-scheme: dark;
}
html[data-theme="night"] body { background: #111112; color: #E6E8EC; }
html[data-theme="night"] .section-paper { background: #17181B; }
html[data-theme="night"] .section-dark, html[data-theme="night"] .calc-section, html[data-theme="night"] .hero, html[data-theme="night"] .page-hero { background: #0A0A0B; }
html[data-theme="night"] .site-footer { background: #0A0A0B; }
html[data-theme="night"] h1, html[data-theme="night"] h2, html[data-theme="night"] h3, html[data-theme="night"] h4,
html[data-theme="night"] .card h3, html[data-theme="night"] .step h3, html[data-theme="night"] .faq summary,
html[data-theme="night"] .included b, html[data-theme="night"] .stat b, html[data-theme="night"] .opt b,
html[data-theme="night"] .calc-step h3, html[data-theme="night"] .calc-progress .cp-step, html[data-theme="night"] .bill-display,
html[data-theme="night"] .results-main h3, html[data-theme="night"] .res-card h4, html[data-theme="night"] .res-row b,
html[data-theme="night"] .growth-head b, html[data-theme="night"] .toggle-line .tl-text b, html[data-theme="night"] .contact-item b,
html[data-theme="night"] .scenario dd, html[data-theme="night"] .scenario .sc-compare b, html[data-theme="night"] .legal h2, html[data-theme="night"] .legal h3,
html[data-theme="night"] .legal td:first-child, html[data-theme="night"] .h-card, html[data-theme="night"] .price-card b, html[data-theme="night"] .tip-card b,
html[data-theme="night"] .peak-card b, html[data-theme="night"] .fin-card b, html[data-theme="night"] .loc-sat-cta b, html[data-theme="night"] .rm-area b,
html[data-theme="night"] .ty-opt h3, html[data-theme="night"] .ty-sub, html[data-theme="night"] .link-arrow, html[data-theme="night"] .post-card h3 { color: #F2F3F5; }
html[data-theme="night"] .card, html[data-theme="night"] .faq details, html[data-theme="night"] .included li, html[data-theme="night"] .contact-item,
html[data-theme="night"] .form-card, html[data-theme="night"] .opt, html[data-theme="night"] .res-card, html[data-theme="night"] .ty-card,
html[data-theme="night"] .stat-strip .inner, html[data-theme="night"] .compare, html[data-theme="night"] .roofmap, html[data-theme="night"] .ty-opt { background: #1B1C20; border-color: rgba(255,255,255,.07); }
html[data-theme="night"] .card-ico, html[data-theme="night"] .included .inc-ico, html[data-theme="night"] .contact-item .ci-ico { background: #0A0A0B; color: var(--lime); }
html[data-theme="night"] .calc-shell { background: #141518; color: #E6E8EC; }
html[data-theme="night"] .calc-tabs .is-active { background: #141518; color: #fff; }
html[data-theme="night"] .calc-tabs .is-active .ico { color: var(--lime); }
html[data-theme="night"] .opt .opt-ico { background: #26282D; color: #E6E8EC; }
html[data-theme="night"] .opt.is-selected { background: linear-gradient(160deg, #23260F, #1B1C20); border-color: var(--lime); box-shadow: 0 0 0 4px rgba(210,255,0,.12); }
html[data-theme="night"] .opt.is-selected .opt-ico { background: var(--lime); color: #111; }
html[data-theme="night"] .opt.is-selected .opt-check { background: var(--lime); border-color: var(--lime); color: #111; }
html[data-theme="night"] .opt:hover { border-color: var(--lime); }
html[data-theme="night"] .input, html[data-theme="night"] .select, html[data-theme="night"] .textarea { background: #141518; border-color: #2E3036; color: #F2F3F5; }
html[data-theme="night"] .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
html[data-theme="night"] .res-row.accent b, html[data-theme="night"] .results-main h3 .hl, html[data-theme="night"] .qc-out .hl b,
html[data-theme="night"] .scenario .sc-compare .after b, html[data-theme="night"] .indep-top b, html[data-theme="night"] .growth-head output { color: var(--lime); }
html[data-theme="night"] .indep-track i, html[data-theme="night"] .dn-fill.green { background: linear-gradient(90deg, #B8E600, #D2FF00); }
html[data-theme="night"] .res-hl.good { background: rgba(210,255,0,.08); color: #CFE68A; }
html[data-theme="night"] .res-hl.good b { color: var(--lime); }
html[data-theme="night"] .res-hl.bad { background: rgba(255,107,107,.08); color: #F2B8B8; }
html[data-theme="night"] .res-hl.bad b { color: #FF8A8A; }
html[data-theme="night"] .res-tools, html[data-theme="night"] .scenario .sc-compare, html[data-theme="night"] .ty-summary { background: #17181B; }
html[data-theme="night"] .res-warn { background: rgba(255,194,26,.08); color: #F2D58A; }
html[data-theme="night"] .peak-card, html[data-theme="night"] .fin-card { background: #17181B; border-color: #2A2C31; }
html[data-theme="night"] .res-badge { background: rgba(210,255,0,.1); color: var(--lime); }
html[data-theme="night"] .loc-map { background: #17181B; border-color: #2A2C31; }
html[data-theme="night"] .loc-svg .county { fill: #24262B; stroke: #3A3D44; }
html[data-theme="night"] .loc-svg .county:hover { fill: #3A4214; stroke: var(--lime); }
html[data-theme="night"] .loc-svg .county.is-selected { fill: var(--lime); stroke: #fff; }
html[data-theme="night"] .loc-measured { background: rgba(210,255,0,.08); color: #D9F27A; }
html[data-theme="night"] .eyebrow { color: var(--sun-500); }
html[data-theme="night"] .step .num { background: #1B1C20; border-color: #2A2C31; color: #E6E8EC; }
html[data-theme="night"] .process.is-visible .step .num { background: #0A0A0B; color: var(--lime); border-color: var(--lime); }
html[data-theme="night"] .step .dur, html[data-theme="night"] .scenario .sc-badge, html[data-theme="night"] .faq summary .pm { background: #26282D; color: #E6E8EC; }
html[data-theme="night"] .compare td.us { background: #1F2112; color: #F2F3F5; }
html[data-theme="night"] .compare td { border-color: #2A2C31; }
html[data-theme="night"] .btn-dark { background: var(--lime); color: #111; }
html[data-theme="night"] .btn-outline-dark { border-color: #E6E8EC; color: #E6E8EC; }
html[data-theme="night"] .btn-outline-dark:hover { background: #E6E8EC; color: #111; }
html[data-theme="night"] .btn-ghost-dark { background: #1B1C20; border-color: #2E3036; color: #E6E8EC; }
html[data-theme="night"] .cookie-bar { background: #1B1C20; color: #E6E8EC; border-color: #2A2C31; }
html[data-theme="night"] .cookie-bar b { color: #fff; }
html[data-theme="night"] .circuit-svg .c-line { stroke: rgba(255,255,255,.08); }
html[data-theme="night"] .circuit-svg .c-pulse { stroke: var(--lime); filter: drop-shadow(0 0 5px rgba(210,255,0,.8)); }
html[data-theme="night"] .circuit-svg .c-nodes circle { fill: #111112; stroke: rgba(255,255,255,.2); }
html[data-theme="night"] .range { background: linear-gradient(90deg, var(--lime) 0%, var(--lime) var(--p, 25%), rgba(140,150,170,.25) var(--p, 25%)); }
html[data-theme="night"] .range::-webkit-slider-thumb { border-color: var(--lime); box-shadow: 0 4px 16px rgba(210,255,0,.4); background: #111; }
html[data-theme="night"] .theme-toggle { color: var(--lime); }
html[data-theme="night"] .post-card .post-meta, html[data-theme="night"] .step .step-n { color: var(--lime); }
html[data-theme="night"] .tile::after { background: linear-gradient(180deg, rgba(10,10,11,.1) 0%, rgba(10,10,11,.6) 45%, rgba(10,10,11,.96) 100%); }
html[data-theme="night"] .tip-card, html[data-theme="night"] .loc-sat-cta { background: rgba(210,255,0,.05); border-color: rgba(210,255,0,.2); }
html[data-theme="night"] .calc-tabs { background: #0A0A0B; }
/* Financiranje — usporedba */
.fin-compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fc-item { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-dark); box-shadow: var(--shadow-sm); }
.fc-item span { display: block; font-size: .82rem; color: var(--muted-dark); margin-bottom: 6px; }
.fc-item b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-900); letter-spacing: -.02em; }
.fc-item small { font-size: .78rem; color: var(--muted); }
.fc-item.good { background: #E9FBF3; border-color: transparent; }
.fc-item.good b { color: #0E9F64; }
.fc-item.sun { background: var(--grad-sun-soft); border-color: rgba(245,164,0,.3); }
.fc-item.sun b { color: var(--sun-600); }
html[data-theme="night"] .fc-item { background: #1B1C20; border-color: rgba(255,255,255,.07); }
html[data-theme="night"] .fc-item b { color: #F2F3F5; }
html[data-theme="night"] .fc-item.good { background: rgba(210,255,0,.08); }
html[data-theme="night"] .fc-item.good b { color: var(--lime); }
@media (max-width: 900px) { .fin-compare { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fin-compare { grid-template-columns: 1fr; } }

/* ---------- Lokalne stranice ---------- */
.prose p + p { margin-top: 16px; }
.loc-aside { background: #fff; border: 1px solid var(--paper-2); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm, 0 10px 30px rgba(7,13,26,.06)); }
.loc-aside .h-card { margin-bottom: 4px; }
.loc-near { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--paper-2); }
.loc-near small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite-2); margin-bottom: 10px; }
.loc-near div, .service-links { display: flex; flex-wrap: wrap; gap: 8px; }
.service-links { justify-content: center; margin-top: 36px; }
.chip-link { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--navy-900); background: var(--paper); border: 1px solid var(--paper-2); transition: background .2s, border-color .2s, transform .2s; }
.chip-link:hover { background: #fff; border-color: var(--sun-400); transform: translateY(-2px); }
.section-paper .chip-link { background: #fff; }
.loc-bento .tile { min-height: 300px; }
html[data-theme="night"] .loc-aside { background: #141416; border-color: #26262A; }
html[data-theme="night"] .loc-near { border-color: #26262A; }
html[data-theme="night"] .loc-near small { color: #9A9AA2; }
html[data-theme="night"] .chip-link, html[data-theme="night"] .section-paper .chip-link { background: #1A1A1D; border-color: #2C2C31; color: #EDEDED; }
html[data-theme="night"] .chip-link:hover { border-color: #D2FF00; color: #D2FF00; }
@media (max-width: 640px) { .loc-aside { padding: 24px; } }

/* ---------- Blog ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.breadcrumbs { flex-wrap: wrap; }
.article-hero .breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: .88rem; color: #9AA5BC; }
.article-meta span + span::before { content: "·"; margin-right: 18px; opacity: .6; }
.draft-note { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #FEF0C7; color: #93370D; font-size: .82rem; font-weight: 700; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip-link.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--paper-2); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pc-media { aspect-ratio: 16 / 9; background: var(--navy-900); position: relative; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sun-400); background: radial-gradient(120% 90% at 85% 10%, rgba(255,194,26,.35), transparent 60%), linear-gradient(135deg, #0B1324, #13213D); }
.pc-ph .ico, .pc-ph svg { width: 44px; height: 44px; }
.pc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B7791F; margin-bottom: 8px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; color: var(--navy-900); margin-bottom: 10px; }
.post-card p { color: var(--graphite-2); font-size: .93rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { margin-top: auto; font-size: .8rem; color: #7A8291; }
.post-card.featured { grid-column: span 2; flex-direction: row; }
.post-card.featured .pc-media { aspect-ratio: auto; flex: 1.15; min-height: 300px; }
.post-card.featured .pc-body { flex: 1; padding: 34px; justify-content: center; }
.post-card.featured h3 { font-size: 1.55rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; max-width: 1120px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; }
.aside-card .h-card { color: #fff; margin-bottom: 0; font-size: 1.25rem; }
.aside-card p { color: #B5BFD3; font-size: .92rem; }
.aside-card .eyebrow { color: var(--sun-400); }
.aside-card .btn-ghost { color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.article-body { font-size: 1.07rem; line-height: 1.78; color: var(--graphite); min-width: 0; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); color: var(--navy-900); margin-top: 1.9em; line-height: 1.25; }
.article-body h3 { font-size: 1.25rem; color: var(--navy-900); margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: .4em; }
.article-body li::marker { color: #D69E2E; }
.article-body a { color: #1849A9; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--navy-900); }
.article-body blockquote { border-left: 4px solid var(--sun-400); background: #FFFBEF; padding: 16px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--graphite); }
.article-body img, .article-cover img { border-radius: var(--r-md); width: 100%; height: auto; }
.article-cover { margin: 0 0 1.6em; }
.article-body .compare { font-size: .93rem; }
.article-body .compare th, .article-body .compare td { padding: 12px 16px; }
.article-body hr { border: 0; border-top: 1px solid var(--paper-2); margin: 2em 0; }
.article-note { font-size: .88rem; color: #7A8291; border-top: 1px solid var(--paper-2); padding-top: 18px; margin-top: 2.4em !important; }
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; flex-direction: column; }
  .post-card.featured .pc-media { aspect-ratio: 16 / 9; min-height: 0; }
  .post-card.featured .pc-body { padding: 22px 24px 24px; }
  .article-body { font-size: 1.02rem; }
  .article-hero .breadcrumbs span:last-child { max-width: 30ch; }
}
html[data-theme="night"] .post-card { background: #141416; border-color: #26262A; }
html[data-theme="night"] .post-card h3, html[data-theme="night"] .article-body h2, html[data-theme="night"] .article-body h3, html[data-theme="night"] .article-body strong { color: #F2F2F2; }
html[data-theme="night"] .post-card p, html[data-theme="night"] .article-body { color: #C9C9CF; }
html[data-theme="night"] .pc-cat, html[data-theme="night"] .article-body li::marker { color: #D2FF00; }
html[data-theme="night"] .article-body a { color: #D2FF00; }
html[data-theme="night"] .article-body blockquote { background: #17170F; border-color: #D2FF00; color: #DADADA; }
html[data-theme="night"] .aside-card { background: #141416; border: 1px solid #26262A; }
html[data-theme="night"] .chip-link.is-active { background: #D2FF00; color: #0A0A0B; border-color: #D2FF00; }
html[data-theme="night"] .article-note, html[data-theme="night"] .article-body hr { border-color: #26262A; }
.article-body .compare { min-width: 0; }
@media (max-width: 640px) { .article-body .compare { font-size: .84rem; } .article-body .compare th, .article-body .compare td { padding: 10px 10px; } .article-meta span + span::before { margin-right: 10px; } .article-meta { gap: 6px 10px; } }

/* ---------- Brzi izračun: stalne dimenzije kartice ---------- */
.qc-bill { font-variant-numeric: tabular-nums; white-space: nowrap; }
.qc-out div { min-width: 0; container-type: inline-size; }
.qc-out span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-out b { display: block; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 1.15rem; line-height: 1.3; }
@supports (font-size: 1cqi) { .qc-out b { font-size: min(1.35rem, 9.4cqi); } }

/* Kalkulator: naslov i opis opcije uvijek u dva retka */
.opt-text { display: flex; flex-direction: column; gap: 4px; }
.opt small { display: block; }

/* Nadnaslov unutar H1 (SEO) — izgled isti kao prije */
/* nadnaslov unutar H1: ključne riječi za Google, izgleda kao mali žuti nadnaslov */
h1 .h1-eyebrow { display: flex; width: max-content; max-width: 100%; line-height: 1.4; margin-bottom: 18px; }
@media (max-width: 640px) { h1 .h1-eyebrow { width: auto; letter-spacing: .14em; } }

/* Podnožje: poveznice na lokalne stranice */
.footer-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 22px 0; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
.footer-areas span { color: #9AA5BC; font-weight: 600; }
.footer-areas a { color: #C9D2E3; }
.footer-areas a:hover { color: var(--sun-400); }
html[data-theme="night"] .footer-areas a:hover { color: #D2FF00; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--sun-400); }
.legal .link-btn { text-decoration: underline; color: inherit; }

/* Financiranje u poslovnom kalkulatoru */
.fin-opts { padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--paper-2); margin-bottom: 18px; }
.fin-opts h4 { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--navy-900); margin: 0 0 12px; }
.fin-opts h4 .ico { width: 20px; height: 20px; color: var(--navy-600); }
.fo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fo { padding: 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--paper-2); }
.fo.hl { background: #FFF8E1; border-color: #FFD978; }
.fo b { display: block; font-family: var(--font-display); font-size: .9rem; color: var(--navy-900); line-height: 1.3; }
.fo p { margin: 6px 0 0; font-size: .82rem; color: var(--graphite-2); line-height: 1.5; }
.fo small { display: block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: #138A5A; }
.fo-note { margin: 10px 0 0; font-size: .76rem; color: var(--muted-dark); }
.field label .muted { font-weight: 400; color: #8C96AA; }
@media (max-width: 900px) { .fo-grid { grid-template-columns: minmax(0, 1fr); } }
html[data-theme="night"] .fin-opts { background: #1B1C20; border-color: rgba(255,255,255,.07); }
html[data-theme="night"] .fin-opts h4, html[data-theme="night"] .fo b { color: #F2F3F5; }
html[data-theme="night"] .fo { background: #17181B; border-color: rgba(255,255,255,.07); }
html[data-theme="night"] .fo.hl { background: rgba(255,194,26,.08); border-color: rgba(255,194,26,.35); }

/* Kratki sažetak stranice (čitljiv ljudima i tražilicama) */
.summary-strip { padding: 30px 0 6px; }
.summary-strip p { margin: 0; padding: 18px 22px; border-radius: var(--r-md); background: var(--paper); border-left: 4px solid var(--sun-500); font-size: .98rem; line-height: 1.65; color: var(--graphite-2); }
.summary-strip b { color: var(--navy-900); font-family: var(--font-display); }
html[data-theme="night"] .summary-strip p { background: #17181B; color: #C9CDD4; }
html[data-theme="night"] .summary-strip b { color: #F2F3F5; }

/* CTA traka na mobitelu — gumbi ne smiju izlaziti izvan okvira */
@media (max-width: 600px) {
  .cta-band { padding: 36px 22px; }
  .cta-band .cta-actions .btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; justify-content: center; --pad-x: 20px; line-height: 1.3; }
}

/* Naslovnica: „Kako radimo” s karticom misije */
.cta-band.mission { margin-top: clamp(48px, 6vw, 80px); padding: 0; }
.mission .cta-grid { grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch; }
.mission-text { padding: clamp(36px, 5vw, 64px); }
.mission h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); color: #fff; margin: 4px 0 14px; }
.mission p { margin-bottom: 22px !important; }
.mission .link-arrow { color: var(--sun-400); }
.mission-media { position: relative; min-height: 340px; }
.mission-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission-media .float-badge { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 16px; background: rgba(7,13,26,.82); backdrop-filter: blur(12px); color: #fff; border: 1px solid var(--line-strong); max-width: 260px; }
@media (max-width: 900px) {
  .mission .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .mission-media { min-height: 0; aspect-ratio: 16 / 9; }
  .home-posts { grid-template-columns: 1fr 1fr; }
  .home-posts > :nth-child(n+3) { display: none; }
}
@media (max-width: 600px) {
  .cta-band.mission { padding: 0; }
  .mission-text { padding: 32px 22px 30px; }
  .mission-media .float-badge { left: 14px; bottom: 14px; padding: 10px 14px; }
  .mission-media .float-badge b { font-size: 1.3rem; }
}
@media (max-width: 680px) {
  /* koraci: ikona lijevo, tekst desno */
  .process { row-gap: 26px; }
  .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 0; }
  .step > :not(.num) { grid-column: 2; }
  .step .num { grid-row: 1 / span 4; width: 52px; height: 52px; margin: 0; }
  .step .num .ico { width: 22px; height: 22px; }
  .step h3 { font-size: 1.15rem; margin: 2px 0 6px; }
  .step .dur { justify-self: start; margin-top: 10px; }
  /* usluge: manje kartice dvije u redu */
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile-xl { grid-column: span 2; min-height: 330px; padding: 68px 22px 24px; }
  .tile-md { grid-column: span 1; min-height: 210px; padding: 48px 16px 16px; }
  .tile-md:last-child { grid-column: span 2; min-height: 170px; }
  .tile-md .tag { top: 12px; left: 12px; padding: 5px 10px; font-size: .62rem; letter-spacing: .06em; }
  .tile-md h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .tile-md p { display: none; }
  .tile-md .link-arrow { font-size: .82rem; }
  .home-posts { grid-template-columns: 1fr; }
}
/* Sekcija odmah ispod sažetka — manji razmak da čine jednu svijetlu cjelinu */
.section.section-tight { padding-top: clamp(40px, 5vw, 64px); }
.prose .spec-list + p { margin-top: 20px; }

/* Velike sekcije s ukrasnim sjajem: sadržaj se ne smije moći pomaknuti vodoravno
   (overflow: hidden dopušta pomak skriptom ili fokusom, overflow: clip ne dopušta) */
@supports (overflow: clip) {
  .hero, .page-hero, .calc-section, .site-footer { overflow: clip; }
}
/* Tablice cijena po snazi */
.compare-price th, .compare-price td { padding: 14px 16px; }
.compare-price td:nth-child(2) { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.compare-price td a { font-weight: 700; color: var(--navy-900); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--sun-500); text-underline-offset: 3px; }
.price-note { margin: 20px 0 0; padding: 18px 22px; border-radius: var(--r-md); background: #fff; border-left: 4px solid var(--sun-500); color: var(--graphite-2); }
.price-note b { color: var(--navy-900); }
.price-note a { font-weight: 700; color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--sun-500); text-underline-offset: 3px; }
.summary-strip a { color: var(--navy-900); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun-500); text-underline-offset: 3px; }
html[data-theme="night"] .compare-price td:nth-child(2), html[data-theme="night"] .compare-price td a, html[data-theme="night"] .price-note b, html[data-theme="night"] .price-note a, html[data-theme="night"] .summary-strip a { color: #F2F3F5; }
html[data-theme="night"] .price-note { background: #1B1C20; color: #C9CDD4; }
/* Gradovi na naslovnici */
.home-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: .9rem; }
.home-areas span { color: var(--graphite-2); font-weight: 600; margin-right: 6px; }
/* Tablice na mobitelu: prvi stupac (snaga) ostaje vidljiv dok se tablica pomiče */
@media (max-width: 680px) {
  .table-wrap .compare th, .table-wrap .compare td { padding: 12px 12px; }
  .table-wrap .compare th:first-child, .table-wrap .compare td:first-child { position: sticky; left: 0; z-index: 1; }
  .table-wrap .compare td:first-child { background: #fff; box-shadow: 1px 0 0 var(--paper-2); }
  html[data-theme="night"] .table-wrap .compare td:first-child { background: #1B1C20; box-shadow: 1px 0 0 #2A2C31; }
  .home-areas span { flex-basis: 100%; }
}
.compare-price td { white-space: nowrap; }
.compare-price th { line-height: 1.3; }
