/* ============================================================
   IZR Media — one page sajt
   Boje su uzete direktno iz dizajna (PDF). Kad stignu zvanični
   kodovi boja od Zorane, menjaju se samo varijable ispod.
   ============================================================ */

:root {
  /* Zvanične boje brenda (IZR media colors.png) */
  --maroon: #6b000b;        /* hero, tamne sekcije, CTA dugme */
  --maroon-nav: #510e1d;    /* navigacija (iz dizajna) */
  --plum: #450630;          /* tamno ljubičasta — naslovi, footer */
  --beige: #e8d8cb;         /* svetle sekcije */
  --cream: #e8d8cb;         /* tekst na tamnim pozadinama */
  --green: #7cfb55;         /* akcenat / CTA (iz dizajna) */
  --black: #171718;         /* marquee traka */
  --white: #ffffff;

  /* Zvanični fontovi */
  --font-body: 'Poppins', sans-serif;
  --font-display: 'Renco Black', 'Poppins', sans-serif;         /* obični naslovi */
  --font-display-exp: 'Renco Expanded', 'Poppins', sans-serif;  /* hero, KOMPLETNA PRODUKCIJA, paketi */
  --font-script: 'Stery', cursive;                              /* "BEZ" */
}

@font-face {
  font-family: 'Renco Black';
  src: url('../assets/fonts/Renco-Black.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Renco Expanded';
  src: url('../assets/fonts/Renco-BlackExpanded.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Stery';
  src: url('../assets/fonts/Stery-Regular.otf') format('opentype');
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* samo za čitače ekrana — vizuelno skriveno */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* skip link — prvi fokusabilni element, vidljiv samo na fokus */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--maroon-nav);
  color: var(--green);
  padding: 0.55em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.6rem; }

html { scroll-behavior: smooth; }

/* da sidra ne završe ispod sticky navigacije */
[id] { scroll-margin-top: 72px; }

body {
  font-family: var(--font-body);
  color: var(--plum);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.container--narrow { max-width: 720px; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; text-align: center; }
.section--white  { background: var(--white); }
.section--beige  { background: var(--beige); }
.section--maroon { background: var(--maroon); color: var(--cream); }

/* ---------- Naslovi ---------- */
.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 1.2rem;
}
.display-title--maroon { color: var(--maroon); }
.display-title--cream  { color: var(--cream); }
.display-title--plum   { color: var(--plum); }
.display-title--exp { font-family: var(--font-display-exp); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85em 2em;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.btn--green  { background: var(--green); color: var(--black); }
.btn--maroon { background: var(--maroon); color: var(--cream); }

/* ============================================================
   NAVIGACIJA
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--maroon-nav);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  padding: 0.9rem 0;
}
.nav__link {
  color: var(--beige);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  transition: color 0.15s ease;
}
.nav__link:hover { color: var(--green); }
.nav__link--cta { color: var(--green); }

/* Prekidač jezika — jedna zastavica (jezik na koji se prebacuje) */
.nav__lang { display: inline-flex; align-items: center; }
.nav__lang a {
  display: inline-flex;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.9;
  box-shadow: 0 0 0 1px rgba(232, 216, 203, 0.4);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav__lang a:hover { opacity: 1; transform: translateY(-1px); }
.nav__lang .flag { display: block; width: 32px; height: auto; }

@media (max-width: 640px) {
  .nav__inner { justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--maroon);
  overflow: hidden;
  text-align: center;
  padding: clamp(4rem, 10vw, 7.5rem) 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/izr-simbol.png') center / min(60%, 700px) no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero__content { position: relative; z-index: 1; }
.hero__title {
  font-family: var(--font-display-exp);
  font-weight: 400;
  color: var(--cream);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__bez {
  font-family: var(--font-script);
  color: var(--green);
  text-transform: uppercase;
  font-size: 1.1em;
  transform: rotate(-6deg);
  margin: 0.05em 0;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.35);
}
.hero__subtitle {
  color: var(--beige);
  font-size: clamp(1rem, 2vw, 1.35rem);
  margin: 1.6rem auto 2.2rem;
  max-width: 34em;
}

/* ============================================================
   PROBLEM / PAIN
   ============================================================ */
.strip--white {
  background: var(--white);
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
  text-align: center;
}
.strip__title {
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  letter-spacing: 0.04em;
  color: var(--plum);
}
.strip__title strong {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--maroon);
}

.pain__list {
  list-style: none;
  font-size: clamp(1rem, 2vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}
.pain__list li::before {
  content: '•';
  margin-right: 0.55em;
  color: var(--plum);
}
.pain__conclusion {
  margin-top: 2.2rem;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--plum);
}
/* na uskim ekranima malo manji da prvi red stane bez lošeg preloma */
@media (max-width: 470px) {
  .pain__conclusion { font-size: 0.98rem; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
/* Dve identične grupe. Svaka grupa ima trailing padding = razmaku, pa se
   grupe nadovezuju besprekidno (nema skoka na kraju petlje). Grupa je šira
   od najšireg ekrana (4 ključne reči × 3), pa nema crne rupe na -50%. */
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.06em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   SISTEM
   ============================================================ */
.sistem__kicker {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--maroon);
  margin-bottom: 1.4rem;
}
.sistem__graphic {
  max-width: min(820px, 88%);
  margin-inline: auto;
}
.sistem__sub {
  margin: 1.2rem 0 2rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--maroon);
}
.video-frame {
  max-width: 880px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--black);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Facade (poster + play dugme dok se ne klikne) */
.yt-facade {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  position: relative;
}
.yt-facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.15));
  transition: background 0.2s ease;
}
.yt-facade:hover::after { background: rgba(0,0,0,0.05); }
.yt-facade__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 9vw, 88px);
  height: clamp(64px, 9vw, 88px);
  border-radius: 50%;
  background: var(--maroon);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}
.yt-facade:hover .yt-facade__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #7c0011;
}
.yt-facade__play svg { width: 42%; height: 42%; margin-left: 8%; }

/* ============================================================
   ZA KOGA
   ============================================================ */
.zakoga__lead {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  margin-bottom: 1.4rem;
}
.zakoga .pain__list li { max-width: 40em; margin-inline: auto; }

/* ============================================================
   REFERENCE
   ============================================================ */
.reference__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 2.5rem;
}
/* 3 testimonijala — uže kolone, centrirano */
.reference__grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-inline: auto;
}
@media (max-width: 900px) { .reference__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reference__grid--3 { grid-template-columns: 1fr; max-width: 300px; } }
@media (max-width: 480px) { .reference__grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }

.testimonial figcaption { margin-top: 0.9rem; font-size: 1rem; }
.video-slot {
  aspect-ratio: 9 / 16;
  background: #e5e5e5;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  font-size: 2.6rem;
}

/* ============================================================
   PRODUKCIJA 1—4
   ============================================================ */
.produkcija__title { margin-bottom: 3rem; }
.produkcija__lead {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.62em;
  color: var(--beige);
  font-weight: 300;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}
.steps { list-style: none; }
.step { padding: 0 0 2.6rem; position: relative; }
.step:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 2rem;
  background: var(--cream);
  margin: 2.2rem auto 0;
}
.step__num {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--beige);
  margin-bottom: 0.6rem;
}
.step__title {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.step__text {
  max-width: 46em;
  margin-inline: auto;
  color: var(--beige);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

/* ============================================================
   KREIRANO OD
   ============================================================ */
.kreirano {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.kreirano__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;  /* glava (slušalice) je na ~18-45% visine slike */
}
.kreirano__overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4em 1.5rem;
  flex-wrap: wrap;
  min-height: clamp(280px, 26vw, 440px);
  padding: 2rem 0;
}
.kreirano__label,
.kreirano__handle {
  font-family: var(--font-display-exp);
  color: #fff;
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
  text-transform: uppercase;
}
.kreirano__handle {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  transition: color 0.15s ease;
}
.kreirano__handle:hover { color: var(--green); }

/* Mobilni: slova ne staju jedno pored drugog, pa ih složimo tesno
   jedan iznad drugog u donjem delu (KREIRANO OD taman iznad @iamzoranar). */
@media (max-width: 640px) {
  .kreirano__overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.1rem;
    min-height: clamp(360px, 95vw, 480px);
    padding-bottom: clamp(2rem, 11vw, 3.5rem);
  }
}

/* ============================================================
   ZORANA
   ============================================================ */
.zorana .display-title { color: var(--maroon); }
.zorana p { margin-bottom: 1.2rem; font-size: clamp(0.98rem, 1.9vw, 1.15rem); }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted__carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trusted__carousel::-webkit-scrollbar { display: none; }
.trusted__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 1.5rem 2rem;
}
@media (max-width: 640px) {
  .trusted__slide { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.5rem; }
}
.trusted__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.trusted__logo img {
  max-height: 68px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.trusted__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.trusted__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  cursor: pointer;
  padding: 0;
}
.trusted__dots button.active { background: var(--maroon); }

/* ============================================================
   VIDEO CONTENT MARKETING STRIP
   ============================================================ */
.strip--purple {
  background: var(--plum);
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.strip--purple .display-title { margin-bottom: 0.8rem; }
.strip__sub {
  color: var(--beige);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* ============================================================
   PAKETI
   ============================================================ */
.paketi__max {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  margin-bottom: 1rem;
}
.paketi__standard {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: clamp(0.98rem, 1.9vw, 1.15rem);
}
.paketi__standard strong { color: var(--maroon); }

.paketi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: start;
  text-align: left;
}
@media (max-width: 900px) {
  .paketi__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.paket {
  border: 1px solid #d8d0c6;
  border-radius: 26px;
  padding: 0 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
}
.paket__name {
  font-family: var(--font-display-exp);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1;
  color: var(--maroon);
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--beige);
  border-radius: 22px;
  margin: -1px -0.6rem 1.4rem;
  padding: 0.4em 0;
}
.paket__list { list-style: none; }
.paket__list li {
  position: relative;
  padding-left: 1.9em;
  margin-bottom: 0.55em;
  font-size: 0.95rem;
}
.paket__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.paket__list li.yes::before { content: '✔'; color: #2e8f1f; }
.paket__list li.no::before  { content: '✖'; color: #d43c3c; }
.paket__divider {
  border: none;
  border-top: 1px solid #d8d0c6;
  margin: 1.1rem 0;
}
.paket__price {
  margin-top: auto;
  padding-top: 1.4rem;
  text-align: center;
}
.paket__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--maroon);
}

/* ============================================================
   CTA
   ============================================================ */
.cta__text {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--maroon);
  margin-bottom: 1.8rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { text-align: center; }
.faq__title { margin-bottom: 2.5rem; }
.faq__items {
  max-width: 780px;
  margin-inline: auto;
  text-align: left;
}
.faq__item {
  border-bottom: 1px solid #999;
  padding: 0.9rem 0;
}
.faq__item summary {
  font-weight: 700;
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  color: var(--plum);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__item p {
  margin-top: 0.7rem;
  color: #4a3140;
  font-size: 0.98rem;
  max-width: 56em;
}

/* ============================================================
   UPITNIK
   ============================================================ */
.upitnik__lead {
  color: var(--beige);
  margin-bottom: 2.2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.upitnik__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
  max-width: 560px;
  margin-inline: auto;
}
.upitnik__form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--cream);
  font-size: 0.95rem;
}
.upitnik__form input,
.upitnik__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 1em;
  border: none;
  border-radius: 12px;
  background: var(--cream);
  color: var(--plum);
}
.upitnik__form input:focus,
.upitnik__form textarea:focus {
  outline: 3px solid var(--green);
}
.upitnik__form .btn { align-self: center; margin-top: 0.6rem; }
.upitnik__status {
  text-align: center;
  font-weight: 600;
  min-height: 1.2em;
  margin-top: 0.4rem;
}
.upitnik__status--ok  { color: var(--green); }
.upitnik__status--err { color: #ffb3a7; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--plum);
  color: var(--beige);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__label {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  margin-right: 1rem;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.footer__social a {
  color: var(--beige);
  display: inline-flex;
  transition: color 0.15s ease;
}
.footer__social a:hover { color: var(--green); }
.footer__social svg { width: 30px; height: 30px; }
.footer__listen { display: flex; align-items: center; }
.footer__podcast {
  display: inline-flex;
  align-items: center;
}
.footer__podcast img {
  height: clamp(26px, 4vw, 40px);
  width: auto;
  transition: opacity 0.15s ease;
}
.footer__podcast:hover img { opacity: 0.75; }
.footer__mail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.footer__mail a {
  color: var(--beige);
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  transition: color 0.15s ease;
}
.footer__mail a:hover { color: var(--green); }
.footer__credit {
  text-align: center;
  padding: 1.8rem 0 1.2rem;
  font-size: 0.85rem;
}
.footer__credit a {
  color: var(--beige);
  opacity: 0.7;
  text-decoration: none;
}
.footer__credit a:hover { opacity: 1; text-decoration: underline; }

/* ============================================================
   WIZARD FORMA (modal) — svetla tema
   ============================================================ */
.wiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(40, 6, 28, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(0.5rem, 3vw, 2.5rem);
  overflow-y: auto;
}
.wiz-overlay[hidden] { display: none; }

.wiz {
  position: relative;
  width: min(760px, 100%);
  background: var(--beige);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  margin: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  animation: wizIn 0.25s ease;
}
@keyframes wizIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.wiz__close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  color: var(--maroon);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease;
}
.wiz__close:hover { background: rgba(107,0,11,0.1); }

.wiz__head { text-align: center; margin-bottom: 1.6rem; }
.wiz__kicker {
  display: block;
  color: var(--maroon);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.wiz__title {
  font-family: var(--font-display-exp);
  font-weight: 400;
  color: var(--plum);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
}
.wiz__sub {
  color: #6a4a5c;
  max-width: 46em;
  margin: 0 auto;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.wiz__card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.3rem, 3.5vw, 2.2rem);
  box-shadow: 0 8px 30px rgba(40,6,28,0.08);
}

.wiz__dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.wiz__dots span {
  width: 34px; height: 5px;
  border-radius: 999px;
  background: #e4d3c7;
  transition: background 0.2s ease;
}
.wiz__dots span.on { background: var(--maroon); }

.wiz__step { display: none; }
.wiz__step.active { display: block; animation: wizFade 0.2s ease; }
@keyframes wizFade { from { opacity: 0; } to { opacity: 1; } }
.wiz__step h3 {
  color: var(--plum);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.wiz__hint { color: #8a7280; font-size: 0.9rem; margin-bottom: 1.1rem; }

.wiz__opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (max-width: 560px) { .wiz__opts { grid-template-columns: 1fr; } }

.wiz__opt {
  text-align: left;
  border: 1.5px solid #ece0d6;
  background: #faf6f2;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.wiz__opt span { color: var(--plum); font-weight: 600; font-size: 0.98rem; display: block; }
.wiz__opt small { display: block; color: #9a8290; font-weight: 400; font-size: 0.82rem; margin-top: 0.15rem; }
.wiz__opts--plain .wiz__opt { text-align: center; }
.wiz__opts--plain .wiz__opt span { font-weight: 600; }
.wiz__opt:hover { border-color: var(--maroon); background: #fff; }
.wiz__opt.sel {
  border-color: var(--maroon);
  background: rgba(107,0,11,0.06);
  box-shadow: 0 0 0 1.5px var(--maroon) inset;
}

.wiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
}
.wiz__back {
  border: none;
  background: transparent;
  color: #8a7280;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.5em 0.2em;
}
.wiz__back:disabled { opacity: 0; pointer-events: none; }
.wiz__back:hover { color: var(--maroon); }
.wiz__next {
  border: none;
  background: var(--maroon);
  color: var(--cream);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7em 1.8em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wiz__next:hover { background: #7c0011; transform: translateY(-1px); }

/* kontakt korak */
.wiz__sum {
  background: #f6efe9;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.3rem;
  font-size: 0.92rem;
  color: #6a4a5c;
  line-height: 1.7;
}
.wiz__sum b { color: var(--maroon); }
.wiz__row { display: flex; gap: 0.8rem; }
@media (max-width: 560px) { .wiz__row { flex-direction: column; } }
.wiz__field { flex: 1; margin-bottom: 0.9rem; display: flex; flex-direction: column; }
.wiz__field label { color: var(--plum); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; }
.wiz__field label small { color: #9a8290; font-weight: 400; }
.wiz__field input,
.wiz__field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7em 0.9em;
  border: 1.5px solid #e4d3c7;
  border-radius: 10px;
  background: #fff;
  color: var(--plum);
}
.wiz__field input:focus,
.wiz__field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(107,0,11,0.12); }
.wiz__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wiz__submit {
  width: 100%;
  background: var(--maroon);
  color: var(--cream);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95em 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wiz__submit:hover { background: #7c0011; transform: translateY(-1px); }
.wiz__submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.wiz__status { text-align: center; margin-top: 0.9rem; font-weight: 600; font-size: 0.95rem; min-height: 1.2em; }

/* success */
.wiz__done { text-align: center; padding: 1.5rem 0.5rem; }
.wiz__done[hidden] { display: none; }
.wiz__done-check {
  width: 72px; height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wiz__done-check svg { width: 40px; height: 40px; }
.wiz__done h3 { color: var(--maroon); font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 0.9rem; font-weight: 700; }
.wiz__done p { color: #6a4a5c; max-width: 40em; margin: 0 auto 0.8rem; font-size: clamp(0.95rem, 1.9vw, 1.08rem); }
.wiz__done-close {
  margin-top: 1rem;
  background: var(--maroon);
  color: var(--cream);
  padding: 0.7em 2em;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

body.wiz-open { overflow: hidden; }
