/* =========================================================
   CityView d.o.o. — styles
   Paleta: crna + žuta
   ========================================================= */
:root {
  --bg: #0A0A0A;          /* glavna pozadina */
  --bg-2: #121212;        /* sekcije / paneli */
  --bg-3: #1B1B1B;        /* kartice */
  --line: rgba(255,255,255,.1);
  --line-2: rgba(255,255,255,.18);
  --text: #F5F2EA;
  --text-2: #CFCBC1;
  --muted: #8E8A80;
  --yellow: #FFD000;
  --yellow-2: #FFE14D;
  --yellow-deep: #F2B700;
  --yellow-soft: rgba(255,208,0,.14);
  --black: #0A0A0A;
  --error: #FF6B5B;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
::selection { background: var(--yellow); color: var(--black); }

/* Subtle grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.section-tag {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
}
em { font-style: italic; }
.hl {
  font-style: italic;
  position: relative;
  color: var(--yellow);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--text); --fg: var(--black);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 100px;
  font-weight: 700; font-size: 15px;
  background: var(--bg); color: var(--fg);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(0);
  transition: transform .6s var(--ease);
  background: var(--hover-bg, var(--yellow));
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1.2); }
.btn--primary { --bg: var(--yellow); --fg: var(--black); --hover-bg: var(--text); box-shadow: 0 10px 34px -10px rgba(255,208,0,.55); }
.btn--primary:hover { color: var(--black); }
.btn--ghost { --bg: transparent; --fg: var(--text); border: 1.5px solid var(--line-2); --hover-bg: var(--yellow); }
.btn--ghost:hover { color: var(--black); border-color: var(--yellow); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 19px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__arrow, .btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--yellow); color: var(--black);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__inner { text-align: center; }
.preloader__logo { font-family: var(--font-display); font-size: clamp(56px, 10vw, 130px); line-height: 1; display: flex; justify-content: center; overflow: hidden; }
.preloader__logo span { display: inline-block; transform: translateY(110%); animation: letterUp .9s var(--ease) forwards; }
.preloader__logo span.accent { font-style: italic; }
.preloader__logo span:nth-child(1){animation-delay:.05s}.preloader__logo span:nth-child(2){animation-delay:.1s}.preloader__logo span:nth-child(3){animation-delay:.15s}.preloader__logo span:nth-child(4){animation-delay:.2s}.preloader__logo span:nth-child(5){animation-delay:.25s}.preloader__logo span:nth-child(6){animation-delay:.3s}.preloader__logo span:nth-child(7){animation-delay:.35s}.preloader__logo span:nth-child(8){animation-delay:.4s}
@keyframes letterUp { to { transform: translateY(0); } }
.preloader__bar { width: min(320px, 70vw); height: 2px; background: rgba(0,0,0,.15); margin: 28px auto 14px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--black); }
.preloader__count { font-size: 13px; letter-spacing: .2em; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid var(--text);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s var(--ease), border-color .4s, opacity .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--yellow); }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,208,0,.18); border-color: var(--yellow); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--yellow); border-color: var(--yellow); }
.cursor__label { font-size: 12px; font-weight: 800; color: var(--black); opacity: 0; transition: opacity .3s; text-align: center; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--yellow-2), var(--yellow-deep)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 150;
  transform: translate(-50%, -150%);
  width: min(var(--container), 100% - 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 22px;
  border-radius: 100px;
  background: rgba(14,14,14,.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  transition: transform 1s var(--ease), box-shadow .4s, background .4s;
}
body.is-ready .nav { transform: translate(-50%, 0); }
.nav.is-hidden { transform: translate(-50%, -150%) !important; }
.nav.is-scrolled { box-shadow: 0 10px 40px -15px rgba(0,0,0,.8); background: rgba(14,14,14,.9); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -.01em; }
.nav__logo strong { color: var(--yellow); font-weight: 800; }
.nav__mark { width: 30px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linejoin: round; }
.nav__mark path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.6s var(--ease) 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500; border-radius: 100px; color: var(--text-2); transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--black); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 140;
  background: var(--yellow); color: var(--black);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease-in-out);
  display: flex; align-items: center; padding: 0 32px;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--font-display); font-size: clamp(44px, 12vw, 72px); line-height: 1.1; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s var(--ease); }
.menu__links a span { font-family: var(--font-body); font-size: 13px; font-weight: 700; opacity: .55; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1){transition-delay:.25s}.menu.is-open .menu__links a:nth-child(2){transition-delay:.3s}.menu.is-open .menu__links a:nth-child(3){transition-delay:.35s}.menu.is-open .menu__links a:nth-child(4){transition-delay:.4s}.menu.is-open .menu__links a:nth-child(5){transition-delay:.45s}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 260px;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__blob--1 { width: 520px; height: 520px; background: rgba(255,208,0,.22); top: -140px; right: -120px; animation: float 14s ease-in-out infinite; }
.hero__blob--2 { width: 420px; height: 420px; background: rgba(255,225,77,.08); bottom: 80px; left: -140px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-40px, 40px) scale(1.1);} }

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 12px; border-radius: 100px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 34px;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(54px, 9.6vw, 156px);
  line-height: .92; letter-spacing: -.035em;
  margin: 0 0 34px;
}
.hero__title .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .1em;
  background: var(--yellow); opacity: .35; z-index: -1; border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease) 1.6s;
}
body.is-ready .hero__title .hl::after { transform: scaleX(1); }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2); margin: 0 0 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 360px; z-index: 1; pointer-events: none; }
.skyline svg { width: 100%; height: 100%; }
.skyline__back rect.b { fill: #141414; }
.skyline__front rect.b { fill: #1A1A1A; stroke: rgba(245,242,234,.55); stroke-width: 1.5; }
.skyline__front rect.b, .skyline__front path.b { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
body.is-ready .skyline__front rect.b, body.is-ready .skyline__front path.b { animation: draw 2.4s var(--ease) forwards; animation-delay: var(--delay); }
.skyline__front path.b { fill: none; stroke: rgba(245,242,234,.55); stroke-width: 1.5; }
.skyline rect.w { fill: var(--yellow); opacity: 0; transition: opacity .6s; }
.skyline rect.w.on { opacity: .9; filter: drop-shadow(0 0 4px rgba(255,208,0,.6)); }
.skyline__ground { stroke: var(--yellow); stroke-width: 2; }
.skyline__back { transform-origin: bottom; }

.hero__scroll { position: absolute; right: 40px; bottom: 40px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--text-2); }
.hero__scroll i { width: 1.5px; height: 60px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--yellow); animation: scrollLine 1.8s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Split text ---------- */
.split-line { display: inline-block; vertical-align: top; overflow: hidden; padding: 0 .04em .1em; margin: 0 -.04em -.1em; }
.split-word { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--base, 0ms)); }
.is-in .split-word { transform: none; }

/* ---------- Reveal ---------- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-up.is-in { opacity: 1; transform: none; }
.hero .reveal-up { transition-delay: calc(var(--d, .7s)); }
.reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--yellow); color: var(--black);
  padding: 26px 0; overflow: hidden;
  transform: rotate(-2deg) scale(1.04);
  margin: -20px 0 0; position: relative; z-index: 3;
}
.marquee__track { display: flex; gap: 40px; width: max-content; align-items: center; font-family: var(--font-display); font-size: clamp(30px, 4vw, 56px); white-space: nowrap; will-change: transform; }
.marquee__track b { font-size: .6em; font-weight: 400; }
.marquee__track span:nth-of-type(even) { font-style: italic; }

/* ---------- Manifest ---------- */
.manifest { padding: clamp(120px, 18vw, 220px) 0; }
.manifest__text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.12; letter-spacing: -.015em;
  margin: 0; max-width: 1150px;
}
.manifest__text .w { opacity: .15; transition: opacity .3s, color .3s; }
.manifest__text .w.on { opacity: 1; }
.manifest__text .hl-word .w.on { color: var(--yellow); font-style: italic; }

/* ---------- Services (horizontal) ---------- */
.services { position: relative; background: var(--bg-2); color: var(--text); border-radius: 48px 48px 0 0; border-top: 1px solid var(--line); }
.services__pin { position: relative; }
.services__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding-top: 60px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.services__counter { font-size: 14px; letter-spacing: .15em; color: var(--muted); font-variant-numeric: tabular-nums; }
.services__counter span { color: var(--yellow); font-size: 28px; font-family: var(--font-display); letter-spacing: 0; }
.services__track { display: flex; gap: 28px; padding-left: max(24px, calc((100vw - var(--container)) / 2)); padding-right: 10vw; will-change: transform; }
.service-card {
  flex: 0 0 clamp(300px, 30vw, 420px);
  min-height: 440px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .4s;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,208,0,.14), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(255,208,0,.5); }
.service-card--accent, .service-card--dark { color: var(--black); }
.service-card--accent { background: var(--yellow); }
.service-card--dark { background: var(--text); }
.service-card--accent .service-card__icon svg, .service-card--dark .service-card__icon svg { stroke: var(--black); }
.service-card--accent ul li, .service-card--dark ul li { border-color: rgba(0,0,0,.2) !important; }
.service-card--accent .service-card__num, .service-card--dark .service-card__num { color: rgba(0,0,0,.5); }
.service-card--accent::before, .service-card--dark::before { display: none; }
.service-card__num { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.service-card__icon { margin: 38px 0 30px; }
.service-card__icon svg { width: 60px; height: 60px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; margin: 0 0 16px; }
.service-card p { margin: 0 0 24px; opacity: .8; font-size: 16px; }
.service-card ul { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-card ul li { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 100px; }
.services__progress { height: 2px; background: var(--line); position: relative; }
.services__progress span { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(0); }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); color: var(--text); padding: 40px 0 140px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 40px 28px 0 0; border-right: 1px solid var(--line); padding-left: 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(56px, 6vw, 96px); line-height: 1; color: var(--yellow); display: flex; align-items: baseline; }
.stat__num small { font-size: .38em; color: var(--text); margin-left: 4px; }
.stat__num small:first-child { margin: 0 4px 0 0; }
.stat p { margin: 14px 0 0; font-size: 15px; color: var(--muted); max-width: 240px; }

/* ---------- Process ---------- */
.process { padding: clamp(120px, 14vw, 180px) 0; background: var(--bg); border-radius: 48px 48px 0 0; margin-top: -48px; position: relative; border-top: 1px solid var(--line); }
.process__head { margin-bottom: 80px; }
.process__list { position: relative; max-width: 980px; margin-left: auto; }
.process__line { position: absolute; left: 13px; top: 0; height: 100%; width: 4px; overflow: visible; }
.process__line line { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; }
.process__list::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 72px 70px; opacity: .25; transition: opacity .8s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step.is-active { opacity: 1; }
.step__dot { position: absolute; left: 4px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: all .6s var(--ease); }
.step.is-active .step__dot { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 8px var(--yellow-soft); }
.step__num { font-family: var(--font-display); font-size: 64px; line-height: .9; color: #3A3A3A; transition: color .6s; }
.step.is-active .step__num { color: var(--yellow); }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); margin: 0 0 10px; line-height: 1.05; }
.step p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- Work ---------- */
.work { padding: 60px 0 clamp(120px, 14vw, 180px); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 80px; }
.work__intro { max-width: 380px; color: var(--muted); margin: 0; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.project { display: block; }
.project--offset { margin-top: 120px; }
.project__media {
  aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); position: relative;
  display: grid; place-items: center;
  will-change: transform;
  border: 1px solid var(--line);
}
.project:nth-child(1) .project__media { background: #1C1C1C; }
.project:nth-child(2) .project__media { background: var(--yellow); border-color: var(--yellow); }
.project:nth-child(3) .project__media { background: #151515; }
.project:nth-child(4) .project__media { background: #222; }
.project__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 4px 0; }
.project__info h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin: 0; line-height: 1.1; transition: color .4s; }
.project__info span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.project:hover .project__info h3 { color: var(--yellow); }

.mock {
  width: 78%; aspect-ratio: 16/11;
  background: #FAF9F5; border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  transition: transform 1s var(--ease);
  display: flex; flex-direction: column;
}
.project:hover .mock { transform: scale(1.05) rotate(-1.5deg); }
.mock__bar { height: 22px; background: #ECEAE4; display: flex; align-items: center; gap: 5px; padding: 0 10px; flex: none; }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: #C9C5BC; }
.mock--restaurant .mock__hero { flex: 1; background: linear-gradient(135deg, #111, #2B2B2B); display: flex; flex-direction: column; justify-content: center; padding: 0 9%; gap: 12px; }
.mock__title { font-family: var(--font-display); color: var(--text); font-size: clamp(20px, 2.6vw, 38px); line-height: .95; }
.mock__title em { color: var(--yellow); }
.mock__btn { width: 30%; height: 12px; border-radius: 10px; background: var(--yellow); }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; height: 28%; }
.mock__row span { background: #E8E5DD; border-radius: 6px; }
.mock__shop { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; }
.mock__product { display: flex; flex-direction: column; gap: 6px; }
.mock__product b { flex: 1; border-radius: 8px; background: #E8E5DD; }
.mock__product:nth-child(2) b { background: var(--yellow); }
.mock__product:nth-child(4) b { background: #2A2A2A; }
.mock__product span { height: 7px; width: 80%; background: #DDD9D0; border-radius: 4px; }
.mock__product em { height: 14px; width: 50%; background: #111; border-radius: 6px; }
.mock__corp { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; align-items: center; }
.mock__corp-text { display: flex; flex-direction: column; gap: 8px; }
.mock__corp-text span { height: 10px; background: #111; border-radius: 4px; }
.mock__corp-text span.short { width: 60%; background: #CFCAC0; }
.mock__corp-text b { width: 50%; height: 16px; border-radius: 10px; background: var(--yellow); margin-top: 8px; }
.mock__chart { height: 80%; display: flex; align-items: flex-end; gap: 8%; padding: 10px; background: #F0EEE8; border-radius: 10px; }
.mock__chart i { flex: 1; height: 0; background: var(--yellow); border-radius: 4px 4px 0 0; transition: height 1.4s var(--ease); }
.mock__chart i:nth-child(4) { background: #111; }
.is-in .mock__chart i { height: var(--h); }
.mock__estate { flex: 1; display: flex; flex-direction: column; padding: 14px; gap: 12px; background: linear-gradient(#FFE780 45%, #FAF9F5 45%); }
.mock__search { display: flex; gap: 8px; background: #FAF9F5; border-radius: 10px; padding: 8px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); margin: 6% 10% 0; }
.mock__search span { flex: 1; background: #EEECE6; border-radius: 6px; height: 16px; }
.mock__search b { width: 22%; background: #111; border-radius: 6px; }
.mock__cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__cards div { background: #E8E5DD; border-radius: 8px; }
.mock__cards div:nth-child(2) { background: #2A2A2A; }

/* ---------- Why ---------- */
.why { padding: 0 0 clamp(120px, 14vw, 180px); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { padding: 34px 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s, border-color .4s; }
.why__item:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(255,208,0,.25); border-color: rgba(255,208,0,.5); background: var(--bg-3); }
.why__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); color: var(--black); display: grid; place-items: center; font-size: 22px; margin-bottom: 26px; transition: transform .6s var(--ease); }
.why__item:hover .why__icon { transform: rotate(-10deg) scale(1.1); }
.why__item h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Team ---------- */
.team { padding: clamp(100px, 12vw, 160px) 0; background: var(--bg-2); border-radius: 48px; border: 1px solid var(--line); }
.team__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20px 60px; margin-bottom: 80px; }
.team__head .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.team__intro { color: var(--muted); margin: 0; max-width: 440px; justify-self: end; }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.member { position: relative; display: flex; flex-direction: column; gap: 34px; padding: 44px; border-radius: 32px; background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .5s, border-color .5s; }
.member::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.member::after { content: ""; position: absolute; width: 340px; height: 340px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,208,0,.12), transparent 70%); pointer-events: none; }
.member:hover { box-shadow: 0 40px 80px -40px rgba(255,208,0,.25); border-color: rgba(255,208,0,.4); }
.member:hover::before { transform: scaleX(1); }
.member__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.member__title { display: block; margin: 12px 0 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--yellow); }
.member__skills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.member__skills li { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--text-2); }
.team__quote { margin: 48px 0 0; padding: 48px clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--yellow); color: var(--black); display: grid; grid-template-columns: 1fr auto; gap: 24px 60px; align-items: end; }
.team__quote p { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); line-height: 1.15; letter-spacing: -.01em; }
.team__quote footer { display: flex; flex-direction: column; text-align: right; font-size: 14px; white-space: nowrap; }
.team__quote footer strong { font-size: 16px; }
.team__quote footer span { opacity: .65; }
.member__photo { position: relative; width: 150px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--yellow-2), var(--yellow-deep)); display: grid; place-items: center; margin: 12px; }
.member__photo--alt { background: linear-gradient(135deg, #3A3A3A, #111); border: 1px solid var(--line-2); }
.member__initials { font-family: var(--font-display); font-size: 64px; color: var(--black); letter-spacing: -.03em; transition: transform .8s var(--ease); }
.member__photo--alt .member__initials { color: var(--yellow); }
.member:hover .member__initials { transform: scale(1.12) rotate(-6deg); }
.member__ring { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); fill: none; stroke: var(--yellow); stroke-width: 1; stroke-dasharray: 4 8; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.member h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4vw, 56px); margin: 0; line-height: 1; }
.member__role { display: inline-block; padding: 6px 16px; font-size: 13px; font-weight: 700; border-radius: 100px; background: var(--yellow); color: var(--black); }
.member p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; }
.cta-band__inner { width: min(var(--container), 100% - 48px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(54px, 9vw, 150px); line-height: .92; letter-spacing: -.03em; margin: 0; transform-origin: left center; }
.cta-band__title em { color: var(--yellow); }
.cta-circle { flex: none; position: relative; width: 200px; height: 200px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: background .5s var(--ease); }
.cta-circle:hover { background: var(--text); }
.cta-circle__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.cta-circle__text text { font-size: 15.5px; font-weight: 800; letter-spacing: .2em; fill: var(--black); }
.cta-circle__arrow { width: 54px; height: 54px; fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linecap: round; transition: transform .6s var(--ease); }
.cta-circle:hover .cta-circle__arrow { transform: rotate(45deg); }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 12vw, 160px) 0; background: var(--bg-2); color: var(--text); border-radius: 48px 48px 0 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact__aside { position: sticky; top: 120px; }
.contact__aside > p { color: var(--muted); margin: 28px 0 40px; max-width: 420px; }
.contact__list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.contact__list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--muted); font-size: 14px; }
.contact__list a, .contact__list p { margin: 0; font-weight: 600; transition: color .3s; }
.contact__list a:hover { color: var(--yellow); }
.contact__phones { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.phone { display: flex; flex-direction: column; line-height: 1.3; }
.contact__phones .phone { align-items: flex-end; }
.phone__name { font-size: 12px; font-weight: 500; opacity: .6; letter-spacing: .02em; }
.footer__cols .phone { display: flex; margin-bottom: 10px; }
.contact__people { display: flex; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; font-weight: 800; border: 3px solid var(--bg-2); }
.avatar--alt { background: var(--text); margin-left: -14px; }
.contact__people p { margin: 0 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.contact__people strong { color: var(--text); }

.contact__card { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 3.4vw, 44px); position: relative; overflow: hidden; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 6px; margin-bottom: 34px; }
.tabs__btn { position: relative; z-index: 1; padding: 14px 10px; border-radius: 100px; font-weight: 700; font-size: 15px; transition: color .4s; }
.tabs__btn.is-active { color: var(--black); }
.tabs__btn:not(.is-active) { color: var(--muted); }
.tabs__btn:not(.is-active):hover { color: var(--text); }
.tabs__indicator { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 100px; background: var(--yellow); box-shadow: 0 8px 20px -8px rgba(255,208,0,.5); transition: transform .6s var(--ease); }
.tabs[data-active="meeting"] .tabs__indicator { transform: translateX(100%); }

.form { display: none; }
.form.is-active { display: block; animation: formIn .7s var(--ease); }
@keyframes formIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
fieldset { border: 0; margin: 0 0 26px; padding: 0; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 500; transition: all .3s var(--ease); background: var(--bg); color: var(--text-2); }
.chips label:hover span { border-color: var(--yellow); color: var(--text); }
.chips input:checked + span { background: var(--yellow); color: var(--black); border-color: var(--yellow); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.chips--time { display: grid; grid-template-columns: repeat(6, 1fr); }
.chips--time span { width: 100%; text-align: center; padding: 10px 4px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 24px 18px 10px;
  background: var(--bg); color: var(--text);
  border: 1.5px solid var(--line); border-radius: 14px;
  outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 110px; }
.field label { position: absolute; left: 19px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 12px; font-weight: 600; color: var(--yellow); }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--bg) inset; -webkit-text-fill-color: var(--text); }
.field.is-error input, .field.is-error textarea { border-color: var(--error); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 24px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); flex: none; }
.consent.is-error { color: var(--error); }
.form__msg { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; text-align: center; color: var(--error); }
.btn.is-loading { pointer-events: none; opacity: .7; }

.calendar { background: var(--bg); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; }
.calendar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calendar__head strong { text-transform: capitalize; }
.calendar__nav { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-3); font-size: 20px; line-height: 1; transition: background .3s, color .3s; }
.calendar__nav:hover:not(:disabled) { background: var(--yellow); color: var(--black); }
.calendar__nav:disabled { opacity: .3; cursor: default; }
.calendar__week, .calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendar__week span { font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.calendar__days button { aspect-ratio: 1; max-height: 46px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: all .25s var(--ease); }
.calendar__days button:hover:not(:disabled) { background: var(--yellow-soft); color: var(--yellow); }
.calendar__days button:disabled { color: rgba(255,255,255,.18); cursor: default; }
.calendar__days button.is-today { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.calendar__days button.is-selected { background: var(--yellow); color: var(--black); transform: scale(1.05); }
.calendar.is-error { border-color: var(--error); }

.success { position: absolute; inset: 0; background: var(--bg-3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.success.is-visible { opacity: 1; visibility: visible; }
.success__check { width: 110px; height: 110px; fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.success__check circle { stroke-dasharray: 230; stroke-dashoffset: 230; }
.success__check path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.success.is-visible .success__check circle { animation: draw 1s var(--ease) .2s forwards; }
.success.is-visible .success__check path { animation: draw .6s var(--ease) .9s forwards; }
.success h3 { font-family: var(--font-display); font-weight: 400; font-size: 48px; margin: 0 0 10px; }
.success p { color: var(--muted); max-width: 380px; margin: 0 0 28px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 12vw, 160px) 0; background: var(--bg-2); color: var(--text); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; border-top: 1px solid var(--line); padding-top: 80px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--yellow); }
.faq__item summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: all .5s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary i { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__body { overflow: hidden; }
.faq__body p { margin: 0; padding: 0 60px 28px 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--yellow); color: var(--black); padding: 100px 0 30px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding-bottom: 60px; }
.footer__cta p { margin: 0 0 12px; font-weight: 700; }
.footer__mail { font-family: var(--font-display); font-size: clamp(40px, 5vw, 76px); line-height: 1; display: inline-flex; gap: 16px; border-bottom: 2px solid var(--black); padding-bottom: 6px; }
.footer__mail span { transition: transform .5s var(--ease); }
.footer__mail:hover span { transform: translateX(12px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.footer__cols a, .footer__cols p { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__big { font-family: var(--font-display); font-size: clamp(90px, 22vw, 340px); line-height: .8; letter-spacing: -.045em; text-align: center; white-space: nowrap; margin: 20px 0 30px; overflow: hidden; padding-bottom: .04em; }
.footer__big .fl { display: inline-block; transform: translateY(100%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.footer__big.is-in .fl { transform: none; }
.footer__big .fl:nth-child(n+5) { font-style: italic; color: transparent; -webkit-text-stroke: 2px var(--black); }
.footer__legal-info { margin: 0 0 18px; font-size: 12px; line-height: 1.6; opacity: .7; max-width: 980px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; font-weight: 600; border-top: 1px solid rgba(0,0,0,.2); padding-top: 24px; }
.footer__top-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__aside { position: static; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  body { font-size: 16px; }
  .nav__meet { display: none; }
  .hero { padding: 120px 0 220px; }
  .skyline { height: 220px; }
  .hero__scroll { display: none; }
  .services__sticky { position: static; height: auto; padding: 100px 0 40px; }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__counter, .services__progress { display: none; }
  .services__track { flex-direction: column; padding: 0 24px; transform: none !important; }
  .service-card { flex: none; min-height: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 16px 30px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .step { grid-template-columns: 1fr; gap: 6px; padding-left: 56px; }
  .step__num { font-size: 40px; }
  .work__head, .team__head { display: block; }
  .work__intro, .team__intro { margin-top: 20px; }
  .work__grid { grid-template-columns: 1fr; }
  .project--offset { margin-top: 0; }
  .why__grid { grid-template-columns: 1fr; }
  .member { padding: 32px 24px; }
  .member__photo { width: 120px; }
  .member__initials { font-size: 52px; }
  .team__quote { grid-template-columns: 1fr; }
  .team__quote footer { text-align: left; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-circle { width: 150px; height: 150px; }
  .cta-circle__text text { font-size: 15px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .chips--time { grid-template-columns: repeat(3, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 30px; }
  .faq__body p { padding-right: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__big .fl:nth-child(n+5) { -webkit-text-stroke-width: 1.5px; }
  .services, .process, .contact { border-radius: 32px 32px 0 0; }
  .team { border-radius: 32px; }
}

/* ---------- Politika privatnosti ---------- */
.legal { padding: 170px 0 120px; }
.legal__inner { max-width: 820px; }
.legal .h2 { margin-bottom: 14px; }
.legal__updated { color: var(--muted); font-size: 14px; margin: 0 0 56px; }
.legal section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 38px); margin: 0 0 16px; line-height: 1.1; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--yellow); }
.legal strong { color: var(--text); }
.legal a:not(.btn) { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.legal__card { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--yellow); border-radius: 14px; padding: 20px 24px; line-height: 1.8; }
.legal__card strong, .legal__card span { display: block; }
.legal__card span:empty { display: none; }
.legal__back { margin-top: 30px; }
.legal-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.legal-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal-footer a:hover { color: var(--yellow); }
.legal-page .nav { transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; gap: 22px; background: radial-gradient(ellipse at 50% 30%, rgba(255,208,0,.12), transparent 60%); }
.notfound__num { font-family: var(--font-display); font-size: clamp(120px, 26vw, 300px); line-height: .8; color: var(--yellow); letter-spacing: -.04em; }
.notfound__num em { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.notfound p { color: var(--muted); margin: 0 0 10px; }

/* ---------- Pravna napomena u podnožju ---------- */
.footer__legal { text-decoration: underline; text-underline-offset: 3px; }
.consent a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }

/* Skriveno polje protiv spama */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .split-word, .reveal-up, .reveal-clip { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}
