/* =========================================================================
   MOMO FITNESS: osnova dizajna (sve stranice)
   Tokeni, tipografija, dugmad, header, meni (zavjesa), footer, uvodna animacija
   ========================================================================= */

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

:root {
  --bg:        #0a0a0a;
  --bg-2:      #101010;
  --card:      #141414;
  --card-2:    #1a1a1a;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .16);
  --text:      #f3f0ea;
  --muted:     #a39e95;
  --dim:       #8f8a81; /* min. 4.5:1 na pozadini (WCAG AA) */
  --accent:    #f0a500;
  --accent-hi: #ffbb2e;
  --ink:       #0a0a0a;

  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw:    1240px;
  --gutter:  clamp(16px, 4.5vw, 40px);
  --section: clamp(64px, 9vw, 130px);
  --hdr-h:   72px;
  --r:       6px;
  --r-lg:    14px;

  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; } /* :where = nulta specifičnost, klase ga pregaze */
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
  padding: 10px 16px; background: var(--accent); color: var(--ink); font-weight: 600; border-radius: var(--r);
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--bg-2); }

/* ── Tipografija ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
}
.h2 { font-size: clamp(2.4rem, 6.4vw, 4.2rem); }
.h3 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); line-height: 1; }
mark, .accent { background: none; color: var(--accent); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--split { align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr auto; }
}
.section-head .lead { max-width: 56ch; }

/* ── Dugmad ──────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2); --btn-fill: var(--text); --btn-fill-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
  .btn:hover::before { transform: translateY(0); }
}
.btn:active { transform: scale(.98); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent); --btn-fill: var(--text); --btn-fill-fg: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .7rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); padding-block: 8px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--hdr-h);
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
.hdr.is-scrolled {
  background: rgba(10, 10, 10, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr.is-hidden { transform: translateY(-100%); }
.menu-open .hdr { transform: none; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.hdr__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo {
  font: 400 1.7rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; position: relative; z-index: 2;
}
.logo span { color: var(--accent); }
@media (max-width: 1023px) { .logo { font-size: 1.36rem; } }
.logo img { max-height: 40px; width: auto; }

.hdr__nav { display: none; margin-inline: auto; }
.hdr__nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.hdr__nav a {
  font: 500 .82rem/1 var(--body); color: var(--muted); letter-spacing: .02em;
  padding-block: 8px; position: relative; transition: color .3s;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--text); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.hdr__side { display: flex; align-items: center; gap: 14px; margin-left: auto; position: relative; z-index: 2; }
.hdr__cta { display: none; }

.lang { display: flex; gap: 2px; font: 600 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.lang a { padding: 8px 7px; color: var(--dim); transition: color .3s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--text); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 4px 0 14px;
  font: 600 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
}
/* obje riječi u istoj ćeliji: širina = duža riječ ("Zatvori") */
.menu-btn__label { display: inline-grid; overflow: hidden; height: 1.1em; line-height: 1.1em; text-align: right; }
.menu-btn__label span { grid-area: 1 / 1; transition: transform .5s var(--ease-out); }
.menu-btn__label span + span { color: var(--accent); transform: translateY(110%); }
.menu-open .menu-btn__label span:first-child { transform: translateY(-110%); }
.menu-open .menu-btn__label span + span { transform: none; }
.menu-btn__icon { width: 26px; height: 10px; position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 8px; width: 70%; left: auto; }
.menu-open .menu-btn__icon::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn__icon::after { top: 4px; width: 100%; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .hdr__nav { display: block; }
  .hdr__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ── Meni: zavjesa (Navigation Menus / 16) ─────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 90;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear 1s;
}
.menu-open .menu { visibility: visible; pointer-events: auto; transition: none; }

.menu__bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.menu__bars span {
  background: rgba(10, 10, 10, .95);
  transform: scaleY(0); transform-origin: top;
  transition: transform .7s var(--ease-in-out);
}
.menu__bars span:nth-child(2) { transition-delay: .05s; }
.menu__bars span:nth-child(3) { transition-delay: .1s; }
.menu__bars span:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__bars span { transform: scaleY(1); }
/* zatvaranje: trake se dižu obrnutim redom */
.menu:not(.is-closing) .menu__bars span { transform-origin: top; }
.menu.is-closing .menu__bars span { transform-origin: bottom; }
.menu.is-closing .menu__bars span:nth-child(1) { transition-delay: .3s; }
.menu.is-closing .menu__bars span:nth-child(2) { transition-delay: .25s; }
.menu.is-closing .menu__bars span:nth-child(3) { transition-delay: .2s; }
.menu.is-closing .menu__bars span:nth-child(4) { transition-delay: .15s; }

.menu__frame {
  position: absolute; inset: calc(var(--hdr-h) + 8px) var(--gutter) var(--gutter);
  border: 1px solid var(--line);
  opacity: 0; transform: scale(.98);
  transition: opacity .5s, transform .7s var(--ease-out);
}
.menu-open .menu__frame { opacity: 1; transform: none; transition-delay: .45s; }

.menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--hdr-h) + 40px) calc(var(--gutter) + 20px) calc(var(--gutter) + 28px);
  overflow-y: auto;
}
.menu__links { display: grid; gap: 4px; counter-reset: m; }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font: 400 clamp(2.9rem, 13vw, 5.2rem)/1 var(--display); text-transform: uppercase;
  transform: translateY(105%); opacity: 0;
  transition: transform .8s var(--ease-out), opacity .4s, color .3s;
}
.menu__links a::before {
  counter-increment: m; content: "0" counter(m);
  font: 600 .7rem/1 var(--body); letter-spacing: .14em; color: var(--accent);
  transform: translateY(-1.4em);
}
.menu__links a:hover { color: var(--accent); }
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links li:nth-child(1) a { transition-delay: .5s; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: .56s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: .62s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: .68s; }
.menu-open .menu__links li:nth-child(5) a { transition-delay: .74s; }
.menu-open .menu__links li:nth-child(6) a { transition-delay: .8s; }

.menu__foot {
  display: grid; gap: 18px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s, transform .7s var(--ease-out);
}
.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: .8s; }
.menu__foot .lang { font-size: .8rem; }
.menu__contact { display: grid; gap: 4px; color: var(--muted); font-size: .9rem; }

/* sadržaj iza menija: na desktopu blur, na telefonu samo potamni (lakše za slabije telefone) */
.page-shift { transition: transform .9s var(--ease-in-out), filter .9s var(--ease-in-out); transform-origin: 50% 20vh; }
.menu-open .page-shift { transform: scale(.95); filter: brightness(.45); }
@media (min-width: 1024px) and (hover: hover) {
  .menu-open .page-shift { filter: blur(8px) brightness(.5); }
  .menu__bars span { background: rgba(10, 10, 10, .86); }
}
.menu-open { overflow: hidden; }

/* =========================================================================
   Zajedničke komponente (početna + podstranice)
   ========================================================================= */

/* ── Paketi ──────────────────────────────────────────────────────────────── */
.pkgs { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .pkgs { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; } }
.pkg {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(26px, 3.5vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color .4s, transform .6s var(--ease-out);
}
@media (hover: hover) { .pkg:hover { border-color: var(--line-2); transform: translateY(-4px); } }
.pkg--featured {
  border-color: rgba(240,165,0,.55);
  background: linear-gradient(180deg, rgba(240,165,0,.08), rgba(240,165,0,0) 45%), var(--card);
}
@media (min-width: 900px) { .pkg--featured { transform: translateY(-14px); } .pkg--featured:hover { transform: translateY(-18px); } }
.pkg__badge {
  display: inline-block; margin-bottom: 14px;
  font: 600 .66rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.pkg--featured .pkg__badge { color: var(--ink); background: var(--accent); padding: 7px 11px; border-radius: 999px; }
.pkg__name { font: 600 1.15rem/1.3 var(--body); }
.pkg__price { display: flex; align-items: baseline; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pkg__cur { font: 600 1.2rem/1 var(--body); color: var(--accent); align-self: flex-start; margin-top: .5em; }
.pkg__amount { font-size: clamp(3.8rem, 9vw, 4.8rem); line-height: .85; }
.pkg__period { color: var(--muted); font-size: .9rem; margin-left: 6px; }
.pkg__desc { color: var(--muted); font-size: .95rem; }
.pkg__features { display: grid; gap: 11px; flex: 1; font-size: .93rem; }
.pkg__features li { position: relative; padding-left: 26px; line-height: 1.45; }
.pkg__features li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pkgs__note { margin-top: 22px; text-align: center; font-size: .8rem; color: var(--dim); }
.programs__more { margin-top: 30px; text-align: center; }

/* ── Blog ────────────────────────────────────────────────────────────────── */
/* telefon: kartice za prevlačenje, poravnate sa tekstom, sljedeća viri; desktop: tri kartice */
.posts {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.posts::-webkit-scrollbar { display: none; }
.post-card { scroll-snap-align: start; }
.post-card__link { display: grid; gap: 14px; }
.post-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--card); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card__link:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: grid; gap: 10px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 600 .64rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-card__meta span { color: var(--accent); }
.post-card__title { font: 600 1.05rem/1.4 var(--body); transition: color .3s; }
.post-card__link:hover .post-card__title { color: var(--accent); }
@media (min-width: 760px) {
  .posts { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .post-card__img { aspect-ratio: 16 / 10; }
  .post-card__title { font-size: 1.12rem; }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-sec__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq-sec__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .faq-sec .section-head { position: sticky; top: calc(var(--hdr-h) + 32px); } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 clamp(1rem, 1.8vw, 1.1rem)/1.45 var(--body);
  transition: color .3s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item[open] .faq__q { color: var(--accent); }
.faq__a { padding: 0 0 24px; color: var(--muted); max-width: 64ch; display: grid; gap: 10px; }

/* Trake koje se prevlače vodoravno: bez pomjeranja gore-dole unutar trake
   (overflow-x: auto bi inače dozvolio i vertikalni skrol, npr. dok traje ulazna animacija) */
.posts, .tf__grid, .gallery__grid, .chips, .marquee__row {
  overflow-y: hidden;
  touch-action: pan-x pan-y; /* vertikalni potez prstom skroluje stranicu, ne traku */
}
/* u traci kartica ulazi samo prozirnošću (pomjeranje bi traku napravilo višom od sadržaja) */
.js .posts > [data-reveal] { transform: none; }
@media (min-width: 760px) { .posts { overflow-y: visible; } }
@media (min-width: 560px) { .tf__grid { overflow-y: visible; } }

/* ── Tačkice za trake koje se prevlače ───────────────────────────────────── */
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.dots[hidden] { display: none; }
.dots button {
  width: 7px; height: 7px; border-radius: 999px; background: var(--line-2);
  transition: width .45s var(--ease-out), background-color .3s;
}
.dots button.is-active { width: 22px; background: var(--accent); }
.dots--count { align-items: center; gap: 14px; }
.dots__bar { width: 140px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.dots__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s var(--ease-out); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.ftr { border-top: 1px solid var(--line); padding-top: clamp(64px, 9vw, 110px); background: var(--bg); }
.ftr__grid { display: grid; gap: 44px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.ftr__brand p { color: var(--muted); max-width: 34ch; margin-top: 16px; font-size: .95rem; }
.ftr__title { font: 600 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.ftr__links { display: grid; gap: 10px; }
.ftr__links a, .ftr__contact a { color: var(--muted); transition: color .3s; }
.ftr__links a:hover, .ftr__contact a:hover { color: var(--accent); }
.ftr__contact { display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }

.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.social a:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* MOMO obrisom, FITNESS punim žutim; veličina tako da natpis uvijek stane u širinu */
.ftr__word {
  font: 400 calc((min(100vw, var(--maxw) + var(--gutter) * 2) - var(--gutter) * 2) / 4.75)/.8 var(--display);
  text-transform: uppercase; letter-spacing: .01em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  margin-top: clamp(48px, 8vw, 100px); user-select: none;
}
.ftr__word span { color: var(--accent); -webkit-text-stroke: 0; }
.ftr__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-block: 22px 26px; margin-top: 8px;
  color: var(--dim); font-size: .8rem;
}
.ftr__bottom a { color: var(--muted); }
.ftr__bottom a:hover { color: var(--text); }
.ftr__credit a { color: #aaff00; font-weight: 500; }

/* ── WhatsApp ────────────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 27px; height: 27px; }
.whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-open .whatsapp-float { opacity: 0; pointer-events: none; }
.whatsapp-float { transition: transform .3s var(--ease-out), opacity .4s; }
/* početna na telefonu: dugme tek kad glavni CTA nije na ekranu (da ga ne prekriva) */
@media (max-width: 899px) {
  .page-home:not(.past-hero) .whatsapp-float { opacity: 0; transform: scale(.6); pointer-events: none; }
}

/* ── Cookie banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 85;
  max-width: 460px;
  display: grid; gap: 14px;
  padding: 18px 20px;
  background: rgba(20, 20, 20, .96); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  font-size: .85rem; color: var(--muted);
  transform: translateY(calc(100% + 24px)); transition: transform .6s var(--ease-out);
}
.cookie-banner.visible { transform: none; }
.is-preview .cookie-banner { display: none; }
.cookie-banner a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__actions .btn { flex: 1; }
@media (max-width: 560px) { .cookie-banner { right: 84px; } }

/* ── Uvodna animacija (Hero Animations / 26) ─────────────────────────────── */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(28px, 5vh, 52px);
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  /* osigurač: ako JS ne radi, uvod nestaje sam */
  animation: intro-failsafe .01s linear 6s forwards;
}
@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; } }
.intro-on body { overflow: hidden; }
.intro__imgs { position: relative; width: 100%; height: min(42svh, 380px); }
/* telefon: prostor za lepezu = visina fotografija, logo odmah ispod */
@media (max-width: 639px) {
  .intro-on .intro { gap: 18px; }
  .intro__imgs { height: calc(min(220px, 38vw) * 4 / 3 + 24px); }
}
.intro__img {
  position: absolute; top: 50%; left: 50%;
  width: min(220px, 38vw); aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: 3px;
  opacity: 0; transform: translate(-50%, -50%) scale(.7);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  will-change: transform, opacity;
}
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__word {
  position: relative; z-index: 2;
  font: 400 clamp(3rem, 13vw, 7.5rem)/.9 var(--display); letter-spacing: .02em; white-space: nowrap;
  display: flex;
}
.intro__word .ch { display: inline-block; transform: translateY(110%); }
.intro__word .clip { display: inline-flex; overflow: hidden; padding-bottom: .04em; }
.intro__word .is-accent { color: var(--accent); }
.intro__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(22px, 5vh, 44px);
  text-align: center; overflow: hidden;
  font: 600 .7rem/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
}
.intro__foot span { display: inline-block; transform: translateY(110%); }

/* ── Ulazne animacije pri skrolanju (bez GSAP-a, IntersectionObserver) ───── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }

/* maskirani naslovi: redovi se dižu iz maske */
/* padding gore: kvačice (Š, Č, Ž) ne smiju biti odsječene maskom */
.js [data-split] .line { display: block; overflow: hidden; padding: .14em 0 .06em; margin: -.14em 0 -.06em; }
/* oznaka iznad velikog naslova: razmak (maska gore ima negativnu marginu, pa bi naslov dodirnuo oznaku) */
.eyebrow + [data-split], .eyebrow + .display { margin-top: clamp(10px, 1.4vw, 18px); }
.js [data-split] .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js [data-split].is-in .line > span { transform: none; }
.js [data-split].is-in .line:nth-child(2) > span { transition-delay: .08s; }
.js [data-split].is-in .line:nth-child(3) > span { transition-delay: .16s; }

/* Customizer preview i "smanji pokrete": sve odmah vidljivo */
.is-preview [data-reveal], .is-preview [data-split] .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .line > span { opacity: 1; transform: none; }
}
