/* ==========================================================================
   SIMULTANO design system v2
   Structure and geometry: kudo.ai teardown (docs/research/kudo-teardown/)
   Brand: Simultano Brand Board (yellow #EEEE18, green #025E47, Archivo)
   Chalk recipe: 08-paleta.md part 2 (fills L82-89, grounds L93-98,
   surface-to-ground contrast <= 1.55, matte, hard 0-blur shadows, 1px ink outlines)
   ========================================================================== */

/* ---------- fonts: Archivo variable, self-hosted ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/archivo-var-latin-ext.v2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/archivo-var-latin.v2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Claude Design handoff fonts, self-hosted like Archivo.
   Hanken Grotesk: naslovnica, animirana sekcija. DM Sans + Newsreader: /rjesenja/konferencije/. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/hanken-var-latin-ext.v2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/hanken-var-latin.v2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dmsans-var-latin-ext.v2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dmsans-var-latin.v2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-var-latin-ext.v2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-var-latin.v2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Figtree + Bitter: handoff za /cijene/ (Plans and Features) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/figtree-var-latin-ext.v2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/figtree-var-latin.v2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bitter-var-latin-ext.v2.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bitter-var-latin.v2.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  /* brand */
  --c-primary: #EEEE18;
  --c-primary-hover: #F7F7C4;      /* chalk yellow, hover lightens */
  --c-primary-active: #E0E014;
  --c-green: #025E47;              /* replaces every KUDO blue role */
  --c-green-hover: #024A38;
  --c-green-deep: #023A2C;         /* copyright bar */
  --c-green-tint: #CDE2DA;         /* chalk green, L 84 */
  --c-green-soft: #E6EEE9;
  --c-pink: #FBC2C4;               /* kept exactly, hero right stop */
  --c-pink-deep: #82374F;

  /* ground and surfaces */
  --c-bg: #F2F0EA;
  --c-surface: #FBFBF9;
  --c-surface-alt: #F1F1ED;
  --c-input-bg: #F6F5EF;

  /* ink */
  --c-ink: #0A0A0A;
  --c-text: #333635;
  --c-muted: #6E726F;
  --c-border: #DCDEDD;
  --c-border-strong: #90948F;

  /* footer */
  --c-footer-bg: var(--c-green);
  --c-footer-text: #DFE9E4;
  --c-footer-link: #FFFFFF;
  --c-footer-link-hover: var(--c-primary);
  --c-footer-divider: rgba(251, 251, 249, 0.2);

  /* status */
  --c-error: #9F3D42;
  --c-error-tint: #F2D5D3;
  --c-success: #2F6B50;
  --c-success-tint: #D5E6DB;

  /* hero gradient: same 90deg angle and .55 alpha as the benchmark */
  --hero-grad: linear-gradient(90deg, rgba(205, 226, 218, 0.55) 0%, rgba(251, 194, 196, 0.55) 100%);
  --hero-glass: rgba(251, 251, 249, 0.75);
  --hero-glass-border: rgba(10, 10, 10, 0.5);

  /* geometry */
  --container: 1140px;
  --pad-x: 45px;
  --pad-section: 72px;
  --pad-section-sm: 36px;
  --gap: 54px;
  --header-h: 110px;
  --header-h-sticky: 60px;
  --radius-card: 24px;
  --radius-tile: 10px;
  --radius-glass: 15px;

  /* motion */
  --t-fast: 0.3s ease;
  --shadow-pop: 0 10px 30px rgba(10, 10, 10, 0.07);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-green-hover); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-primary); color: var(--c-ink); padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- type scale (desktop 1440 measured values) ---------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; color: var(--c-ink); font-weight: 700; }
h1, .t-h1 { font-size: 37.8px; line-height: 43.47px; font-weight: 600; letter-spacing: -0.756px; }
h2, .t-h2 { font-size: 36px; line-height: 45px; letter-spacing: -0.36px; }
h3, .t-h3 { font-size: 32.4px; line-height: 42.12px; letter-spacing: -0.162px; }
h4, .t-h4 { font-size: 29.25px; line-height: 36.56px; letter-spacing: -0.29px; }
p { margin: 0 0 1em; }
.t-lead { font-size: 18px; line-height: 28px; }
.t-card { font-size: 16px; line-height: 28px; }
.t-small { font-size: 13px; line-height: 1.4; }
.t-src { font-size: 9px; font-weight: 200; line-height: 2; color: var(--c-muted); }
.t-stat { font-size: 54px; font-weight: 700; line-height: 1.1; color: var(--c-ink); }
.t-center { text-align: center; }
.t-muted { color: var(--c-muted); }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin: 0 auto; }
.section { padding: var(--pad-section) var(--pad-x); }
.section-sm { padding: var(--pad-section-sm) var(--pad-x); }
.section-flush { padding: 0 var(--pad-x); }
.section-alt { background: var(--c-surface-alt); }
.grid { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }.cols-faq { grid-template-columns: 362fr 724fr; }.gap-24 { gap: 24px; }

/* ---------- buttons: lighten on hover + hard 2px unblurred ink shadow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 600; line-height: 1.2;
  border-radius: 4em; padding: 0.7em 1.2em;
  border: 1px solid var(--c-ink); color: var(--c-ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), transform 0.15s ease;
}
.btn-primary { background: var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-hover); box-shadow: 0 2px 0 0 var(--c-ink); color: var(--c-ink); }
.btn-primary:active { background: var(--c-primary-active); box-shadow: none; transform: translateY(1px); }
.btn-secondary { background: var(--c-surface-alt); }
.btn-secondary:hover { background: var(--c-surface); box-shadow: 0 2px 0 0 var(--c-ink); color: var(--c-ink); }
.btn-secondary:active { box-shadow: none; transform: translateY(1px); }.btn-sm { font-size: 13px; border-radius: 52px; padding: 0.7em 1.2em; }
.btn-lg { padding: 1em 1.5em; }
.btn[disabled], .btn.is-loading { opacity: 0.55; pointer-events: none; }

/* ==========================================================================
   HEADER: top strip 30px + main row 80px = 110px, sticky collapses to 60px
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 0 0 rgba(10, 10, 10, 0.06); }

/* top strip */
.header-top {
  height: 30px; background: var(--c-green-soft); color: var(--c-text);
  font-size: 13px; line-height: 30px; overflow: hidden;
  transition: height 0.25s ease;
}
.scrolled .header-top { height: 0; }
.header-top-in {
  max-width: 1350px; margin: 0 auto; padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: center; gap: 14px; white-space: nowrap;
}
.header-top-in .ht-promo { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.header-top-in .sep { color: var(--c-border-strong); flex: none; }
.header-top-in a { color: var(--c-text); text-decoration: none; flex: none; }
.header-top-in a:hover { color: var(--c-green); }
/* account link is pinned to the right edge, like the benchmark */
.header-top-in .ht-account { margin-left: auto; font-weight: 600; }
.header-top-in .ht-account::before {
  content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5' r='3'/%3E%3Cpath d='M2 15c0-3.3 2.7-5 6-5s6 1.7 6 5z'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5' r='3'/%3E%3Cpath d='M2 15c0-3.3 2.7-5 6-5s6 1.7 6 5z'/%3E%3C/svg%3E");
}

/* main row */
.header-main { height: 80px; min-height: 80px; transition: height 0.25s ease, min-height 0.25s ease; }
.scrolled .header-main { height: 60px; min-height: 60px; }
.header-inner {
  max-width: 1350px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 20px; padding: 0 var(--pad-x);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); flex: none; }
.logo-word { font-weight: 900; font-size: 22px; letter-spacing: -0.55px; color: var(--c-ink); transition: font-size 0.25s ease; }
.scrolled .logo-word { font-size: 19px; }
.logo:hover .logo-word { color: var(--c-green); }

.main-nav { margin-left: auto; height: 100%; }
.main-nav > ul { display: flex; list-style: none; height: 100%; }
.main-nav .nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; height: 100%;
  font-size: 16px; font-weight: 500; color: var(--c-ink);
  padding: 0 20px; transition: color var(--t-fast); position: relative;
}
/* accent underline pinned to the header bottom edge */
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--c-green); opacity: 0; transition: opacity var(--t-fast);
}
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link,
.nav-item.open > .nav-link, .nav-link.current { color: var(--c-green); }
.nav-item:hover > .nav-link::after, .nav-item:focus-within > .nav-link::after,
.nav-item.open > .nav-link::after, .nav-link.current::after { opacity: 1; }
.nav-caret { width: 9px; height: 7px; transition: transform var(--t-fast); }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret, .nav-item.open .nav-caret { transform: rotate(180deg); }
.header-cta { display: flex; gap: 10px; align-items: center; flex: none; margin-left: 12px; }

/* ---------- mega panels ---------- */
.panel {
  position: absolute; top: 100%; left: 0; transform: translateY(8px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px; padding: 24px 36px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
  box-shadow: 0 3px 0 0 var(--c-green), 0 22px 44px rgba(10, 10, 10, 0.10);
  z-index: 1001;
}
/* last menu opens leftward so it can never leave the viewport */
.panel--right { left: auto; right: 0; }
/* the wide solutions panel is centred on the viewport, like the benchmark */
.panel--wide {
  position: fixed; top: calc(var(--header-h) + 1px); left: 50%; right: auto;
  transform: translate(-50%, 8px);
  max-width: min(1240px, calc(100vw - 40px));
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast), top 0.25s ease;
}
.scrolled .panel--wide { top: 61px; }
.nav-item:hover > .panel, .nav-item:focus-within > .panel, .nav-item.open > .panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-item:hover > .panel--wide, .nav-item:focus-within > .panel--wide, .nav-item.open > .panel--wide {
  transform: translate(-50%, 0);
}
.panel-cols { display: flex; align-items: flex-start; }
/* flex: 0 0 auto keeps every column at its natural width, so nothing collapses or overlaps */
.panel-col { flex: 0 0 auto; padding: 0 40px; }
.panel-col:first-child { padding-left: 0; }
.panel-col:last-child { padding-right: 0; }
.panel-col + .panel-col { border-left: 1px solid var(--c-border); align-self: stretch; }
.panel-h {
  font-size: 15.5px; font-weight: 600; color: var(--c-ink);
  margin: 0 0 16px; line-height: 1.3; white-space: nowrap;
}
.panel-lead { font-size: 21px; font-weight: 400; line-height: 1.34; color: var(--c-ink); margin: 0; width: 200px; }
.chip {
  display: inline-block; font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; line-height: 1.2;
  padding: 6px 10px 3px; border: 1px solid var(--c-ink); border-radius: 30px;
  background: var(--c-green-tint); color: var(--c-ink); vertical-align: middle;
}
.panel-chiprow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; white-space: nowrap; min-height: 24px; }
.panel-chiprow .panel-h { margin: 0; }
.panel-list { list-style: none; }
/* nowrap: every item stays on one line, exactly like the benchmark */
.panel-list a {
  display: block; font-size: 16.2px; color: var(--c-ink);
  padding: 9px 0; line-height: 1.4; white-space: nowrap;
  transition: color var(--t-fast);
}
.panel-list a:hover { color: var(--c-green); }
.panel-note { font-size: 12px; line-height: 1.55; margin: 18px 0 0; color: var(--c-muted); width: 250px; white-space: normal; }
.panel-note a { font-weight: 700; color: var(--c-ink); font-size: 12px; }
.panel-note a:hover { color: var(--c-green); text-decoration: underline; }

/* video thumb inside the About panel */
.panel-video { display: block; width: 212px; }
.panel-video .vthumb {
  position: relative; display: block; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--c-ink); aspect-ratio: 16 / 10; background: var(--c-green-tint);
}
.panel-video .vthumb img, .panel-video .vthumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-video .play {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  transition: 0.3s cubic-bezier(.66, .08, 1, .67); transform-origin: center;
}
.panel-video:hover .play { transform: scale(1.05); }
.panel-video:hover { cursor: pointer; }

/* solutions tiles */
.menu-tiles { display: grid; grid-template-columns: repeat(3, 150px); gap: 16px; }
.menu-tile { display: block; }
.menu-tile .tile-art {
  border: 1px solid var(--c-ink); border-radius: var(--radius-tile);
  overflow: hidden; display: block; background: var(--c-green-soft);
}
.menu-tile .tile-art img { width: 100%; height: auto; display: block; }
.menu-tile .tile-label { font-size: 14.4px; color: var(--c-ink); padding-top: 8px; display: block; text-align: center; transition: color var(--t-fast); }
.menu-tile:hover .tile-label { color: var(--c-green); }

/* video lightbox: the file is only fetched on click, so it never slows the page */
.vbox {
  position: fixed; inset: 0; z-index: 3000; display: none;
  background: rgba(10, 10, 10, 0.75); padding: 24px;
  align-items: center; justify-content: center;
}
.vbox.open { display: flex; }
.vbox-in { width: min(960px, 100%); position: relative; }
.vbox video { width: 100%; border-radius: 14px; border: 1px solid var(--c-ink); display: block; background: #000; }
.vbox-close {
  position: absolute; top: -46px; right: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-primary); border: 1px solid var(--c-ink); color: var(--c-ink);
  font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.vbox-close:hover { background: var(--c-primary-hover); }

/* burger + mobile drawer */
.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span, .burger span::before, .burger span::after {
  content: ''; position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--c-ink); transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: var(--header-h-sticky) 0 0 0; z-index: 999;
  background: var(--c-bg); overflow-y: auto; padding: 24px;
  transform: translateX(100%); transition: transform var(--t-fast);
}
body.drawer-open .mobile-drawer { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.m-group { border-bottom: 1px solid var(--c-border); }
.m-group > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 18px; font-weight: 600; color: var(--c-ink); min-height: 48px;
}
.m-group > button .nav-caret { transition: transform var(--t-fast); }
.m-group.open > button .nav-caret { transform: rotate(180deg); }
.m-sub { list-style: none; overflow: hidden; max-height: 0; transition: max-height var(--t-fast); }
.m-group.open .m-sub { max-height: 500px; }
.m-sub a { display: block; padding: 12px 0 12px 16px; font-size: 16px; color: var(--c-text); min-height: 44px; }
.m-link { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; color: var(--c-ink); border-bottom: 1px solid var(--c-border); min-height: 48px; }
.m-cta { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; }
.m-cta .btn { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) var(--pad-x) 72px;
  background: var(--c-bg);
  overflow: hidden;
}
/* looping background video, pushed far back behind a white veil so it never competes */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
  filter: blur(2.4px) saturate(0.78) brightness(1.05);
  transform: scale(1.08);
}
/* veil at 0.76: the video reads through at 24% instead of 20%, so 20% more present */
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(251, 251, 249, 0.76); }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: var(--hero-grad); pointer-events: none; }
.hero .container { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
/* placeholder client logo tiles: 125x50, until real logos arrive */
.plogo { width: 125px; height: 50px; display: flex; align-items: center; gap: 8px; opacity: 0.55; }.plogo i.r { border-radius: 50%; }.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.glass {
  background: var(--hero-glass);
  border: 1px solid var(--hero-glass-border);
  border-radius: var(--radius-glass);
  padding: 36px; max-width: 500px;
}
.glass h1 { margin-bottom: 22.68px; }
/* rotating word: gradient text clipped to glyphs, 15s ease, content swap without fade */
.rotator { display: inline-block; min-width: 9ch; white-space: nowrap; }
.rotator::after {
  content: 'sastanke';
  background: linear-gradient(90deg, var(--c-green), #DB2777);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: rotwords 15s ease infinite;
}
@keyframes rotwords {
  0%   { content: 'sastanke'; }
  16%  { content: 'treninge'; }
  33%  { content: 'prezentacije'; }
  48%  { content: 'sjednice'; }
  64%  { content: 'evente'; }
  80%  { content: 'konferencije'; }
  100% { content: 'sastanke'; }
}
.hero-sub { font-size: 18px; line-height: 28px; margin: 10px 0 20px; }

/* ---------- progressive hero form ---------- */
.hero-form { display: block; }
.hero-form .field { margin: 0 0 12px; }
.hero-form input, .hero-form select {
  width: 100%; height: 48px; font-size: 15px; color: var(--c-ink);
  background: var(--c-input-bg); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 0 14px; transition: background var(--t-fast), border-color var(--t-fast);
}
.hero-form select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 3l6 6 6-6' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.hero-form input::placeholder { color: var(--c-muted); }
/* a filled field tints, exactly like the benchmark */
.hero-form input:not(:placeholder-shown) { background: var(--c-green-soft); border-color: var(--c-green); }
.hero-form input:focus, .hero-form select:focus { outline: 2px solid var(--c-green); outline-offset: 1px; border-color: var(--c-green); }
.hero-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-form .row-phone { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.hero-form .btn { width: 100%; height: 48px; margin-top: 4px; }

/* the extra fields stay collapsed until an email is entered */
.hero-more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s ease, opacity 0.35s ease; }
.hero-form.expanded .hero-more { max-height: 720px; opacity: 1; }

/* the text lives in one span so the flex row is checkbox + text, never word columns */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--c-text); margin: 8px 0 14px; cursor: pointer; }
.consent input { width: 16px; height: 16px; min-width: 16px; flex: none; margin: 2px 0 0; accent-color: var(--c-green); }
.consent > span { flex: 1; min-width: 0; }
.consent a { color: var(--c-green); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--c-green-hover); }

/* hero device: phone with live captions + QR, honest product visual */
.hero-media { display: flex; justify-content: center; align-items: center; }.device-top .lang { display: flex; justify-content: space-between; align-items: center; }@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }@keyframes bubbleIn {
  0% { opacity: 0; transform: translateY(8px); }
  4%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0.35; }
}.qr { width: 34px; height: 34px; border: 1px solid var(--c-ink); border-radius: 6px; background:
  conic-gradient(var(--c-ink) 25%, transparent 0 50%, var(--c-ink) 0 75%, transparent 0) 0 0 / 12px 12px; }

/* ---------- logo marquee band (96px, 20px 0 padding, 10% edge masks, 160s) ---------- */
/* ---------- traka: reference lijevo i desno, partner u sredini (bez vrtnje) ---------- */
.credit { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.credit-in {
  max-width: var(--container); margin: 0 auto; padding: 16px var(--pad-x);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}
.credit-stat { margin: 0; font-size: 14px; line-height: 1.4; color: var(--c-muted); max-width: 280px; }
.credit-stat b { display: block; font-size: 21px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.02em; }
.credit-in > .credit-stat:last-child { justify-self: end; text-align: right; }
.credit-by { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.credit-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-muted);
}
.credit-logo { display: block; line-height: 0; transition: opacity var(--t-fast); }
.credit-logo:hover { opacity: 0.72; }
.credit-logo img { display: block; width: auto; height: 36px; }@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }/* ==========================================================================
   HERO KONFERENCIJA: photo + phone composition
   ========================================================================== */
.konf { background: var(--c-surface); padding: 96px 40px 104px; overflow: hidden; }
.konf-in {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: 80px; align-items: center;
}
.konf-copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }
.konf-copy h2 {
  margin: 0; font-size: clamp(40px, 4.2vw, 58px); line-height: 1.03;
  letter-spacing: -0.035em; font-weight: 800; color: var(--c-ink); text-wrap: pretty;
}
.konf-copy p {
  margin: 24px 0 0; font-size: 19px; line-height: 1.58; color: var(--c-text);
  max-width: 44ch; text-wrap: pretty;
}
.konf-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.konf-ctas .btn {
  border-width: 1.5px; border-radius: 999px; padding: 16px 30px;
  font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.konf-ctas .btn-primary { box-shadow: 0 8px 20px -10px rgba(10, 10, 10, 0.45); }
.konf-ctas .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(10, 10, 10, 0.5); }
.konf-ctas .btn-secondary { background: var(--c-surface-alt); }
.konf-ctas .btn-secondary:hover { transform: translateY(-2px); background: var(--c-surface); box-shadow: none; }

.konf-visual { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; }
.konf-circle {
  position: absolute; left: -72px; bottom: -56px; width: 330px; height: 330px;
  border-radius: 50%; background: var(--c-primary-hover); border: 1.5px solid var(--c-ink); z-index: 0;
}
.konf-photo {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1;
  border: 1.5px solid var(--c-ink); border-radius: 28px; overflow: hidden;
  box-shadow: 0 26px 50px -22px rgba(10, 10, 10, 0.45); background: var(--c-ink);
}
.konf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* phone */
/* isti mobitel kao na naslovnici, ali samostalno (bez lijepljenja uz fotografiju) */
.phone-solo { display: flex; justify-content: center; }
.phone-solo .konf-phone { position: static; right: auto; bottom: auto; width: 296px; }

.konf-phone { position: absolute; right: -24px; bottom: -70px; z-index: 3; width: 278px; }
.konf-phone-body {
  width: 100%; background: var(--c-ink); border: 1.5px solid var(--c-ink);
  border-radius: 40px; padding: 8px; box-shadow: 0 34px 60px -18px rgba(10, 10, 10, 0.6);
}
.konf-screen {
  position: relative; width: 100%; aspect-ratio: 9 / 19.56; background: #000;
  border-radius: 33px; overflow: hidden; display: flex; flex-direction: column;
}
.konf-status { display: flex; align-items: center; gap: 7px; padding: 11px 13px 6px; color: #fff; }
.konf-status .t { font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em; }
.konf-status .grow { flex: 1; }
/* proper iOS battery glyph: outlined capsule, nub, level fill, number inside */
.konf-status .batt { display: block; width: 25px; height: 12px; flex: none; }
.konf-status .batt svg { display: block; width: 100%; height: 100%; }
.konf-caps { padding: 6px 10px 0; }
/* the phone is a screenshot of the real app, so it keeps the app's own blue, not brand green */
.konf-capcard {
  position: relative; background: #1B1B1B; border-left: 3.3px solid #1D7CF2;
  border-radius: 12px; padding: 14px 13px 15px; overflow: hidden; max-height: 310px;
}
.konf-live {
  position: absolute; top: 11px; right: 10px; display: flex; align-items: center; gap: 5px;
  background: #0E3A20; border-radius: 999px; padding: 5px 9px;
}
.konf-live i { width: 6px; height: 6px; border-radius: 50%; background: #24D16B; }
.konf-live span { font-size: 8.5px; font-weight: 800; letter-spacing: 0.14em; color: #fff; }
.konf-lines { margin-top: -13px; display: flex; flex-direction: column; gap: 9px; }
.konf-lines p { margin: 0; font-size: 13.5px; line-height: 1.38; color: #fff; font-weight: 500; }
.konf-line { display: flex; flex-direction: column; gap: 3px; }
.konf-line span { font-size: 9.5px; color: #8A8A8A; font-weight: 500; }
.konf-controls { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 26px 0 0; }
.konf-controls .lang {
  width: 50px; height: 50px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: #012169;
}
.konf-controls .lang svg { display: block; width: 100%; height: 100%; }
.konf-controls .stop {
  width: 66px; height: 66px; border-radius: 50%; background: #1D7CF2;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(29, 124, 242, 0.8);
}
.konf-controls .stop i { width: 19px; height: 19px; border-radius: 3.3px; background: #fff; }
.konf-controls .cog { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.konf-bar { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 0 11px 13px; }
.konf-bar .rnd { width: 30px; height: 30px; border-radius: 50%; background: #1C1C1C; display: flex; align-items: center; justify-content: center; flex: none; gap: 2.5px; }
.konf-bar .rnd i { width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.konf-url {
  flex: 1; min-width: 0; height: 31px; border-radius: 999px; background: #1C1C1C;
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
}
.konf-url span { flex: 1; min-width: 0; font-size: 11px; color: #EDEDED; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.konf-url span b { color: #7C7C7C; font-weight: 400; }

/* ---------- stats flip cards (icon pops 90px out of the card top) ---------- */

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 90px; }
.stat-flip { perspective: 1000px; min-height: 440px; }
.stat-inner { position: relative; width: 100%; height: 100%; transition: transform 0.5s ease; transform-style: preserve-3d; }
.stat-flip:hover .stat-inner, .stat-flip.flipped .stat-inner { transform: rotateY(180deg); }
.stat-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--c-surface); border: 1px solid var(--c-ink); border-radius: 27px;
  padding: 0 36px 36px; display: flex; flex-direction: column;
}
.stat-face.back { transform: rotateY(180deg); background: var(--c-green-soft); justify-content: center; padding: 36px; }
.stat-icon { width: 150px; height: 150px; margin: -90px auto 36px; transition: transform 0.3s ease; }
.stat-flip:hover .stat-icon { transform: scale(1.1); }
.stat-num { font-size: 54px; font-weight: 700; line-height: 1.1; color: var(--c-ink); text-align: center; }
.stat-desc { font-size: 18px; line-height: 28px; max-width: 270px; margin: 8px auto 12px; text-align: center; }
.stat-src { font-size: 9px; font-weight: 200; line-height: 2; color: var(--c-muted); text-align: center; margin-top: auto; }
.stat-back-cat { align-self: center; margin-bottom: 14px; }
.stat-back-list { text-align: center; font-size: 18px; line-height: 32px; color: var(--c-ink); font-weight: 600; }

/* ---------- faze: prije / tokom / nakon dogadjaja ----------
   Ista potpisna interakcija kao kartice proizvoda: podizanje 5px
   i dvostruka tvrda sjenka u boji same faze. */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: var(--gap); }
.phase {
  display: flex; flex-direction: column;
  border-radius: var(--radius-tile); overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.phase-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 22px; border: 1px solid var(--c-ink);
  border-radius: var(--radius-tile) var(--radius-tile) 0 0;
}
.phase-num { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; opacity: 0.65; }
.phase-head h3 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.phase-body {
  flex: 1; display: flex; flex-direction: column;
  background: var(--c-surface-alt);
  border: 1px solid var(--c-ink); border-top: none;
  border-radius: 0 0 var(--radius-tile) var(--radius-tile);
}
.phase-art { padding: 18px 16px 8px; }
.phase-art svg { display: block; width: 100%; height: auto; }
.phase-list {
  list-style: none; margin: 0; padding: 20px 22px 24px;
  background: var(--c-surface); border-top: 1px solid var(--c-border);
  border-radius: 0 0 var(--radius-tile) var(--radius-tile);
  display: flex; flex-direction: column; gap: 14px;
}
.phase-list li {
  position: relative; padding-left: 20px;
  font-size: 16.5px; line-height: 1.45; color: var(--c-text);
}
.phase-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
}
/* 01 tamno zelena, 02 brend zuta, 03 roza: nasa chalk trojka */
.phase-green .phase-head { background: var(--c-green); color: #fff; }
.phase-green .phase-list li::before { background: var(--c-green); }
.phase-green:hover { transform: translateY(-5px); box-shadow: 5px 5px 0 0 var(--c-green-tint), 5px 5px 0 1px var(--c-ink); }
.phase-yellow .phase-head { background: var(--c-primary); color: var(--c-ink); }
.phase-yellow .phase-list li::before { background: var(--c-green); }
.phase-yellow:hover { transform: translateY(-5px); box-shadow: 5px 5px 0 0 var(--c-primary-hover), 5px 5px 0 1px var(--c-ink); }
.phase-pink .phase-head { background: var(--c-pink); color: var(--c-ink); }
.phase-pink .phase-list li::before { background: var(--c-pink-deep); }
.phase-pink:hover { transform: translateY(-5px); box-shadow: 5px 5px 0 0 var(--c-pink), 5px 5px 0 1px var(--c-ink); }
@media (prefers-reduced-motion: reduce) { .phase:hover { transform: none; } }

/* ---------- product cards (2 x 543), benchmark hover: lift 5px + double hard shadow ---------- */
.pcards { margin-top: var(--gap); }
.pcard {
  background: var(--c-surface); border: 1px solid var(--c-ink);
  border-radius: 27px; padding: 27px;
  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.pcard:hover, .pcard-pink:hover { box-shadow: 5px 5px 0 0 var(--c-pink), 5px 5px 0 1px var(--c-ink); transform: translateY(-5px); }
.pcard-green:hover { box-shadow: 5px 5px 0 0 var(--c-green-tint), 5px 5px 0 1px var(--c-ink); transform: translateY(-5px); }
.pcard-yellow:hover { box-shadow: 5px 5px 0 0 var(--c-primary-hover), 5px 5px 0 1px var(--c-ink); transform: translateY(-5px); }
.pcard h3 { margin-bottom: 14px; }
.pcard-media { width: 80%; margin: 0 auto; }
.pcard-media svg { width: 100%; height: auto; }
.pcard-sep { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); margin: 18px 0; }
.pcard-row { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 28px; margin-bottom: 12.6px; }
.pcard-row svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }
/* framed imagery: radius 15, ink border, chalk hard shadow */
.img-frame { border-radius: 15px; border: 1px solid var(--c-ink); box-shadow: 5px 5px 0 0 var(--c-green-tint), 5px 5px 0 1px var(--c-ink); }
.quote-box { background: var(--c-surface); border-radius: var(--radius-card); border: 1px solid var(--c-ink); padding: 32px; box-shadow: 5px 5px 0 0 var(--c-green-tint), 5px 5px 0 1px var(--c-ink); }
.pcard-list { list-style: none; margin: 0 0 18px; }
.pcard-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 28px; padding: 6px 0; }
.pcard-list svg { flex: none; width: 20px; height: 20px; margin-top: 4px; }
.learn { font-weight: 600; font-size: 16px; color: var(--c-green); display: inline-flex; align-items: center; gap: 6px; }
.learn:hover { color: var(--c-green-hover); text-decoration: underline; }
.pcard-art { border-radius: var(--radius-tile); border: 1px solid var(--c-border); background: var(--c-surface-alt); padding: 18px; margin-bottom: 18px; display:flex; justify-content:center; }
.pcard-art svg { width: 100%; max-width: 320px; height: auto; }

/* ---------- vertical cards row ---------- */
.vcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 36px; }
.vcard {
  background: var(--c-surface); border: 1px solid var(--c-ink); border-radius: var(--radius-tile);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; color: var(--c-ink);
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.vcard:hover { background: var(--c-green-soft); box-shadow: 0 2px 0 0 var(--c-ink); color: var(--c-ink); }
.vcard svg { width: 36px; height: 36px; }
.vcard b { font-size: 17px; }
.vcard span { font-size: 13.5px; line-height: 1.45; color: var(--c-muted); }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--c-border); }
.acc-item { border-bottom: 1px solid var(--c-border); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; font-size: 18px; line-height: 27px; color: var(--c-ink);
  padding: 18px 0; min-height: 63px; transition: color var(--t-fast);
}
.acc-head:hover { color: var(--c-green); }
.acc-head svg { flex: none; width: 14px; height: 9px; transition: transform var(--t-fast); }
.acc-item.open .acc-head svg { transform: rotate(180deg); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.acc-body-in { padding: 0 0 18px; font-size: 16px; line-height: 28px; max-width: 640px; }

/* ---------- proof line / cta band ---------- */
.proofline h2 { margin-bottom: 10px; }
.cta-band { text-align: center; }
.cta-band .btn { margin: 8px 6px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); }
.footer-main { padding: 72px var(--pad-x) 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); }
.footer-brand .logo-word { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--c-footer-text); max-width: 260px; margin-top: 12px; }
.footer-col h5 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-block; font-size: 16px; line-height: 22.4px; color: var(--c-footer-link); padding: 5px 0; }
.footer-col a:hover { color: var(--c-footer-link-hover); }
.footer-bottom { border-top: 1px solid var(--c-footer-divider); padding: 24px var(--pad-x) 32px; }
.footer-bottom-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--c-footer-text); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; }
.footer-legal a { color: var(--c-footer-text); font-size: 13px; }
.footer-legal a:hover { color: var(--c-footer-link-hover); }

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--c-ink);
  background: var(--c-input-bg); border: 1px solid var(--c-border-strong);
  border-radius: 8px; padding: 12px 14px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--c-green); outline-offset: 1px; border-color: var(--c-green); background: var(--c-surface); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.field .req { color: var(--c-error); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--c-error); background: var(--c-error-tint); }
.field-msg { font-size: 13px; color: var(--c-error); margin-top: 5px; display: none; }
.field.error .field-msg { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: 12px; color: var(--c-muted); }
.form-ok { background: var(--c-success-tint); border: 1px solid var(--c-success); color: var(--c-success); border-radius: 8px; padding: 14px 16px; font-size: 15px; display: none; }
.form-ok.form-err { background: var(--c-error-tint); border-color: var(--c-error); color: var(--c-error); }
/* medeni lonac protiv botova: nevidljivo za ljude, citljivo za citace ekrana koji ga preskacu */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier {
  background: var(--c-surface); border: 1px solid var(--c-ink); border-radius: var(--radius-card);
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-primary); border: 1px solid var(--c-ink); border-radius: 30px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 14px 4px; white-space: nowrap; color: var(--c-ink);
}
.tier.popular { background: var(--c-green-soft); box-shadow: 0 4px 0 0 var(--c-ink); }
.tier h3 { font-size: 22px; letter-spacing: 0; margin-bottom: 4px; }
.tier-for { font-size: 14px; color: var(--c-muted); min-height: 42px; }
.tier-price { margin: 14px 0 2px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tier-price b { font-size: 44px; font-weight: 700; letter-spacing: -1px; color: var(--c-ink); line-height: 1; }
.tier-price span { font-size: 15px; color: var(--c-muted); }
.tier-eur { font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.tier-feats { list-style: none; margin: 14px 0 22px; flex: 1; }
.tier-feats li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; padding: 5px 0; align-items: flex-start; }
.tier-feats svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.tier .btn { width: 100%; }

/* comparison matrix */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--c-ink); border-radius: var(--radius-tile); background: var(--c-surface); contain: inline-size; }.matrix .grp td { background: var(--c-surface-alt); font-weight: 700; color: var(--c-ink); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.matrix td.c { text-align: center; }
.tick { display: inline-block; width: 18px; height: 18px; }

/* ---------- use-case carousel (benchmark: 500px slider, 4s auto-advance) ---------- */
.ucar { position: relative; margin-top: 54px; }
.ucar-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 8px 4px 24px;
}
.ucar-track::-webkit-scrollbar { display: none; }
.ucar-slide {
  flex: 0 0 360px; scroll-snap-align: start;
  background: var(--c-surface); border: 1px solid var(--c-ink); border-radius: 27px;
  padding: 27px; display: flex; flex-direction: column; gap: 14px; color: var(--c-ink);
  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); min-height: 420px;
}
.ucar-slide:nth-child(odd):hover { box-shadow: 5px 5px 0 0 var(--c-green-tint), 5px 5px 0 1px var(--c-ink); transform: translateY(-5px); }
.ucar-slide:nth-child(even):hover { box-shadow: 5px 5px 0 0 var(--c-pink), 5px 5px 0 1px var(--c-ink); transform: translateY(-5px); }
.ucar-slide img, .ucar-slide .tileimg { width: 100%; border: 1px solid var(--c-ink); border-radius: 10px; display: block; }
.ucar-slide b { font-size: 21px; }
.ucar-slide p { font-size: 15.5px; line-height: 1.55; color: var(--c-text); margin: 0; flex: 1; }
.ucar-nav { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.ucar-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-ink);
  background: var(--c-surface-alt); display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.ucar-btn:hover { background: var(--c-primary-hover); box-shadow: 0 2px 0 0 var(--c-ink); }
.ucar-btn svg { width: 16px; height: 16px; }

/* ---------- mini pricing band cards ---------- */
.minitiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }/* ---------- inner page hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) var(--pad-x) 48px;
  background: linear-gradient(90deg, rgba(205, 226, 218, 0.35), rgba(251, 194, 196, 0.35)), var(--c-bg);
}
.page-hero h1 { max-width: 720px; }
.page-hero .t-lead { max-width: 620px; }
.breadcrumb { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--c-muted); text-decoration: underline; }
.breadcrumb a:hover { color: var(--c-green); }

/* ---------- legal prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; line-height: 1.3; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; line-height: 1.35; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 28px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; }
.prose .updated { font-size: 13px; color: var(--c-muted); }/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }

/* ==========================================================================
   RESPONSIVE
   Bands: >=1281 desktop | 1121-1280 narrow desktop | 768-1120 tablet (our
   addition, benchmark leaves phone layout here) | <=767 mobile
   Burger swaps at 1120px, faithful to the measured benchmark.
   ========================================================================== */

@media (max-width: 1280px) {
  :root { --pad-x: 40px; --header-h: 100px; }
  .header-main { height: 70px; min-height: 70px; }
  .scrolled .header-main { height: 60px; min-height: 60px; }
  .menu-tiles { grid-template-columns: repeat(3, 132px); }
  .nav-link { padding: 0 14px; font-size: 15.5px; }
  .panel { padding: 28px 32px; }
  .panel-col { padding: 0 26px; }
}

@media (max-width: 1120px) {
  :root { --header-h: 60px; --pad-section: 48px; --gap: 40px; }
  .header-top { display: none; }
  .header-main, .scrolled .header-main { height: 60px; min-height: 60px; }
  .main-nav, .header-cta .btn-secondary { display: none; }
  .burger { display: block; }
  .header-cta { margin-left: auto; margin-right: 4px; }

  /* tablet band: real 2-up layout, stepped type */
  body { font-size: 16px; line-height: 26px; }
  h1, .t-h1 { font-size: 36px; line-height: 42px; }
  h2, .t-h2 { font-size: 34px; line-height: 42px; }
  h3, .t-h3 { font-size: 28px; line-height: 36px; }
  h4, .t-h4 { font-size: 25px; line-height: 32px; }
  .t-stat, .stat-num { font-size: 48px; }
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .vcards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 130px; }
  .phases { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  /* treca kartica ide preko oba stupca: slika lijevo, spisak desno, da ilustracija ne naraste */
  .phases > .phase:last-child { grid-column: 1 / -1; }
  .phases > .phase:last-child .phase-body { flex-direction: row; }
  .phases > .phase:last-child .phase-art { flex: 0 0 44%; display: flex; align-items: center; padding: 20px 20px 20px 16px; }
  .phases > .phase:last-child .phase-list { flex: 1; justify-content: center; border-top: none; border-left: 1px solid var(--c-border); border-radius: 0 0 var(--radius-tile) 0; }
  .stats-head { grid-template-columns: 1fr; }  .konf { padding: 72px 40px 96px; }
  .konf-in { gap: 64px; }
  .konf-visual { min-height: 520px; }
  .konf-circle { width: 260px; height: 260px; left: -40px; bottom: -40px; }
  .konf-phone { width: 236px; right: -12px; bottom: -52px; }
  .phone-solo .konf-phone { width: 268px; }
  /* table min-content propagates to the ICB through the scroller in Chrome and
     zooms the mobile viewport out; below 1120 the matrix wraps instead of scrolling */
  .matrix { min-width: 0; }  .ucar-slide { flex-basis: 320px; }
  .cols-faq { grid-template-columns: 1fr; gap: 24px; }
  .stats-head { grid-template-columns: 1fr; gap: 20px; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .stat-icon { width: 120px; height: 120px; }
}

@media (max-width: 767px) {
  :root { --pad-x: 24px; --pad-section: 40px; --pad-section-sm: 24px; --gap: 24px; }
  body { font-size: 15px; line-height: 24px; }
  h1, .t-h1 { font-size: 33.6px; line-height: 38.64px; }
  h2, .t-h2 { font-size: 32px; line-height: 40px; }
  h3, .t-h3 { font-size: 28.8px; line-height: 37.44px; }
  h4, .t-h4 { font-size: 26px; line-height: 33px; }
  .t-stat, .stat-num { font-size: 54px; }
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; }
  .vcards { grid-template-columns: 1fr; }
  /* KONFERENCIJA on phones: the design's own composition, scaled by 327/430 = 0.76 so
     nothing is clipped. Every proportion, offset and z-order is kept from the source. */
  .konf { padding: 64px 24px 80px; }
  .konf-in { grid-template-columns: 1fr; gap: 44px; }
  .konf-copy { max-width: none; }
  .konf-copy h2 { font-size: 40px; line-height: 1.03; letter-spacing: -0.035em; }
  .konf-copy p { font-size: 19px; line-height: 1.58; margin-top: 24px; }
  .konf-ctas { gap: 14px; margin-top: 36px; }
  .konf-ctas .btn { padding: 16px 30px; font-size: 16.5px; }

  .konf-visual { min-height: 0; display: block; padding-bottom: 54px; }
  .konf-photo { aspect-ratio: 1 / 1; border-radius: 21px; }          /* 28 x .76 */
  .konf-circle { width: 251px; height: 251px; left: -55px; bottom: -43px; }
  .konf-phone { width: 211px; right: -18px; bottom: -53px; }
  .phone-solo .konf-phone { width: 248px; }
  .konf-phone-body { border-radius: 30px; padding: 6px; }
  .konf-screen { border-radius: 25px; }
  .konf-status { gap: 5px; padding: 8px 10px 5px; }
  .konf-status .t { font-size: 8.7px; }
  .konf-status .batt { width: 19px; height: 9.1px; }
  .konf-caps { padding: 5px 8px 0; }
  .konf-capcard { border-left-width: 2px; border-radius: 9px; padding: 11px 10px 11px; max-height: 235px; }
  .konf-live { top: 8px; right: 8px; padding: 4px 7px; gap: 4px; }
  .konf-live i { width: 5px; height: 5px; }
  .konf-live span { font-size: 6.5px; }
  .konf-lines { margin-top: -10px; gap: 7px; }
  .konf-lines p { font-size: 10.3px; line-height: 1.38; }
  .konf-line { gap: 2px; }
  .konf-line span { font-size: 7.2px; }
  .konf-controls { gap: 17px; padding-top: 20px; }
  .konf-controls .lang, .konf-controls .cog { width: 38px; height: 38px; font-size: 10px; }
  .konf-controls .cog svg { width: 16px; height: 16px; }
  .konf-controls .stop { width: 50px; height: 50px; }
  .konf-controls .stop i { width: 14px; height: 14px; }
  .konf-bar { gap: 5px; padding: 0 8px 10px; }
  .konf-bar .rnd { width: 23px; height: 23px; }
  .konf-url { height: 24px; gap: 5px; padding: 0 8px; }
  .konf-url span { font-size: 8.4px; }
  .stats-grid { grid-template-columns: 1fr; row-gap: 138px; margin-top: 90px; }
  .phases { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .phases > .phase:last-child { grid-column: auto; }
  .phase-head { padding: 13px 18px; }
  .phase-head h3 { font-size: 19px; }
  .phase-list { padding: 18px 18px 22px; gap: 12px; }
  .phase-list li { font-size: 16px; }
  .stat-face { border-radius: 24px; padding: 0 32px 32px; }
  .stat-face.back { padding: 32px; }  .ucar-slide { flex-basis: 280px; min-height: 380px; }
  .hero-bg { display: none; }
  .hero { padding: calc(var(--header-h) + 40px) var(--pad-x) 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .glass { padding: 28px 24px; max-width: none; }
  .hero-form input, .hero-form select { height: 46px; font-size: 16px; }
  .hero-form .row2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-form .row-phone { grid-template-columns: 100px 1fr; gap: 10px; }
  .hero-form .btn { width: 100%; height: 48px; }
  .hero-form.expanded .hero-more { max-height: 900px; }  /* mobitel: logotip gore, dvije brojke jedna pored druge ispod njega */
  .credit-in { grid-template-columns: 1fr 1fr; align-items: start; justify-items: center; text-align: center; gap: 18px 14px; padding: 18px var(--pad-x); }
  .credit-by { grid-column: 1 / -1; order: -1; }
  .credit-stat { max-width: none; font-size: 12.5px; line-height: 1.35; }
  .credit-stat b { font-size: 19px; }
  .credit-in > .credit-stat:last-child { justify-self: center; text-align: center; }
  .credit-logo img { height: 32px; }  .stats-ctas .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-main { padding: 48px var(--pad-x) 32px; }
  .footer-bottom-in { flex-direction: column; align-items: flex-start; }
  .menu-tiles { grid-template-columns: 1fr 1fr; }
  .acc-head { font-size: 16px; line-height: 24px; }
  .tier-price b { font-size: 38px; }
}

/* ---------- reduced motion: kill every animation ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }  .rotator::after { content: 'sastanke'; animation: none; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .mobile-drawer, .site-footer, .rail, .hero-media { display: none; }
  body { background: #fff; }
}

.consent-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--c-muted); }
