/* =====================================================================
   eMomak — prodajni sajt (emomak.com)
   Vizuelni jezik: KAFANA POD KONTROLOM.
   Papir, ugljeno zelena, mesing. Brku je pečat, ne dječija maskota.
   Mobile-first. Bez frameworka, bez eksternih zavisnosti.
   ===================================================================== */

:root {
  /* brend */
  --green-900: #16211b;   /* ugljeno zelena — tamne trake */
  --green-800: #1d2b23;
  --green-700: #283b30;   /* brand-dark */
  --green-600: #344c3d;   /* GLAVNA ZELENA */
  --green-500: #4f8a63;
  --green-300: #9cc3a6;
  --green-050: #e8efe9;
  --brass-600: #a9772c;   /* samo krupan tekst (naslovi) — 3:1+ */
  --brass-700: #86601f;   /* sitan tekst na svijetlom — WCAG AA 4.5:1+ */
  --brass-500: #c7903d;   /* MESING */
  --brass-300: #e2c08a;
  --brass-050: #f6ecdc;

  /* podloge */
  --paper: #f7f6f2;
  --paper-2: #f0eee7;
  --surface: #ffffff;
  --line: #e5e4df;
  --line-soft: #efeee9;

  /* tekst */
  --ink: #202321;
  --ink-2: #4c524e;
  --ink-3: #646a65;
  --on-dark: #f2f1ec;
  --on-dark-2: rgba(242, 241, 236, .78);
  --on-dark-3: rgba(242, 241, 236, .56);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;
  --radius-xl: 30px;

  --shadow-s: 0 1px 2px rgba(22, 33, 27, .05), 0 2px 8px rgba(22, 33, 27, .05);
  --shadow-m: 0 2px 6px rgba(22, 33, 27, .05), 0 14px 32px rgba(22, 33, 27, .08);
  --shadow-l: 0 4px 12px rgba(22, 33, 27, .06), 0 30px 70px rgba(22, 33, 27, .16);

  --wrap: 1160px;
  --gutter: 20px;
  --header-h: 66px;

  --sans: 'Manrope', 'Manrope Fallback', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ------------------------------------------------------------ osnova */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--brass-500); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green-600); color: #fff; padding: 10px 14px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------ Brku (CSS maska — boja se bira po traci) */
.brku {
  background-color: currentColor;
  -webkit-mask: var(--brku-src) center / contain no-repeat;
  mask: var(--brku-src) center / contain no-repeat;
}
.brku--full { --brku-src: url('../assets/brand/emomak-brku-mascot-only.svg'); aspect-ratio: 1122 / 806; }
.brku--mark { --brku-src: url('../assets/brand/emomak-brku-mark.svg'); aspect-ratio: 1 / 1; }

/* ------------------------------------------------------------ dugmad */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 16px; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--green-700); color: #fff; box-shadow: var(--shadow-m); }
.btn-brass { background: var(--brass-500); color: var(--green-900); }
.btn-brass:hover { background: var(--brass-300); color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--green-600); border-color: rgba(52, 76, 61, .28); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.on-dark .btn-ghost { color: var(--on-dark); border-color: rgba(242, 241, 236, .3); }
.on-dark .btn-ghost:hover { border-color: var(--on-dark); color: #fff; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow { transition: none; } .btn:hover { transform: none; } }

/* ------------------------------------------------------------ zaglavlje */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, .88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 18px rgba(22, 33, 27, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-600); color: var(--paper);
  display: grid; place-items: center; overflow: hidden;
}
.brand-mark img { width: 40px; height: 40px; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand-name b { color: var(--brass-600); font-weight: 800; }

.nav-desktop { display: none; }
.nav-desktop a {
  color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: 10px;
}
.nav-desktop a:hover { color: var(--ink); background: var(--paper-2); }
.header-cta { display: none; min-height: 42px; padding: 0 18px; font-size: 15px; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

.nav-mobile {
  display: none; border-top: 1px solid var(--line); background: var(--paper);
  padding: 10px var(--gutter) 22px;
}
.menu-open .nav-mobile { display: block; }
.nav-mobile a {
  display: block; padding: 14px 4px; font-size: 18px; font-weight: 700; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line-soft);
}
.nav-mobile .btn { display: flex; margin-top: 18px; border-bottom: 0; color: #fff; font-size: 16px; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; gap: 2px; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .nav-mobile, .menu-open .nav-mobile { display: none; }
}

/* ------------------------------------------------------------ sekcije */
.section { padding: 76px 0; position: relative; }
.section-tight { padding: 56px 0; }
.bg-paper-2 { background: var(--paper-2); }
.bg-dark { background: var(--green-900); color: var(--on-dark); }
.bg-green { background: var(--green-600); color: var(--on-dark); }
.on-dark p, .on-dark li { color: var(--on-dark-2); }
.on-dark h2, .on-dark h3, .on-dark strong { color: var(--on-dark); }
@media (min-width: 900px) { .section { padding: 112px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass-700); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--brass-300); }
.h-section { font-size: clamp(32px, 6.2vw, 54px); max-width: 17ch; }
.h-sub { font-size: clamp(22px, 3.6vw, 30px); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 60ch; margin-top: 18px; }
.on-dark .lead { color: var(--on-dark-2); }
.accent { color: var(--brass-600); }
.on-dark .accent { color: var(--brass-300); }

/* ------------------------------------------------------------ hero */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.hero-kicker .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--brass-050); color: var(--brass-700); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.hero h1 { font-size: clamp(40px, 8.4vw, 76px); margin-top: 22px; letter-spacing: -0.035em; }
.hero h1 .line2 { color: var(--green-600); display: block; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof {
  display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 22px;
  border-top: 1px dashed rgba(52, 76, 61, .25); max-width: 520px;
}
.hero-proof .num { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--brass-600); line-height: 1; }
.hero-proof p { font-weight: 700; color: var(--ink); line-height: 1.35; }

.hero-visual { position: relative; }
.hero-brku { color: var(--green-900); width: min(100%, 520px); margin: 0 auto; }
.ticket {
  position: absolute; right: 0; bottom: -44px; width: min(190px, 50%);
  background: var(--surface); border-radius: 14px; padding: 16px 16px 20px;
  box-shadow: var(--shadow-l); transform: rotate(3deg);
  font-size: 13px; color: var(--ink-2);
}
.ticket::after { /* zupčasta ivica računa */
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background: radial-gradient(circle at 6px 0, transparent 5px, var(--surface) 5.5px) 0 0 / 12px 8px repeat-x;
}
.ticket-head { display: flex; justify-content: space-between; font-weight: 800; color: var(--ink); font-size: 14px; }
.ticket-head span:last-child { color: var(--brass-700); }
.ticket ul { list-style: none; margin-top: 10px; border-top: 1px dashed var(--line); }
.ticket li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.ticket li b { color: var(--ink); font-weight: 700; }
.ticket .t-foot { margin-top: 10px; font-weight: 800; color: var(--green-600); display: flex; justify-content: space-between; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 110px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .ticket { right: -12px; bottom: 6px; width: 230px; }
}

/* ------------------------------------------------------------ konflikt gazda / konobar */
.versus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 44px; }
.side {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px 24px; box-shadow: var(--shadow-s);
}
.side h3 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.side h3 .tag {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}
.side-owner h3 .tag { background: var(--green-050); color: var(--green-600); }
.side-waiter h3 .tag { background: var(--brass-050); color: var(--brass-700); }
.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344c3d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.side-waiter .checks li::before {
  background-color: var(--brass-050);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9772c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.on-dark .checks li { color: var(--on-dark-2); }
.pullquote {
  margin: 44px 0 0; padding: 30px 26px; border-radius: var(--radius-l);
  background: var(--green-600); color: var(--on-dark);
  font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em;
}
.pullquote em { font-style: normal; color: var(--brass-300); }
@media (min-width: 820px) {
  .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .side { padding: 34px 32px; }
  .pullquote { padding: 40px 44px; }
}

/* ------------------------------------------------------------ tri načina prodaje */
.ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 44px; }
.way {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px 24px 28px; box-shadow: var(--shadow-s); transition: transform .2s ease, box-shadow .2s ease;
}
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
@media (prefers-reduced-motion: reduce) { .way { transition: none; } .way:hover { transform: none; } }
.way .num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--green-600); font-weight: 800; font-size: 17px;
}
.way h3 { font-size: 22px; margin-top: 18px; }
.way p { color: var(--ink-2); margin-top: 8px; }
.way .when { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--brass-700); }
@media (min-width: 720px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ways { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ Balkanski sto */
.table-story { overflow: hidden; }
.table-story .h-section { max-width: 15ch; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 46px; align-items: start; }
.rounds { list-style: none; display: grid; gap: 12px; counter-reset: guest; }
.round {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius); background: rgba(242, 241, 236, .05);
  border: 1px solid rgba(242, 241, 236, .1);
}
.round .seat {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px dashed rgba(226, 192, 138, .55); color: var(--brass-300); font-weight: 800; font-size: 18px;
}
.round p { color: var(--on-dark); font-size: 18px; font-weight: 700; line-height: 1.35; }
.round p span { display: block; font-size: 14px; font-weight: 600; color: var(--on-dark-3); margin-top: 3px; }
.story-end { margin-top: 30px; font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--on-dark); }
.story-end .accent { display: block; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700; background: rgba(242, 241, 236, .08); color: var(--on-dark);
  border: 1px solid rgba(242, 241, 236, .14);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-500); }
.story-explain { display: grid; gap: 14px; margin-top: 28px; }
.story-explain div { padding: 18px 20px; border-left: 3px solid var(--brass-500); background: rgba(242, 241, 236, .04); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.story-explain strong { display: block; font-size: 17px; margin-bottom: 4px; }
.story-explain p { font-size: 16px; }
@media (min-width: 960px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

/* ------------------------------------------------------------ split sekcije (tekst + ekran) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.split-copy .lead { margin-top: 16px; }
@media (min-width: 940px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .split.reverse .split-copy { order: 2; }
}
.big-line { font-size: clamp(30px, 5.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-top: 10px; }

/* ------------------------------------------------------------ SCREENSHOT OKVIRI
   Placeholder = mjesto za PRAVI snimak ekrana iz aplikacije. Kad snimak
   stigne: ubaciti <img> u .shot-screen i ukloniti klasu .is-placeholder
   (vidi README → "Snimci ekrana"). Placeholder nikad ne crta izmišljen UI. */
.shot { margin: 0; }
.shot-device {
  position: relative; border-radius: 28px; padding: 10px; background: var(--green-900);
  box-shadow: var(--shadow-l); max-width: 330px; margin: 0 auto;
}
.shot-device.desktop { border-radius: 18px; max-width: 620px; padding: 8px; }
.shot-screen {
  border-radius: 20px; overflow: hidden; background: var(--paper); aspect-ratio: 9 / 18.5;
  display: grid; place-items: center; text-align: center;
}
.shot-device.desktop .shot-screen { border-radius: 12px; aspect-ratio: 16 / 10; }
.shot-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot.is-placeholder .shot-screen {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(52, 76, 61, .035) 14px 28px),
    var(--paper);
  border: 1.5px dashed rgba(52, 76, 61, .25);
}
.shot-ph { padding: 24px; color: var(--ink-3); font-size: 14px; font-weight: 700; }
.shot-ph .brku { width: 64px; margin: 0 auto 12px; color: rgba(52, 76, 61, .35); }
.shot-ph strong { display: block; color: var(--green-600); font-size: 17px; margin-bottom: 4px; }
.shot figcaption { text-align: center; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.on-dark .shot figcaption { color: var(--on-dark-3); }
.shot-pair { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.shot-pair .shot-device { border-radius: 22px; padding: 7px; }
.shot-pair .shot-screen { border-radius: 16px; }

/* ------------------------------------------------------------ Bar tok */
.flow { list-style: none; display: grid; gap: 12px; margin-top: 30px; counter-reset: step; }
.flow li {
  counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.flow li::before {
  content: counter(step); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-600); color: #fff; font-weight: 800;
}
.flow b { display: block; font-size: 17px; }
.flow span { color: var(--ink-2); font-size: 15px; }
.status {
  display: inline-block; padding: 2px 9px; border-radius: 7px; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  vertical-align: 2px; margin-left: 6px;
}
.status-wait { background: #fff1cf; color: #8a6414; }
.status-ready { background: #e3f4ea; color: #23663e; }
.status-done { background: var(--paper-2); color: var(--ink-2); }

/* ------------------------------------------------------------ roadmap / "u razvoju" */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.badge-now { background: var(--green-050); color: var(--green-600); }
.badge-dev { background: var(--brass-050); color: var(--brass-700); }
.badge-plan { background: var(--paper-2); color: var(--ink-2); }
.roadmap {
  margin-top: 30px; padding: 24px; border-radius: var(--radius-l);
  border: 1.5px dashed rgba(199, 144, 61, .55); background: rgba(246, 236, 220, .45);
}
.roadmap h3 { font-size: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.roadmap p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.stations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.stations li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.stations li.now { border-color: var(--green-600); color: var(--green-600); }

/* ------------------------------------------------------------ konobar */
.perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 40px; list-style: none; }
.perk {
  padding: 22px 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.perk h3 { font-size: 19px; }
.perk p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.perk .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brass-050); color: var(--brass-700); display: grid; place-items: center; margin-bottom: 14px; }
.perk .ico svg { width: 22px; height: 22px; }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ porijeklo */
.origin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.origin-brku { color: var(--brass-300); width: min(100%, 440px); margin: 0 auto; opacity: .95; }
.origin blockquote {
  margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--brass-500);
  font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; color: var(--on-dark); line-height: 1.4;
}
.origin .notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.origin .notes li {
  font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 8px;
  background: rgba(242, 241, 236, .06); color: var(--on-dark-2); text-decoration: line-through;
  text-decoration-color: rgba(199, 144, 61, .7); text-decoration-thickness: 2px;
}
.origin .p-stack { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 940px) { .origin { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }

/* ------------------------------------------------------------ Office */
.office-head { display: grid; gap: 24px; }
.modules { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; list-style: none; }
.modules li {
  padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px;
}
.modules li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 3px; background: var(--brass-500); }
@media (min-width: 720px) { .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .modules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.office-note {
  margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  background: var(--green-050); border-radius: var(--radius); color: var(--green-700); font-weight: 700;
}
.office-shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 44px; }
@media (min-width: 940px) { .office-shots { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; } }

/* ------------------------------------------------------------ roba / popis (račun-list) */
.ledger {
  background: var(--surface); border-radius: var(--radius-l); padding: 26px 24px; box-shadow: var(--shadow-m);
  border: 1px solid var(--line);
}
.ledger h3 { font-size: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ledger h3 small { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.ledger ol { list-style: none; margin-top: 14px; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ledger li:last-child { border-bottom: 0; }
.ledger li b { font-size: 16px; }
.ledger li span { color: var(--ink-2); font-size: 15px; }
.ledger li em { font-style: normal; font-weight: 800; color: var(--green-600); font-size: 14px; align-self: center; }

/* ------------------------------------------------------------ dug i kuća */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
.duo article { padding: 28px 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.duo h3 { font-size: 22px; }
.duo p { margin-top: 10px; color: var(--ink-2); }
.duo .rule { margin-top: 16px; font-weight: 800; color: var(--green-600); }
@media (min-width: 820px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }

/* ------------------------------------------------------------ cijene */
.pricing-note { margin-top: 18px; color: var(--ink-2); max-width: 64ch; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px 24px; box-shadow: var(--shadow-s);
}
.plan.featured { border: 2px solid var(--brass-500); box-shadow: var(--shadow-m); }
.plan .ribbon {
  position: absolute; top: -13px; left: 24px; background: var(--brass-500); color: var(--green-900);
  font-size: 12px; font-weight: 800; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 22px; }
.plan .for { margin-top: 8px; color: var(--ink-2); font-size: 15px; min-height: 3em; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.plan .price span { color: var(--ink-3); font-weight: 700; font-size: 15px; }
.plan .motto { margin-top: 14px; font-weight: 800; color: var(--green-600); line-height: 1.35; }
.plan .group { margin-top: 20px; }
.plan .group-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.plan ul { list-style: none; display: grid; gap: 8px; }
.plan li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--green-500); }
.plan .dev li::before { background: var(--brass-500); }
.plan .plan-cta { margin-top: auto; padding-top: 24px; }
.plan .plan-cta .btn { width: 100%; }
.plan .flag { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--brass-700); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .plan { padding: 28px 20px; } }
.advice {
  margin-top: 36px; padding: 28px 24px; border-radius: var(--radius-l); background: var(--green-600); color: var(--on-dark);
  display: grid; gap: 18px; align-items: center;
}
.advice p { color: var(--on-dark-2); }
.advice strong { color: var(--on-dark); font-size: 22px; display: block; margin-bottom: 6px; letter-spacing: -0.02em; }
@media (min-width: 820px) { .advice { grid-template-columns: minmax(0, 1fr) auto; padding: 32px 36px; } }

/* ------------------------------------------------------------ fiskalizacija */
.fiscal {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); margin-top: 28px; max-width: 900px;
}
.fiscal .ico { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--paper-2); color: var(--green-600); display: grid; place-items: center; }
.fiscal .ico svg { width: 22px; height: 22px; }
.fiscal h3 { font-size: 18px; }
.fiscal p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------ eDomaćin */
.family {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: 34px 26px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #052733 0%, #05414f 100%); color: #fff;
}
.family .eyebrow { color: #9bdcd2; }
.family h2 { color: #fff; }
.family p { color: rgba(255, 255, 255, .8); }
.family .lead { color: rgba(255, 255, 255, .8); }
.family .pair { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 18px; flex-wrap: wrap; }
.family .pair span { padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.family .pair i { font-style: normal; color: #00c2a8; font-size: 22px; }
.family .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.family .btn-ghost:hover { border-color: #fff; color: #fff; }
.family .soon { font-size: 14px; color: rgba(255, 255, 255, .62); margin-top: 14px; }
@media (min-width: 900px) { .family { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); padding: 52px 56px; } }

/* ------------------------------------------------------------ završni CTA + kontakt */
.final { text-align: left; }
.final h2 { font-size: clamp(38px, 7vw, 68px); letter-spacing: -0.035em; max-width: 14ch; }
.final h2 span { display: block; }
.final h2 span:last-child { color: var(--brass-300); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
@media (min-width: 980px) { .final-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; } }
.final .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.direct { margin-top: 26px; display: grid; gap: 6px; color: var(--on-dark-2); font-size: 15px; }
.direct a { color: var(--on-dark); font-weight: 700; }

.contact-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-l); padding: 26px 22px; box-shadow: var(--shadow-l); }
.contact-card h3 { font-size: 22px; }
.contact-card > p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.cf-grid { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 560px) { .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cf-field.full { grid-column: 1 / -1; } }
.cf-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.cf-field label small { font-weight: 600; color: var(--ink-3); }
.cf-field input, .cf-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.cf-field textarea { min-height: 110px; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(52, 76, 61, .12); background: #fff; }
.cf-field.is-invalid input, .cf-field.is-invalid textarea { border-color: #c64b4b; }
.cf-err { color: #b23b3b; font-size: 13px; font-weight: 700; margin-top: 6px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit { margin-top: 18px; width: 100%; }
.cf-submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.cf-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.cf-status b { display: block; margin-bottom: 4px; }
.cf-status.ok { background: var(--green-050); color: var(--green-700); }
.cf-status.err { background: #fbeaea; color: #8f2f2f; }
.cf-fallback { display: grid; gap: 4px; margin-top: 8px; }
.cf-fallback a { color: inherit; font-weight: 800; }
.cf-privacy { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------ podnožje */
.site-footer { background: var(--green-900); color: var(--on-dark-3); padding: 44px 0 36px; border-top: 1px solid rgba(242, 241, 236, .08); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand-mark { box-shadow: 0 0 0 1px rgba(242, 241, 236, .12); }
.footer-slogan { margin-top: 10px; color: var(--on-dark-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(242, 241, 236, .08); display: grid; gap: 8px; font-size: 13px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* ------------------------------------------------------------ reveal (samo kad JS radi i pokret je dozvoljen) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------------ podstranice */
.page { padding: 56px 0 88px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); }
.page .prose { max-width: 70ch; margin-top: 22px; display: grid; gap: 14px; color: var(--ink-2); }
.page .prose h2 { font-size: 22px; color: var(--ink); margin-top: 18px; }
.page .prose ul { padding-left: 20px; display: grid; gap: 6px; }

@media (max-width: 380px) { :root { --gutter: 16px; } body { font-size: 16px; } }

/* ------------------------------------------------------------ male pomoćne klase (bez inline stilova — CSP) */
.u-mt-22 { margin-top: 22px; }
.u-mt-28 { margin-top: 28px; }
.u-mt-44 { margin-top: 44px; }
.u-mt-56 { margin-top: 56px; }
.u-maxw-620 { max-width: 620px; }

/* Bijela kontakt kartica unutar tamne trake zadržava tamni tekst. */
.on-dark .contact-card h3 { color: var(--ink); }
.on-dark .contact-card p { color: var(--ink-2); }
.on-dark .contact-card .cf-privacy { color: var(--ink-3); }
.on-dark .contact-card .cf-err { color: #b23b3b; }
.on-dark .contact-card a { color: var(--green-600); }
/* Oznake u karticama cijena smiju preći u drugi red. */
.plan .badge { white-space: normal; text-align: left; line-height: 1.3; }
