/* =========================================
   Španski sa Jovanom - stilovi
   ========================================= */

:root {
  --red: #C0392B;
  --red-dark: #A52A20;
  --terra: #D2694A;
  --mustard: #EDB53C;
  --yellow: #F4C542;
  --cream: #FBF5EC;
  --cream-2: #F4EADB;
  --sand: #E9D7C1;
  --ink: #2A2522;
  --muted: #6B625B;
  --white: #FFFFFF;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(42, 37, 34, .06);
  --shadow: 0 12px 34px rgba(42, 37, 34, .09);
  --shadow-lg: 0 24px 60px rgba(42, 37, 34, .14);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }

.script { font-family: var(--script); font-weight: 700; letter-spacing: 0; }
.script--accent { color: var(--red); }
.script--yellow { color: var(--yellow); font-size: 1.25em; }

.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: .08em;
  height: .38em;
  background: var(--yellow);
  opacity: .55;
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease) .35s;
}
.is-visible .hl::after, .hl.is-visible::after, .is-visible.hl::after { transform: scaleX(1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--red) 66%);
}
.eyebrow:has(.flag-icon)::before { display: none; }
.eyebrow--light { color: var(--yellow); }

.flag-icon { width: 26px; height: 18px; border-radius: 3px; box-shadow: var(--shadow-sm); display: inline-block; vertical-align: middle; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-title { font-size: clamp(30px, 4.4vw, 46px); }
.section-sub { color: var(--muted); font-size: 18px; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(192, 57, 43, .28); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(192, 57, 43, .34); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding .3s, background .3s, box-shadow .3s;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(251, 245, 236, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(42, 37, 34, .07);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.logo__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--red);
  color: var(--yellow);
  font-family: var(--script);
  font-size: 24px;
  transform: rotate(-6deg);
  box-shadow: 0 6px 16px rgba(192, 57, 43, .3);
}
.logo__text { font-size: 18px; line-height: 1.1; }
.logo__text em { font-family: var(--script); font-style: normal; color: var(--red); font-size: 24px; font-weight: 700; }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__text em { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 15px; }
.nav a:not(.btn) { position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2.5px; margin: 5px 0; background: var(--ink); border-radius: 3px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 200px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(244, 197, 66, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(210, 105, 74, .12), transparent 60%),
    var(--cream);
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(192, 57, 43, .13) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  opacity: .55;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero__title { font-size: clamp(50px, 7.2vw, 92px); line-height: .95; margin-bottom: 22px; }
.hero__title .script { display: block; }
.hero__title-sr {
  display: block;
  margin-top: 18px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--ink);
}
.hero__lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__lead em { font-style: normal; font-weight: 700; color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges svg, .card__ideal svg, .price ul svg {
  width: 20px; height: 20px; padding: 3px;
  border-radius: 50%;
  background: rgba(192, 57, 43, .12);
  color: var(--red);
  flex-shrink: 0;
}

.hero__art { position: relative; aspect-ratio: 1 / .92; }
.hero__blob {
  position: absolute; inset: 4% 2% 2% 6%;
  background: var(--white);
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
  box-shadow: var(--shadow-lg);
  animation: morph 14s ease-in-out infinite;
}
.hero__blob::before {
  content: "";
  position: absolute; inset: 7%;
  border-radius: inherit;
  border: 2px dashed rgba(192, 57, 43, .22);
}
.spain-map { position: relative; width: 88%; margin: 11% auto 0; overflow: visible; }
.spain-map text { font-family: var(--script); font-size: 22px; font-weight: 700; fill: var(--ink); }
.spain-map text.small { font-size: 19px; }
.spain-map__route { stroke-dashoffset: 400; animation: dash 30s linear infinite; opacity: .6; }
.city { opacity: 0; transform-box: fill-box; }
.hero__art.is-visible .city { animation: pop .5s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .12s); }

.bubble {
  position: absolute;
  padding: 12px 22px;
  border-radius: 22px;
  font-family: var(--script);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow);
}
.bubble::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: inherit;
  transform: rotate(45deg);
  bottom: -7px;
  border-radius: 3px;
}
.bubble--hola { top: 2%; left: 0; background: var(--red); color: var(--white); }
.bubble--hola::after { left: 26px; }
.bubble--que { bottom: 12%; right: -2%; background: var(--yellow); color: var(--ink); font-size: 26px; }
.bubble--que::after { right: 30px; }

.deco { position: absolute; pointer-events: none; }
.deco--fan { width: 150px; height: 90px; top: -2%; right: 4%; transform: rotate(14deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); }
.deco--carnation { width: 74px; height: 110px; bottom: 0; left: 4%; transform-origin: bottom center; }

.hero__flagline, .footer__flagline {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  height: 8px;
}
.hero__flagline span:nth-child(odd), .footer__flagline span:nth-child(odd) { background: var(--red); }
.hero__flagline span:nth-child(2), .footer__flagline span:nth-child(2) { background: var(--yellow); }

/* ---------- Istaknuto: kartice ispod hero sekcije ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 8px; }
.stats__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.stat {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat__icon {
  width: 56px; height: 56px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 18px;
}
.stat__icon svg { width: 32px; height: 32px; }
.stat__icon--red { background: rgba(192, 57, 43, .12); color: var(--red); }
.stat__icon--mustard { background: rgba(237, 181, 60, .22); color: #C98E12; }
.stat__icon--terra { background: rgba(210, 105, 74, .15); color: var(--terra); }
.stat__text { display: flex; flex-direction: column; line-height: 1.35; }
.stat__text strong { font-size: 16px; }
.stat__text span { font-size: 14px; color: var(--muted); margin-top: 3px; }
.stat--featured {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(192, 57, 43, .3);
}
.stat--featured::after {
  content: "";
  position: absolute; right: -56px; bottom: -64px;
  width: 130px; height: 130px; border-radius: 50%;
  border: 14px solid rgba(244, 197, 66, .18);
}
.stat__num { font-size: clamp(52px, 5.4vw, 66px); font-weight: 800; line-height: 1; color: var(--yellow); letter-spacing: -.04em; }
.stat--featured .stat__text strong { font-size: 19px; }
.stat--featured .stat__text span { color: rgba(255, 255, 255, .8); }

/* ---------- O meni ---------- */
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about__media { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.portrait {
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  aspect-ratio: 5 / 6;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__book {
  position: absolute;
  right: 18px; bottom: 34px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 118px;
  padding: 10px 18px 10px 30px;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
  line-height: 1.1;
  overflow: hidden;
}
.about__book::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 13px;
  background: var(--ink);
  border-radius: 4px;
}
.about__book .script { font-size: 26px; color: var(--red); }
.about__book small { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  background: repeating-linear-gradient(-45deg, rgba(192,57,43,.14) 0 10px, transparent 10px 20px);
  z-index: -1;
}
.about__sticker {
  position: absolute;
  left: -24px; bottom: 40px;
  background: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
  text-align: center;
  line-height: 1.1;
}
.about__sticker .script { display: block; font-size: 32px; color: var(--red); }
.about__sticker small { color: var(--muted); font-weight: 600; font-size: 13px; }
.about__flag { position: absolute; top: 30px; right: -14px; width: 54px; height: 36px; transform: rotate(10deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }

.about__text p { color: var(--muted); }
.about__text strong { color: var(--ink); }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.about__facts li {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.about__facts li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about__facts strong { display: block; font-size: 15px; line-height: 1.3; }
.about__facts small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.fact-icon { font-size: 26px; line-height: 1; }
.signature { font-family: var(--script); font-size: 34px; color: var(--red) !important; font-weight: 700; line-height: 1.2; }
.signature span { color: var(--ink); }

/* ---------- Geometrijska pozadina ---------- */
.bg-geo {
  position: absolute; inset: 0;
  background-color: var(--cream-2);
  background-image:
    linear-gradient(135deg, rgba(192,57,43,.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(237,181,60,.1) 25%, transparent 25%),
    linear-gradient(45deg, rgba(192,57,43,.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(237,181,60,.1) 25%, var(--cream-2) 25%);
  background-size: 56px 56px;
  background-position: 28px 0, 28px 0, 0 0, 0 0;
  z-index: -1;
}
.classes, .pricing { isolation: isolate; }
.bg-geo--soft { opacity: .7; }

/* ---------- Kartice časova ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card--featured { border: 2px solid var(--yellow); }
.card h3 { font-size: 23px; margin-bottom: 2px; }
.card .card__tag { font-family: var(--script); font-size: 24px; color: var(--red); font-weight: 700; margin-bottom: 12px; line-height: 1; }
.card > p { color: var(--muted); font-size: 16px; }
.card__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 36px; height: 36px; }
.card__icon--red { background: rgba(192,57,43,.12); color: var(--red); }
.card__icon--mustard { background: rgba(237,181,60,.22); color: #C98E12; }
.card__icon--terra { background: rgba(210,105,74,.15); color: var(--terra); }
.card__ideal { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; margin: 8px 0 24px; font-size: 15px; }
.card__ideal strong { display: block; margin-bottom: 6px; font-size: 14px; }
.card__ideal li { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; line-height: 1.45; }
.card__price { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--sand); font-weight: 600; color: var(--muted); }
.card__price span { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.card__ribbon {
  position: absolute; top: -14px; right: 26px;
  background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(192,57,43,.3);
}

/* ---------- Program ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; position: relative; margin-bottom: 64px; }
.steps::before {
  content: "";
  position: absolute; top: 44px; left: 12%; right: 12%;
  border-top: 3px dashed var(--sand);
  z-index: -1;
}
.step { text-align: center; padding: 0 8px; }
.step__icon {
  position: relative;
  display: grid; place-items: center;
  width: 88px; height: 88px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  box-shadow: var(--shadow);
  transition: background .3s, transform .3s var(--ease);
}
.step__icon svg { width: 58px; height: 58px; overflow: visible; }
.step:hover .step__icon { background: #FFF6DE; transform: scale(1.08) rotate(-6deg); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--muted); }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.level {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.level:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.level__icon { width: 56px; height: 56px; flex-shrink: 0; background: var(--cream); border-radius: 16px; padding: 8px; }
.level h3 { font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.level__code { font-size: 12px; font-weight: 700; background: var(--ink); color: var(--yellow); padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.level p { font-size: 15px; color: var(--muted); margin: 0; }

.tools {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tools__meet { display: flex; gap: 20px; padding: 34px; background: linear-gradient(135deg, rgba(244,197,66,.25), rgba(244,197,66,.08)); }
.meet-icon { width: 64px; height: 64px; flex-shrink: 0; background: var(--white); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); }
.tools h3 { font-size: 20px; }
.tools p { color: var(--muted); font-size: 15px; margin: 0; }
.tools__materials { padding: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.chips li:hover { background: var(--red); color: var(--white); border-color: var(--red); transform: translateY(-2px); }

/* ---------- Zašto ja ---------- */
.why { background: var(--ink); color: var(--white); overflow: hidden; }
.why::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 0 0, rgba(192,57,43,.35), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(237,181,60,.18), transparent 45%);
}
.why__inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.why__intro p { color: rgba(255,255,255,.72); font-size: 18px; }
.why__fan { width: 220px; height: 132px; margin-top: 30px; opacity: .95; transform: rotate(-8deg); }
.why__list { display: grid; gap: 14px; }
.why__list li {
  display: flex; gap: 20px; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.why__list li:hover { background: rgba(255,255,255,.09); transform: translateX(6px); border-color: rgba(244,197,66,.4); }
.why__icon {
  width: 54px; height: 54px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 24px; font-weight: 800;
}
.why__list li:nth-child(even) .why__icon { background: var(--red); color: var(--white); }
.why__list h3 { font-size: 18px; margin-bottom: 2px; }
.why__list p { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; line-height: 1.5; }

/* ---------- Utisci ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  position: relative;
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease);
}
.quote:hover { transform: translateY(-6px) rotate(-.5deg); }
.quote::before {
  content: "\201C";
  position: absolute; top: -8px; right: 24px;
  font-family: Georgia, serif;
  font-size: 110px; line-height: 1;
  color: var(--yellow);
  opacity: .6;
}
.stars { color: var(--mustard); letter-spacing: 3px; font-size: 18px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 24px; font-size: 16px; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption strong { display: block; font-size: 15px; line-height: 1.3; }
.quote figcaption small { color: var(--muted); font-size: 13px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.avatar--red { background: var(--red); color: var(--white); }
.avatar--mustard { background: var(--yellow); color: var(--ink); }
.avatar--dark { background: var(--ink); color: var(--yellow); }

/* ---------- Cenovnik ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; }
.price {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price h3 { font-size: 22px; margin-bottom: 2px; }
.price__who { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.price__amount { font-size: 18px; font-weight: 700; color: var(--muted); }
.price__amount span { font-size: 52px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.price__per { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price ul { text-align: left; border-top: 1px dashed var(--sand); padding-top: 20px; margin-bottom: 26px; font-size: 15px; }
.price li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; line-height: 1.45; }
.price .btn { width: 100%; }
.price--featured { background: var(--red); color: var(--white); padding-block: 52px 44px; box-shadow: 0 30px 60px rgba(192,57,43,.3); }
.price--featured .price__who, .price--featured .price__per, .price--featured .price__amount { color: rgba(255,255,255,.8); }
.price--featured .price__amount span { color: var(--white); }
.price--featured ul { border-color: rgba(255,255,255,.3); }
.price--featured ul svg { background: rgba(255,255,255,.2); color: var(--yellow); }
.price--featured .btn--primary { background: var(--yellow); color: var(--ink); box-shadow: none; }
.price--featured .btn--primary:hover { background: var(--white); }
.price--featured .card__ribbon { background: var(--yellow); color: var(--ink); left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }


/* ---------- Česta pitanja ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.faq__item[open] { box-shadow: var(--shadow); border-color: rgba(244, 197, 66, .6); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 700; font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
.faq__icon {
  position: relative; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(192, 57, 43, .1);
  transition: background .3s, transform .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2.5px; border-radius: 2px;
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background .3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--red); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before { background: var(--white); }
.faq__item[open] .faq__icon::after { background: var(--white); transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq__item p a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Kontakt ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__text { position: relative; display: flex; flex-direction: column; }
.contact__text > p:last-of-type { margin-bottom: 30px; }
.contact__inner > .form { align-self: start; }
.contact__text p { color: var(--muted); }
.contact__links { display: grid; gap: 14px; margin-top: auto; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  transition: transform .3s var(--ease), box-shadow .3s;
  word-break: break-word;
}
.contact-link:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-link small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-link__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.contact-link__icon svg { width: 24px; height: 24px; }
.contact-link__icon--red { background: rgba(192,57,43,.12); color: var(--red); }
.contact-link__icon--mustard { background: rgba(237,181,60,.22); color: #B97E08; }
.contact-link__icon--dark { background: rgba(42,37,34,.08); color: var(--ink); }
.contact__carnation { grid-column: 1 / -1; justify-self: center; width: 90px; height: 135px; margin: 0; transform-origin: bottom center; }

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 18px;
  position: relative;
}
.form::before {
  content: "";
  position: absolute; top: 0; left: 40px; right: 40px; height: 6px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 75%, var(--red) 75%);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
  resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--mustard); background: var(--white); box-shadow: 0 0 0 4px rgba(244,197,66,.2); }
.form .is-invalid { border-color: var(--red); background: #FDF0EE; }
.form__note { margin: 0; font-size: 14px; text-align: center; min-height: 1.4em; font-weight: 600; }
.form__note.is-ok { color: #3E7B3A; }
.form__note.is-err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.72); padding: 74px 0 26px; font-size: 15px; overflow: hidden; }
.footer__flagline { top: 0; bottom: auto; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__script { font-family: var(--script); font-size: 30px; color: var(--yellow); display: flex; align-items: center; gap: 12px; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; letter-spacing: .02em; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { transition: color .2s; word-break: break-word; }
.footer__col a:hover { color: var(--yellow); }
.footer__social { position: relative; }
.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: background .25s, transform .25s var(--ease), color .25s;
}
.social a:hover { background: var(--red); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.footer__fan { width: 120px; height: 72px; margin-top: 26px; opacity: .85; transform: rotate(-10deg); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); }

.footer__bottom > span:first-child a { color: rgba(255,255,255,.8); font-weight: 600; transition: color .2s; }
.footer__bottom > span:first-child a:hover { color: var(--yellow); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; }
.footer__legal a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--yellow); }
.footer--compact { padding: 8px 0 26px; }
.footer--compact .footer__bottom { align-items: center; }

.form__consent { margin: -4px 0 0; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.5; }
.form__consent a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pravne stranice ---------- */
.legal-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 0;
  background: rgba(251, 245, 236, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(42, 37, 34, .07);
}
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back-link {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 700; font-size: 14px;
  transition: background .25s, color .25s;
}
.back-link:hover { background: var(--red); color: var(--white); }
.legal { padding: clamp(48px, 8vw, 80px) 0 clamp(64px, 9vw, 100px); }
.legal__inner {
  max-width: 820px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 60px);
}
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 6px; }
.legal__updated { font-size: 14px; color: var(--muted); margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px dashed var(--sand); }
.legal h2 { font-size: 21px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal strong { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--red); }
.legal__inner a:not(.btn) { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

/* ---------- Stranica 404 ---------- */
.notfound { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 60px 0; text-align: center; }
.notfound__inner { max-width: 620px; }
.notfound .notfound__code {
  font-size: clamp(110px, 22vw, 180px); font-weight: 800; line-height: 1;
  letter-spacing: -.05em; margin-bottom: 10px;
  background: linear-gradient(180deg, var(--red) 0 30%, var(--yellow) 30% 72%, var(--red) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: clamp(26px, 4vw, 36px); }
.notfound h1 .script { color: var(--red); font-size: 1.35em; margin-right: 6px; }
.notfound p { color: var(--muted); font-size: 18px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- Dugme "vrati me na vrh" ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 40;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(192, 57, 43, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .25s;
}
.to-top svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-dark); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  opacity: .8;
}

/* ---------- Animacije ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; animation-delay: -2s; }
.sway { animation: sway 5s ease-in-out infinite; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes sway { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; }
  50% { border-radius: 44% 56% 46% 54% / 56% 44% 56% 44%; }
}

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

/* ---------- Responzivnost ---------- */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat--featured { grid-column: 1 / -1; justify-content: center; }
  .stat:last-child { grid-column: 1 / -1; justify-content: center; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child, .quotes .quote:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .levels { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  /* Padajući meni ispod zaglavlja (kao na sajtu "Trešnjin cvet") */
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(42, 37, 34, .1);
    box-shadow: 0 14px 30px rgba(42, 37, 34, .1);
    font-size: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 480px; }
  .nav a:not(.btn) {
    padding: 16px 24px;
    border-top: 1px solid rgba(42, 37, 34, .08);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover, .nav a.is-active { color: var(--red); }
  .nav__cta { margin: 12px 24px 18px; }
  .header:has(.nav.is-open) {
    background: rgba(251, 245, 236, .96);
    box-shadow: 0 4px 24px rgba(42, 37, 34, .07);
  }
  .burger { display: block; }

  .hero { padding: 120px 0 124px; }
  .hero__inner, .about__inner, .why__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__art { max-width: 520px; width: 100%; margin: 0 auto; }
  .tools { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price--featured { order: -1; }
  .why__intro { text-align: center; }
  .why__fan { margin-inline: auto; }
  .about__media { max-width: 380px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .logo__text { font-size: 16px; }
  .logo__text em { font-size: 21px; }
  .logo__mark { width: 40px; height: 40px; font-size: 21px; }
  .hero__actions .btn { width: 100%; }
  .bubble { font-size: 22px; padding: 9px 16px; }
  .bubble--que { font-size: 20px; right: 0; }
  .deco--fan { width: 100px; height: 60px; }
  .deco--carnation { width: 52px; height: 78px; }
  .stats { margin-top: -44px; }
  .stats__grid { gap: 12px; }
  .stat { flex-direction: column; text-align: center; gap: 10px; padding: 18px 12px; }
  .stat--featured { flex-direction: row; text-align: left; padding: 20px; }
  .stat__icon { width: 50px; height: 50px; border-radius: 16px; }
  .stat__text span { font-size: 13px; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .about__sticker { left: -8px; bottom: 24px; }
  .about__sticker .script { font-size: 26px; }
  .about__book { right: 6px; bottom: 20px; min-width: 100px; padding: 8px 14px 8px 26px; }
  .about__book .script { font-size: 22px; }
  .about__flag { right: 0; }
  .about__media::before { inset: 16px -12px -16px 12px; }
  .form__row { grid-template-columns: 1fr; }
  .tools__meet, .tools__materials { padding: 26px; }
  .tools__meet { flex-direction: column; }
  .chips { justify-content: center; }
  .chips li { flex: 0 0 calc(50% - 5px); text-align: center; padding: 10px 12px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .legal-header .logo__text { display: none; }
  .legal__inner { border-radius: var(--radius); }
  .section-head { margin-bottom: 40px; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }

  /* Sve centrirano na telefonu */
  .about__text, .contact__text, .why__intro, .tools, .card, .level, .quote, .price, .footer__inner { text-align: center; }
  .about__facts li { align-items: center; }
  .card { align-items: center; }
  .card__ideal { width: 100%; }
  .card__ideal li, .price li, .hero__badges { justify-content: center; }
  .card__price { width: 100%; }
  .level { flex-direction: column; align-items: center; }
  .level h3 { justify-content: center; }
  .tools__meet { align-items: center; }
  .why__list li { flex-direction: column; text-align: center; gap: 12px; }
  .why__list li:hover { transform: translateY(-4px); }
  .quote figcaption { justify-content: center; text-align: left; }
  .contact-link { justify-content: flex-start; text-align: left; }
  .contact-link:hover { transform: translateY(-3px); }
  .contact__carnation { margin-inline: auto; }
  .faq__item summary { padding: 18px 18px; font-size: 16px; text-align: left; }
  .faq__item p { padding: 0 18px 20px; text-align: left; }
  .notfound__actions .btn { width: 100%; }
  .form label { text-align: center; }
  .footer__brand, .footer__col, .footer__social { display: flex; flex-direction: column; align-items: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__script { justify-content: center; }
}

@media (max-width: 480px) {
  .chips li { flex-basis: 100%; }
}
