/* =====================================================================
   Modus Infinitum: web (font Open Sans, kao u ponudama)
   Boje dolaze iz loga i ponuda: crvena vrpca, crna #231F20, sive tablica.
   ===================================================================== */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}

@property --brand {
  syntax: "<color>";
  inherits: true;
  initial-value: #0E8A8C;
}

:root {
  --red: #DD1D24;
  --red-dark: #B5161C;
  --ribbon: linear-gradient(100deg, #9A1115 0%, #C3161D 52%, #ED1C24 100%);
  --wine: #3A0A11;
  --ink: #231F20;
  --text: #403B3C;
  --muted: #6B6567;
  --line: #E4DFE0;
  --mist: #F4F2F2;
  --blush: #FBE9EA;
  --gold: #E3C676;

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-24: clamp(1.3125rem, 1.15rem + .55vw, 1.5rem);
  --fs-36: clamp(1.75rem, 1.35rem + 1.5vw, 2.25rem);
  --fs-48: clamp(2rem, 1.35rem + 2.6vw, 3rem);
  --fs-72: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.contact :focus-visible, .consent :focus-visible { outline-color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- tipografija odjeljaka ---------- */
.section-title {
  font-size: var(--fs-48);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-lead {
  margin: 20px 0 0;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--muted);
  max-width: 40em;
}
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }

.text-link {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--red-dark); }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.25em;
  border: 2px solid transparent; border-radius: 10px;
  font: inherit; font-size: 1rem; font-weight: 680; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--large { min-height: 56px; padding-inline: 1.5em; font-size: 1.0625rem; }
.btn--small { min-height: 42px; padding: .5em 1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- izjava EU (Arial, prema pravilima EU) ---------- */
.eu-text { font-family: Arial, Helvetica, "Liberation Sans", sans-serif; color: #000; font-size: 14px; line-height: 1.2; letter-spacing: 0; }

/* ---------- zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { display: block; width: auto; height: 34px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: 6px 0;
  color: var(--ink); text-decoration: none; font-weight: 560; font-size: .97rem;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { border-bottom-color: var(--red); }
.site-nav__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px;
  border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 750; font-size: .875rem;
}
.lang-switch:hover { border-color: var(--ink); }
.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer; place-items: center;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
.menu-toggle span { line-height: 0; }

@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 24px 40px -24px rgba(35, 31, 32, .3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-nav__list a:hover { border-bottom-color: var(--line); color: var(--red-dark); }
  .site-nav__actions { padding-top: 20px; }
  .site-nav__actions .btn { flex: 1; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 1.25rem + 3.6vw, 4.375rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.032em;
  max-width: 13ch;
}
.hero__lead {
  margin: 28px 0 36px;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
  max-width: 33em;
}
.hero__actions { display: inline-grid; gap: 12px; }
.hero__actions .btn { width: 100%; }
.hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 10px; font-size: .97rem; color: var(--muted); }
.hero__facts li { display: flex; gap: 10px; align-items: flex-start; }
.hero__facts .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--red); }

/* ---------- demo: mobitel s aplikacijom ---------- */
.demo { position: relative; }
.demo__stage {
  position: relative;
  display: grid; place-items: center;
  min-height: 600px;
  padding: 36px 24px 100px;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 72% 8%, #5C121D 0%, #3A0A11 52%, #24060B 100%);
}
.demo__loop {
  position: absolute; left: -12%; top: 31%;
  width: 124%; height: auto;
  transform: translateY(-50%) rotate(-7deg);
}

.phone {
  position: relative; z-index: 2; left: 9%;
  width: 276px; aspect-ratio: 276 / 566;
  padding: 10px;
  border-radius: 46px;
  background: #121011;
  box-shadow: inset 0 0 0 1.5px #3B3536, 0 40px 60px -28px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .04);
}
.phone::before {
  content: ""; position: absolute; z-index: 5; top: 19px; left: 50%;
  width: 84px; height: 23px; transform: translateX(-50%);
  background: #000; border-radius: 14px;
}
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #F6F4F4; }

.app {
  --brand: #0E8A8C;
  --brand-ink: #FFFFFF;
  --brand-dark: #0A6A6B;
  --brand-soft: #E2F1F1;
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  font-size: 12px; line-height: 1.35; color: var(--ink);
  transition: --brand .45s ease;
}
.app__status {
  display: flex; justify-content: space-between; align-items: center;
  height: 40px; padding: 12px 26px 0;
  background: var(--brand); color: var(--brand-ink);
  font-size: 11px; font-weight: 700;
}
.app__status-icons { display: flex; gap: 6px; align-items: center; }
.app__status-icons svg { fill: currentColor; display: block; }
.app__bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 16px 12px;
  background: var(--brand); color: var(--brand-ink);
}
.app__logo {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand-ink); color: var(--brand);
  font-size: 12px; font-weight: 800;
}
.app__name {
  flex: 1; min-width: 0;
  font-size: 14.5px; font-weight: 760;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app__bell { flex: none; opacity: .9; }
.app__body {
  flex: 1;
  padding: 0 14px;
  background: linear-gradient(var(--brand) 0 58px, transparent 58px);
}
.app__hello { margin: 0 2px 10px; color: var(--brand-ink); font-size: 12px; font-weight: 500; opacity: .92; }
.app__card {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px -14px rgba(35, 31, 32, .45);
}
.app__card-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.app__tier {
  padding: 2px 9px; border-radius: 999px;
  background: linear-gradient(135deg, #EDD27E, #B8892B);
  color: #3B2A05; font-size: 10px; font-weight: 760;
}
.app__points {
  margin: 6px 0 8px;
  font-size: 27px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.app__points small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.app__progress { height: 6px; overflow: hidden; border-radius: 99px; background: #EEEAEA; }
.app__progress span { display: block; width: 82.67%; height: 100%; border-radius: inherit; background: var(--brand); transition: width .9s cubic-bezier(.3, .7, .3, 1); }
.app__next { margin: 7px 0 10px; color: var(--muted); font-size: 10.5px; }
.app__barcode { display: block; width: 100%; height: 34px; fill: var(--ink); }
.app__section { margin: 14px 2px 8px; font-size: 12px; font-weight: 720; }
.app__coupons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coupon {
  position: relative;
  display: flex; flex-direction: column;
  padding: 10px 11px;
  border-radius: 12px;
  background: var(--brand-soft);
  -webkit-mask: radial-gradient(circle 6px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 6px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 6px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 6px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.coupon strong { color: var(--brand-dark); font-size: 17px; font-weight: 800; line-height: 1.15; }
.coupon span { font-size: 11px; font-weight: 650; }
.coupon small { font-size: 9.5px; color: var(--muted); }
.app__store {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px #ECE8E8;
}
.app__store-pin { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); }
.app__store-text { display: flex; flex-direction: column; min-width: 0; }
.app__store-text strong { font-size: 11.5px; font-weight: 700; }
.app__store-text small { font-size: 10px; color: var(--muted); }
.app__tabs {
  display: flex; justify-content: space-around;
  margin-top: auto; padding: 8px 6px 18px;
  border-top: 1px solid #ECE8E8; background: #fff;
}
.app__tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #8A8486; font-size: 9.5px; font-weight: 550; }
.app__tab.is-active { color: var(--brand-dark); font-weight: 700; }
.app__push {
  position: absolute; z-index: 6; top: 46px; left: 8px; right: 8px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(-150%);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.app__push.is-shown { opacity: 1; transform: none; }
.app__push-icon {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: var(--brand-ink);
  font-size: 11px; font-weight: 800;
}
.app__push-body { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 11px; line-height: 1.3; }
.app__push-body strong { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__push-time { align-self: flex-start; color: #8A8486; font-size: 10px; }

/* račun iz blagajne */
.receipt {
  --zig: 10px;
  position: absolute; z-index: 1; left: 3%; bottom: 150px;
  width: 172px; margin: 0;
  padding: 14px 14px 22px;
  background: #fff; color: var(--ink);
  font: 500 10.5px/1.5 var(--mono);
  transform: rotate(-7deg);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .35));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
}
.receipt p { margin: 0; }
.receipt__shop {
  text-align: center; font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.receipt__no { text-align: center; color: var(--muted); margin-bottom: 8px !important; }
.receipt__lines { margin: 0; }
.receipt__lines div { display: flex; justify-content: space-between; gap: 8px; }
.receipt__lines dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.receipt__lines dd { margin: 0; }
.receipt__total { display: flex; justify-content: space-between; margin-top: 6px !important; padding-top: 6px; border-top: 1px dashed #A49C9E; font-weight: 700; }
.receipt__points { margin: 8px 0 4px !important; padding: 3px 6px; background: var(--ink); color: #fff; text-align: center; font-weight: 700; }
.receipt__member { text-align: center; color: var(--muted); }

/* animacija ispisa računa (samo uz JS) */
.js .receipt { clip-path: inset(0 0 100% 0); }
.js .receipt.is-printed { clip-path: inset(0 0 -30px 0); transition: clip-path 1.2s cubic-bezier(.35, .7, .3, 1); }

/* kontrole demoa */
.demo__panel {
  position: relative; z-index: 3;
  display: grid; gap: 12px;
  margin: -72px 20px 0;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -22px rgba(35, 31, 32, .4);
}
.demo__title { margin: 0; color: var(--ink); font-size: .97rem; font-weight: 700; }
.demo__controls { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.demo__input {
  flex: 1 1 190px; min-width: 0; height: 46px; padding: 0 14px;
  border: 1.5px solid #D8D2D3; border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.demo__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(35, 31, 32, .12); }
.demo__colors { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; border: 0; }
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch__dot {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  transition: box-shadow .15s ease;
}
.swatch input:checked + .swatch__dot,
.swatch--custom.is-active .swatch__dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch input:focus-visible + .swatch__dot { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch__dot--custom { background: conic-gradient(#F33, #FC3, #3C6, #3CF, #36F, #C3F, #F33); color: #fff; }
.swatch__dot--custom .icon { width: 16px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.demo__cta { justify-self: start; }

/* ---------- klijenti ---------- */
.clients { padding-block: 56px 64px; background: var(--mist); }
.clients__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.clients__title { font-size: var(--fs-24); }
.clients__lead { margin: 0; max-width: 54ch; color: var(--muted); font-size: 1rem; }
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee:focus-visible { outline-offset: -3px; }
.marquee__inner { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee__inner, .marquee:focus-within .marquee__inner { animation-play-state: paused; }
.marquee__track { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.marquee__track li { display: grid; place-items: center; flex: none; width: 200px; height: 92px; border-radius: 14px; background: #fff; }
.marquee__track img { display: block; width: 200px; height: 92px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- platforma ---------- */
.platform__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.platform__head { position: sticky; top: calc(var(--header-h) + 40px); }
.part {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.part:first-child { padding-top: 6px; border-top: 0; }
.part__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--blush); color: var(--red); }
.part__icon .icon { width: 28px; height: 28px; }
.part__title { font-size: var(--fs-24); }
.part__text { margin: 8px 0 16px; color: var(--muted); }
.part__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0; padding: 0; list-style: none; font-size: .97rem; }
.part__list li { position: relative; padding-left: 18px; }
.part__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; background: var(--red); }

/* ---------- petlja i BI ---------- */
.loop { background: var(--blush); }
.loop__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.loop__svg { display: block; width: 100%; height: auto; overflow: visible; }
.loop__station circle { fill: #fff; stroke: var(--red); stroke-width: 3; }
.loop__station text { fill: var(--ink); font-family: var(--font); font-size: 18px; font-weight: 800; }
.loop__dot { fill: var(--ink); stroke: #fff; stroke-width: 3; opacity: 0; }
.loop__svg.is-running .loop__dot { opacity: 1; }
.loop__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.loop__step h3 { margin-bottom: 4px; font-size: 1.125rem; }
.loop__step p { margin: 0; color: var(--text); font-size: .95rem; }
.step-no {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: .9rem; font-weight: 800; line-height: 1;
}
.loop__bi { padding: 28px 28px 20px; border-radius: 20px; background: #fff; }
.loop__bi-title { font-size: 1.1875rem; }
.bi-list { display: grid; margin: 14px 0 0; padding: 0; list-style: none; font-size: .97rem; }
.bi-list li { padding: 11px 0; border-top: 1px solid var(--line); }
.bi-list li:first-child { border-top: 0; }

/* ---------- paketi ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.tier { display: flex; flex-direction: column; height: 100%; }
.tier__card {
  container-type: inline-size;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1.586;
  margin-bottom: 26px; padding: 18px 20px 20px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 26px 40px -26px rgba(35, 31, 32, .55);
}
.tier__card-brand { position: relative; z-index: 1; font-size: .82rem; font-weight: 680; }
.tier__card-name { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
@supports (font-size: 1cqi) {
  .tier__card-name { font-size: min(9cqi, 2.1rem); }
}
.tier__loop {
  position: absolute; right: -18%; top: 50%; width: 82%; aspect-ratio: 2 / 1;
  transform: translateY(-50%) rotate(-10deg);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cpath d='M300 150C360 60 540 40 540 150C540 260 360 240 300 150C240 60 60 40 60 150C60 260 240 240 300 150Z' fill='none' stroke='white' stroke-width='22' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: .22;
}
.tier--basic .tier__card { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 26px 40px -30px rgba(35, 31, 32, .5); }
.tier--basic .tier__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--ribbon); }
.tier--basic .tier__loop { opacity: 1; filter: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cpath d='M300 150C360 60 540 40 540 150C540 260 360 240 300 150C240 60 60 40 60 150C60 260 240 240 300 150Z' fill='none' stroke='%23FBE9EA' stroke-width='22' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tier--advanced .tier__card { background: var(--ribbon); color: #fff; }
.tier--professional .tier__card {
  color: var(--gold);
  background:
    repeating-radial-gradient(circle at 0 100%, rgba(227, 198, 118, .10) 0 1px, transparent 1px 9px),
    radial-gradient(120% 140% at 100% 0%, #50101A 0%, #24080C 55%, #140507 100%);
}
.tier--professional .tier__loop { opacity: .16; }
.tier__name { margin-bottom: 10px; font-size: var(--fs-24); }
.tier__text { margin: 0 0 18px; color: var(--muted); }
.tier__includes { margin: 0 0 10px; color: var(--ink); font-size: .95rem; font-weight: 680; }
.tier__features { display: grid; gap: 9px; margin: 0 0 28px; padding: 0; list-style: none; font-size: .97rem; }
.tier__features li { display: flex; gap: 10px; align-items: flex-start; }
.tier__features .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--red); }
.tier__cta { align-self: flex-start; margin-top: auto; }


.addons { margin-top: clamp(56px, 6vw, 80px); }
.addons__title { margin-bottom: 22px; font-size: var(--fs-24); }
.addons__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.addon { display: flex; gap: 16px; }
.addon__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; }
.addon__icon .icon { width: 22px; height: 22px; }
.addon__body { display: flex; flex-direction: column; gap: 4px; }
.addon__body strong { color: var(--ink); }
.addon__body span { color: var(--muted); font-size: .97rem; }

/* ---------- partnerski program ---------- */
.partner { background: var(--mist); }
.partner__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}
.sides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; }
.sides__item { padding-top: 14px; border-top: 3px solid var(--red); }
.sides__item dt { margin-bottom: 6px; color: var(--ink); font-weight: 800; }
.sides__item dd { margin: 0; color: var(--muted); font-size: .97rem; }
.ticket {
  --zig: 14px;
  margin: 0;
  padding: 30px 30px 40px;
  background: #fff;
  transform: rotate(1.5deg);
  filter: drop-shadow(0 26px 26px rgba(35, 31, 32, .18));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
}
.ticket__title { margin-bottom: 14px; color: var(--ink); font-size: 1.1875rem; font-weight: 760; }
.ticket__rows { margin: 0; font-family: var(--mono); font-size: .9rem; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px dashed #BDB6B7; }
.ticket__rows dt { color: var(--text); }
.ticket__rows dd { margin: 0; color: var(--ink); font-weight: 700; white-space: nowrap; }
.ticket__rows div:last-child dd { color: var(--red-dark); }
.ticket__note { margin: 16px 0 0; color: var(--muted); font-size: .85rem; }

/* ---------- besplatna prezentacija i obrazac ---------- */
.contact {
  padding-block: var(--section);
  color: #F2E4E6;
  background: radial-gradient(90% 120% at 0% 0%, #561019 0%, #3A0A11 55%, #2A070C 100%);
}
.contact .section-title { color: #fff; }
.contact .section-lead { color: #E6D0D3; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.steps { display: grid; gap: 20px; margin: 40px 0; padding: 0; list-style: none; }
.steps__item { display: flex; gap: 16px; align-items: flex-start; }
.steps__item .step-no { flex: none; margin: 0; background: #fff; color: var(--wine); }
.steps__item h3 { margin-bottom: 2px; color: #fff; font-size: 1.125rem; }
.steps__item p { margin: 0; color: #D8C0C4; font-size: .97rem; }
.contact__direct { margin: 0; color: #E6D0D3; }
.contact__direct a { color: #fff; font-weight: 650; text-underline-offset: 3px; }

.form-card {
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 22px;
  background: #fff; color: var(--text);
  box-shadow: 0 48px 80px -40px rgba(0, 0, 0, .65);
}
.form-card :focus-visible { outline-color: var(--ink); }
.form-card__title { margin-bottom: 22px; font-size: var(--fs-24); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: 16px; }
.field label, .field__label { color: var(--ink); font-size: .9rem; font-weight: 620; }
.field__optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid #D6CFD0; border-radius: 10px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px;
  background: #fff no-repeat right 12px center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  text-overflow: ellipsis;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(35, 31, 32, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { margin: 0; color: var(--red-dark); font-size: .85rem; font-weight: 550; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check label { color: var(--text); font-size: .92rem; line-height: 1.5; }
.check label a { color: var(--ink); text-underline-offset: 2px; }
.check .field__error { grid-column: 2; }
.check.has-error input { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8E1016; font-size: .95rem; }
.demo-note { display: flex; align-items: center; gap: 8px; margin: 2px 0 16px; color: var(--muted); font-size: .88rem; }
.demo-note::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--note-color, var(--red)); flex: none; }
.lead-form .btn--block { margin-top: 8px; }
.form-card__after { margin: 12px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
.choice { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.choice legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: .9rem; font-weight: 620; }
.choice__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1.5px solid #D6CFD0; border-radius: 12px; }
.choice__option { position: relative; display: block; }
.choice__option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__option span {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 10px;
  border-left: 1.5px solid #D6CFD0;
  color: var(--ink); font-size: .92rem; font-weight: 620; line-height: 1.25; text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.choice__option:first-child span { border-left: 0; }
.choice__option input:checked + span { background: var(--ink); color: #fff; }
.choice__option input:focus-visible + span { outline: 3px solid var(--red); outline-offset: -3px; }
.choice__hint { margin: 8px 0 0; color: var(--muted); font-size: .85rem; }
.form-success { padding: 28px 8px 12px; text-align: center; }
.form-success:focus { outline: none; }
.form-success__mark { width: 60px; height: 60px; color: #13905A; }
.form-success__title { margin: 14px 0 10px; font-size: var(--fs-24); }
.form-success p { color: var(--muted); }
.form-success .btn { margin-top: 8px; }

/* ---------- česta pitanja ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 0;
  color: var(--ink); font-size: 1.125rem; font-weight: 660; line-height: 1.35;
  list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--red); transition: transform .2s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { max-width: 62ch; margin: -6px 0 24px; }

/* ---------- podnožje ---------- */
.site-footer { padding-block: 56px 32px; background: var(--mist); font-size: .95rem; }
.footer-eu {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 48px; align-items: center;
  margin-bottom: 52px; padding: 24px 28px;
  border-radius: 18px; background: #fff;
}
.footer-eu__title { margin-bottom: 4px; font-size: 1.125rem; }
.footer-eu__text p { margin: 0 0 6px; color: var(--muted); }
.eu-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.eu-badge__statement { display: flex; align-items: center; gap: 12px; margin: 0; }
.eu-badge__flag { display: block; width: auto; height: 50px; }
.eu-badge .eu-text { font-size: 17px; }
.eu-badge__partner { display: block; width: auto; height: 31px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.footer-brand img { display: block; width: auto; height: 30px; margin-bottom: 16px; }
.footer-brand p { max-width: 40ch; color: var(--muted); }
.footer-title { margin-bottom: 12px; font-size: .97rem; }
.footer-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.footer-list a:hover { color: var(--red-dark); text-decoration: underline; }
.footer-list .icon { width: 18px; height: 18px; color: var(--muted); }
.footer-social { display: flex; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); }
.footer-social .icon { width: 20px; height: 20px; }
.link-button { padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.link-button:hover { color: var(--red-dark); text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-legal { max-width: 120ch; margin: 0 0 8px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.footer-copy { margin: 0; color: var(--muted); font-size: .8rem; }

/* ---------- podstranice ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 104px) clamp(36px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero--eu .eu-badge { margin-bottom: clamp(28px, 4vw, 44px); }
.page-title { font-size: var(--fs-72); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.page-lead { max-width: 40em; margin: 20px 0 0; color: var(--text); font-size: clamp(1.125rem, 1rem + .55vw, 1.375rem); }
.eu-page__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; }
.prose--narrow { max-width: 74ch; }
.prose h2 { margin: 44px 0 12px; font-size: var(--fs-24); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-dark); text-underline-offset: 3px; }
.eu-page__contact { margin-top: 32px; }
.facts { position: sticky; top: calc(var(--header-h) + 32px); padding: 28px 28px 18px; border-radius: 20px; background: var(--mist); }
.facts__title { margin-bottom: 6px; font-size: 1.1875rem; }
.facts__list { margin: 0; }
.facts__list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts__list > div:first-child { border-top: 0; }
.facts__list dt { margin-bottom: 4px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.facts__list dd { margin: 0; color: var(--ink); font-weight: 520; }
.facts__money dd { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.facts__partners { margin: 0; padding: 0; list-style: none; }
.notfound__code { margin: 0 0 8px; color: var(--red); font-size: clamp(5rem, 3rem + 9vw, 9.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.03em; }
.notfound .hero__actions { margin-top: 32px; }

/* ---------- privola ---------- */
.consent {
  position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  max-width: 780px; margin-inline: auto; padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink); color: #fff;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .5);
  font-size: .92rem;
}
.consent__text { flex: 1 1 320px; margin: 0; }
.consent__text a { color: #fff; }
.consent__actions { display: flex; gap: 10px; }
.consent .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.consent .btn--ghost:hover { border-color: #fff; }

/* ---------- energetika ---------- */
.demo__stage--energy { padding-bottom: 36px; }
.phone--centered { left: 0; }
.app__peak {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center;
  margin-top: 10px; padding: 9px 11px;
  border-radius: 10px; background: var(--brand-soft);
}
.app__peak-when { grid-column: 1; color: var(--muted); font-size: 9.5px; }
.app__peak strong { grid-column: 1; font-size: 11.5px; font-weight: 700; }
.app__peak-x { grid-column: 2; grid-row: 1 / span 2; color: var(--brand-dark); font-size: 15px; font-weight: 800; }
.app__challenge {
  display: grid; gap: 6px;
  margin: 12px 0 10px; padding: 10px 12px;
  border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #ECE8E8;
}
.app__challenge strong { font-size: 11.5px; font-weight: 700; }
.app__challenge small { color: var(--muted); font-size: 10px; }
.app__coupons--energy { margin-top: 10px; }

.stats-band { background: var(--mist); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.stat { display: flex; flex-direction: column; padding-top: 20px; border-top: 3px solid var(--red); }
.stat__num { color: var(--ink); font-size: clamp(2.75rem, 2rem + 2.8vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat__text { margin: 14px 0 12px; color: var(--text); }
.stat__src { margin-top: auto; color: var(--muted); font-size: .82rem; }

.mech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.mech-group { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 34px 0; border-top: 1px solid var(--line); }
.mech-group__title { margin: 12px 0 14px; font-size: var(--fs-24); }
.mech-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mech-list strong { display: block; color: var(--ink); font-weight: 680; }
.mech-list span { color: var(--muted); font-size: .97rem; }

.more-band { background: var(--blush); }
.more-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 0 0 28px; padding: 0; list-style: none; }
.more-list li { display: flex; gap: 10px; align-items: flex-start; }
.more-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--red); }


/* ---------- prodaja preko HT-a ---------- */
.reseller {
  display: flex; align-items: center; gap: 12px 22px;
  margin: 28px 0 0; padding: 14px 22px;
  border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line);
}
.reseller__logo { display: block; flex: none; width: 170px; height: auto; margin: -8px 0; }
.reseller__text { color: var(--text); font-size: 1rem; }
.reseller__text strong { color: var(--ink); }

/* ---------- za svaki posao ---------- */
.sectors__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 22px; margin: 0; padding: 0; list-style: none; }
.sector { padding-top: 20px; border-top: 1px solid var(--line); }
.sector__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--blush); color: var(--red); }
.sector__icon .icon { width: 22px; height: 22px; }
.sector__title { margin-bottom: 6px; font-size: 1.0625rem; }
.sector__text { margin: 0; color: var(--muted); font-size: .95rem; }
.sector__link { display: inline-block; margin-top: 8px; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sector--other { padding: 22px; border-top: 0; border-radius: 16px; background: var(--ink); }
.sector--other .sector__title { color: #fff; font-size: 1.1875rem; }
.sector--other .sector__text { margin-bottom: 16px; color: #D9D3D4; }
.sectors + .platform { border-top: 1px solid var(--line); }

/* ---------- bilo koji model vjernosti ---------- */
.models { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.models__title { margin-bottom: 6px; font-size: 1.1875rem; }
.models__text { margin: 0 0 14px; color: var(--muted); font-size: .97rem; }
.models__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.models__list li { padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .9rem; font-weight: 600; }
.models__list li:last-child { background: var(--ink); color: #fff; }

/* ---------- AI ---------- */
.ai-note {
  display: flex; align-items: flex-start; gap: 18px;
  margin-top: clamp(40px, 5vw, 56px); padding: 26px 28px;
  border-radius: 20px; background: var(--ink); color: #fff;
}
.ai-note__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ribbon); color: #fff; }
.ai-note__icon .icon { width: 26px; height: 26px; }
.ai-note__title { margin-bottom: 6px; color: #fff; font-size: var(--fs-24); }
.ai-note__text { max-width: 72ch; margin: 0; color: #D9D3D4; }

/* ---------- paketi: poziv na prezentaciju umjesto usporedne tablice ---------- */
.more-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin-top: clamp(48px, 6vw, 72px); padding: 28px 32px;
  border-radius: 20px; background: var(--blush);
}
.more-note__title { margin-bottom: 6px; font-size: var(--fs-24); }
.more-note__text { max-width: 62ch; margin: 0; }

.energy-intro { border-top: 1px solid var(--line); }
.energy-intro .hero__actions { margin-top: 32px; }

/* ---------- prilagodba ekranima ---------- */
@media (max-width: 1100px) {
  .sectors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero__grid, .platform__grid, .loop__grid, .partner__grid, .contact__grid, .faq__grid, .eu-page__grid, .more-band__grid { grid-template-columns: minmax(0, 1fr); }
  .mech-grid { grid-template-columns: minmax(0, 1fr); }
  .platform__head, .facts { position: static; }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .tier__card { max-width: 420px; }
  .addons__list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-eu { grid-template-columns: minmax(0, 1fr); }
  .ticket { max-width: 460px; }
}
@media (max-width: 720px) {
  .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reseller { flex-direction: column; align-items: flex-start; }
  .ai-note { flex-direction: column; }
  .loop__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .part__list { grid-template-columns: minmax(0, 1fr); }
  .sides { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stats, .more-list { grid-template-columns: minmax(0, 1fr); }
  .mech-group { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .field-row, .field-row--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .brand__logo { height: 26px; }
  .hero__actions .btn { width: 100%; }
  .demo__stage { min-height: 530px; padding: 28px 12px 96px; border-radius: 22px; }
  .phone { left: 7%; transform: scale(.86); margin-block: -40px; }
  .phone--centered { left: 0; }
  .demo__stage--energy { min-height: 0; padding-bottom: 28px; }
  .receipt { left: 2%; bottom: 112px; width: 138px; padding: 10px 10px 18px; font-size: 9px; }
  .receipt__shop { font-size: 10px; }
  .demo__panel { margin: -72px 10px 0; padding: 16px; }
  .demo__cta { justify-self: stretch; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .eu-badge__flag { height: 44px; }
  .eu-badge .eu-text { font-size: 15px; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; }
}
@media (max-width: 480px) {
  .sectors__grid { grid-template-columns: minmax(0, 1fr); }
  .choice__options { grid-template-columns: minmax(0, 1fr); }
  .choice__option span { border-left: 0; border-top: 1.5px solid #D6CFD0; }
  .choice__option:first-child span { border-top: 0; }
}
@media (max-width: 400px) {
  .loop__steps { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee__inner { width: auto; animation: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .marquee__track[aria-hidden="true"] { display: none; }
  .js .receipt { clip-path: none; }
}

@media print {
  .site-nav, .menu-toggle, .demo__panel, .consent, .marquee { display: none !important; }
  .contact { background: none; color: var(--ink); }
}
