/* =========================================================================
   FRANKOLOVO – razvojno zemljišče
   Paleta: bela, topla siva, peščena, antracitna, naravni zeleni odtenki
   ========================================================================= */
:root {
  --paper: #faf8f4;
  --white: #ffffff;
  --stone-50: #f4f1eb;
  --stone-100: #ece7de;
  --stone-200: #ddd6c9;
  --stone-300: #c9c1b2;
  --sand: #c8b38f;
  --sand-deep: #a88f67;
  --sand-soft: #efe6d6;
  --warm-gray: #857f76;
  --ink: #26282a;
  --ink-2: #3a3d40;
  --ink-soft: #55595d;
  --green: #4d5c40;
  --sage: #94a383;
  --sage-soft: #dfe5d6;
  --line: rgba(38, 40, 42, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-size: 0.88em; background: rgba(0, 0, 0, 0.06); padding: 1px 5px; border-radius: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 3px; }

/* ---------- tipografija ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand-deep); margin: 0 0 18px; }
.eyebrow-light { color: var(--sand); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink-soft); max-width: 640px; margin-top: 22px; line-height: 1.7; }
.lead-light { color: rgba(255, 255, 255, 0.72); }
.h-small { font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.h-light { color: rgba(255, 255, 255, 0.85); }
.fineprint { font-size: 12.5px; color: var(--warm-gray); line-height: 1.6; margin-top: 14px; max-width: 860px; }
.fineprint-light { color: rgba(255, 255, 255, 0.5); }
em { font-style: italic; }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  padding: 16px 26px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow .ic { width: 18px; height: 18px; }

/* ---------- glava ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s; color: #fff; }
.site-header.is-solid { background: rgba(250, 248, 244, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: 0.04em; }
.brand-text small { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; opacity: 0.85; position: relative; padding: 6px 0; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; padding: 9px 18px !important; border-radius: 999px; opacity: 1 !important; }
.site-header.is-solid .nav-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.35s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; background: var(--ink); color: #fff !important; border-color: var(--ink) !important; }
  .site-header.nav-open { background: var(--paper); color: var(--ink); }
}

/* ---------- 3D odri ---------- */
.v-stage { position: relative; overflow: hidden; background: #c9d4da; }
.v-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.v-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.v-label {
  position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; padding: 5px 10px 5px 10px; background: rgba(38, 40, 42, 0.62); backdrop-filter: blur(6px); border-radius: 999px;
  transition: opacity 0.3s; margin-top: -6px;
}
.v-label::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 1px; height: 7px; background: rgba(255, 255, 255, 0.8); }
.v-label.lab-key { background: rgba(250, 248, 244, 0.95); color: var(--ink); }
.v-label.lab-key::after { background: var(--paper); }
.v-compass {
  position: absolute; z-index: 3; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(250, 248, 244, 0.9); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.v-compass::before { content: ''; position: absolute; left: 50%; top: 5px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 13px solid var(--ink); border-top: 0; }
.v-compass span { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; }
.stage-badge { position: absolute; z-index: 3; left: 16px; top: 16px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; background: rgba(38, 40, 42, 0.68); color: #fff; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.stage-hint { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 12px; color: #fff; background: rgba(38, 40, 42, 0.55); padding: 7px 14px; border-radius: 999px; pointer-events: none; transition: opacity 0.6s; white-space: nowrap; }
.is-interacting .stage-hint, .stage-hint.is-hidden { opacity: 0; }
.no-webgl .v-canvas { display: none; }
.webgl-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-soft); font-size: 14px; background: var(--stone-100); z-index: 4; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #3a4a52; }
.hero-stage { position: absolute; inset: 0; background: linear-gradient(180deg, #9fb4c4 0%, #d9c6a8 55%, #6f7d55 100%); }
.hero-stage .v-label { font-size: 10px; }
.hero-fallback { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(255, 220, 170, 0.35), transparent 60%); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20, 22, 24, 0.72) 0%, rgba(20, 22, 24, 0.35) 45%, rgba(20, 22, 24, 0) 70%), linear-gradient(0deg, rgba(20, 22, 24, 0.75) 0%, rgba(20, 22, 24, 0) 45%), linear-gradient(180deg, rgba(20, 22, 24, 0.45) 0%, rgba(20, 22, 24, 0) 22%); }
.hero-content { position: relative; z-index: 4; padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6.6vw, 96px); line-height: 0.98; letter-spacing: -0.015em; max-width: 980px; text-transform: none; }
.hero-title em { color: var(--sand-soft); font-weight: 400; }
.hero-sub { font-size: clamp(16px, 1.45vw, 19.5px); max-width: 600px; margin: 26px 0 26px; color: rgba(255, 255, 255, 0.86); line-height: 1.6; }
.hero-points { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.hero-points .ic { color: var(--sand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { position: relative; z-index: 4; padding-bottom: 26px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 26px 0 10px; border-top: 1px solid var(--line-light); padding-top: 18px; }
.hero-facts div { padding-right: clamp(20px, 4vw, 56px); margin-right: clamp(20px, 4vw, 56px); border-right: 1px solid var(--line-light); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.hero-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); }
.hero-note { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); margin: 0; }
@media (max-width: 760px) {
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .hero-facts div { border-right: 0; margin-right: 0; }
  .hero-points { flex-direction: column; }
  .hero-stage .v-labels { display: none; }
  .brand-text strong { font-size: 21px; }
  .hero-shade { background: linear-gradient(0deg, rgba(20, 22, 24, 0.88) 0%, rgba(20, 22, 24, 0.55) 55%, rgba(20, 22, 24, 0.25) 100%); }
  .btn { padding: 15px 20px; font-size: 12px; white-space: normal; text-align: center; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- izjava ---------- */
.statement { background: var(--paper); padding: clamp(80px, 11vw, 150px) 0 clamp(40px, 6vw, 70px); }
.statement-inner { max-width: 1080px; }
.statement-kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand-deep); font-weight: 600; }
.statement-text { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.22; margin: 18px 0 30px; color: var(--ink); }
.statement-text em { color: var(--green); }

/* ---------- sekcije ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-tint { background: var(--stone-50); }
.section-sand { background: var(--sand-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, 0.7); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head-center { text-align: center; }
.sec-head-center .lead { margin-left: auto; margin-right: auto; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- lokacija ---------- */
.loc-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-list li:first-child { padding-top: 0; }
.feature-list .ic { width: 26px; height: 26px; color: var(--green); margin-top: 2px; }
.feature-list h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.drive-wrap { margin-top: clamp(36px, 4vw, 52px); }
.drive-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.drive-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.drive-list span { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.drive-list strong { font-weight: 600; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 900px) { .drive-list { grid-template-columns: 1fr 1fr; } }
.map-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px); }
.map-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; gap: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.map-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.map-title .ic { width: 18px; height: 18px; color: var(--sand-deep); }
.map { height: clamp(380px, 52vh, 560px); background: var(--stone-100); }
.map-note { display: flex; gap: 8px; font-size: 12px; color: var(--warm-gray); padding: 12px 14px; margin: 0; line-height: 1.5; }
.map-note .ic { width: 16px; height: 16px; margin-top: 2px; }
.seg { display: inline-flex; background: var(--stone-100); border-radius: 999px; padding: 3px; }
.seg-btn { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--ink-soft); transition: all 0.25s; }
.seg-btn.is-on { background: var(--ink); color: #fff; }
.seg-dark { background: rgba(255, 255, 255, 0.08); }
.seg-dark .seg-btn { color: rgba(255, 255, 255, 0.7); }
.seg-dark .seg-btn.is-on { background: var(--paper); color: var(--ink); }

.poi-wrap { margin-top: clamp(40px, 5vw, 64px); }
.poi-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.poi-list li { background: var(--paper); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.poi-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.poi-list strong { display: block; font-size: 14px; font-weight: 600; }
.poi-list span.d { font-size: 13px; color: var(--warm-gray); }
.poi-list li.poi-site .poi-num { background: var(--sand-deep); }

/* leaflet */
.leaflet-container { font-family: var(--sans); }
.map-pin { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.map-site-label { background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); white-space: nowrap; }

/* ---------- zemljišče ---------- */
.land-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.land-diagram { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.land-diagram canvas { width: 100%; aspect-ratio: 1 / 1; display: block; }
.land-diagram figcaption { font-size: 12.5px; color: var(--warm-gray); margin-top: 12px; line-height: 1.55; }
.legend-tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap; vertical-align: 1px; }
.tag-official { background: #26282a; color: #f1e8d6; }
.tag-fact { background: var(--sage-soft); color: #3b4a30; }
.facts small { color: var(--warm-gray); font-size: 12px; }
.tag-public { background: #e3ecf0; color: #33505e; }
.tag-concept { background: var(--sand-soft); color: #7a6240; }
.tag-missing { background: #f3e1db; color: #8a4733; }
.facts { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.facts th { text-align: left; font-weight: 500; color: var(--ink-soft); padding: 12px 12px 12px 0; vertical-align: top; width: 36%; border-bottom: 1px solid var(--line); }
.facts td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts td:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.callout { display: flex; gap: 12px; padding: 18px; background: var(--white); border-left: 3px solid var(--sand); margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.callout p { margin: 0; }
.callout .ic { color: var(--sand-deep); margin-top: 1px; }
.callout-light { background: rgba(255, 255, 255, 0.6); }
.views-strip { margin-top: clamp(50px, 6vw, 80px); }
.views-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.views-head .fineprint, .views-head .h-small { margin: 0; }
.views-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.shot { position: relative; aspect-ratio: 3 / 2; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); background: var(--stone-200) center / cover no-repeat; }
.shot::after { content: attr(data-caption); position: absolute; left: 10px; bottom: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(38, 40, 42, 0.6); padding: 4px 9px; border-radius: 999px; }
.shot:not([data-caption])::after { display: none; }
.shot:hover { filter: brightness(1.05); }
.skeleton { background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 70%) !important; background-size: 200% 100% !important; animation: shimmer 1.6s infinite linear; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (max-width: 900px) { .land-grid, .loc-grid { grid-template-columns: 1fr; } .map-card { position: relative; top: 0; } .views-row { grid-template-columns: 1fr 1fr; } }

/* ---------- vizije ---------- */
.vision-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.vcard { text-align: left; border: 1px solid var(--line-light); background: rgba(255, 255, 255, 0.03); border-radius: var(--radius); padding: 0; cursor: pointer; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s, opacity 1s var(--ease); color: #fff; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.4); }
.vcard[aria-selected='true'] { border-color: var(--sand); background: rgba(200, 179, 143, 0.1); }
.vcard-img { display: block; aspect-ratio: 4 / 3; background: #3b3f43 center / cover no-repeat; transition: transform 1.2s var(--ease); }
.vcard:hover .vcard-img { transform: scale(1.04); }
.vcard-body { display: flex; flex-direction: column; padding: 22px 22px 24px; gap: 8px; flex: 1; position: relative; background: var(--ink); }
.vcard-num { font-family: var(--serif); font-size: 15px; color: var(--sand); }
.vcard-title { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.vcard-text { font-size: 14px; color: rgba(255, 255, 255, 0.66); line-height: 1.55; flex: 1; }
.vcard-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); }
.vcard-cta .ic { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.vcard:hover .vcard-cta .ic { transform: translateX(5px); }

.explorer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.9s var(--ease), margin 0.9s var(--ease); margin-top: 0; }
.explorer.is-open { grid-template-rows: 1fr; margin-top: clamp(30px, 4vw, 50px); }
.explorer-inner { overflow: hidden; min-height: 0; }
.explorer-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.xtab { background: none; border: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.72); padding: 10px 18px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.3s; }
.xtab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.xtab.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.stage-wrap { background: #1d1f21; border-radius: var(--radius); overflow: hidden; }
.vision-stage { height: clamp(380px, 68vh, 760px); }
.stage-wrap:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.stage-wrap:fullscreen .vision-stage { flex: 1; height: auto; }
.stage-wrap.is-max { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; border-radius: 0; }
.stage-wrap.is-max .vision-stage { flex: 1; height: auto; }
.v-fade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease); }
.v-fade.show { opacity: 1; transition: none; }
.stage-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; flex-wrap: wrap; }
.stage-tools { display: flex; gap: 8px; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.08); border: 0; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.25s; }
.tool-btn .ic { width: 16px; height: 16px; }
.tool-btn:hover { background: rgba(255, 255, 255, 0.16); }
.tool-btn[aria-pressed='true'] { background: var(--sand); color: var(--ink); }

.vision-detail { padding: clamp(28px, 4vw, 50px) 0 0; }
.vd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 70px); animation: vdIn 0.8s var(--ease); }
@keyframes vdIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.vd-num { font-family: var(--serif); color: var(--sand); font-size: 18px; }
.vd h3 { font-family: var(--serif); font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; margin: 6px 0 6px; }
.vd-sub { color: rgba(255, 255, 255, 0.6); font-size: 15px; margin-bottom: 26px; }
.vd p { color: rgba(255, 255, 255, 0.8); font-size: 15.5px; }
.vd h4 { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); margin: 28px 0 12px; font-weight: 700; }
.vd ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.vd li { display: flex; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
.vd li .ic { width: 18px; height: 18px; color: var(--sage); margin-top: 3px; }
.vd-target { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-target span { border: 1px solid var(--line-light); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); }
.vd-plan { background: #f3efe7; border-radius: var(--radius); padding: 10px; position: relative; cursor: zoom-in; }
.vd-plan canvas { width: 100%; aspect-ratio: 1 / 1; display: block; }
.vd-plan-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 4px 2px; font-size: 11.5px; color: var(--ink-soft); }
.vd-plan-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -2px; }
.vd-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.vd-gallery .shot { aspect-ratio: 16 / 10; }
.vd-gallery .shot::after { font-size: 9.5px; left: 6px; bottom: 6px; }
.vd-note { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-top: 12px; }
@media (max-width: 900px) { .vision-cards { grid-template-columns: 1fr; } .vd { grid-template-columns: 1fr; } .vcard-img { aspect-ratio: 16 / 9; } }

.choose-cta { text-align: center; margin-top: clamp(60px, 8vw, 110px); padding: clamp(40px, 6vw, 70px) 20px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.choose-q { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; margin-bottom: 28px; }
.compare { margin-top: clamp(60px, 8vw, 100px); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.compare-table thead th { font-family: var(--serif); font-size: 22px; font-weight: 500; color: #fff; }
.compare-table tbody th { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); font-weight: 700; width: 20%; }
.compare-table td { color: rgba(255, 255, 255, 0.8); }
.dots { display: inline-flex; gap: 3px; margin-right: 10px; vertical-align: 1px; }
.dots::before { content: ''; width: 34px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--sand) var(--p), rgba(255, 255, 255, 0.15) var(--p)); }
.d1 { --p: 33%; } .d2 { --p: 66%; } .d3 { --p: 100%; }

/* ---------- teren ---------- */
.terrain-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.terrain-stage { height: clamp(420px, 70vh, 720px); }
.terrain-panel { padding: 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.tp-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--warm-gray); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: 7px 12px; border-radius: 999px; font-size: 12.5px; cursor: pointer; transition: all 0.25s; }
.chip:hover { border-color: var(--ink-soft); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.switch { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; padding: 5px 0; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { width: 34px; height: 20px; border-radius: 999px; background: var(--stone-200); position: relative; transition: background 0.25s; flex: none; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(14px); }
.switch input:focus-visible + span { outline: 2px solid var(--sand-deep); outline-offset: 2px; }
.range { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.range input { flex: 1; accent-color: var(--green); }
.range output { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; min-width: 46px; }
.sun-legend { display: grid; gap: 6px; font-size: 12px; color: var(--ink-soft); margin-top: auto; }
.sun-legend i { display: inline-block; width: 18px; height: 3px; margin-right: 8px; vertical-align: 3px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.slope-legend { position: absolute; z-index: 3; left: 16px; bottom: 16px; background: rgba(250, 248, 244, 0.94); border-radius: 6px; padding: 10px 12px 22px; font-size: 11px; display: grid; grid-template-columns: 1fr 1fr 1fr; width: 220px; gap: 0; }
.slope-legend > span:first-child { grid-column: 1 / -1; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.sl-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1f6b47 0%, #edc94b 55%, #c4402a 100%); }
.slope-legend .sl-l, .slope-legend .sl-m, .slope-legend .sl-r { margin-top: 4px; color: var(--ink-soft); }
.sl-m { text-align: center; } .sl-r { text-align: right; }
@media (max-width: 960px) { .terrain-wrap { grid-template-columns: 1fr; } .terrain-panel { border-left: 0; border-top: 1px solid var(--line); } .terrain-stage { height: 62vh; } }

/* ---------- infrastruktura ---------- */
.infra-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 60px); }
.icon-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.icon-tiles li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; font-weight: 500; line-height: 1.4; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.icon-tiles li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(38, 40, 42, 0.08); }
.icon-tiles .ic { width: 30px; height: 30px; color: var(--green); }
.five-min { display: flex; align-items: center; gap: 26px; margin-top: clamp(40px, 5vw, 60px); padding-top: 34px; border-top: 1px solid var(--line); }
.five-num { font-family: var(--serif); font-size: clamp(70px, 9vw, 120px); line-height: 0.8; color: var(--sand-deep); }
.five-min p { margin: 0; color: var(--ink-soft); max-width: 520px; }
.five-min strong { color: var(--ink); font-size: 18px; }
@media (max-width: 900px) { .infra-grid { grid-template-columns: 1fr; } }

/* ---------- investicija ---------- */
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.itile { background: var(--paper); padding: clamp(26px, 3vw, 40px); transition: background 0.4s; }
.itile:hover { background: var(--white); }
.itile .ic { width: 32px; height: 32px; color: var(--sand-deep); margin-bottom: 26px; }
.itile h3 { font-family: var(--serif); font-size: 27px; line-height: 1.1; margin-bottom: 10px; }
.itile p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .invest-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .invest-grid { grid-template-columns: 1fr; } }

/* ---------- nakup ---------- */
.buy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.buy-options { display: grid; gap: 12px; }
.bopt { display: flex; gap: 20px; align-items: flex-start; background: rgba(255, 255, 255, 0.55); padding: 22px; border-radius: var(--radius); transition: background 0.3s, transform 0.4s var(--ease); }
.bopt:hover { background: #fff; transform: translateX(4px); }
.bopt-n { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--sand-deep); width: 30px; flex: none; }
.bopt h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 3px; }
.bopt p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.seller-card { margin-top: 38px; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 22px; }
.seller-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--sand); margin-bottom: 12px; }
.seller-empty { color: rgba(255, 255, 255, 0.6); margin: 0; }
.seller-empty small { color: rgba(255, 255, 255, 0.4); }
.seller-empty code { background: rgba(255, 255, 255, 0.1); }
.seller-line { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 16px; }
.seller-line a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.seller-line .ic { color: var(--sand); width: 18px; height: 18px; }
.seller-name { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label, .field legend { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, 0.7); padding: 0; }
.field legend { margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); color: #fff; padding: 10px 0; font: inherit; font-size: 16px; border-radius: 0; transition: border-color 0.3s;
}
.field textarea { resize: vertical; border: 1px solid rgba(255, 255, 255, 0.3); padding: 12px; border-radius: var(--radius); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sand); }
.field .is-invalid, .is-invalid { border-color: #e08b72 !important; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.checks .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks .check span { border: 1px solid rgba(255, 255, 255, 0.3); padding: 9px 14px; border-radius: 999px; transition: all 0.25s; color: rgba(255, 255, 255, 0.85); }
.checks .check input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.checks .check input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.checks.is-invalid .check span { border-color: #e08b72; }
.check-consent { font-size: 13px; color: rgba(255, 255, 255, 0.65); line-height: 1.5; }
.check-consent input { margin-top: 3px; accent-color: var(--sand); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 24px; font-size: 14px; margin: 0; }
.form-status.ok { color: var(--sage); }
.form-status.err { color: #f0a58f; }
.form-status a { color: inherit; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- obvestilo, noga ---------- */
.disclaimer { background: var(--stone-100); padding: 46px 0; }
.disclaimer-box { display: flex; gap: 18px; max-width: 1000px; font-size: 14px; color: var(--ink-soft); }
.disclaimer-box .ic { color: var(--sand-deep); width: 26px; height: 26px; }
.disclaimer-box p:last-child { margin-bottom: 0; }
.site-footer { background: #1d1f21; color: rgba(255, 255, 255, 0.65); padding: 46px 0 50px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; }
.footer-brand { font-family: var(--serif); font-size: 28px; color: #fff; margin-bottom: 6px; }
.footer-small { font-size: 12.5px; line-height: 1.6; margin: 0 0 8px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18, 19, 20, 0.95); display: grid; place-items: center; padding: 50px 70px; animation: lbIn 0.35s var(--ease); }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 3px; background: #2a2c2e; }
.lb-figure figcaption { color: rgba(255, 255, 255, 0.75); font-size: 13.5px; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255, 255, 255, 0.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; transition: background 0.25s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }
