/* ECOLINO / Pika pau
   Sistem oblika: dugmad i cipovi su pune pilule (999px), kartice 28px spolja / 22px iznutra,
   fotografije 20px. Animacije: transform i opacity, krive --ease-out i --ease-soft.
   Fontovi klijenta (lokalno, folder assets/fonts):
     Futura Medium Condensed BT (500) - naslovi, navigacija, tekst, dugmad
     Futura Light Condensed BT (300)  - krupni uvodni pasusi
     Doctor Soos Bold KS (700)        - akcenat u naslovima (umesto kurziva)
   Lazni bold/kurziv je iskljucen (font-synthesis: none). */

@font-face {
  font-family: 'Futura Cond';
  src: url('../fonts/futura-mdcn.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Futura Cond';
  src: url('../fonts/futura-ltcn.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Doctor Soos';
  src: url('../fonts/doctor-soos-bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --forest-950: #0d1d14;
  --forest-900: #11251a;
  --forest-800: #1a3022;
  --forest-700: #24402d;
  --forest-600: #31523a;
  --olive-600: #5d6a3d;
  --olive-500: #76824f;
  --sage-400: #a3b196;
  --sage-300: #bfcab3;
  --sage-200: #d6ddcd;
  --sage-100: #e7ece0;
  --ivory: #f6f2e8;
  --ivory-hi: #fbf9f3;
  --stone-100: #eeeae1;
  --stone-200: #e5e0d4;
  --stone-300: #d6cfbf;
  --stone-500: #9e9686;
  --wood-200: #ecdcc4;
  --wood-300: #e0c7a2;
  --wood-500: #c29a6b;
  --wood-600: #a87e51;
  --wood-700: #86603b;
  --ink: #16241b;
  --ink-2: #3f4d44;
  --ink-3: #66706a;
  --on-dark: #f1ede2;
  --on-dark-2: rgba(241, 237, 226, 0.86);
  --on-dark-3: rgba(241, 237, 226, 0.66);
  --photo-bg: #e6e8ea;

  --hero-bg: #1b2b1a;

  --font-display: 'Futura Cond', 'Futura', 'Trebuchet MS', Arial, sans-serif;
  --font-body: 'Futura Cond', 'Futura', 'Trebuchet MS', Arial, sans-serif;
  --font-accent: 'Doctor Soos', 'Futura Cond', 'Trebuchet MS', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --lane: 0px;
  --header-h: 88px;
  --r-card: 28px;
  --r-card-in: 22px;
  --r-img: 20px;
  --section-y: clamp(64px, 8vw, 112px);

  --shadow-soft: 0 1px 2px rgba(22, 36, 27, 0.06), 0 12px 32px -12px rgba(22, 36, 27, 0.18);
  --shadow-lift: 0 2px 4px rgba(22, 36, 27, 0.06), 0 28px 60px -24px rgba(22, 36, 27, 0.32);

  --z-duck: 30;
  --z-header: 50;
  --z-menu: 60;
  --z-dialog: 70;
}

@media (min-width: 1200px) {
  :root { --lane: 150px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 0.6vw + 15.5px, 21px);
  line-height: 1.55;
  letter-spacing: 0.006em;
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--wood-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--wood-300); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* Zrno papira: fiksni sloj, ne prati skrol. */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 80; opacity: 0.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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .12 0 0 0 0 .1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--lanes { max-width: min(1240px, calc(100vw - 2 * var(--lane))); }
@media (min-width: 1200px) {
  .wrap--lanes { padding-inline: 0; max-width: min(1080px, calc(100vw - 2 * var(--lane))); }
}

/* ---------- Tipografija ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.display em, .serif-em { font-style: italic; font-weight: 500; }
.h-xl { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.h-lg { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.04; }
.h-md { font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.1; }
.h-sm { font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(26, 48, 34, 0.06); color: var(--forest-700);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.1);
}
.on-dark .eyebrow { background: rgba(241, 237, 226, 0.08); color: var(--wood-300); box-shadow: inset 0 0 0 1px rgba(241, 237, 226, 0.14); }
.kicker { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--olive-600); }

/* ---------- Dugmad ---------- */
.btn {
  --btn-bg: var(--forest-800);
  --btn-fg: var(--ivory);
  --btn-icon-bg: rgba(246, 242, 232, 0.14);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 8px 8px 8px 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px -14px rgba(13, 29, 20, 0.55);
  transition: transform 0.5s var(--ease-soft), background-color 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--btn-icon-bg);
  transition: transform 0.5s var(--ease-soft);
}
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover { background: var(--forest-700); }
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
.btn:active { transform: scale(0.98); }
.btn--wood { --btn-bg: var(--wood-500); --btn-fg: var(--forest-950); --btn-icon-bg: rgba(13, 29, 20, 0.1); }
.btn--wood:hover { background: var(--wood-300); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--forest-900); --btn-icon-bg: rgba(26, 48, 34, 0.08); }
.btn--light:hover { background: #fff; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--forest-800); --btn-icon-bg: rgba(26, 48, 34, 0.08);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.24);
}
.btn--ghost:hover { background: rgba(26, 48, 34, 0.06); }
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--ivory); --btn-icon-bg: rgba(246, 242, 232, 0.12);
  box-shadow: inset 0 0 0 1px rgba(246, 242, 232, 0.32);
}
.btn--ghost-light:hover { background: rgba(246, 242, 232, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: space-between; white-space: normal; }
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--forest-700); border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap 0.4s var(--ease-soft), color 0.3s;
}
.text-link:hover { gap: 12px; color: var(--olive-600); }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Header (plutajuca staklena pilula) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  position: relative;
  max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 10px 0 24px;
  border-radius: 999px;
  color: var(--on-dark);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.07)),
    rgba(18, 32, 22, 0.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 14px 40px -24px rgba(8, 16, 10, 0.6);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.nav-shell::before {
  /* blagi odsjaj */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 140% at 12% -40%, rgba(255, 255, 255, 0.28), transparent 46%);
  opacity: 0.7;
}
.site-header[data-theme='light'] .nav-shell {
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34) 40%, rgba(255, 255, 255, 0.46)),
    rgba(246, 242, 232, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(26, 48, 34, 0.08),
    0 14px 40px -26px rgba(22, 36, 27, 0.35);
}
.brand {
  position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.22em;
  text-decoration: none; padding: 6px 0; line-height: 1;
}
.nav { position: relative; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; text-decoration: none;
  background: transparent; border: 0; cursor: pointer;
  transition: background-color 0.35s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-expanded='true'] { background: rgba(255, 255, 255, 0.12); }
.site-header[data-theme='light'] .nav__link:hover,
.site-header[data-theme='light'] .nav__link[aria-expanded='true'] { background: rgba(26, 48, 34, 0.07); }
.nav__link[aria-current='page'] { box-shadow: inset 0 -1px 0 currentColor; border-radius: 999px 999px 999px 999px; }
.nav__chev { width: 14px; height: 14px; transition: transform 0.45s var(--ease-soft); }
.nav__toggle[aria-expanded='true'] .nav__chev { transform: rotate(180deg); }

.nav-call {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.92rem; white-space: nowrap;
  background: var(--ivory); color: var(--forest-900);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease-soft), background 0.3s;
}
.site-header[data-theme='light'] .nav-call { background: var(--forest-800); color: var(--ivory); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.nav-call__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: rgba(26, 48, 34, 0.09); }
.site-header[data-theme='light'] .nav-call__icon { background: rgba(246, 242, 232, 0.16); }
.nav-call svg { width: 15px; height: 15px; }
.nav-call:active { transform: scale(0.97); }

/* Padajuci meni */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 380px; padding: 8px;
  border-radius: 26px;
  color: var(--ink);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(251, 249, 243, 0.74));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(26, 48, 34, 0.08), 0 30px 60px -28px rgba(13, 29, 20, 0.45);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -6px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-soft), visibility 0s linear 0.45s;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
  transition: opacity 0.3s var(--ease-out), transform 0.5s var(--ease-soft), visibility 0s;
}
.dropdown__list { list-style: none; display: grid; gap: 2px; }
.dropdown__link {
  display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: 18px; text-decoration: none;
  transition: background-color 0.3s var(--ease-out);
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: rgba(26, 48, 34, 0.06); }
.dropdown__link[aria-current='page'] { background: rgba(26, 48, 34, 0.08); }
.dropdown__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--sage-100); color: var(--forest-700);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.06);
}
.dropdown__icon svg { width: 34px; height: 34px; stroke-width: 1.6; }
.dropdown__title { display: block; font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.dropdown__short { display: block; font-size: 0.84rem; color: var(--ink-3); line-height: 1.35; }

.menu-toggle {
  display: none; position: relative;
  width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
}
.site-header[data-theme='light'] .menu-toggle { background: rgba(26, 48, 34, 0.07); }
.menu-toggle__bar {
  position: absolute; left: 15px; right: 15px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 0.5s var(--ease-soft), opacity 0.3s;
}
.menu-toggle__bar:nth-child(1) { top: 19px; }
.menu-toggle__bar:nth-child(2) { top: 27px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav, .nav-call { display: none; }
  .menu-toggle { display: block; }
  .nav-shell { height: 60px; padding: 0 6px 0 22px; }
  :root { --header-h: 78px; }
}

/* Mobilni meni */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column;
  padding: 96px var(--gutter) max(24px, env(safe-area-inset-bottom));
  color: var(--on-dark);
  background: rgba(13, 29, 20, 0.86);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease-out), visibility 0s; }
body.menu-open .site-header { z-index: calc(var(--z-menu) + 1); }
body.menu-open { overflow: hidden; }
.mobile-menu__list { list-style: none; display: grid; gap: 4px; }
.mobile-menu__item {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-soft);
}
.mobile-menu.is-open .mobile-menu__item { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 2.3rem; line-height: 1.1; text-decoration: none; color: inherit;
  border-bottom: 1px solid rgba(241, 237, 226, 0.12);
}
.mobile-menu__link svg { width: 22px; height: 22px; transition: transform 0.45s var(--ease-soft); }
.mobile-menu__link[aria-expanded='true'] svg { transform: rotate(180deg); }
.mobile-sub { list-style: none; display: grid; gap: 4px; padding: 10px 0 14px; }
.mobile-sub[hidden] { display: none; }
.mobile-sub a {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 10px 8px; border-radius: 16px; text-decoration: none; font-weight: 500; font-size: 1.05rem;
  background: rgba(241, 237, 226, 0.05);
}
.mobile-sub a .dropdown__icon { width: 44px; height: 44px; background: rgba(241, 237, 226, 0.08); color: var(--wood-300); box-shadow: none; }
.mobile-sub a .dropdown__icon svg { width: 30px; height: 30px; }
.mobile-menu__contact { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mobile-menu__contact .btn { justify-content: space-between; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100svh + 150vh);
  background: var(--hero-bg);
  color: var(--on-dark);
}
.hero__stage {
  position: sticky; top: 0;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  display: flex; flex-direction: column;
  background:
    radial-gradient(70% 60% at 18% 22%, rgba(122, 133, 76, 0.32), transparent 70%),
    radial-gradient(60% 50% at 30% 92%, rgba(103, 130, 74, 0.28), transparent 70%),
    linear-gradient(180deg, #1f311d 0%, #1b2b1a 55%, #172517 100%);
}
.hero__media {
  position: absolute;
  left: 50%; top: 50%; width: min(118vw, 1500px); aspect-ratio: 1916 / 1080;
  transform: translate(-50%, -50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.hero__media.is-placed { transform: none; aspect-ratio: auto; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity 0.6s var(--ease-out); }
.hero__canvas.is-ready { opacity: 1; }

.hero__content {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + clamp(18px, 3.4vh, 44px));
  text-align: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.35rem, 4.7vw, 4.8rem); line-height: 1.04; letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--wood-300); }
.hero__lead {
  margin: clamp(10px, 1.6vh, 18px) auto 0; max-width: 40ch;
  font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--on-dark-2);
}
.hero__cards {
  position: relative; z-index: 2;
  margin-top: auto;
  padding-bottom: clamp(16px, 3.2vh, 34px);
}
.hero__cards-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}

/* Staklena kartica usluge */
.glass-card {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  min-height: 92px; padding: 14px 14px 14px 16px;
  border-radius: 24px; text-decoration: none; color: var(--on-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.06)),
    rgba(20, 34, 22, 0.1);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px -26px rgba(5, 12, 7, 0.7);
  transition: transform 0.6s var(--ease-soft), background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.glass-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 120% at 0% 0%, rgba(255, 255, 255, 0.22), transparent 45%);
  opacity: 0.8; transition: opacity 0.5s var(--ease-out);
}
.glass-card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: rgba(241, 237, 226, 0.08); color: var(--wood-300);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.glass-card__icon svg { width: 40px; height: 40px; stroke-width: 1.5; }
.glass-card__title { font-weight: 600; font-size: 1rem; line-height: 1.25; text-wrap: balance; text-shadow: 0 1px 12px rgba(5, 12, 7, 0.45); }
.glass-card__arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  background: rgba(241, 237, 226, 0.12);
  transition: transform 0.5s var(--ease-soft), background 0.4s;
}
.glass-card__arrow svg { width: 15px; height: 15px; }
.glass-card:hover { transform: translateY(-3px); background-color: rgba(255, 255, 255, 0.07); }
.glass-card:hover::before { opacity: 1; }
.glass-card:hover .glass-card__arrow { transform: translate(2px, -2px); background: var(--ivory); color: var(--forest-900); }
.glass-card:active { transform: scale(0.985); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card, .nav-shell { background-color: rgba(20, 36, 24, 0.72); }
  .site-header[data-theme='light'] .nav-shell { background-color: rgba(246, 242, 232, 0.94); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-card { background: rgba(20, 36, 24, 0.86); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-shell { background: rgba(20, 36, 24, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header[data-theme='light'] .nav-shell { background: rgba(250, 248, 242, 0.97); }
}

@media (max-width: 900px) {
  .hero__cards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .glass-card { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 8px; min-height: 0; padding: 12px; border-radius: 20px; }
  .glass-card__icon { width: 42px; height: 42px; border-radius: 13px; }
  .glass-card__icon svg { width: 32px; height: 32px; }
  .glass-card__title { grid-column: 1 / -1; font-size: 0.9rem; }
  .glass-card__arrow { width: 28px; height: 28px; align-self: start; grid-row: 1; grid-column: 2; }
  .glass-card__icon { grid-row: 1; grid-column: 1; }
  .glass-card__title { grid-row: 2; }
  .hero { height: calc(100svh + 115vh); }
}
@media (max-width: 380px) {
  .glass-card__title { font-size: 0.84rem; }
}
@media (max-height: 620px) and (min-width: 600px) {
  .hero__lead { display: none; }
  .glass-card { min-height: 70px; padding: 10px 12px; }
  .glass-card__icon { width: 40px; height: 40px; }
}

/* ---------- Opste sekcije ---------- */
.section { position: relative; padding-block: var(--section-y); }
.on-dark { color: var(--on-dark); }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-2); }
.bg-forest { background: var(--forest-800); }
.bg-forest-deep { background: var(--forest-900); }
.bg-stone { background: var(--stone-100); }
.bg-ivory { background: var(--ivory); }

[data-reveal] { --reveal-delay: 0s; }
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out) var(--reveal-delay), transform 1.1s var(--ease-soft) var(--reveal-delay);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Ulazna animacija sadrzaja na vrhu stranice (bez cekanja na JS). */
.rise { animation: rise-in 1s var(--ease-soft) both; }
.rise--2 { animation-delay: 0.12s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- O nama ---------- */
.about {
  position: relative; z-index: 3;
  margin-top: -1px;
  background: var(--ivory);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  box-shadow: 0 -30px 60px -40px rgba(5, 12, 7, 0.6);
}
.about__head { display: grid; gap: 22px; max-width: 900px; }
.about__title-row { display: flex; align-items: center; gap: 18px; }
.about__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-600); }
.about__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(93, 106, 61, 0.45), transparent); max-width: 220px; }
.about__quote { font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: 1.06; color: var(--forest-800); text-wrap: balance; }
.about__quote em { color: var(--wood-700); }
.about__grid {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.about__text-a { grid-column: 1 / span 5; align-self: center; }
.about__text-a p:first-child { font-size: clamp(1.12rem, 1.35vw, 1.3rem); color: var(--ink); line-height: 1.6; }
.about__figure-a { grid-column: 6 / span 7; margin: 0; }
.about__figure-b { grid-column: 1 / span 4; margin: clamp(12px, 2vw, 32px) 0 0; }
.about__figure-c { grid-column: 5 / span 4; margin: clamp(56px, 8vw, 128px) 0 0; }
.about__text-b { grid-column: 9 / span 4; align-self: end; margin-bottom: clamp(0px, 2vw, 32px); }
.about__text-b p { color: var(--ink-2); }
.about__text-b p:last-child { font-family: var(--font-display); font-size: clamp(1.45rem, 1.9vw, 1.8rem); line-height: 1.25; color: var(--forest-800); margin-top: 1.4em; }
.about p { max-width: 56ch; }
.about figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-3); }
.about figcaption a { text-decoration: none; border-bottom: 1px solid rgba(22, 36, 27, 0.25); }

.frame {
  display: block;
  position: relative; overflow: hidden; border-radius: var(--r-img);
  background: var(--photo-bg);
  box-shadow: var(--shadow-soft);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-soft); }
.frame--bezel { padding: 6px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.07), var(--shadow-soft); }
.frame--bezel > .frame__in { display: block; overflow: hidden; border-radius: var(--r-card-in); background: var(--photo-bg); height: 100%; }
.frame--bezel > .frame__in img { width: 100%; height: 100%; object-fit: cover; }
a.frame:hover img, a .frame:hover img { transform: scale(1.035); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__text-a, .about__figure-a, .about__figure-b, .about__figure-c, .about__text-b { grid-column: 1; margin: 0; }
  .about__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 901px) { .about__pair { display: contents; } }

/* ---------- Njihove male ruke (motion sekcija) ---------- */
.hands {
  position: relative; overflow: clip;
  background:
    radial-gradient(60% 40% at 85% 10%, rgba(118, 130, 79, 0.22), transparent 70%),
    radial-gradient(50% 40% at 0% 70%, rgba(194, 154, 107, 0.1), transparent 70%),
    var(--forest-800);
}
.hands__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 7.4vw, 7.2rem); line-height: 1; letter-spacing: -0.022em;
}
.hands__title .line { display: block; }
.hands__title .line + .line { padding-left: clamp(0px, 10vw, 180px); font-style: italic; color: var(--wood-300); }
.word { display: inline-block; opacity: var(--word-o, 1); transition: opacity 0.2s linear; }
.js .hands__title .word { --word-o: 0.16; }
.hands__layout {
  margin-top: clamp(40px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
}
.hands__copy { grid-column: 1 / span 5; align-self: start; }
.hands__copy p { color: var(--on-dark-2); max-width: 48ch; }
.hands__copy p:first-child { color: var(--on-dark); font-size: clamp(1.12rem, 1.35vw, 1.3rem); }
.hands__media { grid-column: 7 / span 6; position: relative; min-height: clamp(380px, 46vw, 620px); }
.hands__img { position: absolute; margin: 0; will-change: transform; }
.hands__img .frame { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.hands__img--1 { left: 0; top: 0; width: 58%; aspect-ratio: 4 / 5; }
.hands__img--2 { right: 0; top: 16%; width: 46%; aspect-ratio: 1 / 1; }
.hands__img--3 { left: 22%; bottom: -6%; width: 44%; aspect-ratio: 3 / 2; }
.hands__img .frame { height: 100%; }
.hands__closing {
  margin-top: clamp(56px, 7vw, 104px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end;
}
.hands__closing-text { grid-column: 1 / span 8; font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.08; }
.hands__closing-text em { color: var(--wood-300); }
.hands__closing-cta { grid-column: 9 / span 4; justify-self: end; }

.principles {
  position: relative; list-style: none;
  margin-top: clamp(72px, 9vw, 128px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px);
}
/* Horizontalna "sina" sa koje vise principi; crta se pri skrolu (--line). */
.principles::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(224, 199, 162, 0.55), rgba(224, 199, 162, 0.18));
  transform-origin: 0 50%; transform: scaleX(var(--line, 1));
}
.principle { --drop: 0px; position: relative; padding-top: 22px; margin-top: var(--drop); }
.principle::before {
  content: ''; position: absolute; left: 45px; width: 1px;
  top: calc(-1 * var(--drop)); height: calc(var(--drop) + 22px);
  background: rgba(224, 199, 162, 0.4);
  transform-origin: 50% 0; transform: scaleY(1);
  transition: transform 1.2s var(--ease-soft) 0.2s;
}
.js .principle:not(.is-visible)::before { transform: scaleY(0); }
.principle:nth-child(2) { --drop: clamp(40px, 6vw, 96px); }
.principle:nth-child(3) { --drop: clamp(80px, 12vw, 192px); }
.principle__icon {
  width: 92px; height: 92px; border-radius: 999px; display: grid; place-items: center;
  background: var(--forest-800); color: var(--wood-300);
  box-shadow: inset 0 0 0 1px rgba(224, 199, 162, 0.28);
  margin-bottom: 26px;
}
.principle__icon svg { width: 54px; height: 54px; stroke-width: 1.3; }
.principle h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.08; margin-bottom: 12px; }
.principle p { color: var(--on-dark-2); max-width: 34ch; }
.draw path, .draw circle, .draw ellipse, .draw line, .draw rect { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw path, .js .draw circle, .js .draw ellipse, .js .draw line, .js .draw rect {
  stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-in-out);
}
.js .is-visible .draw path, .js .is-visible .draw circle, .js .is-visible .draw ellipse, .js .is-visible .draw line, .js .is-visible .draw rect { stroke-dashoffset: 0; }
.js .is-visible .draw > :nth-child(2) { transition-delay: 0.15s; }
.js .is-visible .draw > :nth-child(3) { transition-delay: 0.3s; }
.js .is-visible .draw > :nth-child(4) { transition-delay: 0.45s; }
.js .is-visible .draw > :nth-child(5) { transition-delay: 0.6s; }
.js .is-visible .draw > :nth-child(6) { transition-delay: 0.75s; }

.stats { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; gap: 48px; }
.stat__value { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--wood-300); }
.stat__label { max-width: 26ch; color: var(--on-dark); }
.stat__period { font-size: 0.85rem; color: var(--on-dark-3); }

@media (max-width: 900px) {
  .hands__layout, .hands__closing { grid-template-columns: 1fr; }
  .hands__copy, .hands__media, .hands__closing-text, .hands__closing-cta { grid-column: 1; }
  .hands__closing-cta { justify-self: start; }
  .hands__media { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .hands__img { position: relative; inset: auto; width: auto; }
  .hands__img--1 { grid-row: span 2; aspect-ratio: auto; }
  .hands__img--3 { bottom: auto; }
  .principles { grid-template-columns: 1fr; gap: 48px; padding-left: 30px; }
  .principles::before { right: auto; bottom: 0; width: 1px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--line, 1)); }
  .principle:nth-child(n) { --drop: 0px; margin-top: 0; padding-top: 0; }
  .principle::before { left: -30px; top: 46px; width: 30px; height: 1px; transform-origin: 0 50%; }
  .js .principle:not(.is-visible)::before { transform: scaleX(0); }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--stone-100); }
.contact__panel {
  padding: 8px; border-radius: calc(var(--r-card) + 10px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.08), var(--shadow-lift);
}
.contact__panel-in {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 80px) clamp(28px, 4.5vw, 64px);
  border-radius: calc(var(--r-card) + 2px);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(194, 154, 107, 0.28), transparent 62%),
    radial-gradient(60% 70% at 0% 100%, rgba(118, 130, 79, 0.3), transparent 70%),
    var(--forest-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.contact__rings {
  position: absolute; z-index: -1; right: clamp(-160px, -8vw, -40px); top: clamp(-200px, -10vw, -60px);
  width: clamp(320px, 42vw, 620px); color: rgba(224, 199, 162, 0.16); pointer-events: none;
}
.contact__rings svg { width: 100%; height: auto; stroke-width: 0.5; }
.contact__title {
  font-size: clamp(2.6rem, 6.2vw, 5.9rem); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--on-dark); max-width: 17ch; text-wrap: balance;
}
.contact__title em { color: var(--wood-300); }
/* Gore: tekst + telefon/Instagram. Ispod: forma za upit e-mailom preko cele sirine panela. */
.contact__row {
  margin-top: clamp(32px, 4.5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.6vw, 44px);
}
.contact__side {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: end;
}
.contact__text { margin: 0; max-width: 40ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--on-dark-2); }
/* Kartice su jedna ispod druge, da broj telefona i Instagram adresa uvek stanu u jedan red. */
.contact__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.contact-card {
  display: block; padding: 5px; border-radius: var(--r-card); text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 0.6s var(--ease-soft), background 0.5s var(--ease-out);
}
.contact-card__in {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  min-height: 84px; padding: 14px 16px; border-radius: var(--r-card-in);
  background: var(--ivory-hi); box-shadow: inset 0 1px 0 #fff;
}
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sage-100); color: var(--forest-700); }
.contact-card__icon svg { width: 21px; height: 21px; }
/* Velicina slova prati sirinu kartice (cqi), pa tekst nikad ne prelazi u drugi red. */
.contact-card__txt { display: grid; gap: 2px; min-width: 0; container-type: inline-size; }
.contact-card__label { font-size: min(0.82rem, 6.4cqi); font-weight: 600; letter-spacing: 0.02em; color: var(--olive-600); white-space: nowrap; }
.contact-card__value { font-family: var(--font-display); font-size: 1.5rem; font-size: min(1.9rem, 15cqi); line-height: 1.15; color: var(--forest-800); white-space: nowrap; }
.contact-card__value--small { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; font-size: 1rem; font-size: min(1.2rem, 7cqi); }
.contact-card__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--forest-800); color: var(--ivory); transition: transform 0.5s var(--ease-soft); }
.contact-card__arrow svg { width: 15px; height: 15px; }
.contact-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.2); }
.contact-card:hover .contact-card__arrow { transform: translate(2px, -2px); }
.contact-card:active { transform: scale(0.985); }
@media (max-width: 1100px) {
  .contact__side { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact__panel-in { padding-inline: 18px; }
  .contact-card__in { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 14px; min-height: 72px; }
  .contact-card__icon { width: 38px; height: 38px; border-radius: 12px; }
  .contact-card__icon svg { width: 18px; height: 18px; }
  .contact-card__arrow { display: none; }
}
@media (max-width: 480px) {
  .contact__panel { padding: 6px; }
  .contact__panel-in { padding-inline: 14px; }
  .contact-card { padding: 4px; }
  .contact-card__in { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .contact-card__icon { display: none; }
}

/* Kontakt odmah posle sekcije iste boje: bez dvostrukog razmaka. */
.bg-stone + .contact { padding-top: 0; }
.section.bg-stone:has(+ .contact) { padding-bottom: clamp(40px, 5vw, 64px); }
.contact { padding-bottom: clamp(56px, 7vw, 96px); }

/* ---------- Footer ---------- */
.footer { background: var(--forest-950); color: var(--on-dark); padding: clamp(64px, 7vw, 96px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: 0.22em; }
.footer__tagline { margin-top: 12px; font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--wood-300); }
.footer__heading { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 14px; font-weight: 600; }
.footer__list { list-style: none; display: grid; gap: 8px; }
.footer__list a { text-decoration: none; color: var(--on-dark-2); transition: color 0.3s; }
.footer__list a:hover { color: var(--ivory); }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(241, 237, 226, 0.1); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 0.85rem; color: var(--on-dark-3); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Patka ---------- */
.duck {
  position: fixed; left: 0; top: 0; z-index: var(--z-duck);
  width: var(--duck-w, 112px); aspect-ratio: 650 / 652;
  pointer-events: none; opacity: 0;
  transform: translate3d(-200px, -200px, 0);
  will-change: transform;
}
.duck.is-active { opacity: 1; }
.duck__body { position: relative; width: 100%; height: 100%; transform-origin: 50% 92%; }
.duck__body img { width: 100%; height: 100%; object-fit: contain; }
.duck__shadow {
  position: absolute; left: 10%; right: 10%; bottom: -5%; height: 12%;
  background: radial-gradient(closest-side, rgba(10, 20, 12, 0.32), transparent);
  filter: blur(1px);
}
@media (prefers-reduced-motion: reduce) { .duck { display: none; } }

/* ---------- Stranice usluga ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 5.5vw, 80px)) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(118, 130, 79, 0.28), transparent 70%),
    var(--forest-800);
  color: var(--on-dark);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font-size: 0.86rem; color: var(--on-dark-3); margin-bottom: clamp(28px, 4vw, 44px); }
.crumbs a { text-decoration: none; color: var(--on-dark-2); }
.crumbs a:hover { color: var(--ivory); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: 0.5; }
.crumbs--light { color: var(--ink-3); }
.crumbs--light a { color: var(--ink-2); }
.crumbs--light a:hover { color: var(--ink); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: end; }
.page-hero__text { grid-column: 1 / span 6; }
.page-hero__title { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.04; text-wrap: balance; }
.page-hero__title em { color: var(--wood-300); }
.page-hero__intro { margin-top: 28px; color: var(--on-dark-2); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 52ch; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero__media { grid-column: 7 / span 6; }
.page-hero__media .frame { aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.page-hero__media .frame--tall { aspect-ratio: 5 / 4; }
.note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 14px; font-size: 0.84rem; line-height: 1.5; color: var(--ink-3);
}
.on-dark .note, .page-hero .note { color: var(--on-dark-3); }
.note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__text, .page-hero__media { grid-column: 1; }
}

/* Kolaz igracaka u zaglavlju kolekcije */
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.collage .frame:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.collage .frame { aspect-ratio: 4 / 3; }

/* Blokovi teksta (usluge) */
.blocks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.block { position: relative; padding-top: 28px; border-top: 1px solid rgba(26, 48, 34, 0.14); }
.block h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.08; color: var(--forest-800); margin-bottom: 16px; }
.block p { color: var(--ink-2); max-width: 46ch; }
.blocks--stagger .block:nth-child(1) { grid-column: 1 / span 5; }
.blocks--stagger .block:nth-child(2) { grid-column: 7 / span 5; margin-top: clamp(0px, 5vw, 72px); }
.blocks--stagger .block:nth-child(3) { grid-column: 3 / span 6; margin-top: clamp(8px, 2vw, 24px); }
@media (max-width: 900px) {
  .blocks { grid-template-columns: 1fr; }
  .blocks .block:nth-child(n) { grid-column: 1; margin-top: 0; }
}

/* CNC galerija materijala */
.materials { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.material { margin: 0; position: relative; }
.material:nth-child(1) { grid-column: 1 / span 7; }
.material:nth-child(2) { grid-column: 8 / span 5; }
.material:nth-child(3) { grid-column: 1 / span 5; }
.material:nth-child(4) { grid-column: 6 / span 7; }
.material .frame { aspect-ratio: 4 / 3; }
.material:nth-child(1) .frame, .material:nth-child(4) .frame { aspect-ratio: 16 / 10; }
.material:nth-child(2) .frame, .material:nth-child(3) .frame { aspect-ratio: auto; height: calc(100% - 44px); min-height: 240px; }
.material figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 4px 0; }
.material figcaption strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--forest-800); }
.material figcaption span { font-size: 0.84rem; color: var(--ink-3); }
@media (max-width: 760px) {
  .materials { grid-template-columns: 1fr 1fr; gap: 12px; }
  .material:nth-child(n) { grid-column: auto; }
  .material:nth-child(n) .frame { aspect-ratio: 1 / 1; height: auto; min-height: 0; }
  .material figcaption strong { font-size: 1.3rem; }
}

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head h2 { color: var(--forest-800); }
.on-dark .section-head h2 { color: var(--on-dark); }

/* Krevetici */
.beds { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.bed { margin: 0; }
.bed:nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
.bed:nth-child(2) { grid-column: 8 / span 5; }
.bed:nth-child(3) { grid-column: 8 / span 5; }
.bed .frame { aspect-ratio: 4 / 3; }
.bed:nth-child(1) .frame { aspect-ratio: 1 / 1.02; }
.bed__cap { padding: 16px 4px 0; display: grid; gap: 6px; }
.bed__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive-600); }
.bed__title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.1; color: var(--forest-800); }
.bed__text { color: var(--ink-2); font-size: 0.98rem; max-width: 46ch; margin: 0; }
@media (max-width: 900px) {
  .beds { grid-template-columns: 1fr; }
  .bed:nth-child(n) { grid-column: 1; grid-row: auto; }
  .bed:nth-child(1) .frame { aspect-ratio: 4 / 3; }
}

/* Proizvodi od drveta: kolekcijske scene */
.scenes { display: grid; gap: clamp(40px, 5vw, 72px); }
.scene { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: center; }
.scene__media { grid-column: 1 / span 7; margin: 0; }
.scene__media .frame { aspect-ratio: 4 / 3; }
.scene__body { grid-column: 9 / span 4; }
.scene:nth-child(even) .scene__media { grid-column: 6 / span 7; grid-row: 1; }
.scene:nth-child(even) .scene__body { grid-column: 1 / span 4; grid-row: 1; }
.scene__title { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.05; color: var(--forest-800); margin-bottom: 22px; }
.scene__items { list-style: none; display: grid; gap: 18px; }
.scene__items li { display: grid; gap: 4px; padding-left: 18px; position: relative; }
.scene__items li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--wood-600); }
.scene__items strong { font-weight: 600; color: var(--ink); }
.scene__items span { color: var(--ink-2); font-size: 0.98rem; }
/* Siroka scena: slika preko cele sirine, ispod nje naslov i opisi predmeta jedan pored drugog. */
.scene--wide { row-gap: clamp(16px, 2vw, 24px); }
.scene--wide .scene__media { grid-column: 1 / -1; }
.scene--wide .scene__media .frame { aspect-ratio: 16 / 9; }
.scene--wide .scene__body {
  grid-column: 1 / -1; grid-row: auto;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 14px clamp(24px, 3vw, 48px); align-items: start;
}
.scene--wide .scene__title { margin-bottom: 0; }
.scene--wide .scene__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(20px, 3vw, 40px); }
@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; row-gap: 18px; }
  .scene .scene__media, .scene .scene__body, .scene:nth-child(even) .scene__media, .scene:nth-child(even) .scene__body { grid-column: 1; grid-row: auto; }
  .scene__title { margin-bottom: 14px; }
  .scene__items { gap: 12px; }
  .scene--wide .scene__media .frame { aspect-ratio: 4 / 3; }
  .scene--wide .scene__body { grid-template-columns: 1fr; gap: 12px; }
  .scene--wide .scene__items { gap: 12px 16px; }
  .scene--wide .scene__items span { font-size: 0.9rem; line-height: 1.5; }
}
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.groups .block:nth-child(2) { margin-top: 32px; }
.groups .block:nth-child(3) { margin-top: 64px; }
@media (max-width: 900px) { .groups { grid-template-columns: 1fr; } .groups .block:nth-child(n) { margin-top: 0; } }

/* ---------- Kolekcija igracaka ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(26, 48, 34, 0.05); color: var(--ink-2); font-weight: 600; font-size: 0.92rem;
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.1);
  transition: background 0.35s var(--ease-out), color 0.35s, transform 0.4s var(--ease-soft);
}
.chip:hover { background: rgba(26, 48, 34, 0.09); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed='true'] { background: var(--forest-800); color: var(--ivory); box-shadow: none; }
.chip__count { font-weight: 500; opacity: 0.6; font-size: 0.84rem; }

.toy-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px) clamp(16px, 2vw, 28px); }
@media (min-width: 1500px) { .toy-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .toy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .toy-grid { grid-template-columns: 1fr; } }
.toy-card[hidden] { display: none; }
.toy-card { animation: card-in 0.7s var(--ease-soft) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.toy-card__link { display: grid; gap: 16px; text-decoration: none; height: 100%; }
.toy-card__shell {
  display: block; padding: 6px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.07), var(--shadow-soft);
  transition: transform 0.7s var(--ease-soft), box-shadow 0.6s var(--ease-out);
}
.toy-card__media { display: block; position: relative; overflow: hidden; border-radius: var(--r-card-in); aspect-ratio: 4 / 3; background: var(--photo-bg); }
.toy-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s var(--ease-out), transform 1.2s var(--ease-soft); }
.toy-card__alt { opacity: 0; }
.toy-card__link:hover .toy-card__shell { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.09), var(--shadow-lift); }
.toy-card__link:hover .toy-card__alt { opacity: 1; }
.toy-card__link:hover .toy-card__media img { transform: scale(1.03); }
.toy-card__body { display: grid; gap: 6px; padding: 0 6px 6px; }
.toy-card__cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-600); }
.toy-card__name { font-family: var(--font-display); font-size: clamp(1.7rem, 2vw, 2rem); line-height: 1.08; color: var(--forest-800); }
.toy-card__intro { color: var(--ink-2); font-size: 0.97rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.toy-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; font-size: 0.92rem; color: var(--forest-700); }
.toy-card__more svg { width: 15px; height: 15px; transition: transform 0.5s var(--ease-soft); }
.toy-card__link:hover .toy-card__more svg { transform: translate(3px, -2px); }
.toy-empty { padding: 40px; text-align: center; color: var(--ink-3); }

/* ---------- Stranica igracke ---------- */
.product { padding: calc(var(--header-h) + clamp(28px, 3.5vw, 48px)) 0 clamp(56px, 7vw, 96px); }
.product__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.product__gallery { grid-column: 1 / span 7; position: sticky; top: calc(var(--header-h) + 16px); }
.product__info { grid-column: 8 / span 5; }
.gallery__main {
  position: relative; display: block; width: 100%; padding: 6px; border: 0; cursor: zoom-in;
  border-radius: var(--r-card); background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.07), var(--shadow-soft);
}
.gallery__main-in { display: block; position: relative; overflow: hidden; border-radius: var(--r-card-in); aspect-ratio: 3 / 2; background: var(--photo-bg); }
.gallery__main-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.45s var(--ease-out); }
.gallery__main-in img.is-fading { opacity: 0; }
.gallery__zoom {
  position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px; background: rgba(251, 249, 243, 0.9); color: var(--forest-800);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35);
}
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__thumbs { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb {
  display: block; width: 100%; padding: 4px; border: 0; cursor: pointer; border-radius: 18px;
  background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.08);
  transition: box-shadow 0.35s var(--ease-out), transform 0.4s var(--ease-soft);
}
.gallery__thumb span { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 1 / 1; background: var(--photo-bg); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current='true'] { box-shadow: inset 0 0 0 2px var(--forest-700); }
.gallery__thumb:hover { transform: translateY(-2px); }
.product__cat { display: inline-block; margin-bottom: 14px; }
.product__name { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.04; color: var(--forest-800); }
.product__intro { margin-top: 22px; font-size: clamp(1.12rem, 1.4vw, 1.32rem); line-height: 1.55; color: var(--ink); }
.product__desc { margin-top: 22px; color: var(--ink-2); }
.inquiry {
  margin-top: 34px; padding: 6px; border-radius: var(--r-card);
  background: rgba(26, 48, 34, 0.05); box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.08);
}
.inquiry__in { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-card-in); background: var(--forest-800); color: var(--on-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.inquiry__title { font-family: var(--font-display); font-size: clamp(1.7rem, 2.2vw, 2.1rem); line-height: 1.1; }
.inquiry__text { margin: 10px 0 20px; color: var(--on-dark-2); font-size: 0.97rem; }
.inquiry .btn-row { flex-direction: column; align-items: stretch; }
.inquiry .btn { justify-content: space-between; }
.copy-msg {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  background: none; border: 0; cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--wood-300);
  border-bottom: 1px dashed rgba(224, 199, 162, 0.5);
}
.copy-msg svg { width: 15px; height: 15px; }
.copy-msg[data-done='true'] { color: var(--sage-300); }
@media (max-width: 980px) {
  .product__grid { grid-template-columns: 1fr; }
  .product__gallery, .product__info { grid-column: 1; position: static; }
}

.details { background: var(--stone-100); }
.details__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.play { grid-column: 1 / span 7; }
.play__list { list-style: none; display: grid; gap: 14px; margin-top: 28px; counter-reset: play; }
.play__item {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 18px 22px 18px 18px; border-radius: 22px; background: var(--ivory-hi);
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.06);
}
.play__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sage-100); color: var(--forest-700); }
.play__icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.play__item p { margin: 0; padding-top: 4px; color: var(--ink); }
.material-box { grid-column: 9 / span 4; align-self: start; }
.material-box__in {
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-card);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(194, 154, 107, 0.25), transparent 60%),
    var(--forest-800);
  color: var(--on-dark);
}
.facts { list-style: none; display: grid; gap: 16px; margin-top: 22px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--on-dark-2); font-size: 0.97rem; }
.facts svg { width: 22px; height: 22px; color: var(--wood-300); margin-top: 2px; }
.facts strong { color: var(--on-dark); font-weight: 600; display: block; }
@media (max-width: 980px) {
  .details__grid { grid-template-columns: 1fr; }
  .play, .material-box { grid-column: 1; }
}

.related { background: var(--ivory); }
.related__head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-bottom: 28px; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 20, 13, 0.94); color: var(--ivory); z-index: var(--z-dialog);
}
.lightbox::backdrop { background: rgba(10, 20, 13, 0.6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 0.4s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); gap: 16px; }
.lightbox__caption { font-size: 0.92rem; color: var(--on-dark-2); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.icon-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(241, 237, 226, 0.1); color: var(--ivory); transition: background 0.3s, transform 0.4s var(--ease-soft);
}
.icon-btn:hover { background: rgba(241, 237, 226, 0.18); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn svg { width: 20px; height: 20px; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); background: var(--forest-800); color: var(--on-dark); }
.notfound h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.notfound p { color: var(--on-dark-2); margin: 20px auto 32px; max-width: 44ch; }
.notfound .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100svh; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hands__title .word { --word-o: 1; }
  .hands__img { transform: none !important; }
}

/* =====================================================================
   Brend klijenta: fontovi, logotipi, krevetici (runda 2)
   ===================================================================== */

/* Osnova: Futura je uza od prethodnog fonta, pa su sitni tekstovi blago uvecani. */
html { font-size: 106.25%; }
.display, .hero__title, .hands__title, .contact__title, .page-hero__title, .product__name,
.principle h3, .block h2, .scene__title, .toy-card__name, .inquiry__title, .bed__title, .stat__value, .mobile-menu__link {
  font-family: var(--font-display); font-weight: 500; letter-spacing: 0;
}
.hero__title { letter-spacing: 0.002em; line-height: 1.02; }
.hands__title { letter-spacing: -0.004em; line-height: 0.98; }
.contact__title { letter-spacing: 0; line-height: 1.02; }

/* Akcenat: Doctor Soos Bold (pravi bold rez) umesto kurziva. */
.display em, .serif-em, .hero__title em, .about__quote em, .hands__closing-text em, .contact__title em, .page-hero__title em {
  font-family: var(--font-accent); font-style: normal; font-weight: 700;
  font-size: 0.84em; letter-spacing: 0.005em;
}
.hands__title .line + .line { font-family: var(--font-accent); font-style: normal; font-weight: 700; font-size: 0.84em; letter-spacing: 0.005em; }
.footer__tagline { font-family: var(--font-accent); font-style: normal; font-weight: 700; font-size: 1.15rem; line-height: 1.35; }

/* Lagani rez za krupne uvodne pasuse. */
.lead, .hero__lead, .page-hero__intro, .product__intro, .contact__text,
.about__text-a p:first-child, .hands__copy p:first-child { font-weight: 300; letter-spacing: 0.004em; }
.hero__lead { font-size: clamp(1.1rem, 1.4vw, 1.4rem); }
.lead { font-size: clamp(1.15rem, 1.45vw, 1.42rem); }
.page-hero__intro { font-size: clamp(1.12rem, 1.45vw, 1.4rem); }
.product__intro { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.45; }
.contact__text { font-size: clamp(1.12rem, 1.4vw, 1.35rem); }
.about__text-a p:first-child, .hands__copy p:first-child { font-size: clamp(1.25rem, 1.55vw, 1.5rem); line-height: 1.45; }
strong, b { font-weight: 500; }
.ink-strong { color: var(--ink); }

/* Male oznake velikim slovima. */
.eyebrow, .toy-card__cat, .bed__tag, .footer__heading, .about__title, .contact-card__label {
  font-family: var(--font-body); font-weight: 500;
}
.eyebrow { font-size: 0.74rem; letter-spacing: 0.16em; }
.toy-card__cat { font-size: 0.78rem; letter-spacing: 0.13em; }
.about__title { font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: 0.18em; }

/* Navigacija, dugmad, kartice: citljivije velicine za uski font. */
.nav__link { font-size: 1.02rem; letter-spacing: 0.02em; }
.nav-call { font-size: 0.98rem; letter-spacing: 0.02em; }
.btn { font-size: 1.06rem; letter-spacing: 0.02em; }
.chip { font-size: 0.98rem; letter-spacing: 0.02em; }
.dropdown__title { font-size: 1.04rem; }
.dropdown__short { font-size: 0.9rem; }
.glass-card__title { font-size: 1.06rem; letter-spacing: 0.01em; }
.toy-card__name { font-size: clamp(1.75rem, 2.1vw, 2.05rem); line-height: 1.05; }
.toy-card__intro, .scene__items span, .bed__text, .inquiry__text, .facts li { font-size: 1rem; }
.toy-card__more { font-size: 0.98rem; letter-spacing: 0.02em; }
.crumbs { font-size: 0.92rem; letter-spacing: 0.02em; }
.note { font-size: 0.9rem; }
.contact-card__value { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.01em; }
.contact-card__value--small { font-family: var(--font-body); font-weight: 500; letter-spacing: 0.01em; font-size: 1.05rem; font-size: min(1.3rem, 7.6cqi); }
.footer__list a { font-size: 1.02rem; }
@media (max-width: 900px) {
  .glass-card__title { font-size: 0.98rem; }
}
@media (max-width: 380px) {
  .glass-card__title { font-size: 0.92rem; }
}

/* ECOLINO logo: originalni fajl na svetloj plocici (originalna svetla varijanta ne postoji). */
.nav-shell { padding-left: 6px; }
.brand {
  display: inline-flex; align-items: center; flex: none;
  height: 52px; padding: 0 20px; border-radius: 999px; letter-spacing: 0;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(26, 48, 34, 0.06), 0 6px 18px -10px rgba(5, 12, 7, 0.45);
  transition: transform 0.5s var(--ease-soft), box-shadow 0.4s var(--ease-out);
}
.brand:hover { transform: translateY(-1px); }
.brand:active { transform: scale(0.98); }
.brand__logo { height: 35px; width: auto; }
@media (max-width: 960px) {
  .nav-shell { padding-left: 6px; }
  .brand { height: 48px; padding: 0 16px; }
  .brand__logo { height: 30px; }
}
@media (max-width: 360px) {
  .brand__logo { height: 26px; }
}
.footer__logo {
  display: inline-flex; padding: 14px 20px; border-radius: 20px; background: #fff;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6);
}
.footer__logo img { height: 48px; width: auto; }
.footer__tagline { margin-top: 18px; }

/* Pika pau logo */
.brand-badge {
  display: inline-flex; margin-bottom: clamp(20px, 2.6vw, 30px);
  padding: 14px 18px; border-radius: 22px; background: #fff;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
}
.brand-badge img { width: clamp(96px, 9vw, 128px); height: auto; }
.product__brand-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 16px; }
.product__brand-row .product__cat { margin: 0; }
.product__brand { display: inline-flex; transition: transform 0.5s var(--ease-soft); }
.product__brand:hover { transform: rotate(-3deg) scale(1.03); }
.product__brand img { width: clamp(64px, 6vw, 82px); height: auto; }
.product__cat-logo, .bed-logo, .chip__logo { height: 34px; width: auto; }

/* Krevetici: prave fotografije se prikazuju cele, bez odsecanja. */
:root { --bed-bg: linear-gradient(180deg, #c6cacd 0%, #dfe3e6 55%, #e8ebed 100%); }
.toy-card__media--contain { aspect-ratio: 3 / 2; background: var(--bed-bg); }
.toy-card__media--contain img { object-fit: contain; }
.collage--contain { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.collage--contain .frame { aspect-ratio: 3 / 2; background: var(--bed-bg); }
.collage--contain .frame:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; height: auto; }
.collage--contain .frame img { object-fit: contain; }
.gallery__thumbs--all { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 8px; }
.gallery__thumbs--all .gallery__thumb span { aspect-ratio: 3 / 2; background: var(--bed-bg); }
.gallery__thumbs--all .gallery__thumb img { object-fit: contain; }
.product__info .note { margin: 18px 0 0; }
.product__gallery--bed .gallery__main-in { background: var(--bed-bg); }

/* =====================================================================
   Kontakt forma (upit e-mailom)
   ===================================================================== */
.cform { position: relative; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(241, 237, 226, 0.16); }
.cform__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.1; color: var(--on-dark); margin-bottom: clamp(16px, 2vw, 22px); }
.cform__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-weight: 500; font-size: 0.98rem; letter-spacing: 0.02em; color: var(--on-dark); }
.field__opt { margin-left: 6px; font-weight: 300; font-size: 0.88rem; color: var(--on-dark-3); }
.field__input {
  width: 100%; min-height: 54px; padding: 13px 18px; border: 0; border-radius: 16px;
  font: inherit; font-weight: 300; font-size: 1.04rem; line-height: 1.4; color: var(--on-dark);
  background: rgba(241, 237, 226, 0.07);
  box-shadow: inset 0 0 0 1px rgba(241, 237, 226, 0.24);
  transition: box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: rgba(241, 237, 226, 0.55); }
.field__input:hover { box-shadow: inset 0 0 0 1px rgba(241, 237, 226, 0.4); }
.field__input:focus { outline: none; background: rgba(241, 237, 226, 0.11); box-shadow: inset 0 0 0 1.5px var(--wood-300), 0 0 0 4px rgba(224, 199, 162, 0.2); }
.field__input:-webkit-autofill { -webkit-text-fill-color: var(--on-dark); caret-color: var(--on-dark); box-shadow: inset 0 0 0 100px #2b4332, inset 0 0 0 1px rgba(241, 237, 226, 0.3); }
.field__input--area { min-height: 136px; resize: vertical; }
.field__help { margin: 0; font-size: 0.9rem; color: var(--on-dark-3); }
.field__error { margin: 0; font-size: 0.92rem; font-weight: 500; color: #f4bba8; }
.field__error:empty { display: none; }
.field.is-invalid .field__input { box-shadow: inset 0 0 0 1.5px #ec9a83; background: rgba(236, 154, 131, 0.08); }
.cform__foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; container-type: inline-size; }
/* napomena uvek u jednom redu; na uskim ekranima se tekst blago smanjuje */
.cform__privacy { margin: 0; white-space: nowrap; font-size: min(0.92rem, 5cqi); color: var(--on-dark-3); }
.cform__submit[disabled] { opacity: 0.72; cursor: progress; }
.cform__submit.is-loading .btn__icon svg { animation: cform-spin 0.9s linear infinite; }
@keyframes cform-spin { to { transform: rotate(360deg); } }
.cform__status { margin-top: 16px; }
.cform__status:empty { display: none; }
.cform__msg { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border-radius: 18px; font-size: 1.02rem; }
.cform__msg svg { width: 24px; height: 24px; margin-top: 1px; }
.cform__msg--ok { background: rgba(163, 177, 150, 0.16); box-shadow: inset 0 0 0 1px rgba(191, 202, 179, 0.45); color: var(--on-dark); }
.cform__msg--ok svg { color: var(--sage-300); }
.cform__msg--err { background: rgba(236, 154, 131, 0.12); box-shadow: inset 0 0 0 1px rgba(236, 154, 131, 0.5); color: var(--on-dark); }
.cform__msg--err svg { color: #f4bba8; }
.cform__again { margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--wood-300); border-bottom: 1px solid currentColor; }
.cform.is-sent .cform__grid, .cform.is-sent .cform__foot { display: none; }
@media (max-width: 900px) {
  .cform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cform__grid .field:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cform__grid { grid-template-columns: minmax(0, 1fr); }
  .cform__foot { flex-direction: column-reverse; align-items: stretch; }
  .cform__submit { justify-content: space-between; }
}
.mail-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 14px 18px 0 0; padding: 6px 0;
  font-size: 0.92rem; font-weight: 500; color: var(--wood-300); text-decoration: none;
  border-bottom: 1px solid rgba(224, 199, 162, 0.55);
}
.mail-link svg { width: 16px; height: 16px; }
.mail-link:hover { color: var(--ivory); }

/* =====================================================================
   Dugme "nazad na vrh": providno staklo, drvena strelica, prsten napretka
   ===================================================================== */
.to-top {
  --size: 60px;
  position: fixed; z-index: 45;
  right: max(18px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px));
  width: var(--size); height: var(--size); padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--wood-300);
  background:
    radial-gradient(120% 120% at 25% 10%, rgba(255, 255, 255, 0.28), transparent 50%),
    rgba(20, 34, 22, 0.14);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 16px 34px -16px rgba(5, 12, 7, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.86);
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-soft), visibility 0s linear 0.6s, background-color 0.4s, box-shadow 0.4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-soft), visibility 0s, background-color 0.4s, box-shadow 0.4s; }
.to-top[data-theme='light'] {
  color: var(--wood-600);
  background:
    radial-gradient(120% 120% at 25% 10%, rgba(255, 255, 255, 0.85), transparent 55%),
    rgba(246, 242, 232, 0.38);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(26, 48, 34, 0.1),
    0 16px 32px -18px rgba(22, 36, 27, 0.45);
}
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.to-top__track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.4; }
.to-top[data-theme='light'] .to-top__track { stroke: rgba(26, 48, 34, 0.1); }
.to-top__progress {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0));
}
.to-top__arrow {
  position: relative; width: 28px; height: 28px;
  filter: drop-shadow(0 2px 2px rgba(70, 45, 20, 0.38));
  transition: transform 0.55s var(--ease-soft);
}
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
.to-top:hover { background-color: rgba(20, 34, 22, 0.22); }
.to-top:active { transform: scale(0.94); }
.to-top:focus-visible { outline: 2px solid var(--wood-500); outline-offset: 4px; }
body.menu-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 760px) {
  .to-top { --size: 52px; right: max(14px, calc(env(safe-area-inset-right) + 10px)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px)); }
  .to-top__arrow { width: 24px; height: 24px; }
}
@media (prefers-reduced-transparency: reduce) {
  .to-top { background: rgba(20, 36, 24, 0.9); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .to-top[data-theme='light'] { background: rgba(250, 248, 242, 0.97); }
}

@media print {
  .site-header, .duck, .grain, .mobile-menu, .hero__canvas { display: none !important; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; }
}
