/* ============================================================================
   NEODOLJIV U 40-IM — landing page
   Paleta i vizuelni jezik preuzeti iz ../book/book.css da knjiga i stranica
   budu ista porodica. BEM imenovanje, isto kao u knjizi.
   ========================================================================= */

:root {
  /* --- boje iz book.css --- */
  --gold:         #d7ad59;
  --gold-bright:  #f0cc7a;
  --gold-deep:    #8f6220;   /* zlatna koja radi na svijetloj podlozi */
  --gold-mid:     #ae7d31;
  --charcoal:     #111315;
  --charcoal-2:   #1b1c1d;   /* drugi tamni sloj, web-only */
  --charcoal-3:   #090b0d;
  --paper:        #f2eee5;
  --paper-deep:   #e8e1d3;
  --ink:          #f7f3ea;
  --ink-muted:    #ddd7cc;
  --paper-ink:    #17191b;
  --body-ink:     #343532;
  --muted:        #66615a;
  --line:         rgb(23 25 27 / 12%);
  --line-dark:    rgb(240 204 122 / 18%);

  /* --- tipografija --- */
  --f-display: "Anton", Impact, "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-head:    "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-script:  "Caveat", "Bradley Hand", "Segoe Print", cursive;

  /* --- prostor --- */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-gold: 0 14px 34px rgb(27 22 14 / 24%);
  --shadow-card: 0 18px 44px rgb(23 25 27 / 10%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body-ink);
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

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

section[id], main { scroll-margin-top: 92px; }

/* --- ikone (SVG sprite) --- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 2.4rem; height: 2.4rem; stroke-width: 1.35; }

/* --- zajednički naslovi --- */
.h-section {
  margin: 0 0 1.5rem;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper-ink);
}

/* eyebrow + zlatna hairline — motiv preuzet iz book.css */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(0.72rem, 0.66rem + 0.25vw, 0.85rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow--center { justify-content: center; color: var(--gold-bright); }
.eyebrow--center::before {
  content: "";
  flex: none;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
}
.eyebrow--center::after { flex: none; width: 3.5rem; max-width: none; }

/* --- dugmad (osnova: .guide__badge gradijent iz book.css) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 2rem;
  border: 0;
  border-radius: var(--r-sm);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn--gold {
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-mid));
  color: #17130c;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--gold:active { transform: translateY(0); }
.btn--lg { padding: 1.2rem 2.6rem; }
.btn--block { display: flex; width: 100%; padding-inline: 1rem; font-size: 1rem; }
.btn .icon { stroke-width: 2; }

/* --- trust redovi --- */
.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.assure li { display: flex; align-items: center; gap: 0.5rem; }
.assure .icon { color: var(--gold-bright); }
.assure--dark { flex-direction: column; gap: 0.7rem; color: var(--muted); }
.assure--dark .icon { color: var(--gold-deep); }
.assure--center { justify-content: center; }

/* --- zlatni ček u krugu --- */
.checks__dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-mid));
  color: #17130c;
  box-shadow: 0 2px 6px rgb(27 22 14 / 18%);
}
.checks__dot .icon { width: 0.9rem; height: 0.9rem; stroke-width: 2.6; }


/* ============================== HEADER ================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(17 19 21 / 94%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand { text-decoration: none; line-height: 1.15; }
.brand__name {
  display: block;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__name span { color: var(--gold-bright); }
.brand__tag {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(247 243 234 / 55%);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: rgb(247 243 234 / 82%);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--gold-bright); }
.nav__cta { color: var(--gold-bright) !important; font-weight: 700; }

/* mobilni meni — bez JS-a */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }


/* =============================== HERO ================================== */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--charcoal);
  padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-model-v1.webp");
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Jačina zatamnjenja — ovdje se podešava koliko se fotografije vidi.
     Lijeva strana mora ostati puna zbog čitljivosti teksta; desna je
     otvorena da se vidi scena. */
  background:
    linear-gradient(90deg,
      var(--charcoal) 0%,
      var(--charcoal) 24%,
      rgb(17 19 21 / 88%) 44%,
      rgb(17 19 21 / 70%) 62%,
      rgb(17 19 21 / 32%) 78%,
      rgb(17 19 21 / 8%) 100%),
    linear-gradient(180deg, rgb(17 19 21 / 42%), transparent 28%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr) minmax(0, 0.6fr);
  grid-template-areas:
    "head head  head"
    "book copy  quote"
    "pill pill  pill";
  align-items: center;
  column-gap: clamp(1.25rem, 2.4vw, 2.4rem);
  row-gap: clamp(1.5rem, 2.6vw, 2.6rem);
}
.hero__grid > * { min-width: 0; }

.hero__head  { grid-area: head; }
.hero__book  { grid-area: book; }
.hero__copy  { grid-area: copy; }
.hero__quote { grid-area: quote; }
.pillars     { grid-area: pill; }

.hero__book img {
  width: 100%;
  filter: drop-shadow(0 26px 44px rgb(0 0 0 / 55%));
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 1rem + 4.8vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}
.hero__title span { color: var(--gold-bright); white-space: nowrap; }

.hero__sub {
  max-width: 34ch;
  margin: 0 0 1.1rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1rem, 0.85rem + 0.62vw, 1.32rem);
  line-height: 1.28;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__lead {
  max-width: 50ch;
  margin: 0 0 1.9rem;
  color: rgb(247 243 234 / 78%);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem clamp(1rem, 2.4vw, 2.4rem);
  width: 100%;
  margin: 0;
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}
.pillars li {
  display: grid;
  grid-template-rows: auto 1fr;   /* labele počinju u istoj liniji bez obzira na broj redova */
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}
.pillars__ring {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.2rem;
  height: 3.2rem;
  border: 1.5px solid rgb(240 204 122 / 55%);
  border-radius: 50%;
  color: var(--gold-bright);
}
.pillars__ring .icon { width: 1.6rem; height: 1.6rem; }
.pillars__label {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.66rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  color: var(--ink);
}

.hero__quote {
  margin: 0;
  font-family: var(--f-script);
  font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  text-shadow: 0 2px 12px rgb(0 0 0 / 65%);
  transform: rotate(-1.2deg);
}


/* ========================== TRAKA BENEFITA ============================= */

.strip {
  background: linear-gradient(180deg, var(--paper), var(--paper-deep));
  padding-block: clamp(2rem, 3.5vw, 2.9rem);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.strip__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--line);
}
.strip__item:first-child { padding-left: 0; border-left: 0; }
.strip__item .icon--lg { color: var(--paper-ink); }
.strip__item h2 {
  margin: 0 0 0.35rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--paper-ink);
}
.strip__item p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }


/* ============================ ŠTA DOBIJAŠ ============================== */

.offer { background: #fff; padding-block: var(--section-y); }
.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.25rem, 2vw, 1.8rem);
}
.offer__grid > * { min-width: 0; }

.offer__kicker {
  margin: -0.75rem 0 1.5rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--paper-ink);
}

.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.55rem 0;
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--body-ink);
}

.offer__bundle { position: relative; }
/* Slika smije preteći svoju kolonu u prazan prostor lijevo i desno —
   knjige imaju prozirnu marginu pa se ništa ne dodiruje. */
.offer__bundle img {
  width: 118%;
  max-width: none;
  margin-inline: -9%;
  filter: drop-shadow(0 22px 38px rgb(23 25 27 / 26%));
}

.seal {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.05rem;
  width: 7rem;
  height: 7rem;
  margin: 0;
  border: 2px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), #bc8735);
  box-shadow: var(--shadow-gold);
  color: #17130c;
  font-family: var(--f-head);
  text-align: center;
  text-transform: uppercase;
}
.seal b { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.seal span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; }
.seal em { font-size: 0.56rem; font-weight: 700; font-style: normal; letter-spacing: 0.09em; }

.price {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.price__old {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: #a9a49c;
  text-decoration: line-through;
}
.price__row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.7rem;
  margin: 0.15rem 0 1.4rem;
}
.price__now {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(2rem, 1.3rem + 1.6vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--paper-ink);
}
.price__now span { font-size: 0.62em; }
.price__off {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--ink);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}


/* ========================== ŠTA ĆEŠ NAUČITI ============================ */

.learn {
  background: linear-gradient(180deg, #f7f5f1, var(--paper));
  padding-block: var(--section-y);
}
.learn__list {
  columns: 3;
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.learn__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--body-ink);
}
.learn__list li span {
  flex: none;
  min-width: 1.6rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-mid);
}
.learn__more { border-bottom: 0 !important; color: var(--muted) !important; font-style: italic; }


/* ============================== CITAT ================================== */

.quote {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 8vw, 7rem);
  background-color: var(--charcoal-3);
  background-image: url("assets/quote-bg-v1.webp");
  /* 20% odozgo — da glava čovjeka ne bude odsječena pri kropanju */
  background-position: 50% 20%;
  background-size: cover;
  color: var(--ink);
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Lijevo svjetlije da se vidi čovjek, sredina taman taman koliko treba
     za bijeli tekst, desno najtamnije ispod kartice s bedževima. */
  background: linear-gradient(90deg,
    rgb(9 11 13 / 32%) 0%,
    rgb(9 11 13 / 52%) 26%,
    rgb(9 11 13 / 50%) 60%,
    rgb(9 11 13 / 80%) 100%);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}
/* Uvučeno udesno da citat ne pada preko čovjeka na fotografiji.
   Prati širinu ekrana jer i on skalira s njom. */
.quote__text { margin: 0; padding-left: clamp(0rem, 17vw, 11rem); }
.quote__text p {
  margin: 0 0 1.25rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 0.9rem + 1.4vw, 1.9rem);
  line-height: 1.35;
  text-shadow: 0 2px 16px rgb(0 0 0 / 55%);
}
.quote__text::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  box-shadow: 0 3px 14px rgb(215 173 89 / 24%);
}

.quote__gains {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  list-style: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgb(9 11 13 / 62%);
  backdrop-filter: blur(4px);
}
.quote__gains li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* Ispod 1280px kolona za citat postane preuska da rečenice stanu u
   predviđena tri reda — bedževi idu ispod, tekst dobije punu širinu,
   a scrim postane ravnomjeran jer tekst više nije uvučen od čovjeka. */
@media (max-width: 1280px) {
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .quote__text { padding-left: 0; }
  .quote::before {
    background: linear-gradient(180deg, rgb(9 11 13 / 62%), rgb(9 11 13 / 78%));
  }
  /* Kartica je sad preko cijele širine — bedževi u mrežu umjesto u stub */
  .quote__gains {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.9rem clamp(1rem, 3vw, 2rem);
  }
}


/* ============================ RECENZIJE ================================ */

.reviews { background: #fff; padding-block: var(--section-y); }
.reviews__note {
  margin: -0.9rem 0 2rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
}
/* --- carousel --- */
.carousel { position: relative; }

.carousel__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0.5rem 0 1.25rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .review {
  flex: 0 0 calc((100% - 2 * clamp(1rem, 2vw, 1.75rem)) / 3);
  scroll-snap-align: start;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--paper-ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.carousel__btn:hover:not(:disabled) {
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-mid));
  color: #17130c;
}
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
.carousel__btn .icon { width: 1.2rem; height: 1.2rem; stroke-width: 2; }
.carousel__btn--prev { left: 0; transform: translate(-50%, -50%); }
.carousel__btn--prev .icon { transform: rotate(180deg); }
.carousel__btn--next { right: 0; transform: translate(50%, -50%); }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.carousel__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d8d2c7;
  cursor: pointer;
  transition: background 0.15s ease, width 0.15s ease;
}
.carousel__dot.is-active { width: 1.7rem; border-radius: 999px; background: var(--gold-mid); }

.review {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #fff, #fcfaf6);
  box-shadow: var(--shadow-card);
}
.review__stars { display: flex; gap: 0.2rem; margin: 0; color: var(--gold-mid); }
.review__stars .icon { width: 1.05rem; height: 1.05rem; }
.review__slot {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.review__text { flex: 1; margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--body-ink); }
.review__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.review__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-mid));
  color: #17130c;
  font-family: var(--f-head);
  font-weight: 900;
}
.review__by b { font-weight: 700; color: var(--paper-ink); }
.review__by em {
  margin-left: auto;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b6ada0;
}


/* ============================= PITANJA ================================= */

.faq {
  background: linear-gradient(180deg, var(--paper), var(--paper-deep));
  padding-block: var(--section-y);
}
.faq__wrap { max-width: 820px; }

.qa {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem);
  color: var(--paper-ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--gold-mid);
  border-bottom: 2px solid var(--gold-mid);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.qa[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa p {
  margin: -0.25rem 0 1.35rem;
  max-width: 65ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}


/* =========================== FINALNI CTA =============================== */

.final {
  background:
    radial-gradient(120% 100% at 50% 0%, var(--charcoal-2), var(--charcoal) 60%);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--ink);
  text-align: center;
}
.final__inner { display: grid; justify-items: center; }
.final__title {
  margin: 0 0 1.5rem;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.final__title span { color: var(--gold-bright); }
.final__price { display: flex; align-items: baseline; gap: 0.9rem; margin: 0 0 1.75rem; }
.final__old {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: rgb(247 243 234 / 45%);
  text-decoration: line-through;
}
.final__now {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem);
  line-height: 1;
  color: #fff;
}


/* ============================== FOOTER ================================= */

.site-footer {
  background: var(--charcoal-3);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(2rem, 4vw, 3rem);
  color: rgb(247 243 234 / 65%);
}
.site-footer__inner {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 1.6rem; }
.site-footer__nav a { font-size: 0.85rem; text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold-bright); }
.site-footer__legal { margin: 0; font-size: 0.78rem; line-height: 1.7; color: rgb(247 243 234 / 45%); }
.site-footer__legal a { color: var(--gold); }


/* ============================ RESPONSIVE =============================== */

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.9fr);
    grid-template-areas:
      "head  head"
      "book  copy"
      "quote quote"
      "pill  pill";
  }
  .hero__quote { text-align: center; }
  .offer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .price { grid-column: 1 / -1; max-width: 480px; justify-self: center; width: 100%; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
  .strip__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .learn__list { columns: 2; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    background: var(--charcoal-3);
    border-bottom: 1px solid var(--line-dark);
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .nav { max-height: 70vh; padding-block: 0.5rem; overflow-y: auto; }

  .nav-burger {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    align-content: center;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

  .hero__photo { background-position: 72% center; }
  .hero__photo::after {
    background:
      linear-gradient(180deg, rgb(17 19 21 / 45%), rgb(17 19 21 / 82%) 45%, rgb(17 19 21 / 90%)),
      linear-gradient(90deg, rgb(17 19 21 / 55%), rgb(17 19 21 / 15%));
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "book" "copy" "pill" "quote";
    text-align: center;
  }
  .hero__book { max-width: min(300px, 76vw); margin-inline: auto; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; }
  .eyebrow::after { display: none; }
  .hero__sub, .hero__lead { max-width: 46ch; }
  .pillars { justify-content: center; }
  .assure { justify-content: center; }

  .offer__grid { grid-template-columns: minmax(0, 1fr); }
  .offer__bundle { max-width: 520px; margin-inline: auto; }
  .offer__bundle img { width: 100%; margin-inline: 0; }
  .quote__gains li { white-space: normal; }
  .carousel__track > .review { flex-basis: calc((100% - clamp(1rem, 2vw, 1.75rem)) / 2); }
}

@media (max-width: 560px) {
  .strip__grid { grid-template-columns: minmax(0, 1fr); }
  .strip__item { padding-left: 0; border-left: 0; }
  .learn__list { columns: 1; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; max-width: 22rem; }
  .seal { width: 5.5rem; height: 5.5rem; top: 0; right: 0; }
  .seal b { font-size: 1.5rem; }
  .btn { width: 100%; padding-inline: 1.25rem; }
  .quote__text p br { display: none; }
  .carousel__track > .review { flex-basis: 100%; }
  /* na mobitelu se prevlači prstom — strelice bi samo prekrivale tekst */
  .carousel__btn { display: none; }
  .carousel__dot { width: 0.7rem; height: 0.7rem; }
}

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


/* ========================== PRAVNE STRANICE ============================ */
/* Koriste ih impressum.html, uslovi.html i privatnost.html. */

.legal { background: var(--paper); padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-y); }
.legal__wrap { max-width: 780px; }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-deep);
}
.legal__back:hover { color: var(--gold-mid); }
.legal__back .icon { transform: rotate(180deg); stroke-width: 2; }

.legal__title {
  margin: 0 0 0.5rem;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--paper-ink);
}
.legal__updated {
  margin: 0 0 2.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.legal h2 {
  margin: 2.5rem 0 0.85rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.25;
  color: var(--paper-ink);
}
.legal h2 span {
  display: inline-block;
  min-width: 1.9rem;
  color: var(--gold-mid);
}
.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--paper-ink);
}
.legal p, .legal li { font-size: 0.95rem; line-height: 1.65; color: var(--body-ink); }
.legal p { margin: 0 0 0.9rem; }
.legal ul, .legal ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a { color: var(--gold-deep); }
.legal strong { color: var(--paper-ink); }

/* Tabela s podacima firme */
.legal__facts {
  width: 100%;
  margin: 0 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.legal__facts th, .legal__facts td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal__facts th {
  width: 38%;
  padding-right: 1rem;
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--muted);
}
.legal__facts td { color: var(--body-ink); }

/* Istaknuti okvir za ono što kupac mora primijetiti */
.legal__note {
  margin: 1.5rem 0;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--gold-mid);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.legal__note :last-child { margin-bottom: 0; }
.legal__note--dark {
  border-left-color: var(--gold-bright);
  background: var(--charcoal);
  color: var(--ink-muted);
}
.legal__note--dark p, .legal__note--dark li { color: var(--ink-muted); }
.legal__note--dark strong { color: var(--ink); }

/* Mjesta koja vlasnik mora popuniti prije objave */
.todo {
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  background: #ffe9a8;
  box-shadow: inset 0 0 0 1px #d9b34a;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.85em;
  color: #6b4e10;
}

@media (max-width: 560px) {
  .legal__facts th, .legal__facts td { display: block; width: 100%; padding-right: 0; }
  .legal__facts th { border-bottom: 0; padding-bottom: 0.15rem; }
}


/* ====================== BESPLATAN ODLOMAK (citaj/) ====================== */
/* Sporedni link ispod glavnog dugmeta — vodi na citaj/index.html */

.cta-alt {
  display: block;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.3rem 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgb(240 204 122 / 45%);
  text-underline-offset: 0.3em;
}
.cta-alt:hover { text-decoration-color: currentColor; }
.cta-alt--light { margin-top: 1.75rem; color: var(--gold-deep); text-decoration-color: rgb(143 98 32 / 40%); }
.final .cta-alt { margin: -0.4rem auto 0.2rem; }

@media (max-width: 860px) {
  .hero__copy .cta-alt { margin-inline: auto; }
}
