/* Vizura brand: dark elements #0D1422, highlight #1EF0F0, background #1E2A44; Montserrat + Poppins. */
:root {
  --dark: #0d1422;
  --darker: #090e19;
  --ground: #1e2a44;
  --hl: #1ef0f0;
  --hl-rgb: 30, 240, 240;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.1);
  --glow: 0 0 18px rgba(var(--hl-rgb), 0.6);
  --radius: 14px;
  --head: "Montserrat", sans-serif;
  --body: "Poppins", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-gutter: stable; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--hl); color: var(--dark); }

.wrap { width: min(1180px, 100% - 160px); margin-inline: auto; }
.hl { color: var(--hl); }
.muted { color: var(--muted); }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; }

/* Kicker: short cyan rule + label, like the "NAŠA PRIČA" title card in the video. */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--hl);
  box-shadow: var(--glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1.5px solid var(--hl);
  border-radius: 10px;
  background: var(--hl);
  color: var(--dark);
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(var(--hl-rgb), 0.22);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(var(--hl-rgb), 0.4); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.btn-ghost:hover { border-color: var(--hl); color: var(--hl); box-shadow: none; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 22px 0;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease), border-color 0.4s;
}
/* Background lives on a pseudo-element so it can fade in. No backdrop blur: re-blurring the page under
   the bar on every scroll frame is the most common cause of scroll jank. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 20, 34, 0.97), rgba(13, 20, 34, 0.92));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav.scrolled { padding: 12px 0; border-color: var(--line); }
.nav.scrolled::before { opacity: 1; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { position: relative; z-index: 2; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--hl);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  background: radial-gradient(ellipse 60% 70% at 75% 50%, var(--ground) 0%, var(--dark) 72%);
  overflow: hidden;
}
.hero-bokeh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-glow {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hl-rgb), 0.14) 0%, rgba(var(--hl-rgb), 0) 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 60px;
}
.hero-title {
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 30px;
}
.hero-title .line { display: block; }
.hero-title .hl { text-shadow: 0 0 60px rgba(var(--hl-rgb), 0.35); }
.hero-sub { max-width: 540px; color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 540px;
  font-size: 14px;
  color: var(--muted);
}
.hero-points li { display: flex; align-items: center; }
.hero-points li + li::before {
  content: "";
  width: 1px;
  height: 18px;
  margin: 0 18px;
  background: rgba(255, 255, 255, 0.2);
}
.hero-points li:first-child {
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-points i { font-style: normal; color: var(--hl); margin-right: 6px; }

/* The player is sized by height on desktop; it floats and tilts toward the cursor like a glossy card. */
.hero-media { position: relative; justify-self: end; }
.tilt {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%;
  position: relative;
  perspective: 1200px;
}
.player {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(66vh, 600px);
  border-radius: 26px;
  overflow: hidden;
  background: var(--ground);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
  box-shadow:
    0 60px 120px -20px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(var(--hl-rgb), 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* Glass rim and a moving highlight make it read as a rounded, lit object rather than a flat rectangle. */
.player::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 -40px 60px -30px rgba(9, 14, 25, 0.7), inset 0 30px 50px -40px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.player-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}
.player video { width: 100%; height: 100%; object-fit: cover; }

/* Viewfinder corners */
.vf { position: absolute; inset: 0; pointer-events: none; }
.vf-c { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.85); }
.vf-c.tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.vf-c.tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.vf-c.bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.vf-c.br { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }
.vf-rec, .vf-fmt {
  position: absolute;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(9, 14, 25, 0.55);
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.vf-rec { left: 44px; }
.vf-fmt { right: 44px; color: var(--muted); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4646; box-shadow: 0 0 10px #ff4646; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.player-mute {
  position: absolute;
  z-index: 2;
  right: 42px; bottom: 30px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 14, 25, 0.7);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.player-mute:hover { transform: scale(1.08); background: var(--hl); color: var(--dark); }
.player-mute svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.player-mute .ico-off, .player.is-muted .player-mute .ico-on { display: none; }
.player.is-muted .player-mute .ico-off { display: block; }
.player-mute::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--hl-rgb), 0.6);
  opacity: 0;
  pointer-events: none;
}
.player.is-muted .player-mute::after { animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.15); }
.player-bar span { display: block; height: 100%; background: var(--hl); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s linear; will-change: transform; }
.player-cap { margin-top: 18px; text-align: center; white-space: nowrap; font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--muted); }
.player-cap span { color: var(--white); }

/* Marquee: big alternating solid / outlined words */
.marquee {
  padding: 30px 0;
  border-block: 1px solid var(--line);
  background: var(--darker);
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  padding-right: 0.7em;
}
.marquee span::after { content: "."; color: var(--hl); -webkit-text-stroke: 0; }
.marquee .o { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section shared */
section { position: relative; }
.section-head { margin-bottom: 60px; max-width: 760px; }
.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.split-head .section-sub { margin: 0 0 6px; max-width: 400px; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 560px; }
.inline-link { color: var(--hl); border-bottom: 1px solid rgba(var(--hl-rgb), 0.4); }

/* Services */
.services { padding: 140px 0 0; }
.work { position: relative; }
.work-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #18233b, #0f1729);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.work:hover .work-media { transform: translateY(-6px); border-color: rgba(var(--hl-rgb), 0.45); }
.work-media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}
.work.has-video .work-media video { opacity: 1; }
.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 25, 0) 55%, rgba(9, 14, 25, 0.75));
  pointer-events: none;
}
.work-empty {
  position: absolute;
  inset: 14px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  border: 1.5px dashed rgba(var(--hl-rgb), 0.25);
  border-radius: 12px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.work.has-video .work-empty { display: none; }
.work-empty-ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(var(--hl-rgb), 0.08);
}
.work-empty-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--hl); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.work-play {
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: var(--hl);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.work-play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--dark); }
.work.has-video:hover .work-play, .work.has-video .work-open:focus-visible ~ .work-media .work-play { opacity: 1; transform: none; }
.work-tag {
  position: absolute;
  z-index: 1;
  left: 12px; top: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(9, 14, 25, 0.7);
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Client logo sits large at the bottom of the frame, over the dark fade. */
.work-brand {
  position: absolute;
  z-index: 1;
  left: 50%; bottom: 26px;
  width: 44%;
  height: 16%;
  translate: -50% 0;
  pointer-events: none;
}
.work-brand img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5)); }
.work:not(.has-video) .work-empty { bottom: 26%; }
.work-info { margin-top: 16px; }
.work-info h3 { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.work-info p { font-size: 13px; color: var(--muted); }
/* The whole card is one button, so mouse, keyboard and touch all open the player. */
.work-open { position: absolute; inset: 0; z-index: 2; border: 0; background: none; cursor: pointer; border-radius: 18px; }
.work:not(.has-video) .work-open { cursor: default; }
.work-open:focus-visible { outline: 2px solid var(--hl); outline-offset: 4px; }

/* Player overlay */
.modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 15, 0.88); opacity: 0; transition: opacity 0.3s; }
.modal-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  will-change: transform, opacity;
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-box { opacity: 1; transform: none; }
.modal-box video {
  display: block;
  max-height: calc(100svh - 120px);
  max-width: calc(100vw - 48px);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.modal-cap { margin-top: 14px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--muted); }
.modal-close {
  position: absolute;
  z-index: 2;
  right: -14px; top: -14px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--hl);
  color: var(--dark);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.modal-close:hover { transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* Spaces: before / after slider */
.spaces { padding: 150px 0; background: var(--darker); overflow: hidden; }
.spaces-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 70px; align-items: center; }
.spaces .section-sub { margin-bottom: 30px; }
.spaces-list { list-style: none; margin-bottom: 36px; border-top: 1px solid var(--line); }
.spaces-list li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); font-size: 15px; }
.spaces-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 23px;
  width: 10px; height: 2px;
  background: var(--hl);
}
.spaces-list b { display: block; font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--white); margin-bottom: 2px; }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ground);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.ba.is-swapping img { opacity: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border: 0;
  border-radius: 50%;
  background: var(--hl);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(var(--hl-rgb), 0.25);
  cursor: ew-resize;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ba-handle:hover, .ba.is-dragging .ba-handle { transform: scale(1.08); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(var(--hl-rgb), 0.2); }
.ba-handle:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.ba-handle svg { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; fill: none; stroke: var(--dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-tag {
  position: absolute;
  top: 18px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(9, 14, 25, 0.7);
  font-family: var(--head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.3s;
}
.ba-tag-l { left: 18px; }
.ba-tag-r { right: 18px; background: var(--hl); color: var(--dark); }
.ba.hide-l .ba-tag-l, .ba.hide-r .ba-tag-r { opacity: 0; }

.rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.room {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.room:hover { border-color: rgba(var(--hl-rgb), 0.5); color: var(--white); }
.room.is-active { background: var(--hl); border-color: var(--hl); color: var(--dark); }

/* Who */
.who { padding: 140px 0; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.who-item {
  position: relative;
  padding: 34px 28px 10px 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.who-item + .who-item { padding-left: 28px; border-left: 1px solid var(--line); }
.who-item::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--hl);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.who-item:hover::before { transform: scaleX(1); }
.who-n { display: block; font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; color: var(--hl); margin-bottom: 40px; }
.who-item h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.who-item p { color: var(--muted); font-size: 15px; }

/* Process */
.process { padding: 140px 0; background: var(--darker); }
.flow {
  padding: 34px 34px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 42, 68, 0.55), rgba(30, 42, 68, 0.18));
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.flow-nodes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.4s;
}
.flow-ico {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(var(--hl-rgb), 0.06);
  border: 1px solid rgba(var(--hl-rgb), 0.2);
  transition: background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.flow-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--hl); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s; }
.flow-node.is-active { color: var(--white); }
.flow-node.is-active .flow-ico { background: var(--hl); border-color: var(--hl); box-shadow: 0 0 30px rgba(var(--hl-rgb), 0.45); }
.flow-node.is-active svg { stroke: var(--dark); }
.flow-link { flex: 1; display: flex; justify-content: space-evenly; padding: 0 10px 26px; }
.flow-link i { width: 6px; height: 6px; border-radius: 50%; background: var(--hl); opacity: 0.2; animation: flowdot 1.5s ease-in-out infinite; }
.flow-link i:nth-child(2) { animation-delay: 0.2s; }
.flow-link i:nth-child(3) { animation-delay: 0.4s; }
@keyframes flowdot { 40% { opacity: 1; transform: scale(1.3); } }
.flow-bar { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.flow-label { white-space: nowrap; }
.flow-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.flow-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(var(--hl-rgb), 0.5), var(--hl));
  box-shadow: var(--glow);
  transform: scaleX(0);
  transform-origin: left;
}
.flow.is-running .flow-fill { animation: flowfill 7.5s linear infinite; will-change: transform; }
@keyframes flowfill { 0% { transform: scaleX(0); } 80%, 100% { transform: scaleX(1); } }
.flow-pct { contain: layout style; min-width: 46px; text-align: right; font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--hl); font-variant-numeric: tabular-nums; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  padding: 30px 26px 34px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 42, 68, 0.5), rgba(30, 42, 68, 0.15));
  border: 1px solid var(--line);
}
.step:hover { border-color: rgba(var(--hl-rgb), 0.4); }
.step-n {
  display: inline-block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--hl);
  padding-bottom: 12px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--hl);
}
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* Statement */
.statement {
  --sx: 50%; --sy: 50%;
  padding: 190px 0;
  background: var(--darker);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.statement .wrap { position: relative; z-index: 2; }
.aurora { position: absolute; inset: 0; z-index: 0; }
.aurora i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora i:nth-child(1) { left: -5%; top: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(var(--hl-rgb), 0.28), rgba(var(--hl-rgb), 0) 65%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -10%; top: 10%; width: 56vw; height: 56vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, rgba(43, 79, 214, 0.5), rgba(43, 79, 214, 0) 65%); animation: drift2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { display: none; }
@keyframes drift1 { to { transform: translate(14vw, 8vh); } }
@keyframes drift2 { to { transform: translate(-16vw, -8vh); } }
.statement-spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(600px circle at var(--sx) var(--sy), rgba(var(--hl-rgb), 0.12), transparent 60%);
  pointer-events: none;
}
.kinetic {
  font-family: var(--body);
  font-size: clamp(42px, 8vw, 118px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  max-width: 1100px;
  margin-inline: auto;
}
.kinetic .k { display: inline-block; opacity: 0.16; transition: opacity 0.5s, color 0.5s; }
.kinetic .k.on { opacity: 1; }
.kinetic .k-hl.on { color: var(--hl); }

/* Story */
.story { padding: 140px 0; background: var(--ground); }
.story-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; margin-bottom: 90px; }
.story-head h2 { margin-bottom: 0; }
.story-body p { color: var(--muted); margin-bottom: 22px; font-size: 18px; }
.story-body .lead { color: var(--white); font-size: clamp(21px, 2.2vw, 26px); font-weight: 500; line-height: 1.5; }
.story-body strong { color: var(--hl); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.stat { padding: 36px 24px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat-n {
  display: block;
  font-family: var(--head);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--hl);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-l { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { padding: 140px 0; }
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}
.faq-item summary:hover, .faq-item.is-open summary { color: var(--hl); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: 0 0 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(var(--hl-rgb), 0.35); }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  left: 9px; top: 13px;
  width: 10px; height: 2px;
  border-radius: 1px;
  background: var(--hl);
  transition: transform 0.4s var(--ease);
}
.faq-plus::after { transform: rotate(90deg); }
.faq-item.is-open .faq-plus::after { transform: rotate(0deg); }
/* Height animates via grid rows; JS keeps [open] until the close transition ends. */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 50px 26px 0; color: var(--muted); }

/* Contact */
.contact {
  padding: 140px 0;
  background: radial-gradient(ellipse 60% 70% at 20% 50%, var(--ground) 0%, var(--darker) 70%);
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  left: 0; top: 15%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hl-rgb), 0.12) 0%, rgba(var(--hl-rgb), 0) 65%);
  pointer-events: none;
}
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact h2 { margin-bottom: 20px; }
.contact-copy > p { color: var(--muted); max-width: 440px; margin-bottom: 30px; }
.contact-steps { list-style: none; margin-bottom: 36px; }
.contact-steps li { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-weight: 500; }
.contact-steps span {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(var(--hl-rgb), 0.4);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
  color: var(--hl);
}
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.25s;
}
.ig-link svg {
  width: 34px; height: 34px;
  padding: 7px;
  border-radius: 10px;
  border: 1px solid rgba(var(--hl-rgb), 0.35);
  fill: none;
  stroke: var(--hl);
  stroke-width: 1.8;
  transition: background-color 0.25s, stroke 0.25s, border-color 0.25s;
}
.ig-link .ig-dot { fill: var(--hl); stroke: none; }
.ig-link:hover { color: var(--white); }
.ig-link:hover svg { background: var(--hl); border-color: var(--hl); stroke: var(--dark); }
.ig-link:hover .ig-dot { fill: var(--dark); }
.footer-brand .ig-link { margin-top: 22px; }
.contact-mail {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  border-bottom: 2px solid var(--hl);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.contact-mail:hover { color: var(--hl); }

.form {
  padding: 38px;
  border-radius: 20px;
  background: rgba(13, 20, 34, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field .label {
  display: block;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: 0.6; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 42, 68, 0.5);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--hl); box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.16); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { margin: 0 !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.chip:hover span { border-color: var(--hl); }
.chip input:checked + span { background: var(--hl); border-color: var(--hl); color: var(--dark); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.35); }
/* Contact form, one question at a time (.is-steps is added by script.js) */
.form-top, .form-back, .form-next { display: none; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done[hidden] { display: none; }
.form-q { font-family: var(--head); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; color: var(--white); margin-bottom: 8px; }
.form-q label { all: unset; }
.field label .opt { display: inline; cursor: inherit; }
.form-hint { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.form-q + .field, .form-q + .chips { margin-top: 18px; }
.form-step { margin-bottom: 26px; }
.form-nav { display: flex; align-items: center; gap: 14px; }
.form-nav .btn { margin: 0; }
.form:not(.is-steps) .form-send { width: 100%; justify-content: center; }
.form-note.is-done { color: var(--hl); }
.form.is-steps .form-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.form-count { flex: none; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.form-count b { color: var(--hl); }
.form-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.form-bar span { display: block; height: 100%; background: var(--hl); transform: scaleX(0.25); transform-origin: left; transition: transform 0.45s var(--ease); }
/* All steps share one grid cell, so the card keeps its height while moving between them. */
.form.is-steps .form-steps { display: grid; }
.form.is-steps .form-step { grid-area: 1 / 1; min-width: 0; margin-bottom: 0; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s 0.3s; }
.form.is-steps .form-step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s 0.08s, transform 0.35s var(--ease) 0.08s; }
.form.is-steps .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form.is-steps .chip span { display: block; padding: 14px 10px; font-size: 16px; text-align: center; }
.form.is-steps .form-nav { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 18px; }
.form.is-steps .form-nav .btn { grid-column: 2; min-width: 200px; padding: 18px 40px; font-size: 17px; justify-content: center; }
.form-nav .btn:disabled { opacity: 0.6; cursor: default; }
.form.is-steps .form-back { grid-column: 1; justify-self: start; display: inline-flex; padding: 10px 4px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color 0.2s; }
.form.is-steps .form-back:hover { color: var(--white); }
.form.is-steps.is-first .form-back { visibility: hidden; }
.form.is-steps .form-next { display: inline-flex; }
.form.is-steps.is-last .form-next, .form.is-steps:not(.is-last) .form-send { display: none; }
@media (max-width: 600px) { .form.is-steps .form-nav .btn { min-width: 150px; padding: 17px 24px; } }
/* Sent state: the thank-you takes the place of the questions. */
.form.is-sent .form-nav, .form.is-sent .form-count { display: none; }
.form.is-steps .form-steps:has(+ .form-honey + .form-done:not([hidden])) { display: none; }
.form-done { min-height: 260px; display: grid; align-content: center; justify-items: center; text-align: center; gap: 4px; }
.form-done-ico { position: relative; width: 58px; height: 58px; border-radius: 50%; background: rgba(var(--hl-rgb), 0.1); border: 1.5px solid var(--hl); margin-bottom: 14px; }
.form-done-ico::after { content: ""; position: absolute; left: 50%; top: 46%; width: 20px; height: 10px; border-left: 2.5px solid var(--hl); border-bottom: 2.5px solid var(--hl); transform: translate(-50%, -50%) rotate(-45deg); }
.form-consent { margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.42); text-align: center; }
.form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: var(--hl); }
@media (prefers-reduced-motion: reduce) { .form.is-steps .form-step, .form-bar span { transition: none; } }
.form-note { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.42); text-align: center; }

/* Footer */
.footer { padding: 100px 0 30px; background: var(--dark); border-top: 1px solid var(--line); overflow: hidden; }
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 70px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-cta h2 { font-size: clamp(32px, 4.4vw, 56px); }
.footer-cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-mail { font-family: var(--head); font-weight: 700; color: var(--muted); transition: color 0.2s; }
.footer-mail:hover { color: var(--hl); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 300px; }
.footer-tag { margin-top: 14px; color: var(--white) !important; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hl);
  margin-bottom: 8px;
}
.footer-col a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-word {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(90px, 21vw, 300px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  margin: 80px 0 34px;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  user-select: none;
}
.footer-word span { color: var(--hl); -webkit-text-stroke: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--hl); }

/* Custom cursor: a cyan dot that tracks exactly and a ring that eases after it. Fine pointers only.
   The outer elements only move; the inner circle only scales, so nothing ever triggers layout. */
.cursor-dot, .cursor-ring {
  position: fixed;
  left: 0; top: 0;
  z-index: 1000;
  width: 0; height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  will-change: transform;
}
.cursor-dot i, .cursor-ring i {
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  translate: -50% -50%;
}
.cursor-dot i { width: 8px; height: 8px; background: var(--hl); box-shadow: 0 0 12px rgba(var(--hl-rgb), 0.9); transition: scale 0.2s var(--ease); }
.cursor-ring i {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(var(--hl-rgb), 0.55);
  transition: scale 0.4s var(--ease), background-color 0.3s, border-color 0.3s;
}
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.has-cursor.cursor-hidden .cursor-dot, .has-cursor.cursor-hidden .cursor-ring { opacity: 0; }
/* While the custom cursor is active, no native arrow or hand appears anywhere, except the text caret in form fields. */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.cursor-ring.is-hover i { scale: 1.65; background: rgba(var(--hl-rgb), 0.1); border-color: rgba(var(--hl-rgb), 0.85); }
.cursor-ring.is-drag i { scale: 1.9; border-color: var(--hl); }
.cursor-dot.is-down i { scale: 0.5; }
.cursor-ring::before, .cursor-ring::after {
  content: "";
  position: absolute;
  top: 0;
  width: 7px; height: 7px;
  border: solid var(--hl);
  border-width: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor-ring::before { left: -50px; translate: 0 -50%; rotate: 45deg; }
.cursor-ring::after { left: 43px; translate: 0 -50%; rotate: -135deg; }
.cursor-ring.is-drag::before, .cursor-ring.is-drag::after { opacity: 1; }

/* Reveal animations — transform/opacity only, so they stay on the compositor. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.35s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-title .line.reveal { transform: translateY(0.35em); }
.js .hero-title .line.reveal.in { transform: none; }
.js .hero-media.reveal { transform: translateY(24px); transition-duration: 1s; }
.js .hero-media.reveal.in { transform: none; }
.anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
/* While the page is being scrolled, decorative loops hold still so the GPU only has to move the page. */
.is-scrolling .aurora i, .is-scrolling .flow-link i, .is-scrolling .player-mute::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .kinetic .k { opacity: 1; }
  .player { transform: none; }
}

/* Tablet */
@media (max-width: 1060px) {
  .wrap { width: calc(100% - 80px); }
  .nav-links { gap: 22px; }
  .hero-inner { gap: 40px; }
  .spaces-inner, .story-inner, .contact-inner, .faq-inner { grid-template-columns: 1fr; gap: 50px; }
  .faq-head { position: static; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .who-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .who-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .split-head { flex-direction: column; align-items: flex-start; }
}

/* Phones: one column, copy first, then the spot */
@media (max-width: 820px) {
  .hero { min-height: 0; padding: 112px 0 70px; background: radial-gradient(ellipse 120% 60% at 50% 70%, var(--ground) 0%, var(--dark) 72%); }
  .hero-glow { right: 50%; top: 72%; transform: translate(50%, -50%); width: 520px; height: 520px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { justify-self: center; width: 100%; max-width: 340px; }
  .player { height: auto; width: 100%; }
  /* Centered hero on phones */
  .hero-copy { text-align: center; }
  .hero-copy .kicker { justify-content: center; }
  .hero-copy .kicker::after { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--hl); box-shadow: var(--glow); }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-points { justify-content: center; margin-inline: auto; }

}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px; height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 26px; height: 2px; margin-left: auto; margin-right: 9px; background: var(--white); transition: transform 0.35s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0s 0.35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transition: opacity 0.35s; }
  .nav-links a:not(.btn) { font-size: 28px; font-weight: 800; color: var(--white); }
  .nav-logo img { height: 26px; }

  .hero-title { font-size: clamp(46px, 13.5vw, 64px); margin-bottom: 22px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-cta { margin-bottom: 28px; }
  .hero-cta .btn { flex: 1 1 0; padding-inline: 16px; }
  .hero-points { flex-direction: column; align-items: center; gap: 6px; }
  .hero-copy .kicker { font-size: 11px; letter-spacing: 0.2em; gap: 10px; }
  .hero-copy .kicker::before, .hero-copy .kicker::after { width: 20px; }
  .hero-points li + li::before { display: none; }
  .hero-media { max-width: min(320px, 86vw); }
  .vf-rec { left: 40px; }
  .vf-fmt { right: 40px; }

  .marquee { padding: 20px 0; }

  .services, .spaces, .who, .process, .story, .faq, .contact { padding: 90px 0; }
  .services { padding-bottom: 0; }
  .section-head { margin-bottom: 40px; }
  .section-sub { font-size: 16px; }
  .who-grid { grid-template-columns: 1fr; }
  .work-tag { left: 8px; top: 8px; padding: 4px 8px; font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; }
  .work-info h3 { font-size: 15px; }
  .modal-close { right: 6px; top: 6px; }
  .who-item, .who-item + .who-item { padding: 28px 0 24px; border-left: 0; }
  .who-item + .who-item { border-top: 1px solid var(--line); }
  .who-n { margin-bottom: 18px; }
  .flow { padding: 24px 16px 20px; }
  .flow-ico { width: 44px; height: 44px; border-radius: 12px; }
  .flow-ico svg { width: 18px; height: 18px; }
  .flow-node { font-size: 11px; gap: 8px; }
  .flow-link { padding: 0 4px 22px; }
  .flow-link i { width: 4px; height: 4px; }
  .flow-label { display: none; }
  .steps { grid-template-columns: 1fr; }
  .statement { padding: 110px 0; }
  .story-inner { margin-bottom: 60px; }
  .stat { padding: 28px 12px 0 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .faq-item summary { font-size: 16px; padding: 22px 0; }
  .faq-a p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 26px 20px; }
  .footer { padding-top: 70px; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding-bottom: 50px; margin-bottom: 44px; }
  .footer-cta-side { align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-word { margin: 56px 0 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================================
   Multi-page: gateways, service pages, gallery, identity
   ===================================================================== */

/* Smooth cross-fade between pages in browsers that support it; the nav stays put. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
.nav { view-transition-name: site-nav; }

.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Service page hero ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 110px;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 75% 45%, var(--ground) 0%, var(--dark) 72%);
}
.page-hero-glow {
  position: absolute;
  right: 4%; top: 50%;
  width: 760px; height: 760px;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hl-rgb), 0.13), rgba(var(--hl-rgb), 0) 62%);
  pointer-events: none;
}
.page-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.crumbs { display: flex; gap: 10px; font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--hl); }
.crumbs a:hover { text-decoration: underline; }
.page-word {
  font-family: var(--body);
  font-size: clamp(88px, 13vw, 210px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.88;
  margin: 0 0 28px -0.04em;
}
.page-word .dot { color: var(--hl); text-shadow: 0 0 50px rgba(var(--hl-rgb), 0.5); }
.page-lead { max-width: 520px; font-size: 19px; color: var(--muted); margin-bottom: 34px; }
.page-hero-visual { position: relative; justify-self: center; width: 100%; }

/* video: three phones fanned out */
.phones { position: relative; height: min(64vh, 560px); }
.mini-phone {
  position: absolute;
  top: 50%; left: 50%;
  height: 86%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ground);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.8s var(--ease);
}
.mini-phone video { width: 100%; height: 100%; object-fit: cover; }

/* foto: stacked prints */
.page-hero-visual { perspective: 1200px; }
.collage { --rx: 0deg; --ry: 0deg; position: relative; height: min(60vh, 520px); transform: rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform; }
.collage img {
  position: absolute;
  width: 72%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 24px 50px -28px rgba(var(--hl-rgb), 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.8s var(--ease);
}
.collage .c1 { left: 0; top: 4%; transform: rotate(-7deg); }
.collage .c2 { right: 0; top: 18%; transform: rotate(6deg); }
.collage .c3 { left: 14%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.page-hero-visual:hover .collage .c1 { transform: rotate(-10deg) translate(-12px, -8px); }
.page-hero-visual:hover .collage .c2 { transform: rotate(9deg) translate(12px, -6px); }

/* dizajn: brand board */
.board {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin-inline: auto;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, #18233b, #0f1729);
  border: 1px solid var(--line);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  transition: transform 0.8s var(--ease);
}
.page-hero-visual:hover .board { transform: rotate(0deg) scale(1.02); }
.board-logo { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: 16px; background: var(--dark); border: 1px solid var(--line); }
.board-logo img { width: 70%; height: auto; }
.board-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.board-sw { aspect-ratio: 1; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.board-type { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.board-type span { display: grid; place-items: center; aspect-ratio: 2 / 1; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 46px; font-weight: 700; }
.t-m { font-family: var(--head); }
.t-p { font-family: var(--body); }

/* ---------- Feature cards ---------- */
.feats-section, .slots-section, .identity { padding: 130px 0; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feats-4 { grid-template-columns: repeat(4, 1fr); }
.feat {
  padding: 30px 26px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 42, 68, 0.5), rgba(30, 42, 68, 0.15));
  border: 1px solid var(--line);
}
.feat:hover { border-color: rgba(var(--hl-rgb), 0.4); }
.feat-ico, .slot-ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(var(--hl-rgb), 0.08);
  border: 1px solid rgba(var(--hl-rgb), 0.25);
  margin-bottom: 26px;
}
.feat-ico svg, .slot-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--hl); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- "Uskoro" slots ---------- */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(var(--hl-rgb), 0.25);
  background: linear-gradient(160deg, rgba(30, 42, 68, 0.35), rgba(13, 20, 34, 0));
}
.slot-ico { position: absolute; left: 28px; top: 28px; margin: 0; }
.slot-tag {
  position: absolute;
  right: 22px; top: 30px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(var(--hl-rgb), 0.1);
  color: var(--hl);
  font-family: var(--head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.slot h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.slot p { color: var(--muted); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ground);
  cursor: zoom-in;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  transition: box-shadow 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { box-shadow: inset 0 0 0 2px var(--hl); }
.gallery-item:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; }

/* Lightbox */
.lightbox .modal-box img {
  --ar: 1.5;
  display: block;
  width: min(100vw - 48px, (100svh - 140px) * var(--ar));
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: cover;
  border-radius: 14px;
  background: var(--ground);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.lb-bar { display: flex; align-items: center; gap: 18px; margin-top: 16px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 20, 34, 0.7);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: var(--hl); border-color: var(--hl); color: var(--dark); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Identity (dizajn) ---------- */
.id-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.id-card {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 42, 68, 0.55), rgba(30, 42, 68, 0.18));
  border: 1px solid var(--line);
  min-height: 240px;
}
.id-label { display: block; font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.id-label em { font-style: normal; letter-spacing: 0; text-transform: none; font-weight: 500; opacity: 0.7; }
.id-logo { grid-column: span 4; display: flex; flex-direction: column; background: var(--dark); }
.id-logo img { margin: auto; width: 68%; height: auto; }
.id-mark { grid-column: span 2; display: flex; flex-direction: column; background: var(--hl); }
.id-mark .id-label { color: rgba(13, 20, 34, 0.6); }
.id-mark img { margin: auto; width: 46%; height: auto; filter: brightness(0) saturate(100%) invert(7%) sepia(25%) saturate(1700%) hue-rotate(190deg); }
.id-colors { grid-column: span 3; }
.swatches-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.swatch {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 150px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--c);
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.4s var(--ease);
}
.swatch:hover { transform: translateY(-4px); }
.swatch-dark { color: var(--white); }
.swatch-name { font-family: var(--head); font-weight: 800; font-size: 15px; }
.swatch-hex { font-family: var(--head); font-weight: 600; font-size: 13px; opacity: 0.8; }
.swatch-use { font-size: 12px; opacity: 0.7; line-height: 1.35; }
.swatch.is-copied .swatch-hex::after { content: " — kopirano"; }
.id-type { grid-column: span 3; }
.type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.type-row > div { display: flex; flex-direction: column; }
.type-big { font-size: 84px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.type-row b { font-family: var(--head); font-size: 16px; }
.type-row > div > span:last-child { font-size: 13px; color: var(--muted); }
.id-bcard { grid-column: span 6; display: flex; flex-direction: column; align-items: center; }
.id-bcard .id-label { align-self: flex-start; }
.bcard { width: min(440px, 100%); aspect-ratio: 85 / 55; padding: 0; border: 0; background: none; perspective: 1200px; cursor: pointer; }
.bcard-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.bcard.is-flipped .bcard-inner { transform: rotateY(180deg); }
@media (hover: hover) { .bcard:hover .bcard-inner { transform: rotateY(180deg); } .bcard.is-flipped:hover .bcard-inner { transform: rotateY(0deg); } }
.bcard-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.bcard-front { background: var(--dark); }
.bcard-front img { width: 62%; height: auto; }
.bcard-back { transform: rotateY(180deg); background: var(--hl); color: var(--dark); grid-template-columns: auto 1fr; gap: 22px; padding: 0 34px; justify-items: start; }
.bcard-back img { width: 58px; height: auto; filter: brightness(0) saturate(100%) invert(7%) sepia(25%) saturate(1700%) hue-rotate(190deg); }
.bcard-lines { display: flex; flex-direction: column; gap: 2px; text-align: left; font-size: 14px; font-weight: 500; }
.bcard-lines b { font-family: var(--head); font-size: 18px; font-weight: 800; margin-bottom: 4px; }

/* ---------- Other services + CTA ---------- */
.others { padding: 110px 0 40px; }
.others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.other {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px 34px 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.6s var(--ease);
}
.other-foto { background: #111a2c; }
.other-dizajn { background: var(--ground); }
.other:hover { transform: translateY(-4px); }
.other-word { font-family: var(--body); font-size: clamp(54px, 6vw, 92px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.other .dot { color: var(--hl); }
.other-text { opacity: 0.8; }
.other-go {
  position: absolute;
  right: 30px; top: 34px;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0;
  transition: background-color 0.3s, color 0.3s;
}
.other-go::before {
  content: "";
  width: 12px; height: 12px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: translateX(-2px) rotate(45deg);
}
.other:hover .other-go { background: currentColor; }
.other:hover .other-go::before { border-color: var(--dark); }

.page-cta { position: relative; padding: 110px 0 140px; overflow: hidden; text-align: center; }
.page-cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 600px;
  translate: -50% -50%;
  background: radial-gradient(ellipse, rgba(var(--hl-rgb), 0.14), rgba(var(--hl-rgb), 0) 65%);
  pointer-events: none;
}
.page-cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.page-cta h2 { font-size: clamp(38px, 5.4vw, 72px); margin-bottom: 18px; }
.page-cta p { color: var(--muted); max-width: 520px; font-size: 18px; margin-bottom: 34px; }
.page-cta .hero-cta { justify-content: center; margin: 0; }

/* Spaces section sits on the foto page now: give it its own top rhythm there. */
body[data-page="foto"] .spaces { background: var(--dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .page-hero { min-height: 0; }
  .feats, .feats-4 { grid-template-columns: 1fr 1fr; }
  .id-grid { grid-template-columns: 1fr 1fr; }
  .id-logo, .id-mark, .id-colors, .id-type, .id-bcard { grid-column: span 2; }
  .id-mark { min-height: 200px; }
}
@media (max-width: 760px) {
  .svc-section, .feats-section, .slots-section, .identity { padding: 90px 0; }
  .page-hero { padding: 120px 0 70px; }
  .page-hero-copy { text-align: center; }
  .crumbs { justify-content: center; }
  .page-word { margin-left: 0; }
  .page-lead { margin-inline: auto; font-size: 17px; }
  .page-hero .hero-cta { justify-content: center; }
  .phones { height: 380px; }
  .collage { height: 300px; }
  .board { padding: 18px; gap: 12px; }
  .board-type span { font-size: 34px; }
  .feats, .feats-4, .slots { grid-template-columns: 1fr; }
  .slot { min-height: 220px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .swatches-big { grid-template-columns: 1fr; }
  .swatch { min-height: 90px; }
  .type-big { font-size: 64px; }
  .others { padding-top: 80px; }
  .others-grid { grid-template-columns: 1fr; }
  .other { padding: 26px 24px; }
  .other-go { right: 22px; top: 26px; width: 44px; height: 44px; }
  .bcard-back { padding: 0 20px; gap: 14px; }
  .bcard-back img { width: 42px; }
  .bcard-lines { font-size: 12px; }
  .bcard-lines b { font-size: 15px; }
  .page-cta { padding: 80px 0 100px; }
}

/* ---------- Wider, fuller layouts on desktop ---------- */
@media (min-width: 1061px) {
  .svc-section .wrap, .page-hero .wrap { width: min(1440px, 100% - 120px); }

  .page-hero-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
  .page-word { font-size: clamp(84px, 10vw, 170px); }
  .phones { height: min(78vh, 720px); }
  .mini-phone { height: 92%; border-radius: 26px; }
  .mini-phone-1 { transform: translate(-122%, -46%) rotate(-8deg) scale(0.86); }
  .mini-phone-3 { transform: translate(22%, -46%) rotate(8deg) scale(0.86); }
  .page-hero-visual:hover .mini-phone-1 { transform: translate(-134%, -47%) rotate(-11deg) scale(0.86); }
  .page-hero-visual:hover .mini-phone-3 { transform: translate(34%, -47%) rotate(11deg) scale(0.86); }
  .collage { height: min(74vh, 680px); }
  .collage img { width: 74%; }
  .board { max-width: 640px; padding: 30px; }
  .board-type span { font-size: 56px; }
}

/* =====================================================================
   Home: services bento (video large left, foto + dizajn stacked right)
   Hover motion is transform / opacity only, on one long ease.
   ===================================================================== */
.svc-section { padding: 140px 0 120px; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.svc-head-side { max-width: 380px; }
.svc-head-side p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pills a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.svc-pills a:hover { border-color: var(--hl); color: var(--hl); }

.bento { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 20px; }
.bcard-svc {
  --lift: 0px;
  position: relative;
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #121b2e, #0e1525);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 0 rgba(var(--hl-rgb), 0);
  transform: translateY(var(--lift));
  transition: transform 0.7s var(--ease), border-color 0.5s ease, box-shadow 0.7s var(--ease);
}
.bcard-svc:hover { --lift: -5px; border-color: rgba(var(--hl-rgb), 0.35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--hl-rgb), 0.1); }
.bcard-svc:focus-visible { outline: 2px solid var(--hl); outline-offset: 4px; }
/* Reveal sets its own transform; keep the hover lift working after it. */
.js .bcard-svc.reveal.in { transform: translateY(var(--lift)); }
.b-side { flex-direction: row; min-height: 250px; }

.b-media { position: relative; overflow: hidden; }
.b-media > * { transition: transform 0.9s var(--ease), opacity 0.5s ease; }

.b-body { position: relative; display: flex; flex-direction: column; padding: 26px 30px 30px; }
.b-side .b-body { flex: 1 1 0; min-width: 0; padding: 28px 28px 26px 26px; }
.b-num { font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: 0.24em; color: var(--hl); margin-bottom: 4px; }
.b-word {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(42px, 4.4vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
}
.bcard-svc .dot { color: var(--hl); display: inline-block; transition: transform 0.7s var(--ease); }
.bcard-svc:hover .dot { transform: scale(1.35); }
.b-text { font-size: 15px; color: var(--muted); line-height: 1.55; }
.b-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.b-tags span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-family: var(--head); font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }

.b-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--hl);
  color: var(--dark);
  font-family: var(--head);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(var(--hl-rgb), 0.22);
  transition: box-shadow 0.5s var(--ease), background-color 0.3s, color 0.3s;
}
.b-btn i, .b-btn-ghost i { position: relative; width: 14px; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.5s var(--ease); }
.b-btn i::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  width: 7px; height: 7px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
}
.bcard-svc:hover .b-btn i, .b-strip .b-btn:hover i { transform: translateX(4px); }
.bcard-svc:hover .b-btn { box-shadow: 0 14px 36px rgba(var(--hl-rgb), 0.38); }
.b-btn-ghost { margin-top: auto; background: transparent; color: var(--hl); border: 1px solid rgba(var(--hl-rgb), 0.45); box-shadow: none; padding: 11px 18px; }
.b-side .b-text { margin-bottom: 22px; }
.bcard-svc:hover .b-btn-ghost { background: rgba(var(--hl-rgb), 0.1); box-shadow: none; }

.b-media-dizajn { flex: 0 0 46%; background: radial-gradient(ellipse at 40% 50%, #1b2742, #0b111e 80%); }

/* dizajn: business card front and back */
.bd {
  position: absolute;
  height: 52%;
  aspect-ratio: 85 / 55;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.bd-front { left: -12%; top: 8%; background: var(--dark); border: 1px solid rgba(255, 255, 255, 0.14); transform: rotate(-6deg); }
.bd-front img { width: 70%; height: auto; }
.bd-back {
  left: 4%; top: 44%;
  z-index: 2;
  grid-template-columns: auto 1fr;
  gap: 8px;
  padding: 0 9%;
  justify-items: start;
  background: var(--hl);
  color: var(--dark);
  transform: rotate(4deg);
}
.bd-back img { width: 22px; height: auto; filter: brightness(0) saturate(100%) invert(7%) sepia(25%) saturate(1700%) hue-rotate(190deg); }
.bd-back span { display: flex; flex-direction: column; font-size: 9px; line-height: 1.3; }
.bd-back b { font-family: var(--head); font-size: 11px; }
.b-dizajn:hover .bd-front { transform: rotate(-9deg) translate(-6px, -8px); }
.b-dizajn:hover .bd-back { transform: rotate(7deg) translate(8px, 4px); }

/* closing strip */
.b-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(90deg, rgba(30, 42, 68, 0.45), rgba(13, 20, 34, 0.2));
}
.b-strip b { display: block; font-family: var(--head); font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.b-strip span { color: var(--muted); font-size: 15px; }
.b-strip .b-btn { align-self: center; }
.b-strip .b-btn:hover { box-shadow: 0 14px 36px rgba(var(--hl-rgb), 0.38); }
@media (max-width: 1060px) {
  .svc-head { flex-direction: column; align-items: flex-start; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
}
@media (max-width: 600px) {
  .svc-section { padding: 90px 0; }
  .b-side { flex-direction: column; min-height: 0; }
  .b-media-dizajn { flex: none; height: 200px; }
  .bd { height: 56%; }
  .bd-front { left: 10%; top: 8%; }
  .bd-back { left: 32%; top: 38%; }
  .b-body, .b-side .b-body { padding: 22px 22px 24px; }
  .b-strip { flex-direction: column; align-items: flex-start; padding: 22px; }
  .b-strip .b-btn { align-self: flex-start; }
}

/* ---------- Foto categories (eventi / produkti / hrana) ---------- */
a.feat { display: block; position: relative; color: inherit; text-decoration: none; transition: border-color 0.5s ease, background-color 0.5s ease; }
a.feat:hover { background-color: rgba(var(--hl-rgb), 0.04); }

.cat { padding: 150px 0; overflow: hidden; }

.mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 3 / 2;
}
.ph {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(var(--hl-rgb), 0.09), transparent 60%),
    linear-gradient(160deg, rgba(30, 42, 68, 0.75), rgba(13, 20, 34, 0.9));
  border: 1px solid var(--line);
  transition: border-color 0.5s ease;
}
.ph-a { grid-row: span 2; }
/* Viewfinder corners */
.ph::before, .ph::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid rgba(var(--hl-rgb), 0.5);
  transition: transform 0.6s var(--ease), border-color 0.5s ease;
}
.ph::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.ph::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.ph:hover { border-color: rgba(var(--hl-rgb), 0.35); }
.ph:hover::before { transform: translate(-4px, -4px); border-color: var(--hl); }
.ph:hover::after { transform: translate(4px, 4px); border-color: var(--hl); }
.ph-ico {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(var(--hl-rgb), 0.08);
  border: 1px solid rgba(var(--hl-rgb), 0.25);
  transition: transform 0.6s var(--ease);
}
.ph-b .ph-ico, .ph-c .ph-ico { width: 50px; height: 50px; }
.ph-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--hl); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph:hover .ph-ico { transform: scale(1.08); }
.ph figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic-tag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--hl);
  color: var(--dark);
  font-family: var(--head);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .cat { padding: 90px 0; }
}
@media (max-width: 600px) {
  .mosaic { gap: 10px; aspect-ratio: 4 / 3; }
  .ph-ico { width: 52px; height: 52px; }
  .ph-b .ph-ico, .ph-c .ph-ico { width: 42px; height: 42px; }
  .ph figcaption { font-size: 12px; left: 12px; bottom: 10px; }
  .mosaic-tag { top: 10px; right: 10px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-loc { margin-top: 14px; font-size: 14px !important; }
.footer-phone { display: inline-block; margin: 10px 0 4px; font-family: var(--head); font-weight: 700; font-size: 16px; transition: color 0.2s; }
.footer-phone:hover { color: var(--hl); }

.cat-cap { margin-top: 16px; color: var(--muted); font-size: 14px; }
.cat-cap b { color: var(--white); font-family: var(--head); font-weight: 700; }

/* ---------- Prostori: property picker ---------- */
.props { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.prop {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--head); font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.prop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prop:hover { border-color: rgba(var(--hl-rgb), 0.5); color: var(--white); }
.prop.is-active { background: var(--hl); border-color: var(--hl); color: var(--dark); }
/* All panels share one grid cell, so switching never changes the height of the section. */
.has-props { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.has-props > .prop-panel { grid-area: 2 / 1; min-width: 0; transition: opacity 0.35s ease, visibility 0s; }
.has-props > .prop-panel.is-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0s 0.25s; }
.prop-grid { display: grid; gap: 12px; aspect-ratio: 3 / 2; }
.prop-grid .gallery-item, .prop-grid .gallery-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: auto; min-height: 0; }
.prop-grid-vik { grid-template-columns: 0.8fr 1fr 1fr; grid-template-rows: 1.25fr 1fr; }
.prop-grid-vik .prop-video { grid-row: span 2; display: flex; }
.prop-grid-vik .gallery-item.pg-wide { grid-column: span 2; }
.prop-video .work-media { aspect-ratio: auto; width: 100%; height: 100%; }
.prop-video .work-info { display: none; }
.prop-grid-stan { grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; }
.prop-grid-stan .gallery-item.pg-big { grid-row: span 2; }
@media (max-width: 600px) {
  .props { gap: 8px; }
  .prop { padding: 9px 13px 9px 11px; font-size: 13px; gap: 8px; }
  .prop svg { width: 18px; height: 18px; }
  .prop-grid { gap: 8px; }
  .prop-grid { aspect-ratio: 4 / 3; }
}
.prop-grid .gallery-item.pg-tall { grid-row: span 2; }

.prop-grid-six { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
@media (max-width: 600px) { .prop-grid-six { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); aspect-ratio: 1 / 1; } }

/* Campaign videos: two vertical players side by side */
.prop-grid-vids { display: flex; justify-content: center; gap: 16px; }
.prop-grid-vids .prop-video { height: 100%; aspect-ratio: 9 / 16; display: flex; }
@media (max-width: 600px) { .prop-grid.prop-grid-vids { aspect-ratio: 6 / 5; gap: 10px; } }

/* =====================================================================
   Categories: home cards + project blocks (photo and video together)
   ===================================================================== */
.kats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kat { flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4.3; color: var(--white); isolation: isolate; }
.kat-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.kat-media img, .kat-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.5s ease; }
.kat-media video { opacity: 0; }
.kat-media video.is-playing { opacity: 1; }
.kat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 14, 25, 0.15) 0%, rgba(9, 14, 25, 0.55) 45%, rgba(9, 14, 25, 0.96) 100%); }
.kat:hover .kat-media img, .kat:hover .kat-media video { transform: scale(1.06); }
.kat-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 22px; }
.kat-word { white-space: nowrap; font-family: var(--body); font-weight: 700; font-size: clamp(30px, 2.9vw, 46px); letter-spacing: -0.045em; line-height: 1; }
.kat-word .dot { color: var(--hl); display: inline-block; transition: transform 0.6s var(--ease); }
.kat:hover .kat-word .dot { transform: scale(1.5); }
.kat-text { color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.5; }
.kat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.kat-go { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); position: relative; transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.kat-go::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-70%, -50%) rotate(45deg); }
.kat:hover .kat-go { background: var(--hl); border-color: var(--hl); color: var(--dark); transform: translateX(3px); }
.kat-dizajn { margin-top: 18px; display: grid; }
.kat-dizajn .b-media-dizajn { flex-basis: 34%; min-height: 200px; }
@media (max-width: 1060px) { .kats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .kat { aspect-ratio: 3 / 3.6; } }
@media (max-width: 600px) { .kats { gap: 10px; } .kat { aspect-ratio: 3 / 4.6; } .kat-body { padding: 14px; gap: 6px; } .kat-text { font-size: 12.5px; } .kat-go { width: 32px; height: 32px; } .kat .b-tags { display: none; } .kat-word { font-size: min(30px, 6.3vw); } .kat-foot { justify-content: flex-end; margin-top: 2px; } }

.feats-section--tight { padding: 0 0 90px; }
body[data-page="nekretnine"] .spaces { background: var(--darker); }

.proj { padding: 110px 0; }
.proj--dark { background: var(--darker); }
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.proj-head h2 { font-size: clamp(30px, 3.6vw, 52px); }
.proj-meta { max-width: 430px; }
.proj-meta p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-tags span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--head); font-weight: 600; font-size: 12px; color: var(--muted); }
.proj-media { --h: clamp(340px, 34vw, 500px); display: flex; gap: 14px; }
.proj-vids { display: flex; gap: 14px; flex: none; }
.proj-vids .work { height: var(--h); aspect-ratio: 9 / 16; display: flex; }
.proj-photos { flex: 1; min-width: 0; height: var(--h); display: grid; gap: 14px; grid-template-rows: 1fr 1fr; }
.proj-photos .gallery-item, .proj-photos .gallery-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: auto; min-height: 0; }
.pp-5 { grid-template-columns: 1.3fr 1fr 1fr; }
.pp-5 .gallery-item:first-child { grid-row: span 2; }
.pp-ev { grid-template-columns: 0.8fr 1fr 1fr; grid-template-rows: 1.25fr 1fr; }
.pp-ev .gallery-item.pg-tall { grid-row: span 2; }
.pp-ev .gallery-item.pg-wide { grid-column: span 2; }
/* Empty photo slots for events whose photos are still coming */
.ph-grid { position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ph-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ph-grid .ph { aspect-ratio: 3 / 2; }
.ph-grid .ph-ico { width: 48px; height: 48px; }
.ph-grid .ph-ico svg { width: 22px; height: 22px; }
.proj-media .ph-grid { height: var(--h); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.proj-media .ph-grid .ph { aspect-ratio: auto; }
.proj-note { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 34px 38px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 42, 68, 0.45), rgba(30, 42, 68, 0.12)); }
.proj-note h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; margin-bottom: 18px; }
.proj-note .spaces-list { margin-bottom: 28px; }
.proj-note .btn { align-self: flex-start; }
.others-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.others-grid-4 .other-word { font-size: clamp(30px, 2.7vw, 44px); }
@media (max-width: 1060px) {
  .proj { padding: 80px 0; }
  .proj-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .others-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .proj-media { flex-direction: column; }
  .proj-vids { justify-content: center; }
  .proj-vids .work { height: auto; flex: 1; max-width: 260px; }
  .proj-photos { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .proj-photos .gallery-item, .proj-photos .gallery-item:first-child { aspect-ratio: 3 / 2; grid-row: auto; grid-column: auto; }
  .proj-photos.pp-5 .gallery-item:first-child, .proj-photos.pp-ev .gallery-item.pg-wide { grid-column: span 2; }
  .proj-photos.pp-ev .gallery-item.pg-tall { grid-row: span 2; aspect-ratio: auto; }
  .ph-grid, .ph-grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .proj-media .ph-grid { height: auto; grid-template-rows: none; }
  .proj-media .ph-grid .ph { aspect-ratio: 3 / 2; }
  .proj-note { padding: 26px 22px; }
}
@media (max-width: 600px) { .feats-section--tight { padding-bottom: 60px; } .others-grid-4 .other-word { font-size: 30px; } }

/* Long category words must fit the hero column */
body[data-page="biznisi"] .page-word { font-size: clamp(66px, 9.4vw, 150px); }
body[data-page="politika"] .page-word { font-size: clamp(60px, 8.4vw, 134px); }
body[data-page="nekretnine"] .page-word { font-size: clamp(52px, 6.5vw, 104px); }
@media (max-width: 1060px) {
  body[data-page="biznisi"] .page-word { font-size: clamp(66px, 17vw, 130px); }
  body[data-page="politika"] .page-word { font-size: clamp(60px, 15.5vw, 120px); }
  body[data-page="nekretnine"] .page-word { font-size: clamp(52px, 12.6vw, 100px); }
}
/* Four "other areas" cards: arrow sits under the text instead of over the word */
.others-grid-4 .other { padding: 26px 24px 78px; }
.others-grid-4 .other-go { top: auto; right: auto; left: 24px; bottom: 22px; width: 40px; height: 40px; }
.others-grid-4 .other-go::before { width: 9px; height: 9px; }
.others-grid-4 .other-text { font-size: 14px; }
@media (max-width: 600px) {
  .others-grid-4 { gap: 10px; }
  .others-grid-4 .other { padding: 18px 16px 64px; }
  .others-grid-4 .other-word { font-size: 24px; }
  .others-grid-4 .other-go { left: 16px; bottom: 16px; width: 34px; height: 34px; }
}

/* ---------- Nekretnine: price calculator ---------- */
.offer { padding: 110px 0; background: var(--darker); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.offer-steps { display: grid; gap: 26px; }
.offer-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.offer-step legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0; margin-bottom: 14px; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--white); }
.offer-step legend i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--hl-rgb), 0.1); border: 1px solid rgba(var(--hl-rgb), 0.35); color: var(--hl); font-style: normal; font-size: 14px; }
.offer-step legend span { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--muted); }
.opt { display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: border-color 0.3s, background-color 0.3s; }
.opt:hover .opt-card { border-color: rgba(var(--hl-rgb), 0.45); }
.opt input:checked + .opt-card { border-color: var(--hl); background: rgba(var(--hl-rgb), 0.1); }
.opt input:checked + .opt-card .opt-ico { background: var(--hl); border-color: var(--hl); }
.opt input:checked + .opt-card .opt-ico svg { stroke: var(--dark); }
.opt input:checked + .opt-card .opt-copy span { color: rgba(255, 255, 255, 0.82); }
.opt input:checked + .opt-card .opt-price { color: var(--hl); }
.opt input:focus-visible + .opt-card { box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.35); }
.opt-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(var(--hl-rgb), 0.08); border: 1px solid rgba(var(--hl-rgb), 0.25); }
.opt-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--hl); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.opt-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.opt-copy b { font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--white); }
.opt-copy span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.opt-price { flex: none; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--white); font-variant-numeric: tabular-nums; }
.opt-mark { flex: none; position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); transition: background-color 0.3s, border-color 0.3s; }
.opt input[type="checkbox"] + .opt-card .opt-mark { border-radius: 7px; }
.opt-mark::after { content: ""; position: absolute; left: 50%; top: 46%; width: 10px; height: 5px; border-left: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: translate(-50%, -50%) rotate(-45deg) scale(0); transition: transform 0.3s var(--ease); }
.opt input:checked + .opt-card .opt-mark { background: var(--hl); border-color: var(--hl); }
.opt input:checked + .opt-card .opt-mark::after { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
.offer-sum { position: sticky; top: 96px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 42, 68, 0.6), rgba(30, 42, 68, 0.2)); }
.offer-sum-k { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hl); margin-bottom: 14px; }
/* Room for all four rows, so the card never changes height while choosing. */
.offer-list { list-style: none; display: grid; gap: 8px; min-height: 130px; align-content: start; margin-bottom: 16px; }
.offer-list li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-left: 22px; font-family: var(--head); font-weight: 700; font-size: 15px; }
.offer-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--hl); }
.offer-list li b { flex: none; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.offer-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.offer-total b { font-size: 36px; font-weight: 800; color: var(--hl); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.offer-note { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.offer-sum .btn { width: 100%; justify-content: center; text-align: center; }
.offer-fine { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); text-align: center; }
@media (max-width: 1060px) { .offer { padding: 80px 0; } .offer-grid { grid-template-columns: 1fr; } .offer-sum { position: static; } }
@media (max-width: 600px) { .opt-card { padding: 14px; gap: 12px; } .opt-ico { width: 38px; height: 38px; } .opt-copy b { font-size: 15px; } .opt-copy span { font-size: 13px; } .opt-price { font-size: 14px; } .opt-mark { display: none; } .offer-sum { padding: 22px 18px; } }
.offer-bar { display: none; }
@media (max-width: 1060px) {
  .offer-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: baseline; padding: 12px 18px; border-radius: 14px; background: #101a2e; border: 1px solid rgba(var(--hl-rgb), 0.4); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); font-family: var(--head); font-weight: 700; font-size: 14px; }
  .offer-bar b { font-size: 22px; font-weight: 800; color: var(--hl); font-variant-numeric: tabular-nums; }
}

/* ---------- Legal pages + footer legal links ---------- */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.legal { padding: 170px 0 110px; }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; margin-bottom: 14px; }
.legal-date { font-size: 14px; color: rgba(255, 255, 255, 0.45); margin-bottom: 34px; }
.legal h2 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal li::marker { color: var(--hl); }
.legal b { color: var(--white); font-weight: 600; }
.legal-inner a { color: var(--hl); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .legal { padding: 130px 0 80px; } }

/* ---------- Pickers: stretch across a full-width gallery, centre over a narrow one ---------- */
.spaces-visual .props .prop { flex: 1 1 auto; justify-content: center; }
.cat-visual .props { justify-content: center; }
.cat-visual .cat-cap { text-align: center; }

/* ---------- Nekretnine: Google Maps + NFC sections ---------- */
.extra { padding: 130px 0; overflow: hidden; }
.extra--dark { background: var(--darker); }
.extra .spaces-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.extra .section-sub { margin-bottom: 30px; }
.extra-visual { display: grid; place-items: center; min-width: 0; }
.mock-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; border-radius: 8px; background: rgba(13, 20, 34, 0.8); font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; }
.stars svg { width: 15px; height: 15px; fill: var(--hl); }
.gm { position: relative; width: min(100%, 440px); border-radius: 24px; overflow: hidden; background: rgba(30, 42, 68, 0.55); border: 1px solid var(--line); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 24px 50px -28px rgba(var(--hl-rgb), 0.4); }
.gm-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gm-body { display: flex; gap: 14px; align-items: flex-start; padding: 20px 20px 14px; }
.gm-pin { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hl); }
.gm-pin svg { width: 22px; height: 22px; fill: none; stroke: var(--dark); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gm-info { display: grid; gap: 3px; min-width: 0; }
.gm-info b { font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--white); }
.gm-rate { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--white); }
.gm-sub { font-size: 13.5px; color: var(--muted); }
.gm-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 20px 16px; }
.gm-actions span { padding: 9px 4px; border-radius: 999px; border: 1px solid rgba(var(--hl-rgb), 0.35); color: var(--hl); font-family: var(--head); font-weight: 700; font-size: 13px; text-align: center; }
.gm-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 20px 20px; }
.gm-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.nfc { display: grid; justify-items: center; gap: 44px; width: 100%; }
.nfc-card { position: relative; display: grid; justify-items: center; align-content: center; gap: 12px; width: min(100%, 400px); aspect-ratio: 1.586; padding: 24px; border-radius: 24px; text-align: center; background: linear-gradient(135deg, #1E2A44, #0D1422); border: 1px solid rgba(var(--hl-rgb), 0.45); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 24px 60px -24px rgba(var(--hl-rgb), 0.5); transform: rotate(-4deg); }
.nfc-card b { font-family: var(--head); font-weight: 800; font-size: clamp(18px, 2vw, 24px); color: var(--white); }
.nfc-card .stars svg { width: 22px; height: 22px; }
.nfc-hint { font-size: 13px; color: var(--muted); }
.nfc-wave { position: absolute; top: 18px; right: 20px; }
.nfc-wave svg { display: block; width: 30px; height: 30px; fill: none; stroke: var(--hl); stroke-width: 1.8; stroke-linecap: round; }
.nfc-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.nfc-steps li { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--white); }
.nfc-steps i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(var(--hl-rgb), 0.45); color: var(--hl); font-style: normal; font-size: 13px; }
@media (min-width: 1061px) { .extra--flip .extra-visual { order: -1; } }
@media (max-width: 1060px) { .extra { padding: 80px 0; } .extra .spaces-inner { grid-template-columns: 1fr; } }

/* arrow sits dead centre in its circle, whatever the circle size */
.other-go::before { position: absolute; inset: 0; margin: auto; }
.footer-brand .ig-link + .ig-link { margin-top: 10px; }
.footer-brand .ig-link { display: flex; width: fit-content; }
.nfc { gap: 18px; }
.nfc-stand { display: block; width: min(100%, 400px); height: auto; }
.footer-made { display: inline-flex; align-items: center; gap: 6px; }
.footer-made .heart { color: var(--hl); }
.ba-flag { width: 21px; height: 14px; }
/* One-column layouts: a hidden picker panel takes no room (no blank gap under a short gallery),
   and the four property buttons sit in a tidy 2 x 2 grid. */
@media (max-width: 1060px) { .has-props > .prop-panel.is-off { display: none; } }
@media (max-width: 600px) { .spaces-visual .props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
