/* MM Real Estate – javni sajt.
   Vizuelni smjer: „zlatni sat". Prizori destinacija u sumrak (crta ih server/site/art.js, bez fotografija trećih strana)
   i preko njih precizni podaci. Tamnoplava i srebrna dolaze iz znaka; topli prelaz zalaska (jantar → koralj) nosi glavna dugmad.
   Fontovi su na vlastitom serveru (bez poziva trećim stranama): Marcellus za naslove, Manrope za tekst i brojeve. */
@font-face { font-family: 'Marcellus'; src: url(/assets/fonts/marcellus-latin.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; 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: 'Marcellus'; src: url(/assets/fonts/marcellus-latin-ext.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/manrope-latin.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; 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: 'Manrope'; src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Ćirilica (ruski): tekst je Manrope, a naslovi Forum, rez srodan Marcellusu, pod istim imenom porodice da se bira sam po znaku. */
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Marcellus'; src: url(/assets/fonts/forum-cyrillic.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --night: #080D1C; --stage: #0E1530; --stage-2: #151E40; --navy: #131C33; --dusk: #2B2F63;
  --ink: #131A2E; --ink-2: #454E66; --ink-3: #626A83;
  --paper: #F4F5F7; --white: #fff; --mist: #E9EBF1; --line: #D9DCE6; --silver: #C6C8CC; --on-dark: #BAC1D6; --on-dark-2: #8D96B2;
  --amber: #F6C177; --coral: #F0876A; --sun: #FFE2A8; --teal: #17616E; --foam: #8FD3D1;
  --gold: #F6C177; --gold-d: #E9A85A; --blue: #2F6FED; --ok: #18794E; --bad: #B4311F;
  --grad: linear-gradient(100deg, #F9D08B 0%, #F4A870 52%, #EE8468 100%);
  --hair: linear-gradient(90deg, #F9D08B, #EE8468 60%, rgba(238, 132, 104, 0));
  --r: 12px; --r-l: 20px; --wrap: 1280px; --pad: clamp(18px, 4vw, 48px); --top-h: 72px;
  --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2));
  --disp: 'Marcellus', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif; --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(14, 21, 48, .05), 0 14px 34px -10px rgba(14, 21, 48, .16);
  --glass: linear-gradient(160deg, rgba(24, 33, 72, .7), rgba(9, 14, 32, .62));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --focus: #2F6FED;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font: 450 1.0625rem/1.6 var(--text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
img, video { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.2vw + .7rem, 4.5rem); }
h2 { font-size: clamp(1.8rem, 2.1vw + 1rem, 2.9rem); }
h3 { font: 700 1.14rem/1.3 var(--text); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.top, .hero, .pulse, .dark, .band, .page-top, .foot, .cta-scene, .cta-row, .offer-map, .mcta { --focus: #FFE2A8; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(820px + 2 * var(--pad)); }
.mut { color: var(--ink-3); }
.ic { flex: none; vertical-align: -3px; }
.num, .tbl .n, .price, .score b, .lenses b, .nums b, .tiers b, .calc-out b { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- dugmad ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .25s, background-color .2s, border-color .2s, color .2s; }
.btn-gold { background: var(--grad); color: #1B1430; box-shadow: 0 12px 28px -14px rgba(240, 135, 106, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 68%); transform: translateX(-120%); transition: transform .75s cubic-bezier(.2, .7, .2, 1); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(240, 135, 106, 1), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost, .btn-line-light { border-color: rgba(255, 255, 255, .34); color: var(--white); background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover, .btn-line-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .16); }
.btn-line { border-color: rgba(19, 26, 46, .8); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }
.more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; text-decoration: none; }
.more .ic { transition: transform .25s; }
.more:hover .ic { transform: translateX(4px); }
.more:hover { text-decoration: underline; }

/* ---------- zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 50; color: var(--white); background: rgba(8, 13, 28, .93); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s, border-color .3s; }
.at-top .top { background: rgba(8, 13, 28, 0); border-bottom-color: rgba(255, 255, 255, 0); -webkit-backdrop-filter: none; backdrop-filter: none; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: var(--top-h); }
.brand { display: flex; color: var(--white); flex: none; }
.brand .la { fill-opacity: .5; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav > a { position: relative; padding: 8px 12px; text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--on-dark); white-space: nowrap; transition: color .2s; }
.nav > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.nav > a:hover, .nav > a[aria-current] { color: var(--white); }
.nav > a:hover::after, .nav > a[aria-current]::after { transform: scaleX(1); }
.nav-x { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-x a { color: var(--on-dark); text-decoration: none; font-size: .94rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-x a:hover { color: var(--white); }
.top-cta { min-height: 42px; padding: 0 20px; flex: none; font-size: .95rem; }
/* Izbor jezika: padajuća lista u zaglavlju. Radi i bez skripte (details); skripta je zatvara klikom sa strane i tipkom Esc. */
.langs { position: relative; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px; margin: 0 -8px; border-radius: var(--r); color: var(--on-dark); font-size: .9rem; font-weight: 700; letter-spacing: .02em; cursor: pointer; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--white); }
.langs summary svg:last-child { transition: transform .15s; }
.langs[open] summary svg:last-child { transform: rotate(180deg); }
.langs .lg-name { display: none; }
.langs ul { position: absolute; right: -8px; top: calc(100% + 10px); z-index: 60; min-width: 176px; padding: 6px; background: var(--white); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(8, 13, 28, .28); }
.langs ul a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: .98rem; font-weight: 500; }
.langs ul a:hover { background: var(--mist); color: var(--ink); }
.langs ul a[aria-current] { font-weight: 700; }
.langs ul a[aria-current]::after { content: ''; width: 7px; height: 12px; margin: 1px 4px 0 0; border: solid var(--coral); border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* Prijedlog jezika pri prvoj posjeti: mala kartica u donjem desnom uglu (na telefonu ispod zaglavlja), ne pomjera sadržaj. */
.langbar { position: fixed; bottom: 16px; right: 16px; z-index: 65; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 32px)); padding: 12px 12px 12px 20px; background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(8, 13, 28, .28); font-size: .94rem; }
.langbar p { margin: 0; flex: 1; line-height: 1.35; }
.langbar .btn { min-height: 40px; padding: 0 16px; flex: none; font-size: .92rem; }
.langbar .x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.langbar .x:hover { background: var(--mist); color: var(--ink); }
.burger { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; }

/* ---------- početna: prizor u vrhu stranice ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--top-h)); color: var(--white); background: var(--night); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-bg video { opacity: 0; transition: opacity 1.2s; }
.hero-bg video.on { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 13, 28, .66) 0, rgba(8, 13, 28, 0) 190px),
  linear-gradient(90deg, rgba(8, 13, 28, .86) 0%, rgba(8, 13, 28, .6) 34%, rgba(8, 13, 28, .12) 62%, rgba(8, 13, 28, 0) 80%),
  linear-gradient(0deg, var(--night) 0, rgba(8, 13, 28, .5) 16%, rgba(8, 13, 28, 0) 44%); }
.hero::after, .page-top::after, .foot::after, .cta-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 600px); gap: clamp(22px, 3vw, 40px) clamp(24px, 4vw, 64px); align-items: end; min-height: min(100vh, 940px); min-height: min(100svh, 940px); padding-top: calc(var(--top-h) + clamp(36px, 7vh, 96px)); padding-bottom: clamp(26px, 4vh, 44px); }
.hero-t { align-self: center; max-width: 40rem; padding-inline-end: clamp(0px, 4.6vw, 68px); }
.hero-t h1 { font-size: clamp(2.7rem, 5vw + .8rem, 5.6rem); line-height: 1.01; letter-spacing: -.012em; text-shadow: 0 2px 30px rgba(8, 13, 28, .45); }
.hero-sub { color: #DCE1EE; font-size: clamp(1.04rem, .5vw + .95rem, 1.24rem); line-height: 1.55; margin: clamp(16px, 2.2vh, 26px) 0 0; max-width: 35em; text-shadow: 0 1px 16px rgba(8, 13, 28, .6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vh, 32px); }
.hero-play { position: absolute; right: var(--pad); top: calc(var(--top-h) + 14px); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(8, 13, 28, .4); color: var(--white); cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-play:hover { background: rgba(8, 13, 28, .7); }
.hero-play[hidden] { display: none; }
.hero-play i { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-play[aria-pressed="true"] i { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; margin-left: 3px; }

/* Globus u vrhu: slojevi (ocjena, agenti, potražnja, ponuda), lista vodećih zemalja i oznaka tržišta na koje globus trenutno pokazuje */
.hud { position: relative; align-self: center; display: grid; justify-items: end; width: 100%; }
.hud::before { content: ''; position: absolute; inset: -14%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(8, 13, 28, .78) 0, rgba(8, 13, 28, .55) 38%, rgba(8, 13, 28, 0) 68%); pointer-events: none; }
.hud-tabs { position: relative; z-index: 3; margin: 0 clamp(0px, 3vw, 44px) 2px 0; background: rgba(8, 13, 28, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.globe { position: relative; width: min(100%, 62vh); max-width: 590px; aspect-ratio: 1; justify-self: end; }
@media (max-height: 820px) and (min-width: 1021px) { .hud-note { display: none; } }
.globe canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe canvas:active { cursor: grabbing; }
.globe::before { content: ''; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(143, 211, 209, .14), rgba(43, 47, 99, .22) 46%, rgba(8, 13, 28, 0) 71%); box-shadow: 0 0 110px 8px rgba(240, 135, 106, .16), inset 0 0 60px rgba(143, 211, 209, .1); pointer-events: none; }
.gl-label { position: absolute; z-index: 2; left: 0; top: 0; padding: 6px 11px; border-radius: 11px; background: rgba(8, 13, 28, .84); border: 1px solid rgba(255, 255, 255, .22); font-size: .84rem; font-weight: 700; line-height: 1.2; white-space: nowrap; pointer-events: none; transition: opacity .35s; will-change: transform; }
.gl-label b { color: var(--sun); margin-left: 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
.gl-label[hidden] { display: block !important; opacity: 0; }
.hud-card { position: absolute; left: clamp(-64px, -4.4vw, 0px); bottom: -5%; z-index: 3; width: min(272px, 56%); padding: 16px 18px 14px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
.hud-card h2 { font: 700 .95rem/1.25 var(--text); letter-spacing: 0; margin-bottom: 8px; }
.hud-top { counter-reset: r; border-top: 1px solid rgba(255, 255, 255, .14); min-height: 9.6rem; }
.hud-top li { counter-increment: r; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hud-top a { display: flex; align-items: baseline; gap: 9px; padding: 6px 4px; margin: 0 -4px; border-radius: 7px; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .2s; }
.hud-top a::before { content: counter(r); color: var(--on-dark-2); font-size: .78rem; min-width: 1em; font-variant-numeric: tabular-nums; }
.hud-top span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-top b { color: var(--sun); font-weight: 800; font-variant-numeric: tabular-nums; }
.hud-top li.on a, .hud-top a:hover { background: rgba(255, 255, 255, .1); }
.hud-top .none { border: 0; padding: 12px 0; color: var(--on-dark); font-size: .9rem; line-height: 1.4; }
.hud-note { font-size: .78rem; line-height: 1.4; color: var(--on-dark); margin: 10px 0 8px; }
.hud-card .more { font-size: .88rem; color: var(--sun); }

/* Pretraga ponude u vrhu stranice */
.finder { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px; border-radius: 28px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7); }
.finder .f { gap: 5px; }
.finder .f > span { font-size: .8rem; font-weight: 600; color: var(--on-dark); padding-left: 16px; }
.finder .f select { min-height: 52px; padding: 0 40px 0 16px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); background-color: rgba(255, 255, 255, .08); color: var(--white); font-weight: 600; }
.finder .f select:hover { background-color: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.finder .f select:focus { outline: 2px solid var(--sun); outline-offset: 0; border-color: var(--sun); box-shadow: none; }
.finder option { color: var(--ink); background: var(--white); }
.finder .btn { min-height: 52px; }

/* Traka sa rangom i četiri broja ispod vrha */
.pulse { position: relative; background: var(--night); color: var(--white); padding-bottom: clamp(36px, 5vw, 64px); }
.ticker { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-in { display: flex; width: max-content; padding: 13px 0; animation: tick 80s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker span { display: inline-flex; align-items: baseline; gap: 9px; padding: 0 22px; font-size: .92rem; font-weight: 600; color: var(--on-dark); white-space: nowrap; }
.ticker i { font-style: normal; font-size: .78rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.ticker b { color: var(--sun); font-weight: 800; font-variant-numeric: tabular-nums; }
.pulse-h { padding-top: clamp(34px, 4.6vw, 64px); }
.pulse-h h2 { font-size: clamp(1.6rem, 1.7vw + 1rem, 2.5rem); max-width: 22em; }
.pulse-h p { color: var(--on-dark); margin: 12px 0 0; max-width: 40em; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); }
.pulse .nums { padding-top: clamp(30px, 4vw, 52px); }
.nums > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.nums b { display: block; font: 800 clamp(2.1rem, 3.6vw, 3.5rem)/1 var(--text); letter-spacing: -.035em; }
.nums span { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 10px; max-width: 24ch; }
.pulse .nums > div { border-top: 0; padding-top: 0; position: relative; padding-left: 18px; }
.pulse .nums > div::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--amber), rgba(240, 135, 106, 0)); }
.pulse .nums b { background: linear-gradient(100deg, #FFF 20%, var(--sun) 60%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse .nums span { color: var(--on-dark); }

/* ---------- sekcije ---------- */
.sec { padding: clamp(52px, 7.5vw, 108px) 0; }
.sec + .sec { padding-top: clamp(16px, 3vw, 40px); }
.tint { background: var(--mist); }
.band, .dark { position: relative; background: radial-gradient(1200px 520px at 88% -10%, rgba(43, 47, 99, .75), rgba(43, 47, 99, 0) 70%), var(--stage); color: var(--white); }
.pulse + .dark { background: linear-gradient(180deg, var(--night), var(--stage) 38%); }
.sec.dark.dest { padding-top: clamp(36px, 4.5vw, 64px); }
.sec + .tint, .tint + .sec, .band + .sec, .sec + .band, .dark + .sec, .sec + .dark, .pulse + .sec { padding-top: clamp(52px, 7.5vw, 108px); }
.tint + .tint, .dark + .dark, .band + .band { padding-top: clamp(16px, 3vw, 40px); }
.band .lede p, .dark .lede p { color: var(--on-dark); }
.lede { max-width: 46rem; margin-bottom: clamp(24px, 3.4vw, 44px); }
.lede p { color: var(--ink-2); margin: 14px 0 0; font-size: 1.1rem; max-width: 38em; }
.lede-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.lede-row .lede { margin-bottom: 0; }
.after { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 38px); }
.h-sub { font-size: clamp(1.35rem, 1vw + 1.05rem, 1.8rem); margin: clamp(36px, 5vw, 56px) 0 12px; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split2.wide-l { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.split2.wide-r { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.split2 > div > h2, .split2 > aside > h2 { margin-bottom: 16px; }
.note { position: relative; background: var(--white); padding: 14px 18px 14px 22px; border-radius: 14px; font-size: .97rem; color: var(--ink-2); margin-top: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.note::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--amber), var(--coral)); }
.src, .fine { font-size: .86rem; color: var(--ink-3); margin-top: 12px; }
.dark .src, .band .src { color: var(--on-dark-2); }
.src a, .fine a, .note a { color: var(--ink); }
.dark .src a, .band .src a { color: var(--white); }
.cta-row { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(36px, 5vw, 60px); padding: clamp(24px, 3.4vw, 40px); background: radial-gradient(620px 300px at 100% 0%, rgba(240, 135, 106, .34), rgba(240, 135, 106, 0) 70%), radial-gradient(520px 320px at 78% 120%, rgba(43, 47, 99, .9), rgba(43, 47, 99, 0) 70%), var(--stage); color: var(--white); border-radius: 26px; }
.cta-row h2 { font-size: clamp(1.4rem, 1.1vw + 1.05rem, 1.95rem); }
.cta-row p { color: var(--on-dark); margin: 8px 0 0; }
.cta-row .btn-line { border-color: rgba(255, 255, 255, .4); color: var(--white); background: rgba(255, 255, 255, .06); }
.cta-row .btn-line:hover { background: var(--white); color: var(--navy); }
.cta-row > span { display: flex; flex-wrap: wrap; gap: 12px; }
.sec > .wrap.cta-row { margin-top: 0; max-width: var(--wrap); width: calc(100% - 2 * var(--pad)); }
.empty { background: var(--white); border: 1px dashed #BFC5D3; border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); text-align: left; }
.empty h2 { font-size: 1.5rem; margin-bottom: 8px; }
.empty .btn { margin-top: 12px; }

/* ---------- destinacije: balkonska vrata ---------- */
/* Gledamo iz sobe: staklena vrata sa prozirnom zavjesom, iza njih terasa i pogled na zemlju. Na dodir pokazivača (na telefonu:
   kad kartica dođe u sredinu) zavjesa se razmakne, krila se otvore prema terasi i pogled se izoštri. */
.dest { overflow: hidden; }
/* Destinacije: panorama koja se otvara. Uski kadrovi stoje jedan uz drugi; kadar na kojem je pokazivač se raširi i oživi
   (kamera se lagano kreće, zalazak prelazi u veče, voda se talasa ili ide kratki video). Bez pokazivača kadrovi se smjenjuju sami. */
.pano { display: flex; gap: 10px; height: clamp(430px, 58vh, 580px); }
.pan { position: relative; flex: 1 1 0; min-width: 0; display: block; border-radius: 22px; overflow: hidden; isolation: isolate; color: var(--white); text-decoration: none; background: var(--stage-2); transition: flex-grow .85s cubic-bezier(.3, .7, .1, 1), box-shadow .6s; -webkit-tap-highlight-color: transparent; }
.pan.on { flex-grow: 7.4; box-shadow: 0 0 0 1px rgba(255, 226, 168, .38), 0 44px 80px -44px rgba(240, 135, 106, .6); }
.pan:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.pan-img { position: absolute; inset: 0; filter: saturate(.55); transition: filter .9s; }
.pan.on .pan-img { filter: none; }
.pan-img img, .pan-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50%) 50%; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.07); transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity 1s; }
.pan-img video { opacity: 0; }
.pan-img video.on { opacity: 1; }
.pan-img .dusk { opacity: 0; transition: opacity .8s; }
.pan.on .pan-img .dusk.ok { opacity: 1; transition: opacity 3.4s ease 1.3s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.pan-img .water { -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 68%); mask-image: linear-gradient(180deg, transparent 50%, #000 68%); }
.pan::before, .pan::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .8s; }
.pan::before { background: linear-gradient(180deg, rgba(8, 13, 28, .42), rgba(8, 13, 28, .2) 40%, rgba(8, 13, 28, .82)); }
.pan::after { background: linear-gradient(0deg, rgba(8, 13, 28, .9), rgba(8, 13, 28, .5) 22%, rgba(8, 13, 28, 0) 52%), radial-gradient(46% 52% at 74% 18%, rgba(255, 226, 168, .2), rgba(255, 226, 168, 0) 70%); opacity: 0; }
.pan.on::before { opacity: 0; }
.pan.on::after { opacity: 1; }
.pan-tag { position: absolute; z-index: 2; left: 0; right: 0; top: 22px; bottom: 20px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; transition: opacity .3s; }
.pan-tag i { writing-mode: vertical-rl; transform: rotate(180deg); max-height: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 1.3rem/1 var(--disp); letter-spacing: .02em; }
.pan-tag b { flex: none; font-size: .95rem; font-weight: 800; color: var(--sun); font-variant-numeric: tabular-nums; }
.pan.on .pan-tag { opacity: 0; }
.pan-card { position: absolute; z-index: 2; left: clamp(16px, 2vw, 30px); bottom: clamp(16px, 2vw, 28px); width: calc(var(--pw, 460px) - 2 * clamp(16px, 2vw, 30px)); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .5s; pointer-events: none; text-shadow: 0 1px 14px rgba(8, 13, 28, .6); }
.pan.on .pan-card { opacity: 1; transform: none; transition: opacity .5s .4s, transform .6s .4s cubic-bezier(.2, .7, .2, 1); }
.pan-h { display: grid; gap: 10px; max-width: 21rem; }
.pan-card strong { font: 400 clamp(1.9rem, 1.6vw + 1.2rem, 2.9rem)/1.02 var(--disp); }
.pan-kv { display: flex; gap: 8px 28px; padding-bottom: 2px; }
.pan-kv span { font-size: .78rem; color: var(--on-dark); line-height: 1.3; white-space: nowrap; }
.pan-kv b { display: block; font-size: 1.16rem; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pan-kv span:first-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.pan-kv sup { font-weight: 500; opacity: .8; line-height: 0; }
.pan-go { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--sun); }
.pan-go .ic { transition: transform .3s; }
.pan:hover .pan-go .ic { transform: translateX(4px); }
.pan-bar { position: absolute; z-index: 2; left: 22px; right: 22px; top: 16px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .24); opacity: 0; transition: opacity .4s; }
.pan-bar i { display: block; width: 100%; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.pano.tour .pan.on .pan-bar { opacity: 1; }
.pano.tour .pan.on .pan-bar i { animation: pan-bar 6.5s linear forwards; }
.fx-defs { position: absolute; }
@media (prefers-reduced-motion: no-preference) {
  .pan.on .pan-img { animation: pan-kb 15s ease-out both; }
}
@keyframes pan-bar { to { transform: scaleX(1); } }
@keyframes pan-kb { from { transform: scale(1); } to { transform: scale(1.07); } }

/* ---------- izbor sloja / ugla gledanja ---------- */
.seg { display: inline-flex; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button, .seg a { border: 0; background: transparent; color: var(--on-dark); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .2s, color .2s; }
.seg button:hover, .seg a:hover { color: var(--white); }
.seg [aria-selected="true"], .seg [aria-pressed="true"], .seg [aria-current] { background: var(--white); color: var(--navy); }
.seg [aria-selected="true"]:hover, .seg [aria-pressed="true"]:hover, .seg [aria-current]:hover { color: var(--navy); }

/* Karta svijeta (stranica ranga i ponuda) */
.hero-map { min-width: 0; }
.map-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.map-head { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; margin-bottom: 14px; }
.map { position: relative; aspect-ratio: 1000 / 440; }
.map svg { display: block; width: 100%; height: 100%; overflow: visible; }
.map path { fill: #222B52; stroke: var(--stage); stroke-width: .5; vector-effect: non-scaling-stroke; transition: fill .25s; }
.map path.other { fill: #182040; }
.map [data-i] { cursor: pointer; }
.map [data-i]:hover, .map [data-i].on { stroke: var(--white); stroke-width: 1.4; }
.map circle { fill: #222B52; stroke: var(--stage); stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .25s; }
.map circle.dot { fill: rgba(255, 255, 255, .88); stroke: var(--stage); stroke-width: 1; }
.map circle.dot.ex { fill: var(--amber); }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--white); color: var(--ink); border-radius: 12px; padding: 9px 13px; font-size: .88rem; line-height: 1.35; box-shadow: 0 14px 36px rgba(8, 13, 28, .35); min-width: 150px; max-width: 240px; transform: translate(-50%, calc(-100% - 12px)); }
.tip b { display: block; font-size: .96rem; }
.tip span { color: var(--ink-2); display: block; }
.map-cap { color: var(--on-dark-2); font-size: .86rem; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--on-dark); }
.legend i { display: inline-block; width: 92px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2B2F63, #2C6C86, #8FD3D1, #F6C177, #FFE9C2); }
.hero-rank h2 { font: 700 1rem var(--text); letter-spacing: 0; color: var(--on-dark); margin: 6px 0 10px; }
.hero-rank ol { counter-reset: r; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-rank li { counter-increment: r; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hero-rank li a { display: flex; align-items: baseline; gap: 10px; padding: 9px 2px; text-decoration: none; color: var(--white); font-weight: 600; }
.hero-rank li a::before { content: counter(r); color: var(--on-dark-2); font-size: .84rem; font-weight: 600; min-width: 1.4em; font-variant-numeric: tabular-nums; }
.hero-rank li a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-rank li a b { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--sun); }
.hero-rank li a:hover span { text-decoration: underline; }

/* ---------- kategorije ponude ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.cat-grid a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; aspect-ratio: 3 / 4; padding: 16px; border-radius: var(--r-l); overflow: hidden; color: var(--white); text-decoration: none; background: var(--stage-2); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.cat-grid img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.cat-grid a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 13, 28, .05) 30%, rgba(8, 13, 28, .88)); }
.cat-grid a:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -24px rgba(14, 21, 48, .7); }
.cat-grid a:hover img { transform: scale(1.08); }
.cat-grid b { font: 800 clamp(1.7rem, 2.2vw, 2.4rem)/1 var(--text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cat-grid strong { font-weight: 700; font-size: .98rem; line-height: 1.25; }

/* ---------- kartice ponude ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cards.c3 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-l); overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.card:hover { box-shadow: 0 0 0 1px rgba(19, 26, 46, .16), 0 30px 54px -26px rgba(14, 21, 48, .42); transform: translateY(-5px); }
.ph { position: relative; display: block; background: var(--stage-2); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.card:hover .ph img, .post:hover .ph img { transform: scale(1.06); }
.ph em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: .7rem; font-weight: 600; background: rgba(8, 13, 28, .6); color: var(--white); padding: 3px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tags { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags.in { position: static; margin: 0 0 12px; }
.tag { background: rgba(8, 13, 28, .66); color: var(--white); font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; line-height: 1.25; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tag.gold { background: var(--grad); color: #1B1430; }
.card-b { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.card-b strong { font: 400 1.3rem/1.22 var(--disp); }
.where { color: var(--ink-2); font-size: .95rem; }
.price { font-weight: 800; font-size: 1.18rem; margin-top: 8px; letter-spacing: -.01em; }
.price small { font-weight: 500; color: var(--ink-2); font-size: .86rem; letter-spacing: 0; }
.facts { color: var(--ink-3); font-size: .9rem; }
.count { color: var(--ink-2); margin: 24px 0 16px; font-weight: 700; }

/* ---------- koraci, strane, nivoi ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 1.6vw, 22px); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-l); background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); }
.steps li::before { content: counter(s); display: block; font: 400 2.9rem/1 var(--disp); margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { color: var(--on-dark); font-size: .98rem; margin-top: 10px; }
.steps.light li { background: var(--white); border-color: var(--line); }
.steps.light p { color: var(--ink-2); }
.sides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.sides article, .spot { position: relative; isolation: isolate; overflow: hidden; }
.sides article { background: var(--white); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s; }
.sides article::before, .spot::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 193, 119, .3), rgba(246, 193, 119, 0) 62%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.sides article:hover::before, .spot:hover::before { opacity: 1; }
.sides article:hover { box-shadow: 0 0 0 1px rgba(240, 135, 106, .55), var(--shadow); transform: translateY(-3px); }
.sides .si { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--stage); color: var(--amber); margin-bottom: 6px; }
.sides p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tiers > div { background: var(--white); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 30px); display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; box-shadow: 0 0 0 1px var(--line); }
.tiers b { font: 800 clamp(2.6rem, 4vw, 3.6rem)/1 var(--text); letter-spacing: -.04em; background: linear-gradient(120deg, var(--navy) 30%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiers span { color: var(--ink-2); font-size: .93rem; }
.tiers h3 { grid-column: 1 / -1; margin-top: 18px; }
.tiers p { grid-column: 1 / -1; color: var(--ink-2); font-size: .96rem; margin-top: 4px; }
.deals { display: grid; gap: 14px; }
.deals.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.deal { position: relative; display: flex; flex-direction: column; gap: 5px; background: var(--white); border-radius: var(--r-l); padding: 22px 24px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s; }
.deal:hover { box-shadow: 0 0 0 1px rgba(19, 26, 46, .16), var(--shadow); transform: translateY(-3px); }
.deal strong { font: 400 1.3rem/1.22 var(--disp); }
.bar { display: block; height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; margin: 14px 0 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #2FA39E 60%, var(--amber)); border-radius: 4px; min-width: 4px; }

/* ---------- poruka osnivača (video se učitava na klik) ---------- */
/* Arapski i kineski koriste pisma sistema (web-font za njih bi bio pretežak). Arapski se piše zdesna nalijevo: raspored
   u redovima i mrežama se okreće sam (dir="rtl" na <html>), a ovdje su ispravke za ono što je vezano za lijevu ili desnu stranu. */
html[lang="ar"] { --disp: 'Noto Naskh Arabic', 'Amiri', 'Geeza Pro', 'Segoe UI', Tahoma, serif; --text: 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Geeza Pro', system-ui, sans-serif; }
html[lang="zh"] { --disp: 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', serif; --text: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', system-ui, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { letter-spacing: 0; }
html[lang="ar"] .hero h1, html[lang="zh"] .hero h1 { line-height: 1.2; }
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .more .ic, [dir="rtl"] .pan-go .ic, [dir="rtl"] .mentions .ic, [dir="rtl"] .btn .ic { transform: scaleX(-1); }
[dir="rtl"] .hero-bg img, [dir="rtl"] .hero-bg video { transform: scaleX(-1); }
[dir="rtl"] .hero-in { direction: rtl; }
[dir="rtl"] .hud-card { left: auto; right: clamp(-64px, -4.4vw, 0px); }
[dir="rtl"] .globe { justify-self: start; }
[dir="rtl"] .hud { justify-items: start; }
[dir="rtl"] .hud-tabs { margin: 0 0 2px clamp(0px, 3vw, 44px); }
[dir="rtl"] .hero-play { right: auto; left: var(--edge); }
[dir="rtl"] .pan-card { left: auto; right: clamp(16px, 2vw, 30px); }
[dir="rtl"] .pan-tag i { transform: none; }
[dir="rtl"] .pan-bar i { transform-origin: 100% 50%; }
[dir="rtl"] .roi-tiles > div { border-left: 0; border-right: 3px solid var(--k, rgba(255, 255, 255, .3)); }
[dir="rtl"] .roi .f select, [dir="rtl"] .finder .f select, [dir="rtl"] .f select { background-position: left 14px center; padding-right: 14px; padding-left: 38px; }
[dir="rtl"] .roi-tbl th, [dir="rtl"] .roi-tbl td { text-align: left; }
[dir="rtl"] .roi-tbl th:first-child, [dir="rtl"] .roi-tbl td:first-child { text-align: right; }
[dir="rtl"] .roi-chart .roi-tip div b { margin-left: 0; margin-right: auto; padding-left: 0; padding-right: 16px; }
[dir="rtl"] .faq summary { padding: 16px 0 16px 34px; }
[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
[dir="rtl"] .share > span { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .ticker-in { animation-direction: reverse; }
[dir="rtl"] .roi-chart { direction: ltr; }                       /* grafikon ostaje slijeva nadesno (vrijeme teče udesno) */
[dir="rtl"] .roi-chart .roi-tip { direction: rtl; text-align: right; }
[dir="rtl"] .gl-label b { margin-left: 0; margin-right: 9px; }
[dir="rtl"] .hud-top a b { margin-left: 0; }
[dir="rtl"] ul.bullets, [dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .tbl th, [dir="rtl"] .tbl td { text-align: right; }
[dir="rtl"] .tbl .n, [dir="rtl"] .tbl th.n { text-align: left; }
[dir="rtl"] .num, [dir="rtl"] .price, [dir="rtl"] .roi-tiles b, [dir="rtl"] .pan-kv b, [dir="rtl"] .nums b { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .roi-tiles b, [dir="rtl"] .nums b { text-align: right; }

/* Blog: pitanja i odgovori, dijeljenje; početna: mediji i najnovije objave */
.faq { margin-top: clamp(28px, 4vw, 48px); }
.faq h2 { font: 400 clamp(1.5rem, 1.2vw + 1.1rem, 2rem)/1.15 var(--disp); margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 34px 16px 0; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 70ch; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(24px, 3vw, 40px); font-size: .9rem; }
.share > span { font-weight: 700; margin-right: 6px; }
.share a, .share button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 600 .86rem var(--text); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.press-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.press-list { list-style: none; margin: 0; padding: 0; display: grid; }
.press-list a { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.press-list li:last-child a { border-bottom: 1px solid var(--line); }
.press-list span { font-size: .78rem; font-weight: 700; color: var(--teal); }
.press-list strong { font-weight: 600; line-height: 1.4; }
.press-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.press-out { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: clamp(26px, 3.4vw, 44px) 0 0; font: 400 clamp(1.05rem, .6vw + .9rem, 1.35rem)/1.2 var(--disp); color: var(--ink-2); }
.press-blog { margin-top: clamp(40px, 5vw, 72px); }
/* Poruka direktora i računica „štednja ili nekretnina" (na mjestu gdje je ranije bio globus) */
.story .founder { margin-top: 0; }
.story .founder + .roi { margin-top: clamp(48px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid rgba(255, 255, 255, .12); }
.pts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.pts li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); line-height: 1.5; }
.pts .ic { flex: none; width: 26px; height: 26px; margin-top: 1px; padding: 4px; border-radius: 50%; background: rgba(246, 193, 119, .16); color: var(--sun); }
.pts b { display: block; color: var(--white); font-weight: 700; }
.founder .src { margin-top: 12px; }
.roi-tabs { margin: 0 0 22px; }
.roi-grid { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(22px, 3.2vw, 52px); align-items: start; }
.roi-in { display: grid; gap: 16px; padding: 22px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.roi .f { display: grid; gap: 6px; min-width: 0; }
.roi .f > span { font-size: .8rem; font-weight: 600; color: var(--on-dark); line-height: 1.3; }
.roi .f input, .roi .f select { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background-color: rgba(8, 13, 28, .55); color: var(--white); font: 600 1rem var(--text); font-variant-numeric: tabular-nums; }
.roi .f select { -webkit-appearance: none; appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.roi .f select option { color: var(--ink); background: #fff; }
.roi .f input:focus-visible, .roi .f select:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.roi-only { display: grid; gap: 16px; }
.roi-as { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.roi-hint { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--on-dark); }
.roi-out { min-width: 0; }
.roi-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.roi-tiles > div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--k, rgba(255, 255, 255, .3)); }
.roi-tiles span { display: block; font-size: .78rem; color: var(--on-dark); line-height: 1.3; }
.roi-tiles b { display: block; margin-top: 4px; font: 800 clamp(1.25rem, 1vw + .9rem, 1.7rem)/1.1 var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--white); }
.roi-tiles small { display: block; margin-top: 4px; font-size: .74rem; line-height: 1.35; color: var(--on-dark); }
.roi-say { margin: 14px 0 4px; min-height: 1.5em; font-weight: 600; color: var(--white); }
.roi-chart { position: relative; margin-top: 8px; touch-action: pan-y; }
.roi-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.roi-chart text { font: 500 12px var(--text); fill: #AEB6CC; font-variant-numeric: tabular-nums; }
.roi-chart .roi-tip { position: absolute; top: 6px; z-index: 2; min-width: 170px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: #0A0F20; box-shadow: 0 18px 40px -18px #000; font-size: .8rem; pointer-events: none; }
.roi-chart .roi-tip strong { display: block; margin-bottom: 6px; color: var(--white); }
.roi-chart .roi-tip div { display: flex; align-items: center; gap: 8px; color: var(--on-dark); line-height: 1.7; white-space: nowrap; }
.roi-chart .roi-tip div b { margin-left: auto; padding-left: 16px; color: var(--white); font-variant-numeric: tabular-nums; }
.roi-chart .roi-tip i, .roi-leg i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--k); }
.roi-chart .roi-tip i.dash, .roi-leg i.dash { width: 14px; height: 0; border-radius: 0; border-top: 2px dashed var(--k); background: none; }
.roi-leg { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; padding: 0; font-size: .82rem; color: var(--on-dark); }
.roi-leg li { display: flex; align-items: center; gap: 8px; }
.roi-tbl { margin-top: 14px; }
.roi-tbl summary { width: fit-content; cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--sun); }
.roi-tbl table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.roi-tbl th, .roi-tbl td { padding: 7px 10px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark); white-space: nowrap; }
.roi-tbl th { font-weight: 700; color: var(--white); }
.roi-tbl th:first-child, .roi-tbl td:first-child { text-align: left; }
.roi > .src { margin-top: 22px; max-width: 92ch; }
.roi [hidden] { display: none !important; }
.roi .lede h3 { font: 400 clamp(1.7rem, 1.7vw + 1rem, 2.5rem)/1.1 var(--disp); letter-spacing: -.005em; }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid rgba(255, 255, 255, .1); }
.founder .lede { margin-bottom: 0; }
.founder h3 { font: 400 clamp(1.7rem, 1.7vw + 1rem, 2.5rem)/1.1 var(--disp); letter-spacing: -.005em; }
.fv { position: relative; isolation: isolate; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--stage-2); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); }
.fv img, .fv iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.fv button { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--grad); color: #1B1430; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(246, 193, 119, .2); transition: transform .25s, box-shadow .25s; }
.fv button:hover { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(246, 193, 119, .22); }
.fv button i { display: block; border: 13px solid transparent; border-left: 21px solid currentColor; border-right: 0; margin-left: 6px; }

/* ---------- završni poziv sa prizorom ---------- */
.cta-scene { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding: clamp(72px, 11vw, 168px) 0; background: var(--stage); text-align: left; }
.cta-scene > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 13, 28, .9), rgba(8, 13, 28, .55) 46%, rgba(8, 13, 28, .1) 78%); }
.cta-scene h2 { font-size: clamp(2rem, 3.2vw + 1rem, 3.9rem); max-width: 16em; }
.cta-scene p { color: #DCE1EE; font-size: 1.12rem; max-width: 34em; margin: 18px 0 0; }

/* ---------- tabele ---------- */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--pad)); padding: 1px var(--pad); }
.tbl { font-size: .97rem; background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.tbl caption { caption-side: top; text-align: left; font-size: .9rem; color: var(--ink-2); padding: 0 2px 10px; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--mist); vertical-align: top; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { font-size: .82rem; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: bottom; }
.tbl tbody th { font-weight: 700; }
.tbl .n { text-align: right; white-space: nowrap; }
.tbl .neg { color: var(--bad); }
.tbl a { text-decoration: none; }
.tbl a:hover { text-decoration: underline; }
.tbl sup { color: var(--ink-3); line-height: 0; font-size: .7em; }
.tbl .mut { font-weight: 400; font-size: .88rem; }
.tbl.rank { min-width: 760px; }
.tbl.rank .rk { color: var(--ink-3); width: 3.2em; }
.tbl.rank .sc { font-weight: 800; }
.tbl.rank tbody tr { transition: background-color .15s; }
.tbl.rank tbody tr:hover { background: #F7F3EC; }
.tbl.kv th { color: var(--ink-2); font-weight: 500; width: 58%; }
.tbl.kv td { font-weight: 700; }
.tbl.kv .yr { color: var(--ink-3); font-weight: 400; font-size: .86rem; text-align: right; width: 4.4em; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 10px; vertical-align: 1px; }
.pill.ok { background: #DDF2E7; color: var(--ok); }
.pill.off { background: var(--mist); color: var(--ink-2); }

/* ---------- vrh unutrašnjih stranica ---------- */
.page-top { position: relative; isolation: isolate; overflow: hidden; color: var(--white); margin-top: calc(-1 * var(--top-h)); padding: calc(var(--top-h) + clamp(22px, 3vw, 36px)) 0 clamp(40px, 5.5vw, 72px); background: radial-gradient(900px 420px at 84% 110%, rgba(240, 135, 106, .22), rgba(240, 135, 106, 0) 70%), linear-gradient(180deg, var(--night), var(--stage) 55%, #1A2150); }
/* Prizor iza vrha stranice je pozadina, ne slika: prigušen je i zatamnjen prema tekstu. */
.page-top::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: min(66%, 1020px); background: linear-gradient(90deg, var(--stage) 0, rgba(14, 21, 48, .78) 30%, rgba(14, 21, 48, .5) 62%, rgba(14, 21, 48, .34)), linear-gradient(180deg, rgba(8, 13, 28, .8), rgba(8, 13, 28, 0) 46%), var(--art, none) 62% 50% / cover no-repeat; opacity: .78; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.has-photo .page-top::before { width: min(74%, 1280px); opacity: 1; background: linear-gradient(90deg, var(--stage) 0, rgba(14, 21, 48, .72) 26%, rgba(14, 21, 48, .34) 58%, rgba(14, 21, 48, .18)), linear-gradient(180deg, rgba(8, 13, 28, .72), rgba(8, 13, 28, 0) 42%), var(--art, none) 50% 50% / cover no-repeat; }
@media (min-width: 1500px) and (min-resolution: 1.5dppx), (min-width: 2300px) {
  .has-photo .page-top::before { background: linear-gradient(90deg, var(--stage) 0, rgba(14, 21, 48, .72) 26%, rgba(14, 21, 48, .34) 58%, rgba(14, 21, 48, .18)), linear-gradient(180deg, rgba(8, 13, 28, .72), rgba(8, 13, 28, 0) 42%), var(--art2, var(--art, none)) 50% 50% / cover no-repeat; }
}
.ph-credit { margin: 16px 0 0; font-size: .78rem; color: var(--on-dark-2); text-align: end; }
.ph-credit a { color: var(--on-dark); }
.page-top.solo { min-height: 62vh; display: flex; align-items: center; }
.page-top h1 { font-size: clamp(2.1rem, 3vw + .8rem, 3.6rem); max-width: 22ch; text-shadow: 0 2px 24px rgba(8, 13, 28, .5); }
.page-top .intro { color: #D5DAE8; font-size: 1.12rem; max-width: 40em; margin: 18px 0 0; text-shadow: 0 1px 14px rgba(8, 13, 28, .6); }
.intro { color: var(--ink-2); max-width: 70ch; }
.crumbs { margin-bottom: clamp(18px, 2.6vw, 30px); font-size: .86rem; font-weight: 500; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--on-dark-2); }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: #5F688A; }
.crumbs a { text-decoration: none; color: var(--on-dark); }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-top .btn-line { border-color: rgba(255, 255, 255, .4); color: var(--white); background: rgba(255, 255, 255, .07); }
.page-top .btn-line:hover { background: var(--white); color: var(--navy); }
.tools { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-top: clamp(22px, 3vw, 32px); }
.search input { min-height: 44px; width: min(280px, 100%); padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .07); color: var(--white); }
.search input::placeholder { color: var(--on-dark-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 3vw, 32px); }
.chips a { display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(8, 13, 28, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; font-weight: 700; font-size: .93rem; color: #DCE1EE; transition: background-color .2s, border-color .2s, color .2s; }
.chips a b { font-weight: 600; font-variant-numeric: tabular-nums; opacity: .7; }
.chips a:hover { border-color: var(--white); color: var(--white); }
.chips a[aria-current] { background: var(--white); color: var(--navy); border-color: var(--white); }
.byline { color: var(--on-dark); margin-top: 14px; font-size: .96rem; }
.byline a { color: var(--white); }

/* ---------- tržište ---------- */
.mk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.score { text-align: right; }
.score b { display: block; font: 800 clamp(3.2rem, 6vw, 5.4rem)/.92 var(--text); letter-spacing: -.045em; background: linear-gradient(100deg, #FFF 10%, var(--sun) 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score span { color: #E4E8F2; font-size: .92rem; text-shadow: 0 1px 10px rgba(8, 13, 28, .9); }
.lenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.lenses > div { background: rgba(8, 13, 28, .62); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 18px; padding: 16px 20px; display: grid; gap: 2px; }
.lenses span { color: var(--on-dark); font-size: .9rem; }
.lenses b { font: 800 2rem/1.1 var(--text); letter-spacing: -.03em; }
.lenses em { font-style: normal; color: var(--on-dark-2); font-size: .86rem; }
.pillars { display: grid; gap: 11px; }
.pillars li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 2.4em; gap: 12px; align-items: center; font-size: .96rem; }
.pillars i { display: block; height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; }
.tint .pillars i, .tint .bar { background: var(--white); }
.pillars i b { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #2FA39E); border-radius: 4px; }
.pillars em { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.progs { display: grid; gap: 12px; margin-top: 6px; }
.progs li { background: var(--white); border-radius: 14px; padding: 14px 18px; font-size: .97rem; box-shadow: 0 0 0 1px var(--line); }
.ticks { display: grid; gap: 11px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: .45em; width: 13px; height: 7px; border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg); }
.bullets { display: grid; gap: 10px; margin-top: 6px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ''; position: absolute; left: 2px; top: .68em; width: 8px; height: 2px; background: var(--coral); }
.ticks.cols { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 22px; }
.mk-mini { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; margin-top: 18px; padding: 16px 20px; background: radial-gradient(300px 160px at 100% 0, rgba(240, 135, 106, .32), rgba(240, 135, 106, 0) 70%), var(--stage); color: var(--white); border-radius: 18px; text-decoration: none; }
.mk-mini span { font-weight: 700; }
.mk-mini b { font: 800 1.7rem/1 var(--text); letter-spacing: -.03em; grid-row: span 2; align-self: center; color: var(--sun); }
.mk-mini em { font-style: normal; color: var(--on-dark); font-size: .86rem; }
.mk-mini:hover span { text-decoration: underline; }

/* ---------- ponuda: karta, filteri, stranica nekretnine ---------- */
.offer-map { background: radial-gradient(700px 300px at 0 0, rgba(43, 47, 99, .8), rgba(43, 47, 99, 0) 70%), var(--stage); color: var(--white); border-radius: 24px; padding: clamp(16px, 2.2vw, 28px); margin-bottom: 26px; display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.om-list { border-top: 1px solid rgba(255, 255, 255, .14); }
.om-list li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.om-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; text-decoration: none; font-weight: 600; }
.om-list a b { font-variant-numeric: tabular-nums; color: var(--sun); font-weight: 800; }
.om-list a:hover span, .om-list a[aria-current] span { text-decoration: underline; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px; background: var(--white); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); }
.filters .f { flex: 1 1 170px; margin: 0; }
.lst-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; }
.lst-head .where { color: #D5DAE8; margin-top: 10px; font-size: 1.05rem; }
.lst-head .where a { color: var(--white); }
.price-box { display: grid; gap: 12px; justify-items: end; }
.price-box b { font: 800 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-box small { font: 500 .9rem var(--text); color: var(--on-dark); letter-spacing: 0; }
.gal { display: grid; gap: 8px; margin-top: clamp(22px, 3vw, 34px); border-radius: 24px; overflow: hidden; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(0, 1fr); }
.gal .ph:first-child { grid-row: span 2; }
.gal .ph img { aspect-ratio: auto; height: 100%; min-height: 150px; }
.gal.g1 { grid-template-columns: 1fr; }
.gal.g1 .ph img { aspect-ratio: 21 / 9; }
.gal.g2 { grid-template-columns: 2fr 1fr; }
.gal.g2 .ph:first-child { grid-row: auto; }
.gal.g3 { grid-template-columns: 2fr 1fr; }
.gal.g4 .ph:last-child { grid-column: span 2; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 1vw + 1.1rem, 1.95rem); margin: 1.7em 0 .55em; }
.prose h3 { margin: 1.5em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-radius: 0; background: none; box-shadow: none; border-left: 3px solid var(--coral); font-size: 1.1rem; }
.prose blockquote::before { display: none; }
.prose img { border-radius: var(--r-l); }
.prose figure { margin: 1.5em 0; }
.cover { border-radius: 24px; margin-bottom: clamp(20px, 3vw, 34px); }
.cover img { aspect-ratio: 16 / 9; }

/* ---------- forme ---------- */
.form { background: var(--white); border-radius: 24px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 15px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14, 21, 48, .35); }
.form h3 { font: 400 1.5rem/1.2 var(--disp); }
.f { display: grid; gap: 6px; }
.f > span { font-size: .88rem; font-weight: 700; }
.f input, .f select, .f textarea { width: 100%; min-height: 50px; padding: 10px 15px; border: 1px solid #BCC2D0; border-radius: var(--r); background-color: var(--white); transition: border-color .15s, box-shadow .15s; }
.f select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23626A83' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.finder .f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFE2A8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.f textarea { min-height: 104px; resize: vertical; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: #8E96AB; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(47, 111, 237, .28); }
.f.bad input, .f.bad select { border-color: var(--bad); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; line-height: 1.45; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.chk.bad span { color: var(--bad); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[dir="rtl"] .hp { left: auto; right: -9999px; }                     /* zdesna nalijevo: lijevo izvan ekrana bi stranici dalo vodoravno pomjeranje */
.form .fine { margin: 0; }
.err { color: var(--bad); font-weight: 700; font-size: .95rem; margin: 0; background: #FBEAE7; border-radius: var(--r); padding: 11px 15px; }
.form .btn { justify-self: start; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 400 1.3rem/1.2 var(--disp); padding: 0; margin-bottom: 12px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 9px 14px; }
fieldset.pick > legend { grid-column: 1 / -1; }
.reg fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 6px; }
.reg fieldset { display: grid; gap: 14px; }
.reg legend { float: left; width: 100%; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #BCC2D0; border-radius: 14px; height: 100%; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.opt:hover span { border-color: #8E96AB; }
.opt b { font-weight: 700; }
.opt em { font-style: normal; font-size: .87rem; color: var(--ink-2); line-height: 1.4; }
.opt input:checked + span { border-color: var(--coral); box-shadow: inset 0 0 0 1.5px var(--coral); background: #FFF6EC; }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.aside-note { position: sticky; top: 96px; }

/* ---------- kalkulatori ---------- */
.calc h2 { font-size: 1.65rem; }
.calc .lede { margin-bottom: 4px; }
.calc-out { display: grid; gap: 0; align-content: start; }
.calc-out > div { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.calc-out > div:first-child { border-top: 2px solid var(--ink); }
.calc-out span { color: var(--ink-2); }
.calc-out b { font: 800 1.5rem/1 var(--text); letter-spacing: -.025em; white-space: nowrap; }
.calc-out > div:first-child b { font-size: 2.3rem; background: linear-gradient(120deg, var(--navy) 30%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ostale stranice ---------- */
.grid10 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(10px, 1.2vw, 16px); counter-reset: g; }
.grid10 li { counter-increment: g; background: var(--white); padding: 22px; border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); }
.grid10 li::before { content: counter(g); font: 400 1.9rem/1 var(--disp); color: var(--coral); display: block; margin-bottom: 12px; }
.grid10 p { color: var(--ink-2); font-size: .96rem; margin-top: 6px; }
.num8 { list-style: decimal; padding-left: 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; font-weight: 700; }
blockquote { position: relative; margin: 26px 0 0; padding: 26px 28px 24px 30px; background: var(--white); border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
blockquote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--amber), var(--coral)); }
blockquote p { font: 400 1.4rem/1.38 var(--disp); margin: 0; }
blockquote footer { margin-top: 12px; color: var(--ink-2); font-size: .92rem; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 3vw, 32px); }
.offices address { line-height: 1.65; }
.offices h3 { margin-bottom: 6px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--ink); }
.qa summary { cursor: pointer; padding: 20px 40px 20px 0; font: 700 1.1rem/1.35 var(--text); list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(45deg); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(-135deg); top: 31px; }
.qa p { color: var(--ink-2); padding: 0 40px 22px 0; margin: 0; max-width: 72ch; }
.links { display: grid; gap: 0; margin-top: 20px; max-width: 520px; }
.links li { border-bottom: 1px solid rgba(128, 138, 158, .34); }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; text-decoration: none; font-weight: 700; }
.links a:hover { text-decoration: underline; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.post { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-l); overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s; }
.post:hover { box-shadow: 0 0 0 1px rgba(19, 26, 46, .16), var(--shadow); transform: translateY(-4px); }
.post .ph img { aspect-ratio: 16 / 10; }
.post-b { display: grid; gap: 7px; padding: 20px; }
.post-b time { font-size: .86rem; color: var(--ink-3); }
.post-b strong { font: 400 1.34rem/1.22 var(--disp); }
.post-b span { color: var(--ink-2); font-size: .96rem; }
.mentions li { border-bottom: 1px solid var(--line); }
.mentions a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 18px 2px; text-decoration: none; align-items: center; }
.mentions strong { font: 400 1.24rem/1.28 var(--disp); }
.mentions span { grid-column: 1; color: var(--ink-2); font-size: .9rem; }
.mentions .ic { grid-row: 1 / span 2; grid-column: 2; color: var(--coral); }
.mentions a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- podnožje ---------- */
.foot { position: relative; isolation: isolate; background: radial-gradient(900px 380px at 12% 0, rgba(43, 47, 99, .55), rgba(43, 47, 99, 0) 70%), var(--night); color: var(--on-dark); padding: clamp(44px, 6vw, 80px) 0 40px; font-size: .95rem; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--hair); }
.foot-top { display: grid; grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
.foot-brand .logo { color: var(--white); }
.foot-brand .la { fill-opacity: .5; }
.foot-brand p { margin: 18px 0; max-width: 38ch; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot h2 { font: 700 .95rem var(--text); color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.foot li { margin-bottom: 9px; }
.risk { margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: var(--on-dark-2); }
.foot-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .93rem; }
.foot-lang svg { flex: none; color: var(--on-dark-2); margin-right: -12px; }
.foot-lang span { color: var(--on-dark-2); }
.foot-lang a[aria-current] { color: var(--white); font-weight: 700; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 20px; font-size: .86rem; color: var(--on-dark-2); }
.foot-bot span:last-child { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-bot a, .foot-bot .linkish { color: var(--on-dark-2); }
.foot-bot .linkish { text-decoration: none; font-size: inherit; }
.foot-bot .linkish:hover { color: var(--white); text-decoration: underline; }

/* Dugme za poziv i upit koje ostaje vidljivo na telefonu */
.mcta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--night); border-top: 1px solid rgba(255, 255, 255, .12); }
.mcta .btn { flex: 1; min-height: 46px; padding: 0 12px; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 480px; background: var(--white); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(8, 13, 28, .34); padding: 20px 22px; display: grid; gap: 14px; font-size: .94rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--ink-2); }
.cookie > div { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { min-height: 44px; flex: 1 1 auto; padding: 0 18px; }
.cookie .btn-ghost { border-color: rgba(19, 26, 46, .7); color: var(--ink); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cookie .btn-ghost:hover { background: var(--mist); }

/* ---------- pokret: ulazak vrha stranice i blago otkrivanje sekcija (samo uz skriptu i ako posjetilac ne traži manje pokreta) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-t h1, .hero-sub, .hero-cta, .hero .hud, .hero .finder { animation: rise 1s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero-sub { animation-delay: .12s; }
  .hero-cta { animation-delay: .22s; }
  .hero .hud { animation-delay: .34s; }
  .hero .finder { animation-delay: .46s; }
  .hero-bg img { animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-rv].in { opacity: 1; transform: none; }
  /* Grupa kartica: djeca ulaze jedno za drugim. Koristi animaciju (ne tranziciju), da ne dira prelaze kartica pri prelasku mišem. */
  .js [data-rvs]:not(.in) > * { opacity: 0; }
  .js [data-rvs].in > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  .js [data-rvs].in > :nth-child(2) { animation-delay: .07s; }
  .js [data-rvs].in > :nth-child(3) { animation-delay: .14s; }
  .js [data-rvs].in > :nth-child(4) { animation-delay: .21s; }
  .js [data-rvs].in > :nth-child(5) { animation-delay: .28s; }
  .js [data-rvs].in > :nth-child(6) { animation-delay: .35s; }
  .js [data-rvs].in > :nth-child(n+7) { animation-delay: .42s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes settle { from { transform: scale(1.08); } }

/* ---------- manji ekrani ---------- */
/* Zaglavlje: ispod 1320 px manji razmaci, ispod 1200 px meni. Mjere su određene prema najdužim nazivima (njemački). */
@media (max-width: 1319px) {
  .nav > a { padding: 8px 8px; font-size: .93rem; }
  .nav > a::after { left: 8px; right: 8px; }
  .top-in { gap: 18px; }
  .nav-x { gap: 12px; }
}
@media (max-width: 1200px) {
  .burger { display: inline-flex; margin-left: auto; }
  .top-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); flex-direction: column; align-items: stretch; padding: 8px var(--pad) 22px; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 2px; font-size: 1.08rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav > a::after { display: none; }
  .nav > a[aria-current] { color: var(--amber); }
  .nav-x { margin: 16px 0 0; gap: 14px 22px; flex-wrap: wrap; align-items: flex-start; }
  /* U meniju na telefonu izbor jezika se otvara u redu, ne kao lebdeća lista. */
  .langs { flex: 1 1 100%; order: 2; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 8px; }
  .langs summary { margin: 0; padding: 0; min-height: 46px; font-size: 1.02rem; }
  .langs .lg-code { display: none; }
  .langs .lg-name { display: inline; }
  .langs ul { position: static; min-width: 0; padding: 0 0 4px; background: none; box-shadow: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .langs ul a { padding: 11px 0; color: var(--on-dark); justify-content: flex-start; gap: 10px; }
  .langs ul a:hover { background: none; color: var(--white); }
  .langs ul a[aria-current] { color: var(--white); }
  .langs ul a[aria-current]::after { border-color: var(--amber); }
  .nav-open .top { background: var(--night); }
}
@media (max-width: 1020px) {
  .press-row { grid-template-columns: minmax(0, 1fr); }
  .roi-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: calc(var(--top-h) + clamp(40px, 9vh, 90px)); }
  .hero-t { padding-inline-end: 0; }
  .hud { max-width: 460px; margin: 6px auto 0; justify-items: center; }
  .hud-tabs { margin: 0 0 2px; }
  .globe { justify-self: center; }
  .hud-card { position: static; width: 100%; margin-top: 14px; }
  .hud-top { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 13, 28, .7) 0, rgba(8, 13, 28, .1) 180px), linear-gradient(90deg, rgba(8, 13, 28, .8) 0%, rgba(8, 13, 28, .5) 60%, rgba(8, 13, 28, .25)), linear-gradient(0deg, var(--night) 0, rgba(8, 13, 28, .6) 26%, rgba(8, 13, 28, 0) 60%); }
  .finder { grid-template-columns: 1fr 1fr; margin-top: clamp(20px, 6vh, 60px); }
  .finder .f:first-child, .finder .btn { grid-column: 1 / -1; }
  .globe { width: min(100%, 420px); }
  .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-rank ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid a { aspect-ratio: 4 / 3; }
  .sides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .aside-note { position: static; }
  .page-top::before { width: 100%; opacity: .5; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 820px) {
  .pano { flex-direction: column; height: auto; gap: 8px; }
  .pan { flex: none; height: 66px; border-radius: 18px; transition: height .6s cubic-bezier(.3, .7, .1, 1), box-shadow .6s; }
  .pan.on { height: min(440px, 62vh); }
  .pan-img { inset: auto 0; top: 50%; height: min(440px, 62vh); margin-top: calc(min(440px, 62vh) / -2); }
  .pan-tag { inset: 0 18px; flex-direction: row; justify-content: space-between; align-items: center; }
  .pan-tag i { writing-mode: horizontal-tb; transform: none; font-size: 1.25rem; }
  .pan-card { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .pan-kv { gap: 8px 22px; }
  body { font-size: 1rem; padding-bottom: 0; }
  .langbar { top: 80px; bottom: auto; left: 12px; right: 12px; max-width: none; z-index: 45; }
  .mcta { display: flex; }
  .nav { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px - env(safe-area-inset-bottom)); }      /* meni se završava iznad trake sa dugmadima na dnu */
  .foot { padding-bottom: 104px; }
  .split2, .split2.wide-l, .split2.wide-r { grid-template-columns: minmax(0, 1fr); }
  .offer-map { grid-template-columns: minmax(0, 1fr); }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .lenses { grid-template-columns: minmax(0, 1fr); }
  .score { text-align: left; }
  .price-box { justify-items: start; }
  .gal, .gal.g2, .gal.g3 { grid-template-columns: 1fr 1fr; }
  .gal .ph:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gal .ph:first-child img { aspect-ratio: 4 / 3; }
  .gal.g4 .ph:last-child { grid-column: auto; }
  .gal .ph:nth-child(n+4) { display: none; }
  .cookie { bottom: 76px; }
  .num8 { grid-template-columns: 1fr; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .cta-scene::before { background: linear-gradient(180deg, rgba(8, 13, 28, .72), rgba(8, 13, 28, .78)); }
  .hero-play { top: auto; bottom: 14px; }
}
@media (max-width: 700px) {
  /* Na telefonu prizor stoji u gornjem dijelu ekrana kao slika, a tekst počinje preko njegovog donjeg ruba. */
  .hero-bg { bottom: auto; height: 70vh; height: 70svh; }
  .hero-bg img, .hero-bg video { object-position: 79% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 13, 28, .62) 0, rgba(8, 13, 28, 0) 130px), linear-gradient(180deg, rgba(8, 13, 28, 0) 24vh, rgba(8, 13, 28, .78) 46vh, var(--night) 69vh); }
  .hero-in { padding-top: calc(var(--top-h) + 31vh); }
  .hero-sub { font-size: 1rem; }
}
@media (max-width: 560px) {
  .roi-tiles { grid-template-columns: minmax(0, 1fr); }
  .hero-t h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid a { aspect-ratio: 1 / 1; padding: 14px; }
  .hero-rank ol { grid-template-columns: 1fr; }
  .sides { grid-template-columns: minmax(0, 1fr); }
  .f2 { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn, .after .btn, .cta-row .btn { width: 100%; }
  .cta-row > span { width: 100%; }
  .seg button, .seg a { padding: 8px 12px; font-size: .86rem; }
  .pillars li { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 2.2em; gap: 8px; font-size: .9rem; }
  .tbl th, .tbl td { padding: 10px 10px; }
  /* Tabela koja nije u traci za vodoravno pomjeranje mora stati u ekran: duži naslovi i tekst (njemački, ruski, francuski) se lome. */
  .tbl:not(.scroll .tbl) th, .tbl:not(.scroll .tbl) td { white-space: normal; overflow-wrap: anywhere; }
  .btn { white-space: normal; text-align: center; max-width: 100%; padding-block: 10px; }
  .filters { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .top, .foot, .mcta, .cookie, .langbar, .hero-cta, .cta-row, .form, .hero-bg, .ticker, .finder, .hud, .cta-scene { display: none !important; }
  body { background: #fff; }
  .hero, .page-top, .pulse, .dark, .band { background: #fff; color: #000; }
  .page-top::before, .hero::before { display: none; }
}

/* ================= v4.1: zahtjev za nekretninu, procjene, projekti, uredi u podnožju ================= */

/* ---------- prijedlog tržišta prema zemlji kupca (forme) ---------- */
.picks { grid-column: 1 / -1; padding: 14px 16px 12px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.picks-h { margin: 0 0 10px; font-size: .9rem; font-weight: 700; }
.picks-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-b { min-height: 40px; padding: 0 16px; border: 1px solid #BCC2D0; border-radius: 999px; background: var(--white); color: var(--ink); font: 600 .93rem var(--text); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.pick-b:hover { border-color: var(--navy); }
.pick-b[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.picks .fine { margin: 10px 0 0; font-size: .78rem; line-height: 1.45; }
.f-h { margin: 6px 0 -4px; font-size: .88rem; font-weight: 700; }

/* ---------- početna: „Recite šta tražite. Atlas traži za vas." ---------- */
.req-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.req-steps { list-style: none; margin: 0 0 clamp(20px, 2.6vw, 30px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: rq; }
.req-steps li { counter-increment: rq; position: relative; padding-top: 14px; border-top: 2px solid var(--line); }
.req-steps li::before { content: counter(rq); display: block; font: 400 2.1rem/1 var(--disp); margin-bottom: 8px; background: linear-gradient(120deg, var(--navy) 20%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.req-steps strong { display: block; font-weight: 700; }
.req-steps span { display: block; margin-top: 4px; font-size: .93rem; color: var(--ink-2); }
.req-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: clamp(18px, 2.4vw, 26px); border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14, 21, 48, .35); }
.req-form .req-from { grid-column: 1 / -1; }
.req-form .btn { grid-column: 1 / -1; justify-self: start; }
.req-alt { margin: 16px 0 0; font-size: .95rem; color: var(--ink-2); }
.req-alt a { color: var(--ink); font-weight: 700; }
.req-show { display: grid; justify-items: center; }
.req-show .src { text-align: center; }
/* Telefon: primjer obavijesti koje stižu u aplikaciju. Crta se u CSS-u, bez slike. */
.phone { width: min(310px, 100%); padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #26304F, #0B1022 55%); box-shadow: 0 40px 70px -34px rgba(14, 21, 48, .7), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.phone-s { position: relative; min-height: 520px; padding: 46px 16px 20px; border-radius: 36px; overflow: hidden; color: var(--white); background: radial-gradient(420px 260px at 80% -4%, rgba(240, 135, 106, .34), rgba(240, 135, 106, 0) 70%), linear-gradient(180deg, var(--stage-2), var(--night)); }
.phone-s::before { content: ''; position: absolute; top: 12px; left: 50%; width: 84px; height: 22px; border-radius: 999px; background: #05070F; transform: translateX(-50%); }
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone-top b { font: 400 1.25rem/1 var(--disp); letter-spacing: .01em; }
.phone-bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .09); color: var(--sun); }
.phone-bell i { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--grad); color: #1B1430; font: 800 .68rem/18px var(--text); font-style: normal; text-align: center; }
.phone-req { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.phone-req span { display: block; font-size: .72rem; font-weight: 700; color: var(--on-dark-2); }
.phone-req b { display: block; margin-top: 3px; font-size: .95rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.phone-list li { padding: 12px 14px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.phone-list li:nth-child(2) { opacity: .93; } .phone-list li:nth-child(3) { opacity: .82; }
.phone-list span { display: block; font-size: .7rem; font-weight: 800; color: var(--teal); }
.phone-list strong { display: block; margin-top: 2px; font-size: .9rem; line-height: 1.3; }
.phone-list em { display: block; margin-top: 3px; font-style: normal; font-size: .8rem; color: var(--ink-3); overflow-wrap: anywhere; }
.phone-list em:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .req-show.in .phone-list li { animation: ping .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .req-show.in .phone-list li:nth-child(2) { animation-delay: .18s; } .req-show.in .phone-list li:nth-child(3) { animation-delay: .36s; }
}
@keyframes ping { from { opacity: 0; transform: translateY(-14px) scale(.97); } }

/* ---------- procjene i studije (modul na početnoj i stranica) ---------- */
.val-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.4vw, 64px); align-items: start; }
.val-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.val-tabs button { min-height: 42px; padding: 0 16px; border: 1px solid #BCC2D0; border-radius: 999px; background: var(--white); color: var(--ink); font: 700 .92rem var(--text); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.val-tabs button:hover { border-color: var(--navy); }
.val-tabs [aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.val-grid:not(.js) .val-tabs { display: none; }
.val-p { padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-l); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.val-grid:not(.js) .val-p + .val-p { margin-top: 10px; }
.val-p h3 { font: 400 1.5rem/1.2 var(--disp); margin-bottom: 8px; }
.val-p p { color: var(--ink-2); margin: 0; }
.val-p .val-std { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.val-std b { color: var(--ink); font-weight: 700; }
.val-how { margin-top: clamp(22px, 2.8vw, 34px); }
.val-how h3 { margin-bottom: 14px; }
.val-how ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: vh; }
.val-how li { counter-increment: vh; padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.tint .val-how li, .tint .val-p { box-shadow: none; }
.val-how li::before { content: counter(vh); display: block; font: 400 1.7rem/1 var(--disp); color: var(--coral); margin-bottom: 6px; }
.val-how strong { display: block; font-size: .96rem; }
.val-how span { display: block; margin-top: 3px; font-size: .88rem; color: var(--ink-2); }
.val-how p { font-size: .95rem; color: var(--ink-2); margin: 0 0 8px; max-width: 62ch; }
.val-form { position: sticky; top: 96px; }
.std-box { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--white); }
.std-box h3 { margin-bottom: 10px; } .std-box h3 + .std { margin-bottom: 22px; }
.std { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: .95rem; }
.std li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.std b { color: var(--ink); font-variant-numeric: tabular-nums; }
.contact-box { font-style: normal; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--white); box-shadow: 0 0 0 1px var(--line); line-height: 1.75; }
.contact-box h3 { font: 400 1.5rem/1.2 var(--disp); margin-bottom: 10px; }
.contact-box a { font-weight: 700; }
.contact-box .after { margin-top: 18px; }

/* ---------- naši projekti: pregled na početnoj i stranice ---------- */
.proj-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.proj .lede p { color: var(--on-dark); }
.mag-cover { display: block; width: min(300px, 74%); padding: 12px; border-radius: 18px; background: #F7F7F7; box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .7); transform: rotate(-3deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mag-cover img { width: 100%; border-radius: 8px; }
a.mag-cover:hover { transform: rotate(0) translateY(-4px); }
.mag-cover.on-light { margin-top: clamp(20px, 3vw, 34px); box-shadow: 0 0 0 1px var(--line), 0 30px 54px -32px rgba(14, 21, 48, .5); }
.proj-list { list-style: none; margin: 0; padding: 0; }
.proj-list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 4px; align-items: center; padding: 20px 14px 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); text-decoration: none; transition: padding .3s cubic-bezier(.2, .7, .2, 1); }
.proj-list li:last-child a { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.proj-list a > * { grid-column: 1; }
.proj-list a > svg { grid-column: 2; grid-row: 1 / span 3; color: var(--amber); transition: transform .3s; }
.proj-list a:hover { padding-left: 12px; } .proj-list a:hover > svg { transform: translateX(5px); }
.proj-w { font-size: .78rem; font-weight: 700; color: var(--amber); }
.proj-list strong { font: 400 clamp(1.3rem, 1vw + 1rem, 1.7rem)/1.15 var(--disp); color: var(--white); }
.proj-list a > span:not(.proj-w) { color: var(--on-dark); font-size: .96rem; max-width: 60ch; }
.pj-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.pj-cards a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(20px, 2.4vw, 30px); padding-bottom: 58px; border-radius: var(--r-l); background: var(--white); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s; }
.pj-cards a:hover { box-shadow: 0 0 0 1px rgba(240, 135, 106, .55), var(--shadow); transform: translateY(-3px); }
.pj-cards .proj-w { color: var(--teal); }
.pj-cards strong { font: 400 1.55rem/1.15 var(--disp); }
.pj-cards a > span:not(.proj-w) { color: var(--ink-2); font-size: .97rem; }
.pj-cards svg { position: absolute; left: clamp(20px, 2.4vw, 30px); bottom: 22px; color: var(--coral); }
dl.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0; font-size: 1rem; color: var(--ink); }
dl.facts > div { padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-l); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
dl.facts dt { font-size: .82rem; font-weight: 800; color: var(--teal); }
dl.facts dd { margin: 6px 0 0; font: 400 clamp(1.25rem, 1vw + .95rem, 1.6rem)/1.2 var(--disp); }
dl.facts dd.sub { font: 450 .95rem/1.5 var(--text); color: var(--ink-2); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(30px, 4vw, 54px); }
.trio .lede { margin-bottom: 0; } .trio .lede h2 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); } .trio .lede p { font-size: 1rem; }
.trio > div { padding-top: 18px; border-top: 2px solid var(--line); }
.mag { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.mag .mag-cover { width: min(360px, 100%); margin-top: 0; transform: none; }
.blog-cta .lede { margin-bottom: 0; }

/* ---------- podnožje: adrese ureda ---------- */
.foot-top { grid-template-columns: minmax(250px, 1.5fr) repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.foot-adr { display: grid; gap: 16px; }
.foot-adr address { font-style: normal; line-height: 1.6; }
.foot-adr b { display: block; color: var(--white); font-size: .8rem; font-weight: 800; }

/* ---------- računica: poređenje tržišta ---------- */
.roi-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.roi-cmp { gap: 12px; }
.roi-slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.roi-x { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(8, 13, 28, .55); color: var(--on-dark); display: grid; place-items: center; cursor: pointer; }
.roi-x:hover { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.roi-add { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .34); background: none; color: var(--sun); font: 700 .86rem var(--text); cursor: pointer; }
.roi-add:hover { border-style: solid; border-color: var(--sun); }
.roi-chart text.end { fill: #E3E7F2; font-weight: 600; }

@media (max-width: 1200px) {
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 clamp(24px, 4vw, 56px); }
  .foot-brand .logo { grid-column: 1; } .foot-brand p { grid-column: 1; } .foot-adr { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}
@media (max-width: 1020px) {
  .req-grid, .val-grid, .proj-grid, .mag { grid-template-columns: minmax(0, 1fr); }
  .val-form { position: static; }
  .req-show { order: 2; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .mag-cover { transform: none; }
}
@media (max-width: 820px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { display: block; } .foot-adr { margin-top: 18px; }
  .req-steps, .val-how ol { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .req-steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 10px; padding-top: 12px; }
  .req-steps li::before { grid-row: 1 / span 2; margin: 0; }
  .val-how li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 10px; }
  .val-how li::before { grid-row: 1 / span 2; margin: 0; }
  dl.facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-adr { grid-template-columns: minmax(0, 1fr); }
  .req-form { grid-template-columns: minmax(0, 1fr); }
  .req-form .btn { justify-self: stretch; }
  .phone-s { min-height: 0; }
  .std li { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .pj-cards { grid-template-columns: minmax(0, 1fr); }
}
[dir="rtl"] .proj-list a { padding: 20px 0 20px 14px; } [dir="rtl"] .proj-list a > svg, [dir="rtl"] .pj-cards svg { transform: scaleX(-1); }
[dir="rtl"] .pj-cards svg { left: auto; right: clamp(20px, 2.4vw, 30px); } [dir="rtl"] .phone-bell i { right: auto; left: -3px; }
