/* =========================================================
   CORE: zajednički za sve sajtove trenera (Maša, Steva, ...)
   Boje, fontovi i radijusi dolaze iz theme.css.
   Selektori su jedna klasa (BEM), bez međusobnog poništavanja.
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }

/* ---------- 2. Tokeni rasporeda i tipografije ---------- */
:root {
  --gutter: clamp(16px, 4.5vw, 40px);
  --max: 1200px;
  --section: clamp(64px, 9vw, 120px);
  --offer-h: 0px; /* visina fiksne trake, postavlja JS */

  --fs-xs: .8125rem;
  --fs-sm: .9063rem;
  --fs-body: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3.125rem);
  --fs-h1: clamp(2.625rem, 1.75rem + 3.6vw, 4.75rem);
}

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: var(--offer-h);
}

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); overflow-x: clip; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); }
.section--flush-top { padding-top: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--c-accent); color: var(--c-on-accent); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-highlight); color: var(--c-ink); }

.display, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
.display { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; }
.display em, .h2 em, .h3 em { font-style: italic; font-weight: var(--display-italic-weight); color: var(--c-accent); }
.section--dark .h2 em { color: var(--c-highlight); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-soft); max-width: 56ch; text-wrap: pretty; }
.section--dark .lead { color: var(--c-on-dark-soft); }
.kicker { font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent); }
.muted { color: var(--c-ink-soft); }
.prose { max-width: 60ch; color: var(--c-ink-soft); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--c-ink); }

/* Zaglavlje sekcije: naslov levo, kontrole desno */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head__text { display: grid; gap: 14px; max-width: 720px; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-head__text { justify-items: center; }

/* ---------- 3. Dugmad ---------- */
.btn {
  --_bg: var(--c-accent); --_fg: var(--c-on-accent); --_bd: var(--c-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: var(--r-pill);
  border: 1.5px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { --_bg: var(--c-accent-hover); --_bd: var(--c-accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --_bg: transparent; --_fg: var(--c-ink); --_bd: color-mix(in srgb, var(--c-ink) 25%, transparent); }
.btn--ghost:hover { --_bg: var(--c-surface); --_fg: var(--c-ink); --_bd: var(--c-ink); }
.btn--light { --_bg: #fff; --_fg: var(--c-dark); --_bd: #fff; }
.btn--light:hover { --_bg: var(--c-highlight); --_bd: var(--c-highlight); --_fg: var(--c-dark); }
.btn--sale { --_bg: var(--c-sale); --_bd: var(--c-sale); }
.btn--sale:hover { --_bg: #951a2e; --_bd: #951a2e; }
.btn--sm { min-height: 44px; padding: 0 1.25em; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 2em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--c-accent); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.textbtn { background: none; border: 0; padding: 8px 4px; color: var(--c-ink-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.textbtn:hover { color: var(--c-ink); }

/* Kružna dugmad za slajdere */
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-surface); border: 1.5px solid var(--c-line); color: var(--c-ink);
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.arrow:hover:not(:disabled) { background: var(--c-ink); color: var(--c-surface); border-color: var(--c-ink); }
.arrow:disabled { opacity: .35; cursor: default; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; padding: 6px 11px; border-radius: var(--r-pill); background: var(--c-bg-alt); color: var(--c-ink); white-space: nowrap; }
.chip--dark { background: var(--c-dark); color: var(--c-on-dark); }
.chip--rose { background: var(--c-accent-soft); color: #fff; }
.chip--white { background: var(--c-surface); color: var(--c-accent); }

.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ticks svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 1px; }

/* ---------- 4. Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--c-bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.header.is-scrolled { border-bottom-color: var(--c-line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo em { font-style: italic; font-weight: 500; color: var(--c-accent); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav__link { text-decoration: none; font-weight: 500; font-size: .9688rem; color: var(--c-ink-soft); transition: color .2s; }
.nav__link:hover { color: var(--c-ink); }
.nav-toggle { display: none; }

/* ---------- 5. Hero ---------- */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__lead { max-width: 44ch; }
.hero__price { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.hero__price s { margin-right: 4px; }
.hero__price b { color: var(--c-ink); font-size: 1rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-xs); font-weight: 500; color: var(--c-ink-soft); padding-top: 4px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--c-success); }

.hero__media { position: relative; justify-self: end; width: min(100%, 500px); padding: 0 0 36px 36px; }
.hero__photo { aspect-ratio: 4 / 5.1; border-radius: var(--r-arch); overflow: hidden; background: var(--c-studio); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.seal {
  position: absolute; right: -8px; top: 12%; z-index: 2; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1.05;
  background: var(--c-sale); color: #fff; box-shadow: var(--shadow-float); transform: rotate(8deg);
}
.seal b { display: block; font-family: var(--f-body); font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.seal span { font-size: .6875rem; font-weight: 600; }

/* „Danas u aplikaciji“ kartica */
.today {
  position: absolute; left: 0; bottom: 0; z-index: 2; width: min(300px, 78%);
  background: var(--c-surface); border-radius: 22px; padding: 16px; box-shadow: var(--shadow-float);
  display: grid; gap: 12px; font-size: var(--fs-sm);
}
.today__head { display: flex; justify-content: space-between; align-items: center; }
.today__head b { font-weight: 700; }
.today__head span { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.today__row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.today__ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-accent); }
.today__ico svg { width: 19px; height: 19px; }
.today__top { display: flex; justify-content: space-between; gap: 8px; line-height: 1.25; }
.today__top b { font-weight: 600; }
.today__top span { color: var(--c-ink-soft); font-size: var(--fs-xs); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 99px; background: var(--c-bg-alt); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--c-accent); }
.bar--sale i { background: var(--c-accent-soft); }
.bar--blue i { background: #6E9FBF; }
.macros { display: flex; gap: 10px; margin-top: 6px; font-size: .75rem; color: var(--c-ink-soft); }
.macros span b { color: var(--c-ink); font-weight: 600; }

/* Brojke ispod heroja */

@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-enter] { opacity: 0; transform: translateY(16px); }
  .js .hero.is-in [data-enter] { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 100ms); }
}

/* ---------- 6. Slajder (scroll-snap) ---------- */
.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--slide, 360px); gap: var(--slide-gap, 20px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
  /* kartice izlaze do ivice ekrana, a poravnate su sa kontejnerom */
  --bleed: max(var(--gutter), (100vw - var(--max)) / 2);
  margin-inline: calc(-1 * var(--bleed)); padding-inline: var(--bleed); scroll-padding-inline: var(--bleed);
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; min-width: 0; }
.slider__dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--c-ink) 22%, transparent); transition: width .25s, background-color .25s; }
.slider__dots button[aria-current="true"] { width: 24px; background: var(--c-accent); }


/* Širine slajdova po sekciji */
.slider--pains { --slide-gap: 20px; --slide: calc((100% - 2 * 20px) / 3); }
.slider--programs { --slide-gap: 24px; --slide: calc((100% - 24px) / 1.65); }
@media (max-width: 1080px) {
  .slider--pains { --slide: calc((100% - 20px) / 2.15); }
  .slider--programs { --slide: calc(100% - 64px); }
}
@media (max-width: 640px) {
  .slider--pains { --slide-gap: 14px; --slide: 84%; }
  .slider--programs { --slide-gap: 14px; --slide: 88%; }
}

/* ---------- 7. Zvuči poznato ---------- */
.pain {
  background: var(--c-surface); border-radius: var(--r-lg); padding: 28px 26px;
  display: grid; grid-template-rows: auto auto 1fr; gap: 18px; box-shadow: var(--shadow-card); height: 100%;
}
.pain__quote { font-size: 1.1875rem; font-weight: 600; line-height: 1.4; color: var(--c-ink); }
.pain__quote { min-height: calc(32px + 2.8em); }
.pain__quote::before { content: "“"; font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--c-accent-soft); display: block; height: 30px; margin-bottom: 2px; }
.pain__fix { border-top: 1px solid var(--c-line); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.pain__fix b { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--c-success); font-weight: 700; }
.pain__fix b svg { width: 16px; height: 16px; }
.pain__fix p { color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: 1.55; }

.cta-strip { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; border-radius: var(--r-lg); background: transparent; border: 2px dashed var(--c-sale); }
.cta-strip p { max-width: 62ch; }

/* ---------- 8. Programi (široke kartice) ---------- */
.program {
  display: grid; grid-template-columns: 42% 1fr; background: var(--c-surface); padding: 12px;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); height: 100%;
}
.program__media { position: relative; background: var(--c-studio); min-height: 100%; border-radius: calc(var(--r-lg) - 10px); overflow: hidden; }
.program__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.program__tags { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.program__body { padding: clamp(10px, 1.4vw, 18px) clamp(8px, 1vw, 12px) 4px clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.program__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.program__desc { color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.program__for { font-size: var(--fs-sm); line-height: 1.5; padding: 12px 14px; border-radius: var(--r-md); background: var(--c-bg); }
.program__for b { color: var(--c-accent); }
.program__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.program__actions .btn { flex: 1 1 auto; }

.note-strip { margin-top: 24px; display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.note-strip svg { flex: none; width: 18px; height: 18px; color: var(--c-accent); margin-top: 2px; }

/* ---------- 10. Koraci ---------- */
.steps-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.arch-photo { border-radius: var(--r-arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-studio); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.steps { counter-reset: step; display: grid; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--c-line); }
.step:last-child { border-bottom: 1px solid var(--c-line); }
.step::before { counter-increment: step; content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); color: var(--c-accent); font-family: var(--f-body); font-weight: 700; font-size: 1.125rem; }
.step h3 { font-size: var(--fs-h4); font-weight: 600; }
.step p { color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* ---------- 12. O treneru ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; }
.about__sign { position: absolute; right: -4%; bottom: 8%; background: var(--c-accent); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); padding: 12px 22px; border-radius: var(--r-pill); box-shadow: var(--shadow-float); transform: rotate(-4deg); }
.about__copy { display: grid; gap: 22px; }
.quote { position: relative; background: var(--c-surface); border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px) clamp(24px, 3vw, 32px); box-shadow: var(--shadow-card); }
.quote::before { content: "“"; position: absolute; top: -18px; left: 24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; padding-top: 18px; background: var(--c-accent); color: #fff; font-family: var(--f-display); font-size: 3rem; line-height: 1; }
.quote p { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); line-height: 1.25; color: var(--c-ink); text-wrap: balance; }
.quote footer { margin-top: 14px; font-size: var(--fs-sm); font-weight: 600; color: var(--c-accent); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c-ink) 18%, transparent); color: var(--c-ink); transition: background-color .2s, color .2s, border-color .2s; }
.social:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.section--dark .social { color: var(--c-on-dark); border-color: rgba(255,255,255,.22); }
.section--dark .social:hover { background: var(--c-on-dark); color: var(--c-dark); }

/* ---------- 13. Odbrojavanje ---------- */
.countdown { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.countdown__unit { display: inline-grid; justify-items: center; min-width: 46px; padding: 6px 4px 5px; border-radius: 10px; background: var(--c-bg-alt); color: var(--c-ink); line-height: 1; }
.countdown__unit b { font-family: var(--f-body); font-weight: 700; font-size: 1.25rem; }
.countdown__unit small { font-size: .6875rem; color: var(--c-ink-soft); margin-top: 4px; }
.countdown--dark .countdown__unit { background: rgba(255,255,255,.1); color: #fff; }
.countdown--dark .countdown__unit small { color: var(--c-on-dark-soft); }

/* ---------- 14. Cene ---------- */
.deal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 0 auto clamp(32px, 4vw, 44px); padding: 12px 14px 12px 22px; border-radius: var(--r-pill); background: var(--c-surface); width: fit-content; max-width: 100%; box-shadow: var(--shadow-card); }
.deal p { font-weight: 700; color: var(--c-sale); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); align-items: stretch; }
.plan { position: relative; background: var(--c-surface); border-radius: var(--r-lg); padding: clamp(26px, 2.8vw, 34px); display: flex; flex-direction: column; gap: 20px; border: 2px solid transparent; box-shadow: var(--shadow-card); }
.plan--featured { border-color: var(--c-accent); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.plan__badge--sale { background: var(--c-sale); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__name { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.plan__off { font-size: var(--fs-xs); font-weight: 700; color: #fff; background: var(--c-sale); padding: 5px 10px; border-radius: var(--r-pill); }
.plan__price { display: grid; gap: 6px; }
.plan__was { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: var(--fs-sm); }
.plan__was s { color: var(--c-ink-soft); }
.plan__was b { color: var(--c-sale); font-weight: 700; }
.plan__amount { font-family: var(--f-body); font-weight: 700; font-size: clamp(2.75rem, 2.3rem + 1.4vw, 3.375rem); line-height: 1; letter-spacing: -.02em; }
.plan__amount sup { font-size: .4em; vertical-align: top; position: relative; top: .4em; margin-left: 2px; letter-spacing: 0; }
.plan__per { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.plan__per b { color: var(--c-ink); }
.plan__per i { font-style: normal; color: var(--c-success); font-weight: 600; }
.plan .ticks { flex: 1; align-content: start; font-size: .9688rem; border-top: 1px solid var(--c-line); padding-top: 18px; }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-top: 24px; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.pay-row span { display: inline-flex; align-items: center; gap: 6px; }
.pay-row svg { width: 16px; height: 16px; }
.fine { margin: 14px auto 0; text-align: center; font-size: var(--fs-xs); color: var(--c-ink-soft); max-width: 68ch; }

/* Knjiga (CSS mockup) */
.book { --w: 96px; position: relative; width: var(--w); aspect-ratio: 3 / 4.2; flex: none; }
.book__cover {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px; overflow: hidden;
  background: linear-gradient(160deg, #F6E4E1 0%, #E9C9C4 55%, #D9A8A3 100%);
  box-shadow: inset 6px 0 0 rgba(122,46,59,.18), inset 8px 0 6px -4px rgba(0,0,0,.18), 0 18px 30px -16px rgba(42,28,33,.55);
  display: grid; align-content: space-between; padding: calc(var(--w) * .12) calc(var(--w) * .1) calc(var(--w) * .1) calc(var(--w) * .16);
  color: var(--c-accent);
}
.book__cover small { font-size: calc(var(--w) * .075); font-weight: 700; letter-spacing: .02em; }
.book__cover b { font-family: var(--f-display); font-weight: 700; font-size: calc(var(--w) * .15); line-height: 1.05; color: var(--c-ink); }
.book__cover span { font-size: calc(var(--w) * .07); font-weight: 600; color: var(--c-ink-soft); }
.book--lg { --w: clamp(200px, 26vw, 300px); }
.book--md { --w: 128px; }

/* ---------- 15. Garancija ---------- */
.guarantee { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.guarantee__photo { position: relative; }
.guarantee__stamp { position: absolute; right: 16px; bottom: 16px; width: 116px; height: 116px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--c-surface); color: var(--c-success); box-shadow: var(--shadow-float); line-height: 1.1; border: 2px dashed color-mix(in srgb, var(--c-success) 45%, transparent); }
.guarantee__stamp b { font-family: var(--f-body); font-weight: 800; font-size: 1.625rem; display: block; }
.guarantee__stamp span { font-size: .75rem; font-weight: 700; }
.g-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.g-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.g-list__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-success); }
.g-list__ico svg { width: 22px; height: 22px; }
.g-list b { display: block; }
.g-list span { color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* ---------- 16. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 110px; display: grid; gap: 18px; justify-items: start; }
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); color: var(--c-accent); transition: transform .25s, background-color .25s, color .25s; }
.faq__plus svg { width: 14px; height: 14px; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--c-accent); color: #fff; }
.faq__answer { padding: 0 52px 22px 0; color: var(--c-ink-soft); max-width: 64ch; }

/* ---------- 18. Footer ---------- */
.footer { padding-block: 64px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer h4 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 14px; color: #fff; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--c-on-dark-soft); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; font-size: 1.75rem; }
.footer .logo em { color: var(--c-highlight); }
.footer__about { color: var(--c-on-dark-soft); font-size: var(--fs-sm); margin: 14px 0 20px; max-width: 36ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: var(--fs-xs); color: var(--c-on-dark-soft); }

/* ---------- 19. Fiksna traka sa ponudom (uvek vidljiva) ---------- */
.offerbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--c-dark); color: var(--c-on-dark);
  padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  box-shadow: 0 -12px 30px -18px rgba(0,0,0,.5);
}
.offerbar__inner { width: min(100%, var(--max)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.offerbar__deal { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; min-width: 0; }
.offerbar__title { font-weight: 700; color: #fff; line-height: 1.2; }
.offerbar__title span { color: var(--c-highlight); }
.offerbar__sub { font-size: var(--fs-xs); color: var(--c-on-dark-soft); }
.offerbar .countdown__unit { min-width: 40px; padding: 5px 4px 4px; }
.offerbar .countdown__unit b { font-size: 1.0625rem; }
.offerbar__price { font-size: var(--fs-sm); color: var(--c-on-dark-soft); white-space: nowrap; }
.offerbar__price b { color: #fff; font-size: 1rem; }
.offerbar__right { display: flex; align-items: center; gap: 18px; flex: none; }

/* ---------- 20. Modali ---------- */
.modal {
  width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: var(--r-lg); background: var(--c-bg); color: var(--c-ink); overflow: auto;
  box-shadow: 0 40px 100px -30px rgba(42,28,33,.6);
}
.modal::backdrop { background: rgba(42, 28, 33, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .25s cubic-bezier(.2,.7,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal__inner { display: grid; gap: 20px; padding: clamp(22px, 4vw, 32px); }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.modal__head h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.15; }
.modal__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c-surface); display: grid; place-items: center; color: var(--c-ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__error { color: var(--c-sale); font-size: var(--fs-sm); font-weight: 600; }
.modal__fine { font-size: var(--fs-xs); color: var(--c-ink-soft); text-align: center; }

/* Plan programa u modalu */
.plan-days { list-style: none; padding: 0; display: grid; gap: 8px; }
.plan-days li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: var(--r-md); background: var(--c-surface); font-size: var(--fs-sm); line-height: 1.5; }
.plan-days b { color: var(--c-accent); font-weight: 700; }
.plan-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.plan-note svg { flex: none; width: 18px; height: 18px; color: var(--c-accent); margin-top: 2px; }

/* Upsell modal */
.upsell__steps { display: flex; gap: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-soft); }
.upsell__steps span { display: inline-flex; align-items: center; gap: 6px; }
.upsell__steps i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--c-line); color: var(--c-ink); font-size: .6875rem; }
.upsell__steps .is-done i { background: var(--c-success); color: #fff; }
.upsell__steps .is-now i { background: var(--c-accent); color: #fff; }
.upsell__steps .is-now { color: var(--c-ink); }

/* ---------- 21. E-book stranica ---------- */
.eb-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.eb-hero__visual { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--c-bg-alt); }
.eb-hero__copy { display: grid; gap: 22px; }
.eb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.eb-price b { font-family: var(--f-display); font-weight: 700; font-size: 2.5rem; line-height: 1; }
.eb-price s { color: var(--c-ink-soft); }
.eb-bundle { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); border: 2px dashed var(--c-accent-soft); background: var(--c-surface); font-size: var(--fs-sm); }
.eb-bundle svg { flex: none; width: 22px; height: 22px; color: var(--c-accent); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.feature { background: var(--c-surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-card); }
.feature__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-accent); }
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: var(--fs-h4); font-weight: 600; }
.feature p { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.for-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.for-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-surface); line-height: 1.5; }
.for-list svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 2px; }
.disclaimer { font-size: var(--fs-xs); color: var(--c-ink-soft); padding: 14px 16px; border-radius: var(--r-md); background: var(--c-bg-alt); max-width: 70ch; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .offerbar__sub { display: none; }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    border: 0; background: transparent; border-radius: var(--r-pill);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 1.75px; background: var(--c-ink); border-radius: 2px; position: relative; transition: transform .25s, background-color .2s; }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--c-bg); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-float);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav__link { padding: 16px 0; font-size: 1.125rem; color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
  .nav .btn { margin-top: 20px; }

  .hero__grid, .about, .steps-wrap, .faq-grid, .guarantee, .eb-hero { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; width: min(100%, 420px); order: -1; }
  .hero__photo { aspect-ratio: 4 / 4.3; }
        .arch-photo, .about__photo, .guarantee__photo { max-width: 440px; }
  .faq-aside { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }


  .offerbar__price { display: none; }
  .slider__dots { display: flex; }
  .arrows { margin-left: auto; }
  .arrow { width: 44px; height: 44px; }
}

@media (max-width: 720px) {
  .program { grid-template-columns: 1fr; padding: 10px; }
  .program__media { min-height: 0; aspect-ratio: 16 / 10; }
  .program__media img { position: static; }
}

@media (max-width: 640px) {
  .hero__media { padding: 0 0 20px 16px; }
  .hero { padding-top: 12px; }
  .today { width: min(270px, 84%); padding: 14px; gap: 10px; }
  .seal { width: 88px; height: 88px; right: -4px; }
  .seal b { font-size: 1.5rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .features, .for-list { grid-template-columns: 1fr; }
  .faq__answer { padding-right: 0; }
  .about__sign { right: 4%; }
  .deal { border-radius: var(--r-lg); padding: 14px; }
  .offerbar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .offerbar__title { font-size: var(--fs-sm); }
  .offerbar .countdown { gap: 4px; }
  .offerbar .countdown__unit { min-width: 34px; padding: 4px 3px 3px; }
  .offerbar .countdown__unit b { font-size: .9375rem; }
  .offerbar .countdown__unit small { font-size: .625rem; margin-top: 2px; }
  .offerbar__deal { gap: 4px; flex-direction: column; align-items: flex-start; }
  .offerbar .btn { min-height: 44px; padding: 0 1.1em; }
}

@media (max-width: 400px) {
  .footer__grid { grid-template-columns: 1fr; }
  .offerbar .countdown__unit:last-child { display: none; }
}

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

/* Grid kolone ne smeju da se šire zbog sadržaja koji skroluje */
.hero__grid > *, .app > *, .about > *, .steps-wrap > *, .faq-grid > *, .guarantee > *, .eb-hero > * { min-width: 0; }

/* =========================================================
   23. Dopune: hero detalji, poređenje, aplikacija, dodaci, završnica
   ========================================================= */

/* Muscle Mind bedž u heroju */
.mm-pill {
  display: inline-flex; align-items: center; gap: 8px; vertical-align: middle;
  padding: 3px 12px 3px 3px; margin: 2px 2px; border-radius: var(--r-pill);
  background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); text-decoration: none; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 16px -12px rgba(122,46,59,.45); transition: transform .2s, border-color .2s;
}
.mm-pill:hover { border-color: var(--c-accent); transform: translateY(-1px); }
.mm-pill__logo { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: #fff; }
.mm-pill__logo svg { width: 14px; height: 14px; }
.mm-pill__live { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 0 rgba(47,107,79,.5); }
@media (prefers-reduced-motion: no-preference) { .mm-pill__live { animation: live 2s infinite; } }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(47,107,79,0); } 100% { box-shadow: 0 0 0 0 rgba(47,107,79,0); } }
.hero .kicker { line-height: 2; }

/* Ujednačeni redovi u „Danas u aplikaciji“ */
.today__sub { display: flex; gap: 10px; margin-top: 6px; font-size: .75rem; color: var(--c-ink-soft); white-space: nowrap; }
.today__sub b { color: var(--c-ink); font-weight: 600; }

/* Hero lista: na mobilnom sa razdelnicima */
@media (max-width: 640px) {
  .hero .ticks { gap: 0; border-top: 1px solid var(--c-line); }
  .hero .ticks li { padding: 11px 0; border-bottom: 1px solid var(--c-line); }
}

/* Poređenje kao kartice: svaka tema = jedan par */

/* ---------- Aplikacija ---------- */
.app { display: grid; grid-template-columns: 1fr minmax(320px, 460px); grid-template-areas: "head stage" "tabs stage" "stores stage"; column-gap: clamp(32px, 5vw, 80px); align-items: start; }
.app__head { grid-area: head; margin-bottom: 24px; }
.app__tabs { grid-area: tabs; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.app__stores { grid-area: stores; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.app__stage { grid-area: stage; align-self: center; position: relative; display: grid; justify-items: center; padding: 24px 0; }
.app__stage::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, var(--c-highlight), transparent 74%); }

.app-tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; align-items: center; text-align: left;
  padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--c-line); background: color-mix(in srgb, var(--c-surface) 55%, transparent);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.app-tab:hover { background: var(--c-surface); }
.app-tab[aria-selected="true"] { background: var(--c-surface); border-color: var(--c-accent); box-shadow: var(--shadow-card); }
.app-tab__ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-accent); transition: background-color .2s, color .2s; }
.app-tab[aria-selected="true"] .app-tab__ico { background: var(--c-accent); color: #fff; }
.app-tab__ico svg { width: 20px; height: 20px; }
.app-tab__title { font-weight: 700; font-size: .9688rem; color: var(--c-ink); line-height: 1.25; }
.app-tab__text { font-size: var(--fs-xs); color: var(--c-ink-soft); line-height: 1.4; }
.app-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.app-tab__bar i { display: block; height: 100%; width: 0; background: var(--c-accent); }
.app-tab.is-playing .app-tab__bar i { animation: tabbar var(--dur, 5s) linear forwards; }
@keyframes tabbar { to { width: 100%; } }


.phone {
  position: relative; z-index: 1; width: 100%; max-width: 290px; aspect-ratio: 9 / 18.6; padding: 10px;
  border-radius: 46px; background: #141012; box-shadow: 0 0 0 2px #2b2326, 0 40px 80px -30px rgba(42,28,33,.55);
}
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 99px; background: #000; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #1b1b1b; }
.phone__screen img { position: absolute; inset: 42px 0 0; width: 100%; height: calc(100% - 42px); object-fit: cover; object-position: top; opacity: 0; transition: opacity .4s; }
.phone__screen img.is-active { opacity: 1; }

/* plutajući elementi oko telefona */
.float {
  position: absolute; z-index: 2; width: 210px; background: var(--c-surface); border-radius: 18px; padding: 12px 14px;
  box-shadow: var(--shadow-float); display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center;
  font-size: var(--fs-xs); line-height: 1.35; opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.float.is-active { opacity: 1; transform: none; }
.float--a { left: 0; top: 16%; }
.float--b { right: 0; bottom: 14%; }
.float__ico { grid-row: span 3; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-accent); align-self: start; }
.float__ico svg { width: 18px; height: 18px; }
.float b { font-size: .875rem; color: var(--c-ink); font-weight: 700; }
.float span { color: var(--c-ink-soft); }
.float .bar { margin-top: 4px; }
.float__big { font-size: 1.375rem !important; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink) !important; }
.float__big small { font-size: .75rem; color: var(--c-success); font-weight: 700; margin-left: 4px; }

/* ---------- Dodaci (e-bookovi) ---------- */
.addons { margin-top: clamp(36px, 5vw, 56px); }
.addons__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.addons__head h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.addons__head p { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.addon { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: var(--r-lg); background: var(--c-surface); border: 2px solid var(--c-accent-soft); }
.addon .book { --w: 74px; }
.addon h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.addon p { font-size: var(--fs-xs); color: var(--c-ink-soft); margin-top: 4px; line-height: 1.45; }
.addon__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; font-size: var(--fs-xs); color: var(--c-ink-soft); }
.addon__price b { font-size: 1.25rem; color: var(--c-ink); font-weight: 800; letter-spacing: -.01em; }
.addon__price s { white-space: nowrap; }
.addon .textlink { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; color: var(--c-accent); font-weight: 700; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }

/* E-book popup */
.modal--wide { width: min(780px, calc(100% - 24px)); }
.ebook { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.ebook__side { display: grid; gap: 12px; justify-items: center; padding: 22px; border-radius: var(--r-lg); background: var(--c-bg-alt); }
.ebook__body { display: grid; gap: 14px; }
.ebook__body h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--c-accent); }
.ebook__buy { display: grid; gap: 10px; padding-top: 6px; }
.ebook__buy .btn small { font-weight: 500; opacity: .8; }

/* ---------- Bordo završnica ---------- */
.closing { background: var(--c-accent); color: #fff; text-align: center; padding-block: clamp(64px, 9vw, 112px); overflow-x: clip; }
.closing__inner { display: grid; gap: 22px; justify-items: center; max-width: 760px; margin-inline: auto; }
.closing .h2 { color: #fff; }
.closing .h2 em { color: var(--c-highlight); }
.closing .lead { color: rgba(255,255,255,.82); margin-inline: auto; }
.closing .countdown__unit { background: rgba(255,255,255,.14); color: #fff; }
.closing .countdown__unit small { color: rgba(255,255,255,.75); }
.closing__timer { display: grid; gap: 10px; justify-items: center; }
.closing__timer p { font-weight: 700; font-size: var(--fs-sm); color: var(--c-highlight); }
.closing .btn-row { justify-content: center; }
.btn--outline-light { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.55); }
.btn--outline-light:hover { --_bg: rgba(255,255,255,.12); --_bd: #fff; --_fg: #fff; }
.closing__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: var(--fs-xs); color: rgba(255,255,255,.8); }
.closing__trust span { display: inline-flex; align-items: center; gap: 6px; }
.closing__trust svg { width: 16px; height: 16px; }

/* ---------- Responsive dopune ---------- */
@media (max-width: 1080px) {
  .app__tabs { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .app { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "tabs" "stores"; }
  .app__head { margin-bottom: 8px; }
  .app__stage { padding: 12px 0 20px; }
  .phone { max-width: 250px; }
  .float { width: 186px; padding: 9px 10px; grid-template-columns: 28px 1fr; gap: 1px 8px; font-size: .6875rem; }
  .float b { font-size: .8125rem; white-space: nowrap; }
  .float__ico { width: 28px; height: 28px; border-radius: 8px; }
  .float--a { top: 6%; }
  .float--a { left: 0; }
  .float--b { right: 0; bottom: 10%; }
  .app__stores { justify-content: center; }
}
@media (max-width: 720px) {
  .program__media img { object-position: 50% 16%; }
  .program__body { padding: 16px 8px 6px; gap: 10px; }
  .program__desc { font-size: .875rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .program__for { padding: 10px 12px; font-size: .875rem; }
  .program__actions { flex-wrap: nowrap; gap: 8px; }
  .program__actions .btn { min-height: 46px; padding: 0 .8em; font-size: .9063rem; flex: 1 1 0; }
  .program .h3 { font-size: 1.375rem; }
}
@media (max-width: 640px) {
  .trust { display: grid; gap: 8px; }
  .trust span { background: var(--c-surface); border-radius: 12px; padding: 10px 14px; font-size: var(--fs-sm); }
  .ebook { grid-template-columns: 1fr; }
  .ebook__side { justify-items: center; }
  .closing .btn-row .btn { flex: 1 1 100%; }
}
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: var(--c-ink); color: #fff; text-decoration: none; line-height: 1.1; transition: background-color .2s; }
.store:hover { background: #000; }
.store small { display: block; font-size: .6875rem; opacity: .75; }
.store b { font-weight: 600; font-size: 1rem; }

/* =========================================================
   24. Slajderi koji su mreža na desktopu, i nove sekcije
   ========================================================= */
.arrows--mobile { display: none; }
@media (min-width: 641px) {
  .slider--addons .slider__track {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none;
  }
  .slider--addons .slider__dots { display: none; }
}
.slider--addons { --slide-gap: 16px; }
@media (min-width: 641px) and (max-width: 1080px) {
  .slider--addons .slider__track { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .arrows--mobile { display: flex; }
  /* programi: jedna cela kartica, bez isečenih susednih */
  .slider--programs { --slide: 100%; }
  .slider--programs .slider__track { --bleed: 0px; }
}

/* E-book korice i stanja */
.addons__head { align-items: flex-end; }
.addons__head h3 { margin-bottom: 4px; }
.addon { height: 100%; }
.addon .chip { margin-bottom: 8px; }
.chip--now { background: var(--c-yes-bg); color: var(--c-success); }
.chip--soon { background: var(--c-bg-alt); color: var(--c-ink-soft); }
.addon--soon { border-style: dashed; border-color: var(--c-line); }
.addon--soon .book { opacity: .75; }
.book__cover--sage { background: linear-gradient(160deg, #E6EEE8 0%, #C9DACE 55%, #A9C2B0 100%); color: #2F5A44; }
.book__cover--sand { background: linear-gradient(160deg, #F4EBDD 0%, #E6D3B6 55%, #D2B68E 100%); color: #7A5320; }

/* Video sa play dugmetom */
.video { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--c-dark); box-shadow: var(--shadow-float); max-width: 100%; }
.video__poster { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,28,33,0) 45%, rgba(42,28,33,.65) 100%); pointer-events: none; }
.video__play {
  position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--c-surface); color: var(--c-accent); box-shadow: 0 18px 40px -12px rgba(42,28,33,.6);
  transition: transform .2s;
}
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); }
@media (prefers-reduced-motion: no-preference) { .video__play::before { animation: ring 2.2s ease-out infinite; } }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video__label {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px;
  background: var(--c-accent); color: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-float);
}
.video__label b { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
.video__label span { font-size: var(--fs-xs); opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video.is-playing::after, .video.is-playing .video__play, .video.is-playing .video__label { display: none; }

/* Muscle Mind sekcija */
.mm { overflow-x: clip; }
.mm__top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.mm__badge { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: var(--fs-sm); font-weight: 600; color: var(--c-on-dark); width: fit-content; }
.mm__badge .mm-pill__logo { width: 28px; height: 28px; }
.mm__badge .mm-pill__logo svg { width: 15px; height: 15px; }
.section--dark .h2 { color: #fff; }
.mm__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-accent); color: #fff; }
.mm__ico svg { width: 22px; height: 22px; }

/* Aplikacija: panel iza telefona */
.app__stage::before { inset: 4% 2%; border-radius: 44px; background: linear-gradient(160deg, color-mix(in srgb, var(--c-highlight) 75%, #fff) 0%, var(--c-highlight) 100%); }
.app__stage::after { content: ""; position: absolute; width: 240px; height: 240px; right: -40px; top: -20px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c-accent) 30%, transparent); z-index: 0; }

@media (max-width: 899px) {
  .mm__top, .mm__bottom { grid-template-columns: 1fr; }
  .video { max-width: 440px; }
  .app__stage::before { inset: 2% 0; border-radius: 36px; }
  .app__stage::after { display: none; }
}
@media (max-width: 640px) {
  .video__play { width: 72px; height: 72px; }
}

/* =========================================================
   25. Interaktivni delovi i nove sekcije (upitnik, kalkulator, nedelja)
   ========================================================= */
@media (max-width: 640px) { .slider--addons { --slide: 86%; } }

/* „Za tebe ako“ sa ikonicom */
.program__for { display: flex; gap: 10px; align-items: flex-start; background: var(--c-bg-alt); }
.program__for-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); color: var(--c-accent); margin-top: 1px; }
.program__for-ico svg { width: 14px; height: 14px; }

/* Preduslovi u popupu programa */
.prereq { padding: 16px 18px; border-radius: var(--r-md); background: var(--c-yes-bg); border: 1.5px solid var(--c-yes-line); }
.prereq h3 { font-size: 1rem; font-weight: 700; color: var(--c-success); margin-bottom: 10px; }
.prereq .ticks { font-size: var(--fs-sm); gap: 8px; }
.prereq .ticks svg { color: var(--c-success); }

/* Pronađi svoj program (traka) */
.finder { margin-top: 28px; display: grid; grid-template-columns: 96px 1fr auto; gap: 20px 24px; align-items: center; padding: 16px 24px 16px 16px; border-radius: var(--r-lg); background: var(--c-surface); border: 2px dashed var(--c-accent-soft); }
.finder__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: var(--c-studio); }
.finder__text h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; margin: 2px 0 4px; }
.finder__text p:last-child { color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* Upitnik */
.quiz { width: min(560px, calc(100% - 24px)); }
.quiz .modal__inner { gap: 16px; min-height: 420px; align-content: start; }
.quiz__progress { flex: 1; height: 6px; border-radius: 99px; background: var(--c-line); overflow: hidden; align-self: center; }
.quiz__progress i { display: block; height: 100%; width: 20%; background: var(--c-accent); border-radius: inherit; transition: width .3s; }
.quiz__step, .quiz__result { display: grid; gap: 14px; }
.quiz__count { font-size: var(--fs-xs); font-weight: 700; color: var(--c-accent); }
.quiz__q { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; text-wrap: balance; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--c-line); background: var(--c-surface); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--c-ink); transition: border-color .2s, background-color .2s, transform .15s; }
.quiz__opt:hover { border-color: var(--c-accent); }
.quiz__opt:active { transform: scale(.99); }
.quiz__opt span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg-alt); font-size: 1.25rem; font-weight: 700; color: var(--c-accent); }
.quiz__back { justify-self: start; }
.quiz__pick { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--c-surface); border: 2px solid var(--c-accent); }
.quiz__pick img { width: 120px; height: 150px; object-fit: cover; object-position: 50% 12%; border-radius: var(--r-md); }
.quiz__pick h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
.quiz__pick p { color: var(--c-ink-soft); font-size: var(--fs-sm); margin-top: 10px; }
.quiz__actions { display: grid; gap: 8px; }
.quiz__why { font-size: var(--fs-sm); color: var(--c-ink-soft); }

/* Nedelja: sama ili sa mnom */
.week { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.week__intro { display: grid; gap: 22px; justify-items: start; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: var(--r-pill); background: var(--c-bg-alt); width: min(100%, 320px); }
.seg__btn { position: relative; z-index: 1; min-height: 46px; border: 0; background: transparent; border-radius: var(--r-pill); font-weight: 700; font-size: 1rem; color: var(--c-ink-soft); transition: color .25s; }
.seg__btn[aria-selected="true"] { color: #fff; }
.seg__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: var(--r-pill); background: var(--c-sale); box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .35s; }
.seg.is-with .seg__thumb { transform: translateX(100%); background: var(--c-success); }
/* Muscle Mind: kompaktno */
.mm { padding-block: clamp(56px, 7vw, 96px); }
.mm__top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.mm__top .lead { color: var(--c-on-dark-soft); }
.loop { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; counter-reset: loop; }
.loop::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 16px); }
.loop__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 8px; }
.loop__ico { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: #fff; box-shadow: 0 0 0 6px var(--c-dark), 0 0 0 7px rgba(255,255,255,.18); }
.loop__ico svg { width: 28px; height: 28px; }
.loop__ico::after { counter-increment: loop; content: counter(loop); position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-accent); font-size: .75rem; font-weight: 800; }
.loop__step h3 { font-size: 1.0625rem; font-weight: 700; color: #fff; margin-top: 6px; }
.loop__step p { font-size: var(--fs-sm); color: var(--c-on-dark-soft); line-height: 1.5; max-width: 26ch; }
.loop__back { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; font-size: var(--fs-sm); font-weight: 600; color: var(--c-highlight); }
.loop__back svg { width: 18px; height: 18px; }
/* E-book kartice iste visine */
.addon > div:last-child { display: flex; flex-direction: column; height: 100%; }
.addon__foot { margin-top: auto; padding-top: 12px; display: grid; gap: 6px; justify-items: start; }
.addon__foot .addon__price { margin-top: 0; }
.addon__price--soon { font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink-soft); }
.addon .textlink { margin-top: 0; }

/* Responsive za nove delove */
@media (max-width: 1080px) {
}
@media (max-width: 899px) {
  .week, .mm__top { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .loop::before { display: none; }
}
@media (max-width: 640px) {
  .finder { grid-template-columns: 64px 1fr; padding: 16px; }
  .finder__img { width: 64px; height: 64px; }
  .finder .btn { grid-column: 1 / -1; }
  .loop { grid-template-columns: 1fr; row-gap: 18px; }
  .loop__step { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 14px; padding: 0; }
  .loop__ico { grid-row: span 2; width: 56px; height: 56px; }
  .loop__ico svg { width: 24px; height: 24px; }
  .loop__step h3 { margin-top: 2px; }
  .loop__back { justify-content: flex-start; }
  .quiz__pick { grid-template-columns: 88px 1fr; }
  .quiz__pick img { width: 88px; height: 110px; }
  .quiz .modal__inner { min-height: 0; }
}

/* =========================================================
   26. Doterivanje: hero traka, poređenje u jednoj kartici,
       kalkulator u koracima, aplikacija kao lista, prijava mejlom
   ========================================================= */

/* Hero: kraći uvod u tri reda, jasnija hijerarhija */
.hero__lead { max-width: 46ch; }
.hero { padding-bottom: clamp(36px, 5vw, 64px); }

/* Pokretna traka sa prednostima */
.ribbon { background: var(--c-accent); color: #fff; overflow: hidden; padding-block: 14px; }
.ribbon__track { display: flex; width: max-content; }
.ribbon__list { list-style: none; margin: 0; padding: 0; display: flex; flex: none; }
.ribbon__list li { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.ribbon__list li::after { content: "✦"; font-style: normal; font-size: .75em; color: var(--c-highlight); margin-inline: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon__track { animation: ribbon 38s linear infinite; }
  .ribbon:hover .ribbon__track { animation-play-state: paused; }
}
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ribbon__track { width: auto; justify-content: center; }
  .ribbon__list { flex-wrap: wrap; justify-content: center; row-gap: 6px; padding-inline: var(--gutter); }
  .ribbon__list[aria-hidden="true"] { display: none; }
}

/* O meni: citat odvojen i manji */
.about__copy .quote { margin-top: 14px; max-width: 460px; padding: 30px 26px 22px; }
.about__copy .quote::before { width: 42px; height: 42px; top: -16px; left: 22px; font-size: 2.5rem; padding-top: 14px; }
.about__copy .quote p { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5625rem); }
.about__copy .quote footer { margin-top: 10px; }

/* Poređenje: obe nedelje u jednoj kartici */
.week { grid-template-columns: .72fr 1.28fr; }
.week__card { border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 26px); background: var(--c-surface); box-shadow: var(--shadow-card); }
.vs-head, .vs-days li { display: grid; grid-template-columns: 46px 1fr 1fr; gap: 10px; }
.vs-head { margin-bottom: 10px; font-size: var(--fs-sm); font-weight: 800; }
.vs-head span { display: inline-flex; align-items: center; gap: 8px; padding-left: 4px; }
.vs-head svg { width: 18px; height: 18px; }
.vs-head__no { color: var(--c-sale); }
.vs-head__yes { color: var(--c-success); }
.vs-days { list-style: none; padding: 0; display: grid; gap: 8px; }
.vs-days li { align-items: stretch; }
.vs-days__d { align-self: center; font-weight: 800; font-size: var(--fs-sm); color: var(--c-ink); }
.vs-days p { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: var(--r-md); font-size: .9063rem; line-height: 1.45; color: var(--c-ink); }
.vs-days__no { background: var(--c-no-bg); }
.vs-days__yes { background: var(--c-yes-bg); }
.vs-days__ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); margin-top: 1px; }
.vs-days__ico svg { width: 13px; height: 13px; }
.vs-days__no .vs-days__ico { color: var(--c-sale); }
.vs-days__yes .vs-days__ico { color: var(--c-success); }
.vs-days__lbl { display: none; }
.vs-feel { display: grid; grid-template-columns: 46px 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-ink-soft); }
.vs-feel p:first-child { grid-column: 2; }
.vs-feel b { color: var(--c-ink); }

/* Aplikacija: lista funkcija, aktivna se otvara sa opisom */
.app__tabs { grid-template-columns: 1fr; gap: 6px; }
.app-tab { grid-template-columns: 38px 1fr; padding: 11px 14px; border-color: transparent; background: transparent; }
.app-tab:hover { background: color-mix(in srgb, var(--c-surface) 60%, transparent); }
.app-tab[aria-selected="true"] { border-color: transparent; background: var(--c-surface); }
.app-tab__ico { grid-row: auto; align-self: start; background: var(--c-surface); }
.app-tab__title { align-self: center; }
.app-tab__more { grid-column: 2; display: none; font-size: var(--fs-sm); color: var(--c-ink-soft); line-height: 1.5; margin-top: 2px; }
.app-tab[aria-selected="true"] .app-tab__more { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .app-tab[aria-selected="true"] .app-tab__more { animation: day-in .35s cubic-bezier(.2,.7,.2,1); }
}
@keyframes day-in { from { opacity: 0; transform: translateY(4px); } }
.app__stores { margin-top: 20px; }

/* Muscle Mind: veća poruka o ponavljanju, bez brojki */
.loop__back { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }
.loop__back p { display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px 12px 12px; border-radius: var(--r-pill); border: 1.5px dashed rgba(255,255,255,.28); background: rgba(255,255,255,.04); font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.2; color: #fff; }
.loop__back em { color: var(--c-highlight); }
.loop__back-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: #fff; }
.loop__back-ico svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .loop__back-ico svg { animation: spin 6s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Video šire */
@media (min-width: 900px) {
  .steps-wrap { grid-template-columns: 1fr 1.1fr; }
  .video { aspect-ratio: 1 / 1.08; }
}

/* Kalkulator u tri koraka */
.calc-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.calc-wrap > * { min-width: 0; }
.calc-intro { display: grid; gap: 18px; }
.calc-intro__list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 4px; }
.calc-intro__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: var(--fs-sm); }
.calc-intro__list span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c-surface); font-size: 1.125rem; }
.calc { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-card); }
.calc__top { display: grid; gap: 8px; }
.calc__count { font-size: var(--fs-xs); font-weight: 700; color: var(--c-accent); }
.calc__progress { height: 6px; border-radius: 99px; background: var(--c-bg-alt); overflow: hidden; }
.calc__progress i { display: block; height: 100%; width: 33%; border-radius: inherit; background: var(--c-accent); transition: width .35s; }
.calc__step { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.calc__q { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; padding: 0; margin-bottom: 4px; }
.calc__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.field { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 600; }
.field small { font-weight: 500; color: var(--c-ink-soft); }
.field input { width: 100%; min-height: 54px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-bg); font-size: 1.125rem; font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.field input::placeholder { color: color-mix(in srgb, var(--c-ink) 32%, transparent); }
.field input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--c-sale); }
.calc__error { color: var(--c-sale); font-size: var(--fs-sm); font-weight: 600; }
.copts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.copt { position: relative; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--c-line); background: var(--c-surface); transition: border-color .2s, background-color .2s; }
.copt:hover { border-color: var(--c-accent); }
.copt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.copt:has(input:checked) { border-color: var(--c-accent); background: var(--c-bg-alt); }
.copt:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.copt__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--c-bg-alt); font-size: 1.125rem; }
.copt__txt { display: grid; gap: 1px; line-height: 1.3; }
.copt__txt b { font-size: .9375rem; }
.copt__txt small { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.calc__result { display: grid; gap: 14px; }
.calc__hero { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-bg-alt); }
.calc__label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-accent); }
.calc__kcal { font-size: 1.125rem; font-weight: 600; color: var(--c-ink-soft); line-height: 1.05; }
.calc__kcal b { font-size: clamp(2.5rem, 2.1rem + 1.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.calc__note { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.calc__macros { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.calc__macros li { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-md); border: 1.5px solid var(--c-line); }
.calc__macros span { font-size: .75rem; color: var(--c-ink-soft); }
.calc__macros b { font-size: 1.0625rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc__macros .bar { display: block; margin-top: 6px; }
.calc__macros .bar > i { transition: width .4s; }
.calc__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.calc__stats div { display: grid; gap: 1px; align-content: start; padding: 10px 12px; border-radius: var(--r-md); background: var(--c-bg); }
.calc__stats dt { font-size: .75rem; color: var(--c-ink-soft); }
.calc__stats dd { margin: 0; font-size: 1.0625rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__stats small { font-size: .6875rem; color: var(--c-ink-soft); line-height: 1.3; }
.calc__fine { font-size: .75rem; color: var(--c-ink-soft); line-height: 1.45; }
.calc__fine .textbtn { padding: 0 2px; font-size: .75rem; color: var(--c-accent); }
@media (prefers-reduced-motion: no-preference) {
  .calc__step:not([hidden]), .calc__result:not([hidden]) { animation: day-in .35s cubic-bezier(.2,.7,.2,1); }
}

/* E-book „uskoro“ i prijava mejlom */
.addon--soon .addon__price b { color: var(--c-ink-soft); }
.modal--sm { width: min(460px, calc(100% - 24px)); }
.notify, .notify__done { display: grid; gap: 14px; }
.notify__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.15; }
.notify__book { font-weight: 700; color: var(--c-accent); margin-top: -6px; }
.notify__done { justify-items: center; text-align: center; padding-block: 8px; }
.notify__ok { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--c-yes-bg); color: var(--c-success); }
.notify__ok svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc { max-width: 620px; }
  .calc__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .week { grid-template-columns: 1fr; }
  .app-tab { padding: 10px 12px; }
  .steps-wrap .video { max-width: 520px; }
}
@media (max-width: 720px) {
  .program__media { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 640px) {
  /* hero hijerarhija */
  .hero__copy { gap: 18px; }
  .hero .kicker { font-size: .8125rem; }
  .hero__title { font-size: clamp(2.625rem, 1.6rem + 6vw, 3.25rem); }
  .hero__lead { font-size: 1.0625rem; color: var(--c-ink-soft); }
  .hero .ticks { font-size: .9375rem; }
  .hero__price { font-size: .875rem; }
  .trust span { font-size: .8125rem; padding: 9px 12px; }
  .ribbon { padding-block: 11px; }
  .ribbon__list li::after { margin-inline: 16px; }

  /* programi jedan ispod drugog */
  .arrows--desk { display: none; }
  .slider--programs .slider__track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 16px; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .slider--programs .slider__dots { display: none; }

  /* poređenje: dan pa dva reda */
  .vs-head { display: none; }
  .vs-days { gap: 14px; }
  .vs-days li { grid-template-columns: 1fr; gap: 6px; }
  .vs-days__d { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--c-accent); }
  .vs-days p { font-size: .875rem; padding: 10px 12px; }
  .vs-days__lbl { display: block; font-style: normal; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1px; }
  .vs-days__no .vs-days__lbl { color: var(--c-sale); }
  .vs-days__yes .vs-days__lbl { color: var(--c-success); }
  .vs-feel { grid-template-columns: 1fr; gap: 6px; }
  .vs-feel p:first-child { grid-column: auto; }

  /* kalkulator */
  .calc { min-height: 0; padding: 18px; gap: 16px; }
  .calc-intro__list { display: none; }
  .calc__row { gap: 8px; }
  .field input { padding: 0 10px; font-size: 1rem; min-height: 50px; }
  .copts { grid-template-columns: 1fr; gap: 6px; }
  .copt { padding: 10px 12px; }
  .copt__ico { width: 34px; height: 34px; font-size: 1rem; }
  .calc__macros li { padding: 8px 10px; }
  .calc__macros b { font-size: .9688rem; }

  /* MM poruka */
  .loop__back { justify-content: stretch; }
  .loop__back p { width: 100%; padding: 10px 16px 10px 10px; border-radius: 22px; font-size: 1.1875rem; gap: 12px; }
  .loop__back-ico { width: 40px; height: 40px; }

  /* svi popupi kao donji panel, bez skrolovanja kad god može */
  .modal, .modal--wide, .modal--sm, .quiz { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .modal__inner { gap: 14px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .modal__head h2 { font-size: 1.375rem; }
  .modal__close { width: 38px; height: 38px; }
  .plan-days { gap: 6px; }
  .plan-days li { grid-template-columns: 62px 1fr; gap: 8px; padding: 9px 12px; font-size: .8438rem; line-height: 1.4; }
  .plan-note { font-size: .8125rem; line-height: 1.45; }
  .prereq { padding: 12px 14px; }
  .prereq h3 { font-size: .9375rem; margin-bottom: 6px; }
  .prereq .ticks { gap: 4px; font-size: .8438rem; }
  .prereq .ticks svg { width: 16px; height: 16px; }
  #program-modal [data-modal-body] { gap: 12px !important; }
  #program-modal .program__meta .chip { padding: 5px 9px; }
  /* e-book popup */
  .ebook { gap: 12px; }
  .ebook__side { grid-template-columns: auto 1fr; justify-items: start; align-items: center; padding: 12px 14px; gap: 14px; }
  .ebook__side .book { --w: 64px; }
  .ebook__body { gap: 10px; }
  .ebook__body > p.muted { font-size: .875rem; line-height: 1.5; }
  .ebook__body .ticks { gap: 5px; font-size: .875rem; }
  .ebook__body .ticks svg { width: 17px; height: 17px; }
  .ebook__body h3 { font-size: .8125rem; }
  .ebook .disclaimer { font-size: .6875rem; padding: 9px 12px; line-height: 1.45; }
  .ebook__buy { gap: 8px; padding-top: 2px; }
  .ebook__buy .btn { min-height: 48px; }
}

.section--alt .g-list__ico { background: var(--c-surface); }
@media (max-width: 640px) and (max-height: 760px) {
  #program-modal .modal__fine { display: none; }
}

/* =========================================================
   27. Lepljiva traka, dani kao tabovi, aplikacija u mreži,
       primer prilagođavanja, kalkulator na jednom ekranu
   ========================================================= */
html { scroll-padding-top: 132px; }

/* Hero: više vazduha */
.hero { padding-block: clamp(40px, 6.5vw, 96px) clamp(56px, 8vw, 112px); }
@media (max-width: 640px) { .hero { padding-block: 20px 44px; } }

/* Traka ispod headera, zalepljena dok se skroluje */
.ribbon { position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 45; padding-block: 10px; box-shadow: 0 10px 24px -18px rgba(42,28,33,.6); }
.ribbon__list li { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.nav-open .ribbon { visibility: hidden; }
@media (max-width: 640px) { .ribbon { padding-block: 8px; } .ribbon__list li { font-size: .9375rem; } }

/* Poređenje: šire uvodno, desno tabovi po danima */
@media (min-width: 900px) { .week { grid-template-columns: 1fr 1fr; } }
.week__card { display: grid; gap: 18px; padding: clamp(16px, 2.4vw, 24px); }
.dtabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--c-bg-alt); }
.dtabs__btn { position: relative; overflow: hidden; min-height: 42px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink-soft); transition: background-color .2s, color .2s; }
.dtabs__btn:hover { color: var(--c-ink); }
.dtabs__btn[aria-selected="true"] { background: var(--c-surface); color: var(--c-accent); box-shadow: var(--shadow-card); }
.dtabs__btn i { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: transparent; }
.dtabs__btn i::after { content: ""; display: block; height: 100%; width: 0; background: var(--c-accent); border-radius: inherit; }
.dtabs__btn.is-playing i::after { animation: tabbar var(--dur, 4s) linear forwards; }
.dpanels { display: grid; }
.dpanel { display: grid; gap: 10px; }
.dpanel__day { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.375rem; color: var(--c-accent); line-height: 1.2; }
.dpanel__row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-md); }
.dpanel__row b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.dpanel__row p { font-size: 1.0313rem; line-height: 1.45; color: var(--c-ink); }
.dpanel__row--no { background: var(--c-no-bg); }
.dpanel__row--no b { color: var(--c-sale); }
.dpanel__row--yes { background: var(--c-yes-bg); border: 1.5px solid var(--c-yes-line); }
.dpanel__row--yes b { color: var(--c-success); }
.dpanel__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); }
.dpanel__ico svg { width: 18px; height: 18px; }
.dpanel__row--no .dpanel__ico { color: var(--c-sale); }
.dpanel__row--yes .dpanel__ico { color: var(--c-success); }
@media (prefers-reduced-motion: no-preference) { .dpanel:not([hidden]) .dpanel__row { animation: day-in .4s cubic-bezier(.2,.7,.2,1) both; } .dpanel:not([hidden]) .dpanel__row--yes { animation-delay: .08s; } }
.week .vs-feel { grid-template-columns: 1fr; gap: 6px; margin-top: 0; }
.week .vs-feel p:first-child { grid-column: auto; }
.vs-feel p { display: flex; gap: 8px; align-items: baseline; }
.vs-feel b { white-space: nowrap; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-1px); }
.dot--no { background: var(--c-sale); }
.dot--yes { background: var(--c-success); }
@media (max-width: 640px) {
  .dtabs__btn { min-height: 38px; font-size: .8438rem; }
  .dpanel__row { grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 14px; }
  .dpanel__ico { width: 32px; height: 32px; }
  .dpanel__row p { font-size: .9375rem; }
  .vs-feel p { display: block; }
  .vs-feel .dot { display: inline-block; margin-right: 6px; }
}

/* Aplikacija: funkcije u mreži 2 × 3 */
.app__tabs { grid-template-columns: 1fr 1fr; gap: 10px; }
.app-tab { grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 14px; border: 1.5px solid color-mix(in srgb, var(--c-accent) 12%, transparent); background: color-mix(in srgb, var(--c-surface) 50%, transparent); align-items: start; }
.app-tab__ico { grid-row: span 2; width: 40px; height: 40px; }
.app-tab__title { align-self: end; }
.app-tab__text { display: block; font-size: var(--fs-xs); color: var(--c-ink-soft); line-height: 1.45; }
.app-tab[aria-selected="true"] { background: var(--c-surface); border-color: var(--c-accent); box-shadow: var(--shadow-card); }
@media (max-width: 1080px) and (min-width: 900px) { .app__tabs { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .app__tabs { gap: 8px; }
  .app-tab { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .app-tab__ico { grid-row: auto; width: 36px; height: 36px; }
  .app-tab__title { font-size: .9063rem; }
  .app-tab__text { font-size: .75rem; }
}

/* Muscle Mind: primer kako se plan menja */
.adapt { margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 22px; }
.adapt__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.adapt__head h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); line-height: 1.2; color: #fff; }
.adapt__head h3 em { font-style: italic; font-weight: 500; color: var(--c-highlight); }
.adapt__head p { font-size: var(--fs-sm); color: var(--c-on-dark-soft); max-width: 44ch; }
.adapt__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.adapt__item { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.08); opacity: .5; transition: opacity .4s, border-color .4s, background-color .4s, transform .4s; }
.adapt__item.is-active { opacity: 1; }
.adapt__item.is-now, .adapt__item.is-active:only-child { border-color: color-mix(in srgb, var(--c-highlight) 60%, transparent); background: rgba(255,255,255,.08); transform: translateY(-3px); }
.adapt__item:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 26px; width: 8px; height: 8px; border-top: 2px solid rgba(255,255,255,.35); border-right: 2px solid rgba(255,255,255,.35); transform: rotate(45deg); }
.adapt__week { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-on-dark-soft); }
.adapt__chip { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: #fff; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); }
.adapt__chip--up { background: color-mix(in srgb, var(--c-success) 55%, transparent); }
.adapt__chip--down { background: color-mix(in srgb, var(--c-accent) 85%, transparent); }
.adapt__chip--lvl { background: color-mix(in srgb, var(--c-highlight) 35%, transparent); }
.adapt__item p { font-size: var(--fs-sm); line-height: 1.5; color: var(--c-on-dark-soft); }
@media (prefers-reduced-motion: reduce) { .adapt__item { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .adapt__list { grid-template-columns: 1fr 1fr; }
  .adapt__item::after { display: none; }
}
@media (max-width: 520px) {
  .adapt__list { grid-template-columns: 1fr; gap: 8px; }
  .adapt__item { grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; gap: 6px 12px; }
  .adapt__item p { grid-column: 1 / -1; }
  .adapt__chip { font-size: 1.0625rem; grid-row: 1; grid-column: 2; }
}

/* Kalkulator: svi podaci na jednom ekranu */
.calc-intro__list span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-surface); color: var(--c-accent); }
.calc-intro__list svg { width: 20px; height: 20px; }
.calc__step { gap: 18px; }
.calc__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__group legend { padding: 0; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 700; }
.copts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.copt { padding: 11px 14px; }
.copt__txt b { font-size: .9063rem; }
.calc__top { gap: 0; }
.calc__count { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--c-ink); line-height: 1.2; }
@media (max-width: 640px) {
  .calc__count { font-size: 1.25rem; }
  .copts { gap: 6px; }
  .copt { padding: 9px 11px; }
  .copt__txt b { font-size: .8438rem; }
  .copt__txt small { font-size: .75rem; }
}
.calc.is-result .calc__form { display: none; }

/* =========================================================
   28. Doterivanje responziva: tablet u jednoj širini,
       1024 px, centriran Muscle Mind naslov, ikonice u kalkulatoru
   ========================================================= */

/* Traka bez praznine na širokim ekranima (4 kopije, pomera se za jednu) */
@keyframes ribbon { to { transform: translateX(-25%); } }

/* Muscle Mind: naslov i tekst centrirani, jedno ispod drugog */
.mm__top--center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; max-width: 760px; margin-inline: auto; }
.mm__top--center .sec-head__text { display: grid; justify-items: center; gap: 14px; }
.mm__top--center .lead { max-width: 60ch; margin-inline: auto; }
.mm .loop { margin-top: 8px; }

/* Kalkulator: ikonice u opcijama */
.copt { gap: 12px; }
.copt__ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--c-bg-alt); color: var(--c-accent); transition: background-color .2s, color .2s; }
.copt__ico svg { width: 19px; height: 19px; }
.copt:has(input:checked) .copt__ico { background: var(--c-accent); color: #fff; }

/* Laptop (900–1199): dugmad u heroju u jednom redu, kalkulator u dve kolone */
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero .btn-row { flex-wrap: nowrap; }
  .hero .btn--lg { padding: 0 1.35em; font-size: 1rem; min-height: 54px; }
}
@media (min-width: 900px) {
  .calc-wrap { grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4.5vw, 72px); }
  .calc { max-width: none; }
}
@media (min-width: 900px) and (max-width: 1080px) {
  .copt { padding: 10px 12px; gap: 10px; }
  .copt__ico { width: 32px; height: 32px; }
  .copt__txt b { font-size: .875rem; }
}

/* Tablet i telefon: sve sekcije u istoj širini, slike pune širine */
@media (min-width: 641px) and (max-width: 899px) {
  :root { --max: 680px; }
  .hero__photo { aspect-ratio: 1 / .92; }
  .arch-photo { aspect-ratio: 1 / 1; }
  .steps-wrap .video { aspect-ratio: 4 / 3.6; }
  .phone { max-width: 290px; }
}
@media (max-width: 899px) {
  .hero__media, .arch-photo, .about__photo, .guarantee__photo, .steps-wrap .video { width: 100%; max-width: none; justify-self: stretch; }
  .hero__media { padding: 0 0 28px 28px; }
  .plans { max-width: none; }
  .about, .guarantee, .steps-wrap, .faq-grid, .calc-wrap { gap: 36px; }

  /* poređenje: naslov, dani, pa tekst i dugme */
  .week { gap: 22px; }
  .week__intro { display: contents; }
  .week__intro .h2 { order: 1; }
  .week__card { order: 2; }
  .week__intro .lead { order: 3; }
  .week__intro .btn { order: 4; justify-self: start; }

  /* aplikacija: više vazduha */
  .app { row-gap: 0; }
  .app__head { margin-bottom: 20px; }
  .app__stage { padding: 20px 0 28px; margin-bottom: 8px; }
  .app__tabs { gap: 12px; }
  .app__stores { margin-top: 24px; }

  /* sistem: više vazduha */
  .mm .loop { row-gap: 36px; }
  .adapt { gap: 24px; }
  .adapt__list { gap: 14px; }

  /* kalkulator: prednosti u jednom redu */
  .calc-intro { gap: 16px; }
  .calc-intro__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
  .calc-intro__list li { gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: var(--c-surface); font-size: var(--fs-xs); }
  .calc-intro__list span { width: 28px; height: 28px; border-radius: 50%; background: var(--c-bg-alt); }
  .calc-intro__list svg { width: 15px; height: 15px; }
}
@media (max-width: 640px) {
  .hero__media { padding: 0 0 20px 14px; }
  .app__stage { padding: 14px 0 24px; }
  .phone { max-width: 250px; }
  .float { width: 172px; }
  .float--a { top: 4%; }
  .float--b { bottom: 8%; }
  .app__tabs { gap: 10px; }
  .app-tab { padding: 14px 12px; gap: 10px; }
  .calc { padding: 20px 16px; }
  .calc__step { gap: 16px; }
  .copt__ico { width: 30px; height: 30px; border-radius: 9px; }
  .copt__ico svg { width: 16px; height: 16px; }
  .copt { gap: 8px; }
  .mm .loop { row-gap: 22px; }
  .adapt { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .copt { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .copt__txt b { font-size: .875rem; }
}

/* =========================================================
   29. Mobilni i tablet: sve poravnato levo, iste širine;
       emoji u kalkulatoru, koraci sistema kao kartice
   ========================================================= */
.calc-intro__list b { font-weight: inherit; }
.l-short { display: none; }
.copt__ico--emoji { font-size: 1.125rem; line-height: 1; background: var(--c-bg-alt); }
.copt:has(input:checked) .copt__ico--emoji { background: var(--c-surface); color: inherit; box-shadow: 0 0 0 1.5px var(--c-accent-soft); }
.calc { max-width: none; }

/* Muscle Mind: više prostora između teksta i koraka */
.mm__top--center { margin-bottom: clamp(48px, 6vw, 80px); }

@media (max-width: 899px) {
  /* tablet: jedna kolona 640 px, sve levo */
  .sec-head--center, .sec-head--center .sec-head__text { text-align: left; justify-items: start; }
  .sec-head--center .lead { margin-inline: 0; }
  .deal { margin-inline: 0; justify-self: start; }
  .mm__top--center { justify-items: start; text-align: left; margin-inline: 0; max-width: none; margin-bottom: 36px; }
  .mm__top--center .sec-head__text { justify-items: start; }
  .mm__top--center .lead { margin-inline: 0; }
  .closing { text-align: left; }
  .closing__inner { justify-items: start; margin-inline: auto; }
  .closing .lead { margin-inline: 0; }
  .closing .btn-row, .closing__trust { justify-content: flex-start; }
  .closing__timer { justify-items: start; }

  /* koraci sistema kao kartice */
  .mm .loop { grid-template-columns: 1fr 1fr; gap: 12px; }
  .loop__step { padding: 20px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); justify-items: start; text-align: left; }
  .loop__step p { max-width: none; }

  /* kalkulator: kratke oznake u jednom redu */
  .l-long { display: none; }
  .l-short { display: inline; }
  .calc-intro__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .calc-intro__list::-webkit-scrollbar { display: none; }
  .calc-intro__list li { flex: none; white-space: nowrap; }
}
@media (min-width: 641px) and (max-width: 899px) {
  :root { --max: 640px; }
}
@media (max-width: 640px) {
  .mm .loop { grid-template-columns: 1fr; gap: 10px; }
  .loop__step { grid-template-columns: 52px 1fr; column-gap: 14px; padding: 16px; }
  .loop__ico { width: 52px; height: 52px; box-shadow: 0 0 0 4px var(--c-dark), 0 0 0 5px rgba(255,255,255,.18); }
  .loop__step .loop__ico { box-shadow: none; }

  /* programi: dugmad pune širine, jedno ispod drugog */
  .program__actions { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
  .program__actions .btn { width: 100%; flex: none; }

  /* aplikacija: bez pravougaonika iza telefona, više razmaka do kartica */
  .app__stage::before { inset: 8% -10%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c-highlight) 90%, #fff), transparent 72%); }
  .app__stage { padding: 8px 0 12px; margin-bottom: 28px; }
  .float { box-shadow: 0 14px 30px -14px rgba(42,28,33,.35); }

  .calc-intro__list li { font-size: .75rem; padding: 5px 12px 5px 5px; }
  .copt__ico--emoji { font-size: 1rem; }
}
@media (max-width: 899px) { .deal { justify-content: flex-start; } }
@media (max-width: 640px) {
  .calc-intro__list { gap: 5px; }
  .calc-intro__list li { gap: 5px; padding: 4px 10px 4px 4px; font-size: .7188rem; }
  .calc-intro__list span { width: 22px; height: 22px; }
  .calc-intro__list svg { width: 12px; height: 12px; }
}

/* =========================================================
   30. Tablet uži, mobilni hero, tačkice ispod telefona, veći H2
   ========================================================= */
@media (min-width: 641px) and (max-width: 899px) { :root { --max: 580px; } }

/* veći sekundarni naslovi na tabletu i telefonu */
@media (max-width: 899px) {
  .h2 { font-size: clamp(2.25rem, 1.55rem + 3.1vw, 2.75rem); line-height: 1.08; }
}

/* tačkice ispod telefona */
.app__dots { display: none; }
@media (max-width: 899px) {
  .app__dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .app__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--c-ink) 22%, transparent); transition: width .25s, background-color .25s; }
  .app__dots button[aria-current="true"] { width: 24px; background: var(--c-accent); }
  .app__stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .app__stores .store { justify-content: center; padding: 0 10px; }
}

@media (max-width: 640px) {
  /* hero: kartica niže, da se vidi slika */
  .hero__media { padding: 0 0 96px 14px; }
  .hero__photo { aspect-ratio: 4 / 4.6; }
  .today { width: min(262px, 80%); }

  /* hero lista u jednom redu */
  .hero .ticks { font-size: clamp(.75rem, 3.35vw, .9375rem); letter-spacing: -.005em; }
  .hero .ticks li { white-space: nowrap; align-items: center; padding: 10px 0; }
  .hero .ticks svg { width: 17px; height: 17px; margin-top: 0; }

  /* aplikacija: krug i isprekidani prsten iza telefona */
  .app__stage::before { inset: 6% 2% 14%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c-highlight) 85%, #fff) 0 55%, transparent 56%); }
  .app__stage::after { display: block; content: ""; position: absolute; width: 86%; aspect-ratio: 1; left: 7%; top: 10%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c-accent) 30%, transparent); z-index: 0; right: auto; height: auto; }
  .app__stage { padding: 8px 0 0; margin-bottom: 30px; }

  /* kalkulator: tri prednosti u mreži, uredno */
  .calc-intro__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 2px 0 0; padding: 0; overflow: visible; }
  .calc-intro__list li { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 12px 6px; border-radius: var(--r-md); white-space: normal; font-size: .75rem; line-height: 1.3; }
  .calc-intro__list span { width: 32px; height: 32px; }
  .calc-intro__list svg { width: 16px; height: 16px; }
}
@media (min-width: 641px) and (max-width: 899px) {
  .calc-intro__list { margin-inline: 0; padding: 2px 0; flex-wrap: wrap; }
}
@media (max-width: 640px) { .hero .ticks { font-size: clamp(.68rem, 3vw, .875rem); } .hero .ticks li { gap: 8px; } }

/* =========================================================
   31. Mobilni: tekst pune širine, traka nije lepljiva,
       telefon bez dekoracija i bez „ispadanja“ ekrana
   ========================================================= */
/* iOS Safari: zaobljen ekran mora da seče slike i tokom animacije */
.phone__screen { isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); }

@media (max-width: 899px) {
  .lead, .hero__lead, .prose, .sec-head__text, .about__copy .prose, .mm__top--center .lead { max-width: none; }
  /* gore samo header, dole samo traka sa akcijom */
  .ribbon { position: relative; top: auto; box-shadow: none; }
  html { scroll-padding-top: 84px; }
}
@media (max-width: 640px) {
  .hero .trust { display: none; }
  .program__media { aspect-ratio: 16 / 11; }
  .program__media img { object-position: 50% 18%; }

  /* telefon: fiksna veličina, bez krugova */
  .app__stage::before { inset: 10% 8%; border-radius: 50%; background: color-mix(in srgb, var(--c-highlight) 80%, transparent); filter: blur(40px); }
  .app__stage::after { display: none; }
  .phone { width: 236px; max-width: none; height: 488px; aspect-ratio: auto; border-radius: 40px; padding: 8px; }
  .phone::before { top: 15px; width: 72px; height: 20px; }
  .phone__screen { border-radius: 33px; }
  .phone__screen img { inset: 36px 0 0; height: calc(100% - 36px); }
  .app__dots { margin-top: 18px; }
}

/* Garancija sa videom umesto fotografije */
.video--guarantee { width: 100%; aspect-ratio: 4 / 5; }
.guarantee__photo .guarantee__stamp { z-index: 4; top: 16px; right: 16px; bottom: auto; width: 96px; height: 96px; }
.guarantee__photo .guarantee__stamp b { font-size: 1.375rem; }
.guarantee__photo:has(.video.is-playing) .guarantee__stamp { display: none; }
@media (max-width: 640px) { .guarantee__photo .guarantee__stamp { width: 84px; height: 84px; } .guarantee__photo .guarantee__stamp b { font-size: 1.1875rem; } }

/* =========================================================
   32. Aplikacija: prezentativnija scena oko telefona
   ========================================================= */
.app__stage { --tx: 0; --ty: 0; perspective: 1200px; isolation: isolate; }
.app__stage::before { inset: 3% 0; border-radius: 40px; background:
  radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--c-highlight) 60%, #fff) 0%, transparent 60%),
  linear-gradient(165deg, color-mix(in srgb, var(--c-highlight) 85%, #fff), var(--c-highlight) 55%, color-mix(in srgb, var(--c-accent-soft) 55%, var(--c-highlight)));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); z-index: -2; }
.app__stage::after { display: block; content: ""; position: absolute; inset: 3% 0; right: 0; top: 3%; width: auto; height: auto; border-radius: 40px; border: 0; z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--c-accent) 18%, transparent) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 0%, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 50%, #000 0%, transparent 85%); }
.stage__blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(46px); pointer-events: none; opacity: .75; }
.stage__blob--a { width: 46%; aspect-ratio: 1; left: 2%; top: 14%; background: color-mix(in srgb, var(--c-accent) 35%, transparent); }
.stage__blob--b { width: 40%; aspect-ratio: 1; right: 0; bottom: 10%; background: rgba(255,255,255,.9); }
.stage__ring { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; left: 11%; top: 50%; translate: 0 -50%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c-accent) 28%, transparent); pointer-events: none; }
.stage__ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-accent) 18%, transparent); }
@media (prefers-reduced-motion: no-preference) { .stage__ring { animation: spin 26s linear infinite; } }
.stage__live { position: absolute; z-index: 3; top: 5.5%; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--c-ink); color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 26px -14px rgba(42,28,33,.7); }
.stage__live i { width: 7px; height: 7px; border-radius: 50%; background: #46c38a; box-shadow: 0 0 0 0 rgba(70,195,138,.6); }
@media (prefers-reduced-motion: no-preference) { .stage__live i { animation: live 2s infinite; } }

/* telefon: 3D nagib, sjaj stakla, ekrani klize */
.phone { transform: rotateY(calc(var(--tx) * 10deg)) rotateX(calc(var(--ty) * -8deg)); transition: transform .25s ease-out; box-shadow: 0 0 0 2px #2b2326, 0 50px 90px -30px rgba(42,28,33,.6), 0 18px 30px -18px rgba(122,46,59,.5); margin-top: 34px; }
.phone::after { content: ""; position: absolute; inset: 10px; border-radius: 37px; z-index: 3; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%); }
.phone__screen img { transform: translateY(14px) scale(.985); transition: opacity .45s, transform .55s cubic-bezier(.2,.7,.2,1); }
.phone__screen img.is-active { transform: none; }
.float { transform: translate(calc(var(--tx) * -14px), calc(var(--ty) * -10px)) translateY(10px) scale(.97); }
.float.is-active { transform: translate(calc(var(--tx) * -14px), calc(var(--ty) * -10px)); }
.float { border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: no-preference) {
  .float.is-active.float--a { animation: bob 5s ease-in-out infinite; }
  .float.is-active.float--b { animation: bob 5s ease-in-out 1.2s infinite; }
}
@keyframes bob { 50% { translate: 0 -6px; } }

@media (max-width: 640px) {
  .app__stage::before { inset: 0 -4px; border-radius: 28px; filter: none; }
  .app__stage::after { inset: 0 -4px; border-radius: 28px; display: block; }
  .stage__ring { width: 92%; left: 4%; }
  .stage__live { top: 14px; font-size: .6875rem; padding: 6px 12px; }
  .phone { margin-top: 48px; box-shadow: 0 0 0 2px #2b2326, 0 30px 50px -24px rgba(42,28,33,.6); }
  .phone::after { inset: 8px; border-radius: 33px; }
  .app__stage { padding: 0 0 22px; }
  .app__dots { margin-top: 16px; }
  .float--a { top: 18%; }
}
@media (min-width: 900px) {
  .app__stage { padding: 76px 0 52px; }
  .app__stage::before, .app__stage::after { inset: 0; }
  .phone { margin-top: 0; }
  .stage__live { top: 24px; }
}

/* Coveri programa: na mobilnom se koristi široka verzija (<picture>) */
.program__media picture { display: contents; }
@media (max-width: 720px) { .program__media img { object-position: 50% 30%; } }
.finder__img { object-position: 50% 18%; }
.video--guarantee .video__play { top: 58%; }
@media (max-width: 720px) { .program__media { aspect-ratio: 4 / 3; } .program__media img { object-position: 50% 0%; } }

/* =========================================================
   33. Novi coveri programa (3:4, sa tekstom), personalni treninzi, footer
   ========================================================= */
.program__media { aspect-ratio: 3 / 4; min-height: 0; align-self: start; }
.program__media img { object-fit: cover; object-position: 50% 50%; }
@media (max-width: 720px) {
  .program__media { aspect-ratio: 3 / 4; }
  .program__media img { position: absolute; inset: 0; object-position: 50% 50%; }
}
.program__tags { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: -4px; }
.program__tags .chip--white { background: var(--c-bg-alt); }

/* Popup: personalni treninzi */
#personal .modal__head .kicker { margin-bottom: 4px; }
.personal__list { font-size: var(--fs-sm); gap: 8px; }
.personal__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pplan { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 20px 12px 14px; border-radius: var(--r-md); background: var(--c-surface); border: 1.5px solid var(--c-line); text-decoration: none; color: var(--c-ink); transition: border-color .2s, transform .2s; }
.pplan:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.pplan--featured { border: 2px solid var(--c-accent); }
.pplan__badge { position: absolute; top: -11px; left: 50%; translate: -50% 0; white-space: nowrap; background: var(--c-accent); color: #fff; font-size: .6875rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }
.pplan__name { font-size: var(--fs-sm); font-weight: 700; }
.pplan__price { font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pplan small { font-size: .75rem; color: var(--c-ink-soft); }
.pplan__btn { margin-top: 8px; width: 100%; min-height: 40px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--c-accent); color: #fff; font-weight: 600; font-size: var(--fs-sm); }
.pplan:not(.pplan--featured) .pplan__btn { background: transparent; color: var(--c-accent); border: 1.5px solid var(--c-accent); }
@media (max-width: 520px) {
  .personal__plans { grid-template-columns: 1fr; gap: 12px; }
  .pplan { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; padding: 14px 16px; gap: 2px 12px; }
  .pplan__name { grid-column: 1; }
  .pplan__price { grid-column: 2; grid-row: 1 / span 2; font-size: 1.375rem; }
  .pplan small { grid-column: 1; }
  .pplan__btn { grid-column: 1 / -1; }
  .pplan__badge { left: 16px; translate: none; }
}

/* Footer: Powered by Muscle Mind */
.footer__powered { color: var(--c-on-dark-soft); text-decoration: none; font-size: var(--fs-xs); }
.footer__powered b { color: #fff; font-weight: 700; }
.footer__powered:hover b { color: var(--c-highlight); }
.personal__info li { grid-template-columns: 84px 1fr; }
.footer__bottom { align-items: center; }
@media (max-width: 640px) { .personal__info li { grid-template-columns: 72px 1fr; } }

/* =========================================================
   34. Muscle Mind: logo, traka u footeru, mala fiksna oznaka
   ========================================================= */
.mm-pill__logo img { width: 15px; height: auto; display: block; }
.mm__badge .mm-pill__logo img { width: 16px; }
.mm-band { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 24px; align-items: center; margin-top: 28px; padding: 20px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.mm-band__logo { width: 44px; height: auto; }
.mm-band__k { font-weight: 700; color: #fff; font-size: var(--fs-sm); margin-bottom: 2px; }
.mm-band__text p:last-child { font-size: var(--fs-sm); color: var(--c-on-dark-soft); max-width: 70ch; }
.footer .mm-band .btn { color: #fff; }
.footer__powered { display: inline-flex; align-items: center; gap: 6px; }
.footer__powered img { width: 14px; height: auto; }
.mm-float { display: none; }
@media (min-width: 1100px) {
  .mm-float { position: fixed; z-index: 40; left: 16px; bottom: calc(var(--offer-h, 72px) + 16px); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill); background: rgba(42,28,33,.86); backdrop-filter: blur(8px); color: rgba(255,255,255,.75); font-size: .75rem; text-decoration: none; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); transition: background-color .2s, color .2s; }
  .mm-float img { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #000; }
  .mm-float b { color: #fff; font-weight: 700; }
  .mm-float:hover { background: #000; color: #fff; }
}
@media (max-width: 720px) {
  .mm-band { grid-template-columns: auto 1fr; padding: 18px; }
  .mm-band .btn { grid-column: 1 / -1; justify-self: start; }
}
.mm-pill__logo { background: #141012; }
.mm-float { transition: opacity .25s, background-color .2s, color .2s; }
.mm-float.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .mm-band { align-items: start; } .mm-band__logo { width: 36px; margin-top: 4px; } }

/* 35. Muscle Mind logo u krugu (bez sečenja) */
.mm-pill__logo { width: 26px; height: 26px; background: #0d0d0d; }
.mm-pill__logo img, .mm__badge .mm-pill__logo img { width: 13px; height: 13px; object-fit: contain; }
.mm-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #0d0d0d; display: inline-grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.mm-dot img { width: 11px !important; height: 11px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; object-fit: contain; }
.footer__powered { gap: 8px; }
.footer__powered img { width: auto; }
@media (min-width: 1100px) {
  .mm-float { left: auto; right: 16px; gap: 8px; padding: 5px 12px 5px 5px; font-size: .75rem; }
  .mm-float .mm-dot { width: 24px; height: 24px; }
}
.mm-band { grid-template-columns: auto 1fr auto; gap: 16px; padding: 14px 18px; margin-top: 24px; }
.mm-band__logo { width: 40px; height: 40px; border-radius: 50%; background: #0d0d0d; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.mm-band__logo img { width: 20px; height: 20px; object-fit: contain; }
.mm-band__text { font-size: var(--fs-sm); color: var(--c-on-dark-soft); line-height: 1.5; max-width: 80ch; }
.mm-band__text b { color: #fff; }
@media (max-width: 720px) {
  .mm-band { grid-template-columns: auto 1fr; align-items: start; }
  .mm-band__logo { width: 36px; height: 36px; margin-top: 2px; }
  .mm-band .btn { grid-column: 1 / -1; justify-self: start; }
}
/* Hero: tamni MM znak na svetloj pilulici */
.mm-pill__logo--light { background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); }
.mm-pill__logo--light img { width: 14px; height: 14px; }
.mm-band__logo--light { background: #fff; box-shadow: none; }

/* =========================================================
   36. Prodajne dopune (nov 2026): iskustva, kalkulator sa mejlom,
   preporuka programa, trajanje, upitnik za personalne, donja traka
   ========================================================= */
.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; }

/* Hero brojke (iz config.js → brojke) */
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 0; }
.stats div { display: grid; gap: 2px; }
.stats dt { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); line-height: 1; color: var(--c-accent); }
.stats dd { margin: 0; font-size: var(--fs-xs); color: var(--c-ink-soft); }

/* Iskustva: WhatsApp screenshotovi */
.slider--wa { --slide-gap: 18px; --slide: calc((100% - 3 * 18px) / 4); }
@media (max-width: 1080px) { .slider--wa { --slide: calc((100% - 2 * 18px) / 2.6); } }
@media (max-width: 640px) { .slider--wa { --slide-gap: 14px; --slide: 72%; } }
.wa { margin: 0; border-radius: 22px; overflow: hidden; background: var(--c-surface); box-shadow: var(--shadow-card); border: 6px solid var(--c-surface); }
.wa img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; object-position: top; border-radius: 16px; }
.wa__fine { margin-top: 18px; text-align: center; }

/* Planovi programa: za koga je, nedelja, šta da očekuješ */
.plan-for { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.plan-for b, .plan-note b { color: var(--c-ink); }
.plan-h { font-size: 1rem; font-weight: 700; margin-bottom: -6px; }

/* Preporučeno trajanje */
.dur { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-soft); line-height: 1.5; }
.dur svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 1px; }
.dur b { color: var(--c-ink); }
.dur--box { padding: 14px 16px; border-radius: var(--r-md); background: var(--c-bg-alt); }
#quiz .dur--box { margin-top: 12px; }
.plans-hint { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 22px auto 0; padding: 14px 18px; border-radius: var(--r-md); background: var(--c-surface); font-size: var(--fs-sm); color: var(--c-ink-soft); box-shadow: var(--shadow-card); }
.plans-hint svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 1px; }
.plans-hint b { color: var(--c-ink); }

/* Kalkulator: zaključan deo rezultata */
.gate { position: relative; display: grid; gap: 14px; }
.gate__body { display: grid; gap: 14px; }
.gate:not(.is-open) .gate__body { filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; max-height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.gate:not(.is-open) .reco { display: none; }
.gate__form { position: absolute; inset: 24px 0 auto; z-index: 2; display: grid; gap: 10px; padding: 18px; border-radius: var(--r-md); background: var(--c-surface); border: 1.5px solid var(--c-line); box-shadow: var(--shadow-float); }
.gate.is-open .gate__form { display: none; }
.gate__t { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.35; }
.gate__t svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 1px; }
.gate__s { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.gate__row { display: flex; gap: 8px; }
.gate__row input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-bg); font: inherit; font-size: 1rem; color: var(--c-ink); }
.gate__row input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.gate__row input[aria-invalid="true"] { border-color: var(--c-sale); }
.gate__row .btn { min-height: 50px; flex: none; }
.gate__err { font-size: var(--fs-xs); color: var(--c-sale); font-weight: 600; }
.gate__fine { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.gate__fine a { color: var(--c-accent); }
@media (max-width: 400px) { .gate__row { flex-direction: column; } }

/* Preporuka programa iz kalkulatora */
.reco { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.reco__k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }
.reco .quiz__pick { grid-template-columns: 96px 1fr; }
.reco .quiz__pick img { width: 96px; height: 124px; }
.reco .quiz__pick h3 { font-size: 1.25rem; }
.reco__act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 400px) { .reco__act { grid-template-columns: 1fr; } }

/* Upitnik za personalne treninge */
.pq { display: grid; gap: 16px; }
.pq__step { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.pq__step legend { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; margin-bottom: 10px; padding: 0; }
.pq__opt { cursor: pointer; position: relative; }
.pq__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pq__opt:has(input:checked) { border-color: var(--c-accent); background: var(--c-bg-alt); }
.pq__opt:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.pq__step--form .field input, .pq__step--form .field textarea { font-size: 1rem; font-weight: 500; font-variant-numeric: normal; }
.field textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-bg); font: inherit; font-size: 1rem; color: var(--c-ink); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-soft); cursor: pointer; }
.chk input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--c-accent); }
.chk a { color: var(--c-accent); }
.pq__err { font-size: var(--fs-sm); color: var(--c-sale); font-weight: 600; }
.pq__foot { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); color: var(--c-ink-soft); min-height: 24px; }
.pq__foot .textbtn:only-child, .pq__foot [hidden] + .pq__count { margin-left: auto; }
.pq__done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 12px 0; }
.pq__ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c-yes-bg); color: var(--c-success); }
.pq__ok svg { width: 26px; height: 26px; }
.pq__done h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.pq__done p { color: var(--c-ink-soft); max-width: 40ch; }

/* Donja traka: Izaberi program + Izaberi plan */
.offerbar__act { display: flex; gap: 8px; }
.offerbar__act .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .offerbar__inner { flex-wrap: wrap; row-gap: 8px; }
  .offerbar__deal { flex-direction: row !important; align-items: center !important; justify-content: space-between; width: 100%; gap: 8px !important; flex-wrap: nowrap; }
  .offerbar__title { white-space: nowrap; }
  .offerbar__right { width: 100%; }
  .offerbar__act { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .offerbar__act .btn { min-height: 42px; padding: 0 .8em; }
}
.reco .quiz__pick { align-items: start; }
@media (max-width: 640px) {
  .reco .quiz__pick { grid-template-columns: 72px 1fr; gap: 12px; padding: 10px; }
  .reco .quiz__pick img { width: 72px; height: 96px; }
  .reco .quiz__pick h3 { font-size: 1.125rem; margin-bottom: 6px; }
  .reco .quiz__pick .chip { font-size: .75rem; padding: 4px 9px; }
  .reco .quiz__pick p { margin-top: 8px; }
}

/* 37. Kalkulator: zaključan deo je zatamnjen; kartica preporuke u boji, trajanje u kartici */
.gate:not(.is-open) .gate__body { filter: blur(8px); opacity: .5; max-height: 380px; }
.gate:not(.is-open)::before { content: ""; position: absolute; inset: -6px -6px 0; z-index: 1; border-radius: var(--r-md); background: linear-gradient(rgba(42,28,33,.10), rgba(42,28,33,.22)); pointer-events: none; }
.gate__form { z-index: 2; }
.gate__body .calc__fine { margin-top: 2px; }
.reco .quiz__pick, #quiz .quiz__pick { background: linear-gradient(160deg, var(--c-bg-alt), #EBD3D0); border-color: var(--c-accent); }
.dur--pick { margin-top: 0; padding: 10px 12px; border-radius: 12px; background: var(--c-surface); font-size: var(--fs-xs); line-height: 1.45; box-shadow: 0 6px 16px -12px rgba(122,46,59,.5); }
.dur--pick svg { width: 18px; height: 18px; }
.dur--pick b { display: block; font-size: var(--fs-sm); color: var(--c-accent); margin-bottom: 2px; }
.quiz__pick p.dur--pick { color: var(--c-ink-soft); }
.dur--box b { color: var(--c-accent); }
.dur--pick { grid-column: 1 / -1; margin-top: 0; }
/* Personalni: za koga je */
.pinfo-for { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--c-bg-alt); font-size: var(--fs-sm); color: var(--c-ink-soft); }
.pinfo-for svg { flex: none; width: 18px; height: 18px; color: var(--c-accent); margin-top: 2px; }
.pinfo-for b { color: var(--c-ink); }
/* Iskustva: poziv ispod poruka */
.wa__cta { margin-top: 28px; }
.plan-days li { grid-template-columns: 104px 1fr; }
.personal__info li { grid-template-columns: 108px 1fr; }
@media (max-width: 640px) { .plan-days li, .personal__info li { grid-template-columns: 100px 1fr; gap: 10px; } }

/* 38. Iskustva: slajder, sve kartice iste visine; duža poruka se otvara cela na klik */
.slider--wa { --slide-gap: 20px; --slide: calc((100% - 2 * 20px) / 3); }
@media (max-width: 1080px) { .slider--wa { --slide: calc((100% - 20px) / 2.15); } }
@media (max-width: 640px) { .slider--wa { --slide-gap: 14px; --slide: 86%; } }
.wa { position: relative; margin: 0; padding: 14px; height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 0; border-radius: var(--r-lg); background: #F1F2F4; box-shadow: var(--shadow-card); cursor: zoom-in; }
.wa img { width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; border-radius: 14px; flex: none; }
.wa.is-long { align-items: flex-start; }
.wa.is-long::after { content: "Pročitaj celu poruku"; position: absolute; inset: auto 0 0; height: 96px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 16px; background: linear-gradient(rgba(241,242,244,0), #F1F2F4 70%); font-size: var(--fs-xs); font-weight: 700; color: var(--c-accent); }
@media (max-width: 640px) { .wa { height: 330px; } }
.wa-modal img { display: block; width: 100%; height: auto; border-radius: 14px; }
.wa-modal .modal__inner { background: #F1F2F4; }

/* 38. Kalkulator: zaključani deo je sakriven, forma za mejl stoji centrirano u kartici */
.gate:not(.is-open) .gate__body { display: none; }
.gate:not(.is-open)::before { display: none; }
.gate__form { position: static; inset: auto; max-width: none; width: auto; min-width: 0; margin: 0; justify-items: stretch; text-align: center; padding: 22px 20px; box-sizing: border-box; }
.gate__t, .gate__s { justify-self: center; }
.gate, .calc__result, .gate__body { min-width: 0; }
.gate__row { min-width: 0; }
.gate__row .btn { padding-left: 18px; padding-right: 18px; }
.gate__row input { min-width: 0; }
.gate__t { justify-content: center; align-items: center; }
.gate__row { width: 100%; }
.gate__err { text-align: center; }

/* 39. Popup za izbor članarine */
.pick__lead { font-size: var(--fs-sm); color: var(--c-ink-soft); margin-top: -8px; }
.pick { display: grid; gap: 10px; }
.pick__item { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 18px; border-radius: var(--r-lg); border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pick__item:hover { border-color: var(--c-accent); box-shadow: 0 10px 24px -16px rgba(122,46,59,.5); transform: translateY(-1px); }
.pick__item.is-featured { border-color: var(--c-accent); background: linear-gradient(160deg, var(--c-surface), var(--c-bg-alt)); }
.pick__badge { position: absolute; top: -10px; left: 16px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--c-accent); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.pick__badge--sale { background: var(--c-sale); }
.pick__main { display: grid; gap: 2px; }
.pick__main b { font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.pick__main small { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.pick__main i { font-style: normal; font-weight: 700; color: var(--c-success); }
.pick__price { display: grid; justify-items: end; gap: 2px; white-space: nowrap; }
.pick__price s { font-size: var(--fs-xs); color: var(--c-ink-soft); }
.pick__price b { font-size: 1.25rem; font-weight: 700; }
.pick__price em { font-style: normal; font-size: .6875rem; font-weight: 700; color: #fff; background: var(--c-sale); padding: 2px 7px; border-radius: var(--r-pill); }
.pick__gets { padding: 14px 16px; border-radius: var(--r-md); background: var(--c-bg-alt); }
.pick__gets-t { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--c-accent); margin-bottom: 8px; }
.pick__ticks { gap: 6px; font-size: var(--fs-sm); }

/* 40. Izbor članarine na telefonu: manji razmaci, da ceo popup stane u ekran */
@media (max-width: 640px) {
  #plan-pick #pick-title { font-size: 1.25rem !important; }
  #plan-pick .pick__item { padding: 13px 14px; }
  #plan-pick .pick__gets { padding: 10px 12px; }
  #plan-pick .pick__ticks { gap: 4px; font-size: .8125rem; }
}

/* 41. Posle zatvaranja popupa fokus se vraća na slajder ili sekciju: bez okvira tamo (okvir ostaje za tastaturu na dugmadima i linkovima) */
.slider__track:focus-visible, .slider:focus-visible, section:focus-visible, [tabindex="-1"]:focus-visible { outline: none; }
