/* =========================================================================
   Dubinsko BGD — Koncept 1 „Sveže i jasno“
   One stylesheet, mobile-first (360 → 768 → 1200 → 1440).

   WCAG 2.2 contrast, checked pairs (ratio : 1):
     --ink      #16212e on #ffffff ........ 16.27  body text
     --blue-900 #0b2a4a on #ffffff ........ 14.54  headings
     --blue-900 #0b2a4a on --blue-50 ...... 13.42
     --muted    #5a6878 on #ffffff ........  5.70  secondary text
     --muted    #5a6878 on --blue-50 ......  5.26
     #ffffff on --blue-700 #0070c9 ........  5.05  primary button text (AA)
     --blue-700 #0070c9 on #ffffff ........  5.05  links, outline buttons
     --blue-700 #0070c9 on --blue-50 ......  4.66  links on soft surfaces
     --blue-800 #005fa8 on --blue-100 .....  > 5   text on blue-100 (#0070c9 there is only 4.24 → not used)
     #ffffff on --blue-600 #0094ff ........  3.14  ONLY large text ≥ 24px / 18.66px bold, icons
     --blue-600 #0094ff on #ffffff ........  3.14  ONLY icons, accents, display text
     --success  #12a150 on #ffffff ........  3.37  icons only (non-text 3:1)
     --ink on --todo #ffe58a ..............  13.03 placeholder labels
     --line #e3ebf3 is decorative (1.2) — never the only cue for a control.
   ========================================================================= */

/* Fonts: self-hosted, 2 families / 4 cuts. Drop the woff2 files into
   assets/fonts/ [POTVRDITI: font fajlovi nisu još dodati — do tada radi sistemski font]. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Plus Jakarta Sans Bold"), local("PlusJakartaSans-Bold"), url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap;
  src: local("Plus Jakarta Sans ExtraBold"), local("PlusJakartaSans-ExtraBold"), url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Inter Regular"), local("Inter-Regular"), url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Inter SemiBold"), local("Inter-SemiBold"), url("../fonts/inter-600.woff2") format("woff2"); }

:root {
  /* Color */
  --blue-600: #0094ff;
  --blue-700: #0070c9;
  --blue-800: #005fa8;
  --blue-900: #0b2a4a;
  --blue-50: #eef7ff;
  --blue-100: #d9eeff;
  --ink: #16212e;
  --muted: #5a6878;
  --line: #e3ebf3;
  --bg: #ffffff;
  --success: #12a150;
  --todo: #ffe58a;

  /* Type */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);   /* 40 → 64 */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);     /* 28 → 40 */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);    /* 20 → 24 */
  --fs-body: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);   /* 16 → 18 */
  --fs-small: 0.875rem;                                  /* 14 */

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: 64px;
  --max: 1200px;
  --gutter: 20px;

  /* Shape */
  --r-1: 12px; --r-2: 20px; --r-3: 28px;
  --shadow: 0 10px 30px rgba(0, 148, 255, .12);
  --shadow-lg: 0 18px 44px rgba(0, 148, 255, .18);
  --shadow-header: 0 4px 18px rgba(11, 42, 74, .08);

  /* Motion: only transform + opacity animate */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: var(--ease-out);
  --dur-fast: 150ms; --dur-base: 250ms; --dur-slow: 400ms;

  /* One wave shape, reused for every soft-section edge */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 22C240 4 480 4 720 16S1200 30 1440 10V36H0Z'/%3E%3C/svg%3E");

  --header-h: 64px;
  --bar-h: 0px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --section: 112px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-900); line-height: 1.15; margin: 0 0 var(--s-4); letter-spacing: -.015em; }
h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--s-4); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 3px; border-radius: 6px; }
.num, .price { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
/* Count-up: width reserved for the final „1.172“, so nothing shifts while it counts */
.count { display: inline-block; min-width: 4.6ch; text-align: left; font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--blue-900); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-1); font-weight: 600;
}
.skip-link:focus { top: var(--s-4); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--blue-50); position: relative; }
/* Soft wavy edges above and below every soft section (decorative, no layout) */
.section--soft::before, .section--soft::after {
  content: ""; position: absolute; left: 0; right: 0; height: clamp(18px, 2.6vw, 36px);
  background: var(--blue-50); pointer-events: none;
  -webkit-mask: var(--wave) 0 0 / 100% 100% no-repeat; mask: var(--wave) 0 0 / 100% 100% no-repeat;
}
.section--soft::before { bottom: calc(100% - 1px); }
.section--soft::after { top: calc(100% - 1px); transform: scale(-1, -1); }
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head p { color: var(--muted); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); max-width: none; }
.eyebrow { display: inline-block; font-size: var(--fs-small); font-weight: 600; color: var(--blue-700); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s-2); }

/* ---------- Placeholder label ---------- */
.todo {
  display: inline-block; background: var(--todo); color: var(--ink);
  font: 600 .8125rem/1.3 var(--font-body); letter-spacing: .01em;
  padding: 2px 8px; border-radius: 6px; border: 1px dashed #c9a400; vertical-align: middle;
  font-variant-numeric: normal;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5); border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform 200ms var(--ease-spring);
}
/* Pre-rendered hover shadow: only its opacity animates */
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.97); transition: transform 100ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
/* Primary keeps a static shadow; overflow clips the one-time shine sweep */
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .34) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--primary:hover::after { transform: translateX(120%); transition: transform 500ms var(--ease-out); }
.btn--secondary { background: #fff; color: var(--blue-700); border-color: var(--blue-700); }
.btn--secondary:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--white { background: #fff; color: var(--blue-700); }
.btn--white:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 48px; padding: 0 var(--s-4); font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 0 var(--s-6); font-size: 1.125rem; }
.btn--lg svg { width: 22px; height: 22px; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Chips ---------- */
.chip { text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: var(--fs-small); font-weight: 600; color: var(--blue-900);
}
.price-chip {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-900); font: 700 1rem/1.2 var(--font-head); font-variant-numeric: tabular-nums;
}
.price-chip small { font: 600 .8125rem var(--font-body); color: var(--blue-800); }
/* Rating chip: the number is the anchor */
.chip--rating { gap: var(--s-3); padding: 8px 18px 8px 16px; border-color: var(--blue-100); }
.chip-num { font: 800 1.75rem/1 var(--font-head); color: var(--blue-900); letter-spacing: -.02em; }
.chip-meta { display: grid; gap: 3px; line-height: 1.2; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff; height: var(--header-h);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s-4); }
.logo { display: inline-flex; align-items: center; min-height: 48px; margin-right: auto; }
.logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .logo img { height: 46px; } }
.nav { display: none; }
.nav ul { display: flex; gap: var(--s-1); }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-3); border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--blue-700); }
.header-tel { display: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--blue-700); cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--blue-50); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: #fff;
  box-shadow: var(--shadow-header); padding: var(--s-4) var(--gutter) var(--s-6);
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 52px; color: var(--blue-900); font-weight: 600;
  text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.0625rem;
}
.mobile-nav .btn { margin-top: var(--s-5); width: 100%; border-bottom: 0; color: #fff; justify-content: center; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-tel { display: inline-flex; }
  .header-mobile-actions, .mobile-nav { display: none !important; }
}
.header-mobile-actions { display: flex; gap: var(--s-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s-7) 0 var(--s-8); isolation: isolate; }
.hero::before {
  /* Soft blue-white „mesh“ — water / foam. CSS only. */
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(38% 34% at 22% 28%, rgba(0, 148, 255, .20), transparent 70%),
    radial-gradient(30% 30% at 78% 18%, rgba(120, 200, 255, .26), transparent 70%),
    radial-gradient(42% 40% at 62% 78%, rgba(0, 148, 255, .12), transparent 70%),
    linear-gradient(180deg, #f5fbff 0%, #fff 70%);
  animation: mesh 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mesh {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.06); }
  100% { transform: translate3d(-3%, 3%, 0) rotate(-4deg) scale(1.02); }
}
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding: var(--s-8) 0 var(--s-9); }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: var(--s-8); }
}
.hero .chip { margin-bottom: var(--s-5); box-shadow: var(--shadow); }
.hero h1 { margin-bottom: var(--s-5); max-width: 22ch; font-size: clamp(2.25rem, 1.8rem + 1.9vw, 3.375rem); text-wrap: balance; }
@media (max-width: 959px) { .br-lg { display: none; } }
.hero-sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--muted); max-width: 54ch; margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
@media (max-width: 479px) { .hero-ctas .btn, .hero-ctas .btn-bubbles { width: 100%; } }
.facts { display: grid; gap: var(--s-3); }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-5); } }
.facts li { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: .9375rem; color: var(--blue-900); }
.facts svg { width: 24px; height: 24px; color: var(--blue-600); flex: none; }
.hero-media { position: relative; }
.hero-media .ba { aspect-ratio: 4 / 5; max-width: 520px; margin-inline: auto; box-shadow: var(--shadow-lg); }

/* Small phones: proof (comparator) peeks above the fold */
@media (max-width: 479px) {
  .hero { padding: var(--s-5) 0 var(--s-7); }
  .hero-grid { gap: var(--s-5); }
  .hero .chip { margin-bottom: var(--s-4); }
  .hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2rem); margin-bottom: var(--s-4); }
  .hero-sub { font-size: 1rem; margin-bottom: var(--s-5); }
  .hero-ctas { gap: var(--s-2); margin-bottom: var(--s-5); }
  .hero-ctas .btn--secondary { min-height: 48px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
  .facts li { flex-direction: column; text-align: center; gap: 4px; font-size: .8125rem; line-height: 1.25; }
  .facts svg { width: 22px; height: 22px; }
  .facts .todo { font-size: .6875rem; padding: 1px 4px; }
}

/* ---------- Soap bubbles (concept-3 technique, blue/iridescent) ---------- */
.bubbles { position: absolute; z-index: 2; pointer-events: none; transition: opacity 600ms var(--ease-out); }
.bubbles--hero { inset: -8% -9% -9%; }
.js .bubbles--hero:not(.is-on) { opacity: 0; }
.js .bubbles--hero:not(.is-on) .bubble { animation-play-state: paused; }
.bubbles--hero.is-on .bubble { pointer-events: auto; }
.bubble {
  --k: 1;
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * var(--k)); height: calc(var(--s) * var(--k));
  border-radius: 50%; opacity: var(--o, .7);
  background:
    radial-gradient(circle at 30% 30%, #fff 0 9%, rgba(255, 255, 255, .55) 15%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle, rgba(255, 255, 255, .06) 50%, rgba(126, 214, 255, .22) 74%, rgba(0, 148, 255, .3) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 6px 16px rgba(0, 148, 255, .1);
  animation: bubble-float var(--d, 9s) var(--ease-in-out) var(--delay, 0s) infinite alternate;
  transition: opacity 600ms var(--ease-out), scale 600ms var(--ease-out);
}
.bubble::before { /* iridescent rim: aqua → pale pink → lilac → aqua */
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px;
  background: conic-gradient(from 0deg, #7fe0ff, #ffc9e4, #cdbcff, #9ff0e6, #7fe0ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .4; animation: bubble-rim 14s linear infinite;
}
.bubble.is-pop { opacity: 0; scale: 1.25; pointer-events: none; transition-duration: 220ms; }
.bubble.is-born { opacity: 0; scale: .6; transition: none; }
@keyframes bubble-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--fx, 0px), var(--fy, -16px), 0); } }
@keyframes bubble-rim { to { transform: rotate(1turn); } }
.bubbles--hero .bubble:nth-child(1) { --x: 80%; --y: 2%;  --s: 72px; --o: .75; --d: 11s;  --fx: 6px;  --fy: -20px; --delay: -3s; }
.bubbles--hero .bubble:nth-child(2) { --x: 1%;  --y: 16%; --s: 30px; --o: .7;  --d: 8s;   --fx: -8px; --fy: -14px; --delay: -1s; }
.bubbles--hero .bubble:nth-child(3) { --x: 90%; --y: 44%; --s: 46px; --o: .65; --d: 10s;  --fx: -6px; --fy: -22px; --delay: -6s; }
.bubbles--hero .bubble:nth-child(4) { --x: 3%;  --y: 58%; --s: 18px; --o: .6;  --d: 7s;   --fx: 8px;  --fy: -12px; --delay: -2s; }
.bubbles--hero .bubble:nth-child(5) { --x: 0%;  --y: 82%; --s: 58px; --o: .7;  --d: 12s;  --fx: 5px;  --fy: -24px; --delay: -8s; }
.bubbles--hero .bubble:nth-child(6) { --x: 44%; --y: 93%; --s: 22px; --o: .55; --d: 9s;   --fx: -5px; --fy: -16px; --delay: -4s; }
.bubbles--hero .bubble:nth-child(7) { --x: 78%; --y: 86%; --s: 38px; --o: .7;  --d: 8.5s; --fx: 7px;  --fy: -18px; --delay: -5s; }
.bubbles--hero .bubble:nth-child(8) { --x: 93%; --y: 24%; --s: 16px; --o: .5;  --d: 7.5s; --fx: -4px; --fy: -13px; --delay: -7s; }
@media (max-width: 767px) {
  .bubbles--hero .bubble { --k: .7; }
  .bubbles--hero .bubble:nth-child(2n) { display: none; } /* max 4 on mobile */
}
/* Pop droplets */
.drop {
  position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 148, 255, .3);
}
.drop.is-go { animation: drop-burst 300ms var(--ease-out) forwards; }
@keyframes drop-burst {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) scale(.5); }
}
/* Closing CTA: lighter bubbles, purely decorative */
.bubbles--cta { inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.bubbles--cta .bubble {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .8) 0 9%, rgba(255, 255, 255, .25) 16%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .2) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
.bubbles--cta .bubble::before { opacity: .3; }
.bubbles--cta .bubble:nth-child(1) { --x: 4%;  --y: 66%; --s: 56px; --o: .6;  --d: 9s;  --fx: 5px;  --fy: -16px; --delay: -2s; }
.bubbles--cta .bubble:nth-child(2) { --x: 34%; --y: 10%; --s: 22px; --o: .5;  --d: 8s;  --fx: -6px; --fy: -12px; --delay: -5s; }
.bubbles--cta .bubble:nth-child(3) { --x: 88%; --y: 8%;  --s: 72px; --o: .55; --d: 11s; --fx: -4px; --fy: -20px; --delay: -1s; }
.bubbles--cta .bubble:nth-child(4) { --x: 62%; --y: 78%; --s: 30px; --o: .5;  --d: 7s;  --fx: 6px;  --fy: -14px; --delay: -3s; }
.bubbles--cta .bubble:nth-child(5) { --x: 20%; --y: 88%; --s: 16px; --o: .45; --d: 10s; --fx: -3px; --fy: -18px; --delay: -6s; }

/* Bubbles rising from behind a CTA button (never over its text) */
.btn-bubbles { position: relative; display: inline-flex; isolation: isolate; }
.bub {
  position: absolute; z-index: -1; bottom: 30%; left: var(--x); width: var(--s); height: var(--s);
  border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #fff 0 14%, rgba(255, 255, 255, .55) 18% 40%, rgba(0, 148, 255, .22) 70%, rgba(0, 112, 201, .35) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  animation: bub-rise var(--d, 2.8s) var(--ease-out) var(--delay, 0s) infinite;
}
.bub:nth-of-type(1) { --x: 12%; --s: 12px; --d: 2.6s; --delay: 0s;    --fx: -4px; }
.bub:nth-of-type(2) { --x: 38%; --s: 18px; --d: 3.2s; --delay: -.8s;  --fx: 3px; }
.bub:nth-of-type(3) { --x: 66%; --s: 10px; --d: 2.4s; --delay: -1.6s; --fx: -2px; }
.bub:nth-of-type(4) { --x: 86%; --s: 15px; --d: 3s;   --delay: -2.2s; --fx: 4px; }
@keyframes bub-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.6); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translate3d(var(--fx, 0px), var(--rise, -40px), 0) scale(1); }
}
.btn-bubbles--light .bub {
  background: radial-gradient(circle at 32% 30%, #fff 0 14%, rgba(255, 255, 255, .5) 18% 45%, rgba(255, 255, 255, .18) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

/* Loops pause off-screen, in background tabs and before init */
.is-paused .bubble, .is-paused .bubble::before, .is-paused .bub, .hero.is-paused::before,
.doc-hidden .bubble, .doc-hidden .bubble::before, .doc-hidden .bub, .doc-hidden .hero::before,
.mbar:not(.is-visible) .bub { animation-play-state: paused; }

/* ---------- Before / after comparator ---------- */
.ba { position: relative; border-radius: var(--r-3); overflow: hidden; background: var(--blue-50); }
/* No-JS fallback: two images side by side with labels */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: auto !important; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; top: var(--s-3); padding: 4px 12px; border-radius: 999px; z-index: 2;
  font: 700 .8125rem/1.4 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(11, 42, 74, .82); color: #fff;
}
.ba-before .ba-tag { left: var(--s-3); }
.ba-after .ba-tag { right: var(--s-3); background: var(--blue-700); }
.ba-handle, .ba-hint { display: none; }

.js .ba { display: block; aspect-ratio: 4 / 5 !important; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%; }
.js .ba figure { position: absolute; inset: 0; }
.js .ba-before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.js .ba-handle {
  display: block; position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 48px; margin-left: -24px; background: none; border: 0; padding: 0; cursor: ew-resize; touch-action: none;
}
/* Foam edge: a soft wavy strip with a few tiny static bubbles along it */
.js .ba-handle::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 12px; margin-left: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 36'%3E%3Cpath d='M3 0C.5 9 5.5 9 3 18S.5 27 3 36h6C6.5 27 6.5 27 9 18S6.5 9 9 0z' fill='%23fff' fill-opacity='.94'/%3E%3Cpath d='M3 0C.5 9 5.5 9 3 18S.5 27 3 36M9 0C6.5 9 11.5 9 9 18S6.5 27 9 36' fill='none' stroke='%230b2a4a' stroke-opacity='.16' stroke-width='.7'/%3E%3C/svg%3E") 0 0 / 12px 36px repeat-y;
}
.js .ba-handle::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 28px; margin-left: -14px; pointer-events: none;
  background:
    radial-gradient(circle, #fff 0 1.5px, rgba(255, 255, 255, .45) 2px 3px, transparent 3.5px) 2px 12% / 8px 8px no-repeat,
    radial-gradient(circle, #fff 0 2px, rgba(255, 255, 255, .45) 2.5px 4px, transparent 4.5px) 17px 24% / 10px 10px no-repeat,
    radial-gradient(circle, #fff 0 1px, rgba(255, 255, 255, .45) 1.5px 2.5px, transparent 3px) 4px 70% / 6px 6px no-repeat,
    radial-gradient(circle, #fff 0 2px, rgba(255, 255, 255, .45) 2.5px 4px, transparent 4.5px) 1px 84% / 10px 10px no-repeat,
    radial-gradient(circle, #fff 0 1.5px, rgba(255, 255, 255, .45) 2px 3px, transparent 3.5px) 19px 91% / 8px 8px no-repeat;
}
.ba-knob {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  color: var(--blue-700); display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #fff 0 22%, rgba(255, 255, 255, .95) 40%, rgba(226, 242, 255, .95) 78%, rgba(196, 228, 255, .97) 100%);
  box-shadow: 0 6px 20px rgba(11, 42, 74, .25), inset 0 0 0 1.5px rgba(255, 255, 255, .95);
}
.ba-knob::before { /* soap-bubble rim */
  content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; pointer-events: none;
  background: conic-gradient(from 30deg, #7fe0ff, #ffc9e4, #cdbcff, #9ff0e6, #7fe0ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .75;
}
.ba-knob svg { width: 26px; height: 26px; }
/* Micro-bubbles trailing the handle while dragging */
.ba-trail {
  position: absolute; z-index: 2; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #fff 0 25%, rgba(255, 255, 255, .5) 45%, rgba(126, 214, 255, .4) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.ba-trail.is-go { animation: ba-trail 400ms var(--ease-out) forwards; }
@keyframes ba-trail {
  from { opacity: .95; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0; transform: translate3d(var(--tx, 0px), -18px, 0) scale(.4); }
}
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-knob { outline: 3px solid var(--blue-700); outline-offset: 3px; }
.js .ba-hint {
  display: inline-flex; position: absolute; left: 50%; bottom: var(--s-4); transform: translateX(-50%); z-index: 4;
  background: rgba(255, 255, 255, .94); color: var(--blue-900); font-size: .8125rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow);
  transition: opacity var(--dur-slow) var(--ease-out);
}
.ba.is-touched .ba-hint { opacity: 0; }
/* Missing image: show a labeled placeholder with the file name */
.img-missing { background: repeating-linear-gradient(135deg, var(--blue-50) 0 12px, var(--blue-100) 12px 24px); }
.img-missing img { opacity: 0; }
.img-missing::after {
  content: "[SLIKA] " attr(data-file); position: absolute; inset: auto var(--s-3) 48px; z-index: 2;
  font: 600 .75rem/1.4 var(--font-body); color: var(--ink); background: var(--todo); padding: 4px 8px; border-radius: 6px; word-break: break-all;
}

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); padding: var(--s-5) 0; }
@media (min-width: 900px) {
  .trust ul { grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: center; padding: var(--s-6) 0; }
  .trust li + li { border-left: 1px solid var(--line); padding-left: var(--s-6); }
}
.trust li { display: flex; align-items: center; gap: var(--s-3); font: 700 1rem/1.3 var(--font-head); color: var(--blue-900); }
.trust li small { display: block; font: 400 .8125rem/1.4 var(--font-body); color: var(--muted); }
.trust strong { font-weight: 800; font-size: 1.1875rem; }
.trust-ico {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(0, 148, 255, .25);
}
.trust svg, .trust-ico svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 479px) { .trust-ico { width: 40px; height: 40px; } .trust svg { width: 20px; height: 20px; } }
.trust a { color: var(--blue-900); text-decoration: none; }
.trust a:hover { color: var(--blue-700); text-decoration: underline; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-2); transition: transform 200ms var(--ease-out);
}
/* Hover shadow pre-rendered; only opacity animates */
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity 200ms var(--ease-out);
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
/* Fixed 4:3 media box for every card, whatever the source size */
.card-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--blue-50); margin: 0; overflow: hidden;
  border-radius: calc(var(--r-2) - 1px) calc(var(--r-2) - 1px) 0 0;
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card-media img { transform: scale(1.03); }
/* Icon card: same box, soft illustration frame */
.card-media--icon {
  display: grid; place-items: center; color: var(--blue-600);
  background: radial-gradient(circle at 50% 50%, #fff 0 29%, rgba(255, 255, 255, 0) 30%), radial-gradient(120% 90% at 15% 0%, var(--blue-100), transparent 60%), var(--blue-50);
}
.card-media--icon::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--blue-100); border-radius: calc(var(--r-2) - 8px); }
.card-media--icon svg { position: relative; width: 34%; height: auto; }
.card-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); flex: 1; }
@media (min-width: 900px) { .card-body { padding: var(--s-5); } }
.card h3 { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); margin: 0; }
.card .note { font-size: .8125rem; color: var(--muted); margin: 0; line-height: 1.4; }
/* Price + „Zakažite“ always sit on the card bottom */
.card-foot { margin-top: auto; padding-top: var(--s-2); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.card .price-chip { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); padding: 6px 14px; font-weight: 800; }
.card .price-chip small { color: var(--muted); }
.card-cta { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; }
.card-cta::after { content: ""; position: absolute; inset: 0; } /* whole card is the tap target */
.card-cta:hover { text-decoration: underline; }
.badge {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2; background: #fff; color: var(--blue-800);
  font: 700 .75rem/1 var(--font-body); padding: 6px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-3);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-4) var(--s-5);
}
@media (min-width: 900px) { .strip { margin-top: var(--s-5); } }
.strip svg { width: 32px; height: 32px; color: var(--blue-600); }
.strip h3 { margin: 0; font-size: 1.125rem; }
.strip .grow { flex: 1 1 200px; display: flex; align-items: center; gap: var(--s-3); }
.services-foot { margin-top: var(--s-5); text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.step { background: #fff; border-radius: var(--r-2); padding: var(--s-5); box-shadow: var(--shadow); position: relative; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: var(--s-4);
  background: var(--blue-600); color: #fff; font: 800 1.5rem/1 var(--font-head);
}
.step h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.micro { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); color: var(--muted); font-size: var(--fs-small); align-items: center; }
.micro li { display: inline-flex; align-items: center; gap: 6px; }
.micro svg { width: 18px; height: 18px; color: var(--success); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4);
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.gallery > * { scroll-snap-align: start; }
@media (min-width: 640px) { .gallery { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.gallery-item { margin: 0; }
.gallery-item figcaption { margin-top: var(--s-3); font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.gallery-item figcaption strong { display: block; color: var(--blue-900); font-family: var(--font-head); font-size: 1.0625rem; }
.js .gallery .ba { touch-action: pan-x pan-y; cursor: pointer; }
.ba-label {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--s-2); padding: 5px 10px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700); font: 700 .75rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
/* Lead item: twice as large on desktop; the Instagram tile fills the last cell */
@media (min-width: 1100px) {
  .gallery-item--lead { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .js .gallery-item--lead .ba { flex: 1; min-height: 0; aspect-ratio: auto !important; }
  .gallery-item--lead figcaption strong { font-size: 1.25rem; }
}
.gallery-more {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-2);
  aspect-ratio: 4 / 5; padding: var(--s-5); border-radius: var(--r-3); text-decoration: none;
  background: radial-gradient(90% 70% at 100% 0%, var(--blue-100), transparent 70%), var(--blue-50);
  border: 1px solid var(--blue-100); color: var(--blue-900);
}
.gallery-more strong { font: 800 1.25rem/1.2 var(--font-head); }
.gallery-more span:last-child { color: var(--blue-700); font-weight: 600; }
.gallery-more:hover span:last-child { text-decoration: underline; }
@media (min-width: 1100px) { .gallery-more { aspect-ratio: auto; } }

/* ---------- Why ---------- */
.why { display: grid; gap: var(--s-4); }
.why .section-head { margin-bottom: var(--s-2); }
@media (min-width: 900px) {
  .why { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "fig head" "fig list"; gap: var(--s-4) var(--s-7); }
  .why .section-head { grid-area: head; margin: 0; }
  .why-feature { grid-area: fig; }
  .why-list { grid-area: list; }
}
.why-feature { position: relative; border-radius: var(--r-3); overflow: hidden; background: var(--blue-100); min-height: 320px; display: flex; align-items: flex-end; margin: 0; }
.why-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-feature figcaption {
  position: relative; margin: var(--s-4); background: rgba(255, 255, 255, .95); border-radius: var(--r-2); padding: var(--s-5);
}
.why-feature h3 { margin-bottom: var(--s-2); }
.why-feature p { margin: 0; color: var(--muted); }
.why-list { display: grid; gap: var(--s-3); }
.why-list li { display: flex; gap: var(--s-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5); }
.why-list svg { width: 32px; height: 32px; color: var(--blue-600); flex: none; }
.why-list h3 { font-size: 1.125rem; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.audience li { background: var(--blue-50); border-radius: var(--r-2); padding: var(--s-5); }
.audience svg { width: 36px; height: 36px; color: var(--blue-600); margin-bottom: var(--s-3); }
.audience h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.audience p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.review {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4); margin: 0; box-shadow: var(--shadow);
}
.review::before { /* decorative quote mark */
  content: "\201C"; position: absolute; top: var(--s-3); right: var(--s-5); pointer-events: none;
  font: 800 4.5rem/1 var(--font-head); color: var(--blue-100);
}
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.0625rem; position: relative; }
.review figcaption { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: var(--muted); margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.review figcaption .g-badge { margin-left: auto; }
.avatar {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-700); color: #fff; font: 800 1rem/1 var(--font-head);
}
.g-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-900); }
.g-badge svg { width: 20px; height: 20px; }
.widget-slot { margin-top: var(--s-5); border: 2px dashed var(--line); border-radius: var(--r-2); padding: var(--s-5); text-align: center; color: var(--muted); font-size: var(--fs-small); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-8); align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.ask-card { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-3); padding: var(--s-6) var(--s-5); }
.ask-card .trust-ico { margin-bottom: var(--s-4); }
.ask-card h3 { margin-bottom: var(--s-4); }
.ask-card .link-arrow { margin-top: var(--s-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-3) 0; cursor: pointer; list-style: none;
  font: 700 1.0625rem/1.35 var(--font-head); color: var(--blue-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230070c9' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 var(--s-5); color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Closing CTA ---------- */
.cta-block {
  border-radius: var(--r-3); padding: var(--s-7) var(--s-5); color: #fff;
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-700) 35%, var(--blue-600) 100%);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .cta-block { padding: var(--s-8); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); } }
.cta-block::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.cta-block > div:not(.bubbles) { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-block p { font-size: 1.5rem; margin: 0 0 var(--s-5); line-height: 1.3; } /* ≥ 24px: large text, AA on the lighter side */
@media (min-width: 900px) { .cta-block p { margin: 0; } }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-actions { flex: none; max-width: 420px; } }
@media (max-width: 479px) {
  .cta-actions .btn-bubbles, .cta-actions .btn-bubbles .btn { width: 100%; }
  .cta-actions .btn--sm { flex: 1 1 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #dbe6f2; padding: var(--s-8) 0 var(--s-6); margin-top: var(--section); font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--r-1); padding: 8px 12px; margin-bottom: var(--s-4); }
.footer-logo img { height: 40px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: var(--s-3); }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-small); color: #b9c8d8; }

/* ---------- Sticky mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 24px rgba(11, 42, 74, .12);
  transform: translateY(100%); visibility: hidden;
  transition: transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.mbar .btn { flex: 1; min-height: 52px; padding: 0 var(--s-3); font-size: .9375rem; }
.mbar.is-visible { transform: none; visibility: visible; transition: transform var(--dur-base) var(--ease-out); }
.mbar .btn-bubbles { flex: 1.35; display: flex; }
.mbar .bub { --rise: -24px; }
@media (max-width: 639px) { .mbar { display: flex; } }

/* =========================================================================
   Pricing page
   ========================================================================= */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: var(--s-7) 0 var(--s-6); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 0%, rgba(0, 148, 255, .14), transparent 70%), linear-gradient(180deg, #f5fbff, #fff); }
.page-hero h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); margin-bottom: var(--s-3); }
.page-hero p { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.breadcrumb { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb a { color: var(--blue-700); }

.info-card { background: var(--blue-50); border-radius: var(--r-3); padding: var(--s-5); border: 1px solid var(--blue-100); }
@media (min-width: 768px) { .info-card { padding: var(--s-6); } }
.info-card h2 { font-size: var(--fs-h3); display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.info-card h2 svg { width: 28px; height: 28px; color: var(--blue-600); }
.info-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin: 0; }
@media (min-width: 640px) { .info-card dl { gap: var(--s-3); } }
@media (min-width: 1000px) { .info-card dl { grid-template-columns: repeat(4, 1fr); } }
.info-card dl > div { background: #fff; border-radius: var(--r-1); padding: var(--s-2) var(--s-3); }
@media (min-width: 640px) { .info-card dl > div { padding: var(--s-3) var(--s-4); } }
.info-card dt { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.info-card dd { margin: 0; font-weight: 600; color: var(--blue-900); font-size: .9375rem; }
/* „Prikaži sve“: collapsed on phones, always open from 768px (JS opens it) */
.info-more > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: var(--s-1);
  font-weight: 600; color: var(--blue-700); cursor: pointer; list-style: none;
}
.info-more > summary::-webkit-details-marker { display: none; }
.info-more > summary svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform var(--dur-base) var(--ease-out); }
.info-more[open] > summary svg { transform: none; }
.info-more .when-open, .info-more[open] .when-closed { display: none; }
.info-more[open] .when-open { display: inline; }
.info-more > dl { margin-top: var(--s-2); }
@media (min-width: 640px) { .info-more > dl { margin-top: var(--s-3); } }
@media (min-width: 768px) { .js .info-more > summary { display: none; } }
@media (max-width: 767px) {
  .page-hero { padding: var(--s-5) 0 var(--s-4); }
  .page-hero p { font-size: 1rem; margin-bottom: var(--s-3); }
  .info-card { padding: var(--s-4); border-radius: var(--r-2); }
  .info-card h2 { font-size: 1.125rem; margin-bottom: var(--s-3); }
  .section--calc { padding-top: var(--s-5); }
}

.price-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) { .price-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); } }

.tabs {
  display: none; gap: var(--s-2); overflow-x: auto; scrollbar-width: none;
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .96);
  padding: var(--s-3) var(--gutter); margin: 0 calc(-1 * var(--gutter)) var(--s-4);
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.js .tabs { display: flex; }
@media (min-width: 1024px) { .tabs { position: static; margin: 0 0 var(--s-5); padding: 0 0 var(--s-3); background: none; } }
.tab {
  flex: none; min-height: 48px; padding: 0 var(--s-5); border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--blue-900); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s;
}
.tab:hover { background: var(--blue-50); }
.tab[aria-selected="true"] { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.tab-panel h2 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.js .tab-panel h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tab-panel + .tab-panel { margin-top: var(--s-6); }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel[hidden] { display: none; }

.items { display: grid; gap: var(--s-3); }
.item {
  position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3) var(--s-4);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-4);
  transition: box-shadow .2s, border-color .2s;
}
.item.is-selected { border-color: var(--blue-600); box-shadow: var(--shadow); }
.item-icon { width: 48px; height: 48px; border-radius: var(--r-1); background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.item-icon svg { width: 30px; height: 30px; }
.item-main h3 { font-size: 1.125rem; margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.item-main p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.item-main .one-price { margin-top: 6px; font-weight: 600; color: var(--blue-900); font-size: .875rem; }
.item .badge { position: static; box-shadow: none; background: var(--blue-100); color: var(--blue-800); }
.item-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--line); }
@media (min-width: 640px) {
  .item { grid-template-columns: 56px 1fr auto; padding: var(--s-5); align-items: center; }
  .item-icon { width: 56px; height: 56px; }
  .item-side { grid-column: auto; flex-direction: column; align-items: flex-end; border: 0; padding: 0; }
}
.item-price { font: 800 1.5rem/1 var(--font-head); color: var(--blue-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-price small { font: 600 .875rem var(--font-body); color: var(--muted); }
.item-actions { display: flex; align-items: center; gap: var(--s-3); }
.item-book { font-size: .875rem; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }

.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button {
  width: 48px; height: 48px; border: 0; background: var(--blue-50); border-radius: 50%; cursor: pointer; color: var(--blue-700);
  display: grid; place-items: center;
  transition: background-color var(--dur-fast), transform 200ms var(--ease-spring);
}
.stepper button:hover { background: var(--blue-100); color: var(--blue-800); }
.stepper button[data-step="1"] { background: var(--blue-700); color: #fff; }
.stepper button[data-step="1"]:hover { background: var(--blue-800); color: #fff; }
.stepper button:active:not(:disabled) { transform: scale(.92); transition: transform 100ms var(--ease-out); }
.stepper button:disabled { color: #9aa8b6; cursor: default; background: none; }
.stepper button svg { width: 18px; height: 18px; }
.stepper output, .stepper input {
  min-width: 2.5ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--blue-900);
}
.stepper input { width: 64px; height: 48px; border: 0; background: none; font: inherit; font-weight: 700; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { font-size: .8125rem; color: var(--muted); padding-right: 4px; }

/* Summary: desktop sticky panel / mobile drawer */
.summary { background: #fff; border-radius: var(--r-3); box-shadow: var(--shadow-lg); border: 1px solid var(--blue-100); }
.summary-head { padding: var(--s-5) var(--s-5) var(--s-4); background: linear-gradient(180deg, var(--blue-50), #fff); border-radius: var(--r-3) var(--r-3) 0 0; }
.summary-head .label { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
/* The total is the hero of the panel */
.summary-total {
  position: relative; width: fit-content; margin: 2px 0 4px; transform-origin: left center;
  font: 800 2.5rem/1.05 var(--font-head); color: var(--blue-900); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.summary.is-empty .summary-total { color: var(--muted); }
.summary-total.is-pulse { animation: total-pulse var(--dur-base) var(--ease-out); }
@keyframes total-pulse { 50% { transform: scale(1.04); } }
.total-bub {
  position: absolute; left: 100%; top: 0; width: 14px; height: 14px; margin-left: 6px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #fff 0 20%, rgba(255, 255, 255, .5) 35%, rgba(0, 148, 255, .35) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(0, 148, 255, .25);
}
.total-bub.is-go { animation: total-bub 600ms var(--ease-out); }
@keyframes total-bub {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(.4); }
  35% { opacity: 1; transform: translate3d(0, -4px, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(4px, -18px, 0) scale(1.3); }
}
.summary-toggle { display: none; }
.summary-body { padding: 0 var(--s-5) var(--s-5); }
.summary-list { border-top: 1px solid var(--line); margin-bottom: var(--s-4); max-height: 40vh; overflow: auto; }
.summary-list li { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.summary-list li.is-new { animation: slideIn 200ms var(--ease-out); }
.summary-list li.is-out { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.summary-list li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-empty { color: var(--muted); font-size: .9375rem; padding: var(--s-3) 0; }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.summary-note { font-size: .8125rem; color: var(--muted); margin: var(--s-3) 0 0; }
.summary-min { font-size: .8125rem; margin: 0 0 var(--s-3); padding: var(--s-2) var(--s-3); background: var(--blue-50); border-radius: var(--r-1); }
.summary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.summary-actions .btn { padding: 0 var(--s-3); }

@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 1023px) {
  .js .summary {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-radius: var(--r-3) var(--r-3) 0 0;
    border: 0; box-shadow: 0 -10px 30px rgba(11, 42, 74, .16); padding-bottom: env(safe-area-inset-bottom);
    max-height: 85vh; display: flex; flex-direction: column;
  }
  /* Bar waits until the calculator is reached (or something is added) */
  .js .summary { transform: translateY(100%); visibility: hidden; transition: transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
  .js .summary.is-shown { transform: none; visibility: visible; transition: transform var(--dur-base) var(--ease-out); }
  .js .summary-head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); }
  .js .summary-head .totals { flex: 1; min-width: 0; }
  .js .summary-head .label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .js .summary-total { font-size: 1.625rem; margin: 0; }
  .js .summary-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--blue-700); cursor: pointer; flex: none;
  }
  .js .summary-toggle svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
  .js .summary.is-open .summary-toggle svg { transform: rotate(180deg); }
  .js .summary-body { display: none; overflow: auto; padding: 0 var(--s-4) var(--s-4); }
  .js .summary.is-open .summary-body { display: block; }
  .js .summary-quick { flex: none; }
  .js .summary.is-open .summary-quick { display: none; }
  .js .page-pricing { --bar-h: 88px; }
}
@media (min-width: 1024px) { .summary-quick { display: none; } }

.on-request { display: grid; gap: var(--s-3); }
@media (min-width: 768px) { .on-request { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.on-request li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5); }
.on-request svg { width: 32px; height: 32px; color: var(--blue-600); margin-bottom: var(--s-3); }
.on-request h3 { font-size: 1.125rem; margin-bottom: 4px; }
.on-request p { margin: 0 0 var(--s-3); color: var(--muted); font-size: .9375rem; }
.on-request .price-chip { background: var(--blue-50); }

.ba-pair { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .ba-pair { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.ba-pair .ba { max-width: 480px; margin-inline: auto; width: 100%; }

.reviews--strip .review blockquote { font-size: 1rem; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero::before { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .btn:active, .stepper button:active, .card:hover .card-media img { transform: none; }
  .btn--primary::after { display: none; }
  /* Bubbles: a few static translucent circles; moving extras off */
  .bubble, .bubble::before { animation: none !important; }
  .js .bubbles--hero:not(.is-on) { opacity: 1; }
  .bubbles--hero .bubble:nth-child(n+5), .bubbles--cta .bubble:nth-child(n+4) { display: none; }
  .bub, .drop, .ba-trail, .total-bub { display: none; }
}

/* ---------- Progressive enhancement + bar spacing ---------- */
.stepper, .summary { display: none; }
.js .stepper { display: inline-flex; }
.js .summary { display: block; }
.mbar .btn { white-space: normal; line-height: 1.2; text-align: center; }
@media (max-width: 639px) { body.has-mbar { --bar-h: 76px; } }
@media (max-width: 1023px) { .js .summary { display: flex; } }
