/* =====================================================================
   ScanTap — glavni stil sajta (mobilni prvo)
   ===================================================================== */

:root {
  --bg: #F7F0E6;
  --paper: #FFFBF5;
  --sand: #EFE3D3;
  --sand-2: #F3EADE;
  --line: #E6D6C2;
  --line-2: #E0CDB6;
  --ink: #2B1D14;
  --ink-2: #4A3A2E;
  --muted: #6E5A4B;
  --muted-2: #CDB9A3;
  --brown: #6B4226;
  --brown-2: #3E2718;
  --caramel: #8A5A34;
  --caramel-2: #C8894B;
  --accent: #E2A86A;
  --accent-2: #EDBE88;
  --green: #4F7A4A;

  --serif: "Fraunces", "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow: 0 30px 50px -30px rgba(43, 29, 20, .45);
  --shadow-lg: 0 60px 90px -40px rgba(43, 29, 20, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --gutter: 20px;
}

/* ---------- reset ---------- */
*, *::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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--caramel-2); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.ic { flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: 72px; }
.section--tight { padding-block: 24px 72px; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--cta { padding-block: 24px 72px; }

.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel);
  margin-bottom: 14px;
}
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 40px; }
.section-head h2, .page-hero h1, .split-copy h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.025em;
}
.section-head--center { align-items: center; text-align: center; }
.section-head--center h2 { max-width: 760px; }
.section-head--split { gap: 20px; }
.section-lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 560px; margin-top: 14px; }
.section-head--center .section-lead { margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .btn-arrow { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 15px 26px; font-size: 16px; }

.btn-dark { box-shadow: 0 16px 30px -16px rgba(43, 29, 20, .7); }
.btn-dark:hover { --bg-btn: var(--brown); box-shadow: 0 22px 34px -16px rgba(107, 66, 38, .75); }

.btn-light { --bg-btn: var(--paper); --fg-btn: var(--ink); border-color: var(--line-2); }
.btn-light:hover { border-color: var(--ink); }

.btn-accent { --bg-btn: var(--accent); --fg-btn: var(--ink); font-weight: 700; }
.btn-accent:hover { --bg-btn: var(--accent-2); box-shadow: 0 18px 30px -16px rgba(226, 168, 106, .9); }

.btn-outline { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--ink); }
.btn-outline:hover { --bg-btn: var(--ink); --fg-btn: var(--paper); }

/* "Isprobaj besplatno" u headeru — sjaj koji prelazi preko dugmeta */
.btn-trial { position: relative; overflow: hidden; isolation: isolate; }
.btn-trial::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-trial:hover::after { transform: translateX(120%); }

/* ---------- header (fiksni) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
/* zamućena pozadina je na ::before — backdrop-filter na samom headeru bi "zarobio" mobilni meni (position: fixed) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 240, 230, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(43, 29, 20, .55); }
.site-header.is-scrolled::before { background: rgba(251, 246, 238, .92); }
.nav-open .site-header::before { background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); cursor: pointer;
}
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobilni meni */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  display: flex; flex-direction: column; gap: 28px;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 16px; }
.no-js .burger { display: none; }
.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.nav-open { overflow: hidden; }
.nav-links { list-style: none; display: flex; flex-direction: column; }
.nav-links a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 26px; font-weight: 600; text-decoration: none;
}
.nav-links a[aria-current="page"] { color: var(--caramel); }
.nav-actions { display: flex; flex-direction: column; gap: 14px; }
.nav-actions .btn { width: 100%; min-height: 54px; }
.nav-login { text-align: center; font-weight: 600; text-decoration: none; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 999px; }

.lang-switch { display: inline-flex; align-self: flex-start; gap: 2px; padding: 4px; background: var(--sand); border-radius: 999px; }
.lang-switch a {
  min-width: 44px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--muted); transition: background-color .2s, color .2s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 4px 10px -6px rgba(43, 29, 20, .5); }

@media (min-width: 1080px) {
  :root { --header-h: 80px; }
  .burger { display: none; }
  .site-nav, .no-js .site-nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
    flex-direction: row; align-items: center; gap: 28px;
  }
  .nav-links { flex-direction: row; gap: 4px; }
  .nav-links a { border: 0; padding: 10px 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; border-radius: 999px; transition: background-color .2s; }
  .nav-links a:hover { background: var(--sand); }
  .nav-actions { flex-direction: row; align-items: center; gap: 12px; }
  .nav-actions .btn { width: auto; min-height: 46px; }
  .nav-login { border: 0; padding: 10px 6px; }
  .nav-login:hover { color: var(--caramel); }
  .lang-switch { align-self: center; }
  .lang-switch a { min-width: 38px; height: 32px; }
  .nav-open { overflow: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 32px 64px; }
.hero-glow {
  position: absolute; right: -200px; top: -120px; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #EAD6BC 0%, rgba(234, 214, 188, 0) 70%); pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pill-note {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 600;
}
.pill-note-tag { background: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 7.4vw, 4.9rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero-title em { font-style: italic; color: var(--caramel); }
.hero-lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ic { color: var(--caramel); }

.hero-visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.hero-orbit { position: absolute; width: min(520px, 120%); height: auto; opacity: .55; fill: none; stroke: #D9C2A5; stroke-width: .6; animation: spin 40s linear infinite; }

.phone {
  position: relative; width: 268px; height: 540px; padding: 9px; border-radius: 44px;
  background: var(--ink); box-shadow: var(--shadow-lg), inset 0 0 0 2px #4A3424; animation: float 6s ease-in-out infinite;
}
.phone-screen { height: 100%; border-radius: 36px; background: #FBF6EE; overflow: hidden; display: flex; flex-direction: column; }
.phone-cover {
  position: relative; height: 150px; padding: 36px 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background: linear-gradient(160deg, var(--brown), var(--brown-2)); color: #FBF6EE;
}
.phone-table { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.phone-venue { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.phone-cover .steam { position: absolute; right: 22px; top: 34px; }
.phone-chips { display: flex; gap: 6px; padding: 12px 12px 10px; }
.phone-chips span { background: var(--sand); font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; }
.phone-chips span.on { background: var(--ink); color: #FBF6EE; }
.phone-items { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 7px; }
.phone-item .thumb { width: 46px; height: 46px; border-radius: 11px; }
.phone-item-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.phone-item-txt b { font-size: 13px; }
.phone-item-txt small { font-size: 10.5px; color: #7A6656; }
.phone-item-price { font-weight: 700; font-size: 12px; padding-right: 4px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 20px; box-shadow: 0 24px 40px -24px rgba(43, 29, 20, .5); line-height: 1.25;
}
.float-card span:last-child { display: flex; flex-direction: column; }
.float-card small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel); }
.float-card b { font-size: 14px; }
.float-promo { left: 0; top: 54px; background: var(--paper); border: 1px solid var(--line); animation: float2 7s ease-in-out infinite; }
.float-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.float-ic--accent { background: var(--accent); color: var(--ink); }
.float-nfc { right: 0; bottom: 110px; background: var(--ink); color: #FBF6EE; }
.float-nfc small { color: var(--muted-2); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; }
.nfc-pulse { position: relative; width: 42px; height: 42px; display: flex !important; align-items: center; justify-content: center; color: var(--accent); flex-direction: row !important; }
.nfc-pulse i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s ease-out infinite; }
.nfc-pulse i + i { animation-delay: 1.2s; }
.float-toast {
  position: absolute; left: 12px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 8px; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 20px 30px -20px rgba(43, 29, 20, .5); animation: toast 5s ease-in-out infinite; max-width: calc(100% - 24px);
}
.toast-ok { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }

/* para iz šolje */
.steam { display: inline-flex; gap: 5px; }
.steam i { width: 4px; height: 16px; border-radius: 4px; background: rgba(251, 246, 238, .7); animation: steam 3.2s ease-out infinite; }
.steam i:nth-child(2) { animation-delay: .9s; }
.steam i:nth-child(3) { animation-delay: 1.8s; }

@media (max-width: 639px) {
  .float-nfc { bottom: 34px; }
  .float-toast { display: none; }
}
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .section { padding-block: 96px; }
  .phone { width: 296px; height: 600px; }
  .phone-cover { height: 170px; padding-top: 40px; }
  .hero-visual { height: 640px; }
  .float-promo { left: 4%; }
  .float-nfc { right: 2%; }
  .float-toast { left: 6%; font-size: 13px; }
}
@media (min-width: 1000px) {
  .hero { padding-block: 40px 96px; }
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .section { padding-block: 112px; }
  .section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .section-head--split > div { max-width: 660px; }
  .section-head--split .section-lead { max-width: 380px; margin: 0; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #EBDDCB; overflow: hidden; padding: 18px 0; }
.marquee-track { list-style: none; display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track li { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 3vw, 26px); white-space: nowrap; padding-inline: 24px; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track li::after { content: "✦"; font-style: normal; color: var(--accent); font-size: .7em; margin-left: 24px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- koraci ---------- */
.steps { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.step h3 { font-size: 21px; font-family: var(--sans); letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--muted); }
.step-num { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--caramel); }
.step-art { height: 150px; border-radius: var(--r); background: var(--sand); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qr-mini {
  position: relative; width: 98px; height: 98px; padding: 11px; border-radius: 14px; background: #fff;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; box-shadow: 0 10px 20px -12px rgba(43, 29, 20, .5);
}
.qr-mini i { border-radius: 2px; }
.qr-mini i.on { background: var(--ink); }
.qr-scan { position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: scan 3s ease-in-out infinite; }
.step-art--langs { flex-wrap: wrap; gap: 8px; padding: 16px; align-content: center; }
.step-art--langs span { background: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.step-art--langs span.on { background: var(--ink); color: #FBF6EE; }
.step-art--langs span.add { background: transparent; border: 1px dashed #B99E7F; color: var(--muted); }
.call-demo { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #FBF6EE; padding: 14px 20px; border-radius: 16px; font-weight: 600; font-size: 15px; }
.call-ring { position: absolute; inset: -6px; border-radius: 20px; border: 2px solid var(--caramel-2); animation: ring 2.4s ease-out infinite; }

/* ---------- bento mogućnosti ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.bento-card { background: var(--paper); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bento-card h3 { font-size: 20px; font-family: var(--sans); letter-spacing: -0.01em; }
.bento-card p { font-size: 15px; color: var(--muted); }
.bento-card--dark { background: var(--ink); color: #FBF6EE; }
.bento-card--dark h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; }
.bento-card--dark p { color: var(--muted-2); }
.bento-card--wide { gap: 24px; }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-card--wide { grid-column: span 2; flex-direction: row; align-items: center; }
  .bento-copy { flex: 1 1 40%; }
  .editor-mock { flex: 1 1 55%; }
  /* poslednja kartica (domen) zauzima ceo red, horizontalno */
  .bento-card--full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: 40px; align-items: start; }
  .bento-card--full > .domain-rows { grid-column: 2; grid-row: 1 / span 2; flex-direction: row; flex-wrap: wrap; align-self: center; }
  .bento-card--full > h3, .bento-card--full > p { grid-column: 1; }
}
.bento-copy { display: flex; flex-direction: column; gap: 10px; }
.editor-mock { background: #FBF6EE; color: var(--ink); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.editor-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.editor-row .grip { color: #B99E7F; }
.editor-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-price { font-weight: 700; }
.editor-row--drag { box-shadow: 0 12px 22px -12px rgba(43, 29, 20, .45); animation: drag 4s ease-in-out infinite; }
.editor-row--off { opacity: .62; }
.editor-row--off .editor-name { text-decoration: line-through; }
.editor-row--off .editor-price { font-size: 12px; color: var(--caramel); }
.toggle { width: 36px; height: 20px; border-radius: 999px; background: #D9C9B5; position: relative; flex: none; }
.toggle i { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .3s; }
.toggle--on { background: var(--green); }
.toggle--on i { left: 18px; }

.swatches { display: flex; gap: 10px; }
.swatches i { width: 40px; height: 40px; border-radius: 50%; background: var(--c); transition: transform .25s var(--ease); }
.swatches i.on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--c); }
.bento-card:hover .swatches i:nth-child(2) { transform: translateY(-4px); }
.bento-card:hover .swatches i:nth-child(3) { transform: translateY(-8px); transition-delay: .05s; }
.bento-card:hover .swatches i:nth-child(4) { transform: translateY(-4px); transition-delay: .1s; }
.promo-chip { display: flex; flex-direction: column; gap: 4px; background: linear-gradient(135deg, var(--caramel-2), var(--caramel)); color: var(--paper); border-radius: 16px; padding: 14px 16px; position: relative; overflow: hidden; }
.promo-chip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
.promo-chip small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.promo-chip b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.photo-row { display: flex; gap: 8px; }
.photo-row > span { flex: 1; height: 64px; border-radius: 14px; }
.photo-add { border: 2px dashed #C9B297; display: flex; align-items: center; justify-content: center; color: var(--caramel); }
.lang-rows, .domain-rows { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.lang-rows > span { display: flex; justify-content: space-between; background: var(--sand-2); border-radius: 10px; padding: 8px 12px; }
.lang-rows b { color: var(--caramel); }
.domain-rows span { background: var(--sand-2); border-radius: 10px; padding: 8px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.domain-rows span.dark { background: var(--ink); color: #FBF6EE; }

/* ---------- table za sto ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-copy { display: flex; flex-direction: column; }
.split-copy h2 { margin-bottom: 4px; }
.stands { display: flex; justify-content: center; align-items: flex-end; gap: 12px; padding: 20px 0; }
.stand {
  width: 30%; max-width: 180px; aspect-ratio: 170 / 240; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 30px 40px -24px rgba(43, 29, 20, .6); text-align: center; padding: 10px;
}
.stand b { font-family: var(--serif); font-weight: 600; font-size: clamp(13px, 2.2vw, 18px); line-height: 1.15; }
.stand small { font-size: 12px; opacity: .85; }
.stand-qr { width: 60%; aspect-ratio: 1; border-radius: 12px; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.stand-qr .ic { width: 70%; height: 70%; }
.stand-qr--dark { background: var(--ink); color: #EBDDCB; }
.stand--brown { background: var(--brown); color: #FBF6EE; transform: rotate(-6deg); }
.stand--cream { background: var(--paper); border: 1px solid var(--line-2); max-width: 200px; width: 34%; aspect-ratio: 190 / 280; }
.stand--green { background: #1F3B2D; color: #FBF6EE; transform: rotate(5deg); }
.stand--brown.card-hover:hover { transform: rotate(-3deg) translateY(-8px); }
.stand--green.card-hover:hover { transform: rotate(2deg) translateY(-8px); }
.tick-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; font-size: 16px; }
.tick-list li { display: flex; gap: 12px; align-items: center; }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }

/* ---------- paketi ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--popular { background: var(--ink); color: #EBDDCB; border-color: var(--ink); box-shadow: 0 40px 60px -30px rgba(43, 29, 20, .7); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-name { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.plan--popular .plan-name { color: #FBF6EE; }
.plan-badge { background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan-desc { font-size: 15px; color: var(--muted); }
.plan--popular .plan-desc { color: var(--muted-2); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.plan-amount { font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.plan--popular .plan-amount { color: #FBF6EE; }
.plan-amount--text { font-size: 36px; }
.plan-per { font-size: 15px; color: var(--muted); }
.plan--popular .plan-per { color: var(--muted-2); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features .ic { margin-top: 4px; color: var(--caramel); }
.plan--popular .plan-features .ic { color: var(--accent); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--popular .btn-outline { --fg-btn: #FBF6EE; border-color: #FBF6EE; }

.addons { margin-top: 28px; background: var(--bg); border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; }
@media (min-width: 900px) { .addons { grid-template-columns: 260px 1fr; align-items: center; padding: 28px 32px; } }
.addons-head h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.addons-head p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.addons-list { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .addons-list { grid-template-columns: 1fr 1fr; } }
.addons > * { min-width: 0; }
.addons-list > li { min-width: 0; }
.addon { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 14px 16px; }
@media (max-width: 479px) { .addon-price { margin-left: 60px; } }
.addon-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--sand); display: flex; align-items: center; justify-content: center; color: var(--caramel); flex: none; }
.addon-text { flex: 1 1 170px; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.4; min-width: 0; }
.addon-text strong { color: var(--ink); font-size: 16px; }
.addon-price { font-weight: 700; font-size: 14px; white-space: nowrap; background: var(--sand); padding: 6px 12px; border-radius: 999px; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--line-2); box-shadow: 0 20px 30px -26px rgba(43, 29, 20, .5); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
.faq-plus { width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--caramel); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--ease), background-color .3s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { font-size: 15px; color: var(--muted); max-width: 680px; }
.faq-item[open] .faq-answer { animation: fadeDown .35s var(--ease); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brown), var(--ink)); color: #FBF6EE;
  padding: clamp(32px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-ring { position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(200, 137, 75, .18); animation: spin 30s linear infinite; }
.cta-steam { position: absolute; left: 32px; bottom: 18px; opacity: .45; }
.cta-steam span { display: inline-block; width: 4px; height: 26px; margin-right: 6px; border-radius: 4px; background: #FBF6EE; animation: steam 3.4s ease-out infinite; }
.cta-steam span:nth-child(2) { animation-delay: 1.1s; }
.cta-steam span:nth-child(3) { animation-delay: 2.2s; }
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.cta-copy h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-copy p { color: #E3D2BE; font-size: 17px; }
.cta-band .btn { position: relative; }

/* ---------- podstranice ---------- */
.page-hero { padding-block: 40px 40px; }
.page-hero h1 { max-width: 820px; }
.page-hero--small h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .section-lead { margin-top: 16px; }
.crumbs { margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1000px) { .page-hero { padding-block: 64px 48px; } }

.prose { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 48px); }
.prose h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 28px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal-company { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px !important; color: var(--muted) !important; }

.notfound { text-align: center; padding-block: 80px 112px; }
.notfound .container { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.notfound-cup { width: 120px; height: 120px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; color: var(--caramel); margin-bottom: 12px; animation: float 6s ease-in-out infinite; }
.notfound .btn { margin-top: 16px; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(200, 137, 75, .18); }
.field--err input { border-color: #B3412E; }
.field-err { color: #9E3423; font-size: 14px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.form-consent { font-size: 13px; color: var(--muted); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; font-size: 15px; }
.alert .ic { margin-top: 2px; }
.alert--ok { background: #E4EFDD; color: #2F5A2B; }
.alert--err { background: #F6E1DA; color: #8E2F1F; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.info-card h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; overflow-wrap: anywhere; }
.info-list .ic { color: var(--caramel); }
.info-list a { font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.info-card--dark { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #FBF6EE; border-color: var(--ink); text-decoration: none; }
.info-card--dark > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted-2); }
.info-card--dark strong { color: #FBF6EE; font-size: 17px; }
.info-qr { width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.info-arrow { transition: transform .3s var(--ease); }
.info-card--dark:hover .info-arrow { transform: translateX(4px); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 8px; }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.footer-mail:hover { color: var(--caramel); }
.footer-col h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer-col a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer-col a:hover { color: var(--caramel); }
.lang-switch--footer { margin-top: 16px; flex-wrap: wrap; border-radius: 18px; }
.lang-switch--footer a { font-weight: 600; padding: 0 12px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-block: 72px 40px; }
  .footer-brand { grid-column: auto; }
}
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px calc(22px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.footer-bottom a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-bottom a:hover { color: var(--caramel); }

/* ---------- nazad na vrh ---------- */
.to-top {
  --p: 0;
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #FBF6EE;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(43, 29, 20, .6);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s, background-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), background-color .25s; }
.to-top:hover { background: var(--brown); }
.to-top:hover .ic { animation: nudgeUp .6s var(--ease); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 - 163.4 * var(--p)); }
.no-js .to-top { opacity: 1; visibility: visible; transform: none; }

/* ---------- kartice: hover ---------- */
.card-hover { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* ---------- ilustracije pića (dok nema pravih slika) ---------- */
.thumb { display: block; flex: none; border-radius: 12px; }
.t-espresso { background: radial-gradient(circle at 50% 45%, #C8894B 0 28%, #5A3520 29% 46%, #EBDDCB 47%); }
.t-capp { background: radial-gradient(circle at 50% 45%, #F5E9D8 0 24%, #C8894B 25% 42%, #E9D9C4 43%); }
.t-iced { background: linear-gradient(180deg, #E8D4B8 0 30%, #A9713F 30% 70%, #6B4226 70%); }
.t-cro { background: radial-gradient(ellipse 60% 40% at 50% 52%, #D9A35F 0 60%, #F3E6D3 61%); }
.t-cake { background: radial-gradient(circle at 50% 50%, #8B5A3C 0 30%, #E6CDA8 31% 44%, #F3E6D3 45%); }

/* ---------- animacije ---------- */
.js .anim-up { animation: up .9s var(--ease) both; }
.js .d1 { animation-delay: .1s; } .js .d2 { animation-delay: .2s; } .js .d3 { animation-delay: .3s; } .js .d4 { animation-delay: .4s; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.card-hover.is-in:hover, .js .plan.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(10px) rotate(-1deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px) scaleX(1); } 30% { opacity: .75; } 100% { opacity: 0; transform: translateY(-30px) scaleX(1.5); } }
@keyframes ring { 0% { transform: scale(.6); opacity: .85; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast { 0%, 12% { opacity: 0; transform: translateY(10px); } 20%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes shine { 0% { transform: translateX(-150%) skewX(-20deg); } 60%, 100% { transform: translateX(600%) skewX(-20deg); } }
@keyframes drag { 0%, 100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(-.5deg) translateY(-4px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes nudgeUp { 0% { transform: translateY(0); } 40% { transform: translateY(-5px); } 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
