﻿/* =========================================================
   FLUX — stil sajta
   Boje i fontovi su definisani odmah ispod (:root).
   ========================================================= */

:root {
  /* zvanična paleta */
  --blue: #0061FF;
  --blue-deep: #0047CC;
  --glow: #1683FF;
  --black: #000000;
  --ink: #080A0F;
  --white: #FFFFFF;
  --gray: #B8BEC8;

  /* izvedeno */
  --panel: #0C0F16;
  --panel-2: #111622;
  --line: rgba(184, 190, 200, .14);
  --line-strong: rgba(184, 190, 200, .28);
  --gray-dim: #8A919C;

  --f-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fino zrno preko cele strane */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--white); }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- tipografija ---------- */
.display, h1, h2 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .005em;
  margin: 0;
}
h1 { font-size: clamp(64px, 11vw, 168px); }
h2 { font-size: clamp(46px, 7vw, 104px); }
h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--gray); max-width: 34em; }
.muted { color: var(--gray); }
.blue { color: var(--glow); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 12px var(--glow);
}
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; }

/* ---------- dugmad ---------- */
.btn {
  --bg: var(--blue);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  /* bez transition na transform — sudara se sa animacijama pojavljivanja */
  transition: box-shadow .4s var(--ease);
  box-shadow: 0 0 0 0 rgba(22, 131, 255, 0);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--blue-deep), var(--glow));
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn:hover { box-shadow: 0 10px 40px -8px rgba(22, 131, 255, .7); }
.btn:hover::before { opacity: 1; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--glow); box-shadow: none; }
.btn--ghost::before { background: rgba(22, 131, 255, .12); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- zaglavlje ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 34px; height: auto; filter: drop-shadow(0 0 10px rgba(22, 131, 255, .55)); }
.logo__word { width: 74px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
@media (max-width: 1100px) { .nav { gap: 22px; } }
.nav a {
  position: relative;
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--gray);
  transition: color .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--glow); box-shadow: 0 0 10px var(--glow);
}
.menu-btn { display: none; }

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 22px;
    background: rgba(0, 0, 0, .96);
    opacity: 0; pointer-events: none;
    transition: opacity .4s var(--ease);
  }
  .nav a { font-family: var(--f-display); font-size: 52px; font-weight: 400; color: var(--white); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--glow); }
  .nav .btn { font-family: var(--f-body); font-size: 16px; margin-top: 12px; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    position: relative; z-index: 2;
    width: 44px; height: 44px; padding: 0 10px;
    background: none; border: 1px solid var(--line-strong); border-radius: 50%;
    cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--white); transition: transform .3s; }
  body.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- sekcije ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.section--tight { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section-head .lead { margin: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px 0 56px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 90vmax; height: 90vmax; right: -30vmax; top: -40vmax;
  background: radial-gradient(closest-side, rgba(0, 97, 255, .55), rgba(0, 71, 204, .18) 45%, transparent 70%);
  filter: blur(10px);
}
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, var(--black), transparent);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
/* padding ostavlja mesta za kvačice (Č, Š, Ž) koje bi overflow inače odsekao */
.hero h1 .line { display: block; overflow: hidden; padding: .14em 0 .02em; margin: -.14em 0 -.02em; }
.hero h1 .line > span { display: block; }
.hero__text { display: grid; gap: 30px; }
.hero__text .lead { margin: 0; }
.hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.price {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--f-display); font-size: 44px; line-height: 1;
}
.price small { font-family: var(--f-mono); font-size: 13px; color: var(--gray); letter-spacing: .1em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); }
.hero__facts svg { width: 16px; height: 16px; color: var(--glow); flex: none; }

.vcard {
  position: relative;
  width: 100%; max-width: 420px; justify-self: end;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -30px rgba(0, 97, 255, .55), 0 0 0 1px rgba(22, 131, 255, .08);
}
.vcard video, .vcard img { width: 100%; height: 100%; object-fit: cover; }
.vcard__tag {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.vcard__tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.vcard__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 18px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
  font-family: var(--f-display); font-size: 30px; line-height: 1;
}
.vcard__cap span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--gray); margin-top: 8px; text-transform: uppercase; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: var(--gray-dim);
}
.scroll-hint::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--glow), transparent);
  animation: drip 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 108px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .vcard { justify-self: stretch; max-width: none; aspect-ratio: 4 / 5; }
  .scroll-hint { display: none; }
}

/* ---------- traka prednosti ---------- */
.perks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.perk {
  display: grid; gap: 14px; align-content: start;
  padding: 34px clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.perk:first-child { border-left: 0; }
.perk svg { width: 34px; height: 34px; color: var(--glow); filter: drop-shadow(0 0 10px rgba(22, 131, 255, .6)); }
.perk b { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: .02em; }
.perk span { font-size: 15px; color: var(--gray); }
@media (max-width: 860px) {
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- otkrivanje peškira ---------- */
.reveal { position: relative; overflow: hidden; }
.reveal__pin {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 0 clamp(16px, 3vw, 48px);
  padding: 110px var(--gutter) 60px;
  max-width: 1440px; margin: 0 auto;
}
.reveal__glow {
  position: absolute; left: 50%; top: 58%; z-index: 0;
  width: min(1100px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 97, 255, .5), rgba(0, 71, 204, .12) 50%, transparent 72%);
  pointer-events: none;
}
.reveal__head { grid-column: 1 / -1; text-align: center; position: relative; z-index: 2; display: grid; gap: 18px; justify-items: center; }
.reveal__stage { grid-column: 2; justify-self: center; position: relative; z-index: 1; }
.reveal__towel {
  width: auto; max-width: 100%;
  max-height: min(60vh, 620px);
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .8)) drop-shadow(0 0 60px rgba(0, 97, 255, .35));
  will-change: transform, clip-path;
}
/* odsjaj svetla koji prelazi samo preko peškira (maska = oblik peškira) */
.reveal__sweep {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(160, 205, 255, .55) 50%, transparent 58%) 160% 0 / 300% 100% no-repeat;
  -webkit-mask: url("../assets/img/peskir-logo.webp") center / contain no-repeat;
  mask: url("../assets/img/peskir-logo.webp") center / contain no-repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 5vh, 56px); position: relative; z-index: 2; }
.specs--l { grid-column: 1; text-align: right; }
.specs--r { grid-column: 3; }
.spec { display: grid; gap: 6px; }
.spec__k { font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.spec__v { font-size: 15px; color: var(--gray); max-width: 22em; }
.specs--l .spec__v { margin-left: auto; }
.spec__line { display: block; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, var(--glow)); transform-origin: right; margin-top: 8px; }
.specs--r .spec__line { background: linear-gradient(90deg, var(--glow), transparent); transform-origin: left; }

@media (max-width: 900px) {
  .reveal__pin { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 96px; min-height: auto; }
  .reveal__stage { grid-column: 1 / -1; }
  .specs--l, .specs--r { grid-column: auto; text-align: left; gap: 28px; }
  .specs--l .spec__v { margin-left: 0; }
  .specs--l .spec__line { background: linear-gradient(90deg, var(--glow), transparent); transform-origin: left; }
}

/* ---------- brojevi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 24px 0 0; display: grid; gap: 12px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__n { font-family: var(--f-display); font-size: clamp(64px, 8vw, 120px); line-height: .85; color: var(--white); }
.stat__n em { font-style: normal; color: var(--glow); text-shadow: 0 0 30px rgba(22, 131, 255, .6); }
.stat__l { font-size: 15px; color: var(--gray); max-width: 18em; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 34px; }
}

/* ---------- kako se koristi ---------- */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how .vcard { justify-self: start; position: sticky; top: 110px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: 6px 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  grid-row: span 2;
  font-family: var(--f-display); font-size: 56px; line-height: .9; color: var(--glow);
}
.step h3 { font-size: 22px; }
.step p { margin: 0; color: var(--gray); }
.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(0, 97, 255, .14), rgba(0, 97, 255, .03));
  border: 1px solid rgba(22, 131, 255, .3);
  font-size: 15px;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--glow); margin-top: 2px; }
.note p { margin: 0; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how .vcard { position: relative; top: 0; max-width: 420px; aspect-ratio: 9 / 16; justify-self: center; }
}

/* ---------- galerija ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 3 / 4; }
.gallery figure:first-child { aspect-ratio: auto; grid-row: span 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* video traka (pre / sušenje / posle) */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vgrid .vcard { margin: 0; max-width: none; justify-self: stretch; }
@media (max-width: 760px) {
  .vgrid { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .vgrid .vcard { scroll-snap-align: start; aspect-ratio: 9 / 16; }
}

/* ---------- poklon ---------- */
.gift {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(0, 97, 255, .35), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gift__img { position: relative; }
.gift__img img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }
.gift__text { display: grid; gap: 22px; justify-items: start; }
.gift__text .lead { margin: 0; }
.quote {
  margin: 0; padding: 18px 20px;
  border-left: 2px solid var(--glow);
  background: rgba(255, 255, 255, .03);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { margin: 0 0 6px; font-size: 17px; }
.quote cite { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--gray); text-transform: uppercase; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } .gift__img { order: -1; } }

/* ---------- utisci ---------- */
.reviews { columns: 3 300px; column-gap: 16px; }
.review {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 22px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid; gap: 8px;
}
.bubble {
  justify-self: start;
  max-width: 100%;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 6px;
  background: #1C212C;
  font-size: 15.5px; line-height: 1.45;
}
.bubble + .bubble { border-top-left-radius: 6px; }
.review__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--gray-dim); text-transform: uppercase; }
.review__meta b { color: var(--glow); font-weight: 500; }
.review--honest { border-color: rgba(22, 131, 255, .4); }
.reply {
  margin-top: 6px; padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(0, 97, 255, .2), rgba(0, 97, 255, .06));
  font-size: 15px;
}
.reply b { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--glow); font-weight: 500; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- brend ---------- */
.brand {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.brand h2 .dim { color: var(--gray-dim); }
.pillars { display: grid; gap: 0; }
.pillar { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar b { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; }
.pillar span { color: var(--gray); font-size: 16px; }
@media (max-width: 860px) { .brand { grid-template-columns: 1fr; } }

/* ---------- CTA traka ---------- */
.cta {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(80px, 8vw, 120px) 0 clamp(64px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.cta__glow {
  position: absolute; left: 50%; bottom: -60%; width: 140vmax; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 97, 255, .6), rgba(0, 71, 204, .15) 45%, transparent 70%);
  pointer-events: none;
}
.cta .wrap { position: relative; display: grid; gap: 24px; justify-items: center; }
.cta h2 { font-size: clamp(56px, 7vw, 108px); padding-top: .08em; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; }

/* ---------- podnožje ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { margin: 0 0 16px; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; color: var(--gray-dim); text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--gray); transition: color .3s; }
.footer a:hover { color: var(--white); }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { color: var(--gray); font-size: 15px; max-width: 26em; margin: 0; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gray-dim); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: border-color .3s, color .3s, background .3s;
}
.socials a:hover { border-color: var(--glow); color: var(--white); background: rgba(22, 131, 255, .12); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- podstranice ---------- */
.page-hero { position: relative; padding: 170px 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.page-hero .hero__glow { top: -55vmax; right: -25vmax; }
.page-hero .wrap { position: relative; display: grid; gap: 26px; }
.page-hero h1 { font-size: clamp(60px, 10vw, 140px); }
@media (max-width: 900px) { .page-hero { padding-top: 112px; } }

/* proizvod */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pgallery { position: sticky; top: 100px; display: grid; gap: 12px; }
.pgallery__main {
  position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(0, 97, 255, .35), transparent 65%), var(--panel);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.pgallery__main img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); transition: opacity .35s; }
.pgallery__main img.is-photo { width: 100%; height: 100%; object-fit: cover; filter: none; }
.pgallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pgallery__thumbs button {
  aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .3s;
}
.pgallery__thumbs button[aria-pressed="true"] { border-color: var(--glow); box-shadow: 0 0 0 1px var(--glow); }
.pgallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pgallery__thumbs img.contain { object-fit: contain; padding: 6px; }

.pinfo { display: grid; gap: 26px; }
.pinfo h1 { font-size: clamp(54px, 7vw, 96px); }
.pinfo .price { font-size: 56px; }
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship div { padding: 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 4px; }
.ship svg { width: 22px; height: 22px; color: var(--glow); margin-bottom: 4px; }
.ship b { font-size: 15px; }
.ship span { font-size: 14px; color: var(--gray); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--gray-dim); text-transform: uppercase; padding-right: 16px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .pgallery { position: relative; top: 0; } }

/* dve kolone teksta */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.card svg { width: 30px; height: 30px; color: var(--glow); }
.card p { margin: 0; color: var(--gray); font-size: 15.5px; }
.card--warn { border-color: rgba(22, 131, 255, .45); background: linear-gradient(150deg, rgba(0, 97, 255, .16), var(--panel) 60%); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* česta pitanja */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--glow), var(--glow)) center / 100% 2px no-repeat,
    linear-gradient(var(--glow), var(--glow)) center / 2px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--gray); max-width: 46em; }
.faq .ans p:last-child { margin: 0; }

/* ---------- formular porudžbine ---------- */
.order {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--gray); }
.field label i { font-style: normal; color: var(--gray-dim); font-weight: 400; }
.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--white);
  font-size: 16px;
  transition: border-color .25s, box-shadow .25s;
}
textarea.input { min-height: 100px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23B8BEC8' stroke-width='2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input::placeholder { color: #5D6470; }
.input:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(22, 131, 255, .18); }
.input[aria-invalid="true"] { border-color: #ff5d5d; }
.err { font-size: 13px; color: #ff8a8a; min-height: 0; }
.err:empty { display: none; }

.qty { display: inline-grid; grid-template-columns: 54px 64px 54px; height: 54px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--panel); }
.qty button { border: 0; background: none; cursor: pointer; font-size: 22px; color: var(--white); transition: background .2s; }
.qty button:hover { background: rgba(22, 131, 255, .15); }
.qty input { border: 0; background: none; text-align: center; font-size: 18px; font-weight: 700; width: 100%; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: 14px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line-strong);
  transition: border-color .25s, background .25s;
}
.choice label:has(input:checked) { border-color: var(--glow); background: rgba(0, 97, 255, .12); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.choice span { display: grid; gap: 3px; }
.choice b { font-size: 16px; }
.choice small { font-size: 13px; color: var(--gray); line-height: 1.4; }
.gift-info { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(22, 131, 255, .35); background: rgba(0, 97, 255, .08); font-size: 14.5px; }
.gift-head { margin-top: 10px; }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--gray); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }

.summary {
  position: sticky; top: 100px;
  padding: 28px;
  border-radius: 22px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(0, 97, 255, .28), transparent 60%), var(--panel);
  border: 1px solid var(--line-strong);
  display: grid; gap: 18px;
}
.summary__prod { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; }
.summary__prod img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; background: rgba(255, 255, 255, .04); padding: 6px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--gray); }
.summary__row b { color: var(--white); font-weight: 600; text-align: right; }
.summary__total { padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.summary__total b { font-family: var(--f-display); font-size: 42px; font-weight: 400; line-height: 1; }
.summary .btn { width: 100%; }
.summary small { color: var(--gray-dim); font-size: 13px; line-height: 1.5; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--glow); }
.form-note:empty { display: none; }

.done { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border-radius: 24px; background: var(--panel); border: 1px solid rgba(22, 131, 255, .4); display: grid; gap: 16px; justify-items: center; }
.done svg { width: 64px; height: 64px; color: var(--glow); filter: drop-shadow(0 0 16px rgba(22, 131, 255, .7)); }
.done h3 { font-family: var(--f-display); font-weight: 400; font-size: 56px; line-height: 1; }
.done p { color: var(--gray); max-width: 30em; margin: 0; }
@media (max-width: 900px) {
  .order { grid-template-columns: 1fr; }
  /* na telefonu: pregled i dugme za potvrdu idu ODMAH ISPOD formulara */
  .summary { position: relative; top: 0; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .ship { grid-template-columns: 1fr; } }

/* ---------- članci (saveti) ---------- */
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.toc a {
  display: grid; gap: 14px; padding: 26px; min-height: 200px; align-content: space-between;
  border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .3s, background .3s;
}
.toc a:hover { border-color: var(--glow); background: var(--panel-2); }
.toc b { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; }
@media (max-width: 860px) { .toc { grid-template-columns: 1fr; } }

.article { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 10vw, 130px) 0; border-top: 1px solid var(--line); scroll-margin-top: 60px; }
.article__head { position: sticky; top: 110px; align-self: start; display: grid; gap: 18px; }
.article__head h2 { font-size: clamp(44px, 5.6vw, 80px); }
.prose { font-size: 17.5px; color: #D7DBE2; max-width: 40em; }
.prose h3 { font-size: 22px; margin: 34px 0 10px; color: var(--white); }
.prose h3:first-child { margin-top: 0; }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--glow); font-weight: 700; }
.prose strong { color: var(--white); }
@media (max-width: 860px) { .article { grid-template-columns: 1fr; } .article__head { position: relative; top: 0; } }

/* pravne strane: mesta za dopunu */
.todo { background: rgba(255, 200, 0, .14); color: #FFD75E; padding: 0 6px; border-radius: 4px; font-family: var(--f-mono); font-size: .9em; }

/* ---------- svetlo koje prati miš (desktop) ---------- */
.spotlight {
  position: fixed; left: 0; top: 0; z-index: 90;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 131, 255, .16), rgba(0, 97, 255, .06) 45%, transparent 75%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s;
}
.spotlight.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .spotlight { display: none; } }

/* dugme koje stoji na dnu ekrana — samo telefon */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    padding: 10px 10px 10px 16px;
    border-radius: 18px;
    background: rgba(8, 10, 15, .88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(22, 131, 255, .45);
    box-shadow: 0 12px 40px -10px rgba(0, 97, 255, .7);
    transform: translateY(140%);
    transition: transform .45s var(--ease);
  }
  .sticky-cta.is-on { transform: translateY(0); }
  .sticky-cta__txt { display: grid; gap: 2px; min-width: 0; font-size: 13px; color: var(--gray); line-height: 1.3; }
  .sticky-cta__txt > b { font-size: 15px; color: var(--white); }
  .sticky-cta__txt span b { color: var(--white); }
  .sticky-cta .btn { flex: none; min-height: 46px; padding: 0 20px; }
  .footer { padding-bottom: 110px; }
}

/* Instagram dugme za pitanja (ispod porudžbine) */
.ig-pitanje {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--gray); font-size: 14.5px; text-decoration: none;
  transition: border-color .3s, color .3s;
}
.ig-pitanje:hover { border-color: var(--glow); color: var(--white); }
.ig-pitanje svg { width: 20px; height: 20px; flex: none; color: var(--glow); }
.ig-pitanje b { color: var(--white); }

/* režim rezervacije: obaveštenje i traka popunjenosti liste */
.rez-box {
  display: grid; gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(22, 131, 255, .45);
  background: linear-gradient(120deg, rgba(0, 97, 255, .2), rgba(0, 97, 255, .05));
  max-width: 560px;
}
.rez-box p { margin: 0; font-size: 15.5px; color: #D7DBE2; }
.rez-box b { color: var(--white); }
.rez-box__title { font-family: var(--f-display); font-size: 34px !important; line-height: 1.05; color: var(--white) !important; letter-spacing: .01em; }
.rez-box__title span { color: var(--glow); }
.rez-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rez-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(184, 190, 200, .14);
  font-size: 15.5px; line-height: 1.35; color: #D7DBE2;
}
.rez-list b { color: var(--white); }
.rez-list svg { width: 22px; height: 22px; flex: none; color: var(--glow); }
.rez-list li.is-hl { background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, .9); box-shadow: 0 8px 30px -8px rgba(22, 131, 255, .8); }
.rez-list li.is-hl svg { color: var(--white); }
.rez-box__small { font-size: 14px !important; color: var(--gray) !important; }
.rez-perk {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px;
  background: var(--blue); color: var(--white);
  box-shadow: 0 8px 30px -8px rgba(22, 131, 255, .8);
  font-size: 15.5px; line-height: 1.4;
}
.rez-perk svg { width: 24px; height: 24px; flex: none; }
.rez-perk b { color: var(--white); }
.summary s { color: var(--gray-dim); font-weight: 400; margin-right: 6px; }
.price-km { align-self: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; color: var(--gray); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; }
.price-km b { color: var(--white); font-weight: 500; }
.lista { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; font-size: 14px; color: var(--gray); }
.lista__bar { height: 8px; border-radius: 99px; background: rgba(184, 190, 200, .18); overflow: hidden; }
.lista__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-deep), var(--glow)); box-shadow: 0 0 12px var(--glow); transition: width 1.2s var(--ease); }
.lista b { color: var(--white); }

/* poštarina u CTA traci */
.ship-line {
  margin: 4px 0 0;
  display: grid; gap: 6px; justify-items: center;
  padding: 16px 22px;
  border-radius: 16px;
  border: 1px solid rgba(22, 131, 255, .35);
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 15px; color: var(--gray);
  max-width: 560px;
}
.ship-line b { color: var(--white); font-size: 17px; }

/* ponuda: 3 peškira = besplatna poštarina */
.ponuda {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  width: fit-content; max-width: 100%; justify-self: start;
  margin-top: 16px; padding: 10px 16px;
  border: 1px solid rgba(22, 131, 255, .45); border-radius: 12px;
  background: rgba(0, 97, 255, .1);
  color: var(--gray); font-size: 14px; text-decoration: none;
  transition: background .25s, border-color .25s;
}
.ponuda b { color: var(--white); font-weight: 600; }
.ponuda > span { color: var(--glow); font-weight: 600; white-space: nowrap; }
.ponuda:hover { background: rgba(0, 97, 255, .18); border-color: var(--glow); }

/* ikonice mreža u zaglavlju — uvek vidljive */
.header__in .nav { margin-left: auto; }
.header__socials { display: flex; gap: 4px; padding-left: 18px; margin-left: 4px; border-left: 1px solid var(--line); }
.header__socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--white); transition: color .3s, background .3s;
}
.header__socials a:hover { color: var(--glow); background: rgba(22, 131, 255, .14); }
.header__socials svg { width: 19px; height: 19px; }
@media (max-width: 860px) {
  .header__socials { margin-left: auto; padding-left: 0; border-left: 0; gap: 2px; }
  .header__socials a { width: 36px; height: 36px; }
  .header__in { gap: 10px; }
}

/* prelaz između stranica */
.curtain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  background: var(--black);
  opacity: 0; transition: opacity .35s var(--ease);
}
.curtain.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .gallery img { transform: none; }
}

.cards--2 { grid-template-columns: 1fr 1fr; }
.cards--2 .card { font-weight: 600; overflow-wrap: anywhere; transition: border-color .3s; }
.cards--2 .card:hover { border-color: var(--glow); }
@media (max-width: 560px) { .cards--2 { grid-template-columns: 1fr; } }

