/* ============================================================
   Stužka nádeje — samostatný dizajnový systém
   Vizuálny jazyk prevzatý z OnkoKlubu (Next.js appka):
   fialová #6F2380 + ružová #CA6A8A / #FDA4C7, League Spartan,
   pill tlačidlá, výrazne zaoblené karty, mäkké fialové tiene.
   Zámerne NEZDIEĽA nič so štýlmi nierakovine.sk.
   ============================================================ */

:root {
  /* Vizuálna identita = landing page OnkoKlub (viď Obsidian: Stuzka-nadeje/dizajn-vizualna-identita.md) */
  --purple: #6f2380;          /* nadpisy, tmavé sekcie */
  --purple-deep: #5a1b68;
  --pink: #ca6a8a;            /* do gradientov */
  --pink-bright: #fda4c7;     /* „jemná ružová" — VŠETKY tlačidlá, akcenty, eyebrow */
  --bg: #fff3f9;              /* pozadie stránky */
  --bg-soft: #ffe9f3;         /* striedané sekcie */
  --pink-tint: rgba(253, 164, 199, 0.1);   /* mäkké bloky */
  --pink-line: rgba(253, 164, 199, 0.15);  /* okraje, deliče */
  --ink: rgba(111, 35, 128, 0.9);          /* text sa nerobí čiernou */
  --ink-soft: rgba(111, 35, 128, 0.7);     /* bežné telo textu */
  --ink-muted: rgba(111, 35, 128, 0.5);    /* popisky */
  --card-shadow: 0 4px 18px -2px rgba(111, 35, 128, 0.18);
  --lg-shadow: 0 14px 34px -8px rgba(111, 35, 128, 0.32);
  --radius-card: 1.75rem;
  --radius-lg: 2rem;
  --maxw: 72rem;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;      /* Firefox — skryje posuvník, scroll funguje ďalej */
  -ms-overflow-style: none;   /* staršie Edge/IE */
}
html::-webkit-scrollbar { display: none; } /* Chrome, Safari, nový Edge */

body {
  margin: 0;
  font-family: "League Spartan", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

/* jemné zrno naprieč celou stránkou — bez neho pôsobia veľké plochy jednej farby
   ploché a "digitálne", zrno im dá trochu hmatateľnosti/papierovosti */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 900; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 2rem 0; }
@media (min-width: 768px) { .section { padding: 2.8rem 0; } }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 9999px;
  padding: 1rem 2rem;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.2s ease, background 0.2s ease;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--pink-bright); color: #fff; box-shadow: var(--lg-shadow); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--pink-bright);
  border: 2px solid var(--pink-bright);
}
.btn-ghost:hover { background: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.2rem; }

/* ---------- sticky navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 243, 249, 0.97);
  backdrop-filter: blur(12px);
}
@media (min-width: 768px) { .nav-inner { padding: 0.8rem 2rem; } }
.nav::before {  /* pruh pozadia na plnú šírku pod .nav-inner */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 100%;
  background: rgba(255, 243, 249, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(111, 35, 128, 0.08);
  z-index: 1;
}
.nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.nav-brand img { height: 2.5rem; width: auto; display: block; }
/* hlavné menu = KnpMenu 'topmenu' (to isté ako na nierakovine.sk), preštýlované */
.nav-menu { margin-left: auto; display: none; }
@media (min-width: 1040px) { .nav-menu { display: block; } }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu > ul { display: flex; align-items: center; gap: 0.35rem; }
.nav-menu > ul > li { position: relative; }
.nav-menu > ul > li > a,
.nav-menu > ul > li > span {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.7rem;
  font-weight: 700; font-size: 0.9rem;
  color: rgba(111, 35, 128, 0.72);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.nav-menu > ul > li > a:hover,
.nav-menu > ul > li:hover > span,
.nav-menu > ul > li:hover > a { color: var(--purple); background: rgba(253, 164, 199, 0.14); }
/* šípka pri položkách s podmenu */
.nav-menu > ul > li:has(ul) > span::after,
.nav-menu > ul > li:has(ul) > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}
/* rozbaľovacie podmenu */
.nav-menu .menu_level_1 {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 15rem;
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 16px 40px -10px rgba(111, 35, 128, 0.28);
  border: 1px solid var(--pink-line);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  z-index: 10;
}
.nav-menu > ul > li:hover > .menu_level_1,
.nav-menu > ul > li:focus-within > .menu_level_1 {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .menu_level_1 li a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.7rem;
  font-weight: 600; font-size: 0.88rem;
  color: rgba(111, 35, 128, 0.75);
  transition: color 0.12s, background 0.12s;
}
.nav-menu .menu_level_1 li a:hover { color: var(--purple); background: rgba(253, 164, 199, 0.16); }
/* OnkoKlub logo v menu na Stužke nezobrazujeme */
.nav-menu .menuLogoItem { display: none; }

/* burger — nahrádza hlavné menu pod 1040px (to vyššie sa tam skryje úplne) */
.nav-burger {
  appearance: none;
  -webkit-appearance: none;
  margin-left: auto;
  width: 2.4rem; height: 2.4rem;
  padding: 0;
  border: 0;
  background: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
@media (min-width: 1040px) { .nav-burger { display: none; } }
.nav-burger span {
  display: block;
  width: 1.4rem; height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* vysúvací panel s celým hlavným menu (mobil/tablet) — harmonika namiesto hoveru */
.nav-mobile {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 5;
  max-height: calc(100vh - 100%);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s;
  background: #fff;
  border-bottom: 1px solid var(--pink-line);
  box-shadow: 0 18px 40px -14px rgba(111, 35, 128, 0.35);
}
@media (min-width: 1040px) { .nav-mobile { display: none; } }
.nav-mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile-inner { max-width: var(--maxw); margin: 0 auto; padding: 0.5rem 1.25rem 1.5rem; }
.nav-mobile-inner > ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile-inner > ul > li { border-top: 1px solid var(--pink-line); }
.nav-mobile-inner > ul > li:first-child { border-top: 0; }
.nav-mobile-inner > ul > li > a,
.nav-mobile-inner > ul > li > span {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0.1rem;
  font-weight: 800; font-size: 1.02rem;
  color: var(--purple);
  cursor: pointer;
}
.nav-mobile-inner > ul > li:has(ul) > span::after,
.nav-mobile-inner > ul > li:has(ul) > a::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-mobile-inner > ul > li.is-open > span::after,
.nav-mobile-inner > ul > li.is-open > a::after { transform: rotate(225deg); }
.nav-mobile-inner .menu_level_1 {
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.nav-mobile-inner > ul > li.is-open > .menu_level_1 { max-height: 48rem; }
.nav-mobile-inner .menu_level_1 li a {
  display: block;
  padding: 0.6rem 0.1rem 0.6rem 0.9rem;
  font-weight: 600; font-size: 0.92rem;
  color: rgba(111, 35, 128, 0.78);
}
.nav-mobile-inner .menuLogoItem { display: none; }
/* panel otvorený → nezamykaj scroll za ním (mobilné prehliadače majú s position:fixed
   na body drobné konflikty so sticky navbarom, stačí len skryť pretečenie) */
body.nav-mobile-lock { overflow: hidden; }

/* šípka v navbare — otvára/zatvára lištu so sekciami tejto stránky */
.nav-sections-toggle {
  appearance: none;
  -webkit-appearance: none;
  margin-left: 0.75rem;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border: 1.5px solid var(--pink-bright);
  border-radius: 9999px;
  background: #fff;
  color: var(--pink-bright);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.nav-sections-toggle:hover { background: var(--bg-soft); }
.nav-sections-toggle svg { transition: transform 0.3s; }
.nav-sections-toggle.is-open { background: var(--pink-bright); color: #fff; }
.nav-sections-toggle.is-open svg { transform: rotate(180deg); }

.nav-cta { padding: 0.6rem 1.4rem; font-size: 0.95rem; }
@media (min-width: 960px) { .nav-cta { margin-left: 0.9rem; } }

/* ---------- vysúvacia lišta so sekciami tejto stránky ---------- */
.subnav {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 1;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s;
}
.subnav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.subnav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .subnav-inner { padding: 0.65rem 2rem; } }
.subnav::before {
  content: "";
  position: absolute; inset: 0;
  background: #ffe4ef;
  border-bottom: 1px solid var(--pink-line);
  box-shadow: 0 10px 24px -10px rgba(111, 35, 128, 0.3);
  z-index: -1;
}
.subnav-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.subnav-links a {
  color: var(--purple);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.subnav-links a:hover { color: var(--pink-bright); }
.subnav-links a.is-active { color: var(--pink-bright); border-color: var(--pink-bright); }

/* ---------- hero — stužka vľavo, nadpis/podnadpis/CTA v strede ---------- */
.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;
}

/* ---------- Hero — krátky úvod + karusel príbehov, jedna spoločná sekcia/pozadie ---------- */
.hero-intro {
  position: relative;
  overflow-x: clip;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(120% 70% at 50% 0%, #ffe9f3 0%, transparent 60%),
    var(--bg);
}
.hero-intro-head {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  text-align: center;
  padding: 3.2rem 1.25rem 2.2rem;
  margin: 0 auto;
}
@media (min-width: 700px) { .hero-intro-head { padding: 5rem 2rem 3rem; } }

/* monumentálny nadpis — citeľne väčší než bežné h1, stiahnuté riadkovanie/rozostup
   písmen, nech to na hera pôsobí ako hlavná vizuálna dominanta stránky */
.hero-intro-head h1 {
  color: var(--purple);
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.hero-intro-head .hero-lead { margin: 0 auto; max-width: 36rem; }
.hero-intro .story-carousel { margin-top: 0.5rem; }

/* veľká reálna stužka v rohu hera — statický obrázok, žiadna animácia */
.hero-intro-ribbon {
  position: absolute;
  z-index: 0;
  top: -2.5rem;
  left: -3.5rem;
  width: 11rem;
  rotate: 12deg;
  pointer-events: none;
  filter: drop-shadow(0 20px 34px rgba(111, 35, 128, 0.3));
}
@media (min-width: 700px) { .hero-intro-ribbon { width: 14.5rem; top: -3rem; left: -2rem; } }
@media (max-width: 480px) { .hero-intro-ribbon { width: 7.2rem; top: -1rem; left: -2.2rem; opacity: 0.8; } }

.hero-v2 {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(120% 80% at 15% 0%, #ffe9f3 0%, transparent 55%),
    var(--bg);
}

.hero-v2-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
}
@media (min-width: 860px) {
  .hero-v2-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 5rem 2rem 6rem;
    text-align: left;
  }
}

.hero-v2-ribbon {
  flex: 0 0 auto;
  width: clamp(160px, 20vw, 250px);
  animation: hero-v2-ribbon-float 7s ease-in-out infinite;
}
.hero-v2-ribbon img {
  width: 100%;
  filter: drop-shadow(0 22px 40px rgba(111, 35, 128, 0.35));
}
@keyframes hero-v2-ribbon-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2-ribbon { animation: none; }
}

.hero-v2-content { max-width: 34rem; }
.hero-v2-content h1 { color: var(--purple); }
.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 1.8rem;
}
.hero-note { margin-top: 1.6rem; color: var(--ink-muted); font-size: 0.85rem; font-weight: 600; }
@media (min-width: 860px) { .hero-v2-inner .hero-cta { justify-content: flex-start; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0.5rem 1.1rem 0.5rem 0.8rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: var(--card-shadow);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-badge strong { color: var(--pink-bright); font-size: 1rem; }
.hero-badge-dot {
  width: 0.5rem; height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: var(--pink-bright);
  animation: hero-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes hero-badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.6); }
}
@media (prefers-reduced-motion: reduce) { .hero-badge-dot { animation: none; } }

/* ---------- veľký fotografický citát medzi hero a mriežkou príbehov ---------- */
.quote-band {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  display: flex;
  align-items: center;
  background: var(--purple-deep);
}
.quote-band-photo { position: absolute; inset: 0; }
.quote-band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 28%; }
.quote-band-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(58, 17, 68, 0.97) 0%, rgba(58, 17, 68, 0.88) 38%, rgba(58, 17, 68, 0.45) 68%, rgba(58, 17, 68, 0.15) 100%);
}
.quote-band-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 3.5rem 1.25rem;
}
@media (min-width: 700px) { .quote-band-inner { padding: 5rem 3.5rem; } }
.quote-band-text {
  color: #fff;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.35;
  margin: 0 0 1.2rem;
}
.quote-band-author { color: rgba(255, 255, 255, 0.7); font-weight: 700; font-size: 0.88rem; margin: 0; }

/* prvá sekcia za hero / citátom */
.hero-v2 + .section, .quote-band + .section { padding-top: 1rem; }

/* riadok tlačidiel — používa aj stránka pre neúspešnú platbu */
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- karty / dlaždice ---------- */
.tiles { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 1.6rem;
}
.tile-ico {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: var(--pink-bright);
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.9rem;
}
.tile h3 { color: var(--purple); }
.tile p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin-bottom: 0.75rem;
}

.lead { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 800; color: var(--purple); max-width: 40ch; }

/* ---------- kroky ---------- */
.steps { display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: step; margin-top: 2rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 9999px;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.05rem; color: var(--purple); }
.step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- sekcia s videom na pozadí (znovupoužiteľné — .section-media) ---------- */
.section-media {
  position: relative;
  overflow: hidden;
  background: var(--purple-deep);
}
.section-media .media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section-media .media-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-media .media-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(37, 12, 46, 0.58) 0%, rgba(37, 12, 46, 0.74) 55%, rgba(37, 12, 46, 0.88) 100%),
    radial-gradient(120% 80% at 15% 0%, rgba(253, 164, 199, 0.18) 0%, transparent 55%);
}
.section-media > .container { position: relative; z-index: 1; }
.section-media h2 { color: #fff; }

/* čisto vizuálny variant — bez textu, len video ako predel medzi sekciami */
.section-media--bare { min-height: clamp(20rem, 42vw, 32rem); }

/* ---------- video galéria príbehov — karusel so šípkami ---------- */
.gallery {
  position: relative;
  max-width: 82rem;
  margin: 2.5rem auto 0;
  padding: 0 3.75rem;
}
@media (max-width: 640px) { .gallery { padding: 0 3rem; } }

.gallery-viewport { overflow: hidden; }
.gallery-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-slide { flex: 0 0 100%; min-width: 0; }

.gallery-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 1fr;
  gap: 2.75rem;
  align-items: center;
  padding: 0.5rem;
}
@media (max-width: 780px) { .gallery-card { grid-template-columns: 1fr; gap: 1.4rem; } }

/* video — zaoblený obdĺžnik */
.gallery-video {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--lg-shadow);
  background: var(--purple-deep);
}
.gallery-video video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-video video[controls] { cursor: default; }
.gallery-video:hover video:not([controls]) { transform: scale(1.035); }

/* jemný fialový gradient na thumbnaili — rovnaký rodinný vzhľad ako .story-tile-overlay
   pri fotkách príbehov. Zmizne, keď sa spustí celé video (.video-row.is-playing). */
.gallery-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(90, 27, 104, 0.55) 0%, rgba(90, 27, 104, 0.18) 42%, transparent 72%);
  transition: opacity 0.3s ease;
}
.video-row.is-playing .gallery-video::before { opacity: 0; }

.gallery-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: auto;
  width: 5rem; height: 5rem;
  border-radius: 9999px;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pink-bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -6px rgba(37, 12, 46, 0.45);
  transition: background 0.15s, transform 0.15s;
}
.gallery-play .ic-play { margin-left: 4px; transform: scale(1.9); }
.gallery-play:hover { background: #fff; transform: scale(1.06); }
@media (max-width: 619px) {
  /* na telefóne bolo tlačidlo neprimerane veľké — prekrývalo väčšinu fotky */
  .gallery-play { width: 3.2rem; height: 3.2rem; }
  .gallery-play .ic-play { transform: scale(1.15); }
}

.gallery-text { padding: 0.25rem 0.5rem; }
.gallery-text h3 { color: var(--purple); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0.3rem 0 0.6rem; }
.gallery-text p { color: var(--ink-soft); margin: 0; max-width: 34ch; }
.gallery-text-link { display: inline-block; color: var(--pink-bright); font-weight: 800; text-decoration: none; }
.gallery-text-link:hover { text-decoration: underline; }

/* ---------- Video príbehy — striedavé riadky (video/text, text/video) ---------- */
.video-rows { display: flex; flex-direction: column; gap: 3.5rem; margin-top: 2.5rem; }
.video-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 780px) {
  .video-row { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
  .video-row--reverse { grid-template-columns: 1fr 1.2fr; }
  .video-row--reverse .video-row-media { order: 2; }
  .video-row--reverse .video-row-text { order: 1; }
}
.video-row-text { padding: 0.25rem 0.5rem; }
.video-row-text h3 { color: var(--purple); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0.3rem 0 0.7rem; }
.video-row-text p { color: var(--ink-soft); margin: 0 0 0.9rem; max-width: 42ch; }

/* fotka — rovnaký zaoblený obdĺžnik ako .gallery-video, pre karusel písaných príbehov */
.gallery-photo {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--lg-shadow);
  background: var(--bg-soft);
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-photo:hover img { transform: scale(1.05); }

/* variant "stacked" — video veľké a na strede, popis menší pod ním (namiesto 2 stĺpcov) */
.gallery--stacked .gallery-card {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}
.gallery--stacked .gallery-video { width: 100%; max-width: 42rem; aspect-ratio: 16 / 9; }
.gallery--stacked .gallery-text { padding-top: 0.3rem; }
.gallery--stacked .gallery-text h3 { font-size: 1.2rem; margin: 0.2rem 0 0.4rem; }
.gallery--stacked .gallery-text p { max-width: 34ch; margin: 0 auto; font-size: 0.92rem; }
.gallery--stacked .gallery-text-link { margin-top: 0.4rem; }

/* šípky */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem; height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--pink-line);
  background: #fff;
  box-shadow: var(--card-shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--purple);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.gallery-arrow:hover { background: var(--pink-bright); color: #fff; }
.gallery-arrow--prev { left: 0; }
.gallery-arrow--next { right: 0; }
.gallery-arrow-ic {
  width: 9px; height: 9px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
}
.gallery-arrow-ic--prev { transform: rotate(-135deg); margin-left: 3px; }
.gallery-arrow-ic--next { transform: rotate(45deg); margin-right: 3px; }

/* bodky */
.gallery-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.6rem; }
.gallery-dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  background: var(--pink-line);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.gallery-dot.is-active { background: var(--pink-bright); width: 1.5rem; }

/* ---------- Kúpiť stužku — 3 možnosti vedľa seba ---------- */
.shop-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 820px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
  /* jemný stagger namiesto 3 dokonale zarovnaných kariet — stred vystúpi hore */
  .shop-grid > :nth-child(1) { margin-top: 1.4rem; }
  .shop-grid > :nth-child(3) { margin-top: 1.4rem; }
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.shop-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1.6rem 1.6rem 2rem;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--lg-shadow); }

.shop-card--featured {
  border-color: var(--pink-bright);
  border-width: 2px;
  box-shadow: var(--lg-shadow);
}
@media (min-width: 820px) { .shop-card--featured { transform: scale(1.06); z-index: 1; } }
.shop-card--featured:hover { transform: translateY(-4px) scale(1.06); }
.shop-card-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  translate: -50% 0;
  background: var(--pink-bright);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px -2px rgba(111, 35, 128, 0.4);
  white-space: nowrap;
}

.shop-visual {
  width: 4.6rem;
  height: 4.6rem;
  margin-bottom: 1.2rem;
  display: grid;
  place-items: center;
}
.shop-visual img { width: 100%; filter: drop-shadow(0 8px 14px rgba(111, 35, 128, 0.22)); }
.shop-visual--photo {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
  overflow: hidden;
}
/* percentuálna výška na <img> sa pri rodičovi rozmerovanom cez aspect-ratio
   nespoľahlivo počíta (rovnaký problém ako .product-media-main) — img sa
   škáloval len podľa šírky a orezával sa zvyšný priestor namiesto poriadneho cover. */
.shop-visual--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.shop-visual--box {
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--pink-bright), var(--purple));
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: var(--card-shadow);
}

.shop-card h3 { color: var(--purple); font-size: 1.25rem; margin-bottom: 0.6rem; }
.shop-desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; flex: 1; margin-bottom: 1.4rem; }

.shop-variant { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.2rem; }
.shop-variant-btn {
  border: 2px solid rgba(111, 35, 128, 0.18);
  background: #fff;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--purple);
  cursor: pointer;
  transition: all 0.15s ease;
}
.shop-variant-btn:hover { border-color: var(--pink-bright); }
.shop-variant-btn.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* voliteľný príspevok navyše — pevné sumy, klik pripočíta k cene (opätovný klik zruší) */
.shop-extra { width: 100%; margin-bottom: 1.2rem; }
.shop-extra-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-extra-btn {
  border: 2px solid rgba(111, 35, 128, 0.18);
  background: #fff;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--purple);
  cursor: pointer;
  transition: all 0.15s ease;
}
.shop-extra-btn:hover { border-color: var(--pink-bright); }
.shop-extra-btn.is-active { background: var(--pink-bright); border-color: var(--pink-bright); color: #fff; }

.shop-extra-custom { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.shop-extra-custom[hidden] { display: none; }
.shop-extra-custom-input {
  width: 8rem;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--purple);
  border: 2px solid rgba(111, 35, 128, 0.18);
  border-radius: 0.8rem;
  padding: 0.5rem 0.7rem;
  -moz-appearance: textfield;
}
.shop-extra-custom-input::-webkit-outer-spin-button,
.shop-extra-custom-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-extra-custom-input:focus { border-color: var(--pink-bright); outline: none; }

/* počet kusov/boxov — bez hornej hranice, stepper +/- s číselným poľom */
.shop-qty { width: 100%; margin-bottom: 1.2rem; }
.shop-qty-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}
.shop-qty-stepper { display: flex; align-items: center; gap: 0.6rem; }
.shop-qty-btn {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 2px solid rgba(111, 35, 128, 0.18);
  border-radius: 9999px;
  background: #fff;
  color: var(--purple);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.shop-qty-btn:hover { border-color: var(--pink-bright); background: rgba(202, 106, 138, 0.08); }
.shop-qty-input {
  width: 4.6rem;
  text-align: center;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--purple);
  border: 2px solid rgba(111, 35, 128, 0.18);
  border-radius: 0.8rem;
  padding: 0.5rem 0.3rem;
  -moz-appearance: textfield;
}
.shop-qty-input::-webkit-outer-spin-button,
.shop-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-qty-unit { font-weight: 700; color: var(--ink-muted); font-size: 0.9rem; }

.shop-price { margin-bottom: 1.4rem; }
.shop-price-amount { font-size: 1.6rem; font-weight: 900; color: var(--pink-bright); }
.shop-price-unit { font-size: 0.85rem; font-weight: 700; color: var(--ink-muted); }

.shop-card .btn { width: 100%; }

.shop-note { text-align: center; margin-top: 2rem; font-size: 0.8rem; color: var(--ink-muted); }

/* ---------- Prevencia — 2 karty (samovyšetrovanie + mamografia) ---------- */
.prevencia-section h2 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.prevencia-section .stories-intro { font-size: clamp(1.1rem, 2.4vw, 1.4rem); max-width: 44ch; }
.prevencia-ambassador {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--purple);
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
}
.prevencia-ambassador strong { font-style: normal; }

.prevention-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 58rem;
  margin: 2.5rem auto 0;
}
@media (min-width: 720px) { .prevention-grid { grid-template-columns: repeat(2, 1fr); } }

/* karta = reálna fotka + gradient overlay, rovnaký vzor ako .story-tile/-overlay
   pri kartičkách príbehov (žiadna biela pätička — text sedí priamo na fotke) */
.prevention-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.prevention-card:hover { transform: translateY(-4px); box-shadow: var(--lg-shadow); }
.prevention-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.prevention-card:hover img { transform: scale(1.06); }

.prevention-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  color: #fff;
}
.prevention-card--a .prevention-overlay {
  background: linear-gradient(to top, rgba(90, 27, 104, 0.94) 0%, rgba(90, 27, 104, 0.55) 45%, rgba(90, 27, 104, 0.05) 78%, transparent 100%);
}
.prevention-card--b .prevention-overlay {
  background: linear-gradient(to top, rgba(157, 46, 92, 0.94) 0%, rgba(157, 46, 92, 0.55) 45%, rgba(157, 46, 92, 0.05) 78%, transparent 100%);
}

.prevention-overlay h3 { color: #fff; margin-bottom: 0.5rem; }
.prevention-claim {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  font-style: italic;
  margin: 0 0 0.6rem;
}
.prevention-desc { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; line-height: 1.5; margin: 0 0 1rem; }
.prevention-link { font-weight: 800; color: #fff; }

/* ---------- darovací blok ---------- */
.donate {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--lg-shadow);
  padding: 2rem;
  max-width: 34rem;
  margin: 2rem auto 0;
}
@media (min-width: 768px) { .donate { padding: 2.5rem; } }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1rem; }
.amount {
  border: 2px solid rgba(111, 35, 128, 0.18);
  background: #fff;
  border-radius: 1rem;
  padding: 0.9rem 0;
  font: inherit; font-weight: 800; font-size: 1.1rem;
  color: var(--purple);
  cursor: pointer;
  transition: all 0.15s ease;
}
.amount:hover { border-color: var(--pink-bright); }
.amount.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }
.field {
  width: 100%;
  border: 2px solid rgba(111, 35, 128, 0.18);
  border-radius: 9999px;
  padding: 0.9rem 1.3rem;
  font: inherit; font-size: 1rem;
  margin-bottom: 0.8rem;
  outline: none;
}
.field:focus { border-color: var(--pink-bright); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); margin: 0.6rem 0 1.2rem; }

/* ---------- záverečné CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  background: var(--purple);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #fff;
}
.final::before, .final::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  background: #fff;
  opacity: 0.06;
}
.final::before { width: 15rem; height: 15rem; top: -4rem; right: -4rem; }
.final::after { width: 11rem; height: 11rem; bottom: -3rem; left: -3rem; background: var(--pink-bright); opacity: 0.16; }
.final h2 { color: #fff; position: relative; }
.final p { color: rgba(255, 255, 255, 0.7); max-width: 34ch; margin: 0 auto 1.6rem; position: relative; }
.final .btn { position: relative; }

/* ---------- trvalá plávajúca stužka (namiesto "chatovej bubliny") ---------- */
@keyframes ribbon-fab-in {
  0% { transform: translateY(20px) rotate(14deg) scale(0.8); opacity: 0; }
  100% { transform: translateY(0) rotate(14deg) scale(1); opacity: 1; }
}
.ribbon-fab {
  position: fixed;
  right: 3rem;
  bottom: 2rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: transform 0.2s ease;
  animation: ribbon-fab-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) 0.3s both;
}
.ribbon-fab:hover { transform: rotate(14deg) translateY(-4px); }
@keyframes ribbon-fab-bob {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(17deg) translateY(-7px); }
}
.ribbon-fab-icon {
  display: block;
  width: 3.6rem;
  height: 6.2rem;
  filter: drop-shadow(0 10px 18px rgba(111, 35, 128, 0.45));
  animation: ribbon-fab-bob 3.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-fab-icon { animation: none; transform: rotate(14deg); }
}
.ribbon-fab-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ribbon-fab-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .ribbon-fab { right: 1.6rem; bottom: 1.3rem; }
  .ribbon-fab-icon { width: 2.7rem; height: 4.7rem; }
  .ribbon-fab-label { font-size: 0.64rem; }
}

/* ---------- zdieľanie ---------- */
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(111, 35, 128, 0.2);
  background: #fff;
  color: var(--purple);
  border-radius: 9999px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.share-btn:hover { border-color: var(--pink-bright); background: var(--bg-soft); }
.share-btn svg { flex-shrink: 0; }
.share-fb {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.share-fb:hover { background: #1568d8; border-color: #1568d8; }

/* ============================================================
   Príbehy — spoločné štýly pre nadpisy sekcií a galérie (eyebrow
   "Príbeh" nad menom sa používa v písaných aj video galériach)
   ============================================================ */
.stories-intro { color: var(--ink-soft); max-width: 52ch; font-weight: 600; }
.ribbon-label {
  display: block;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin-bottom: 0.15rem;
}

/* ---------- Príbehy — jeden vodorovný riadok fotiek (scroll nabok / šípky), hover
   stmaví a odkryje meno + úryvok. Hranaté rohy (zámerne, na rozdiel od zvyšku stránky).
   .story-carousel = .gallery (rovnaký vzor ako video karusel nižšie), ale zámerne MIMO
   .container a s väčším max-width — nech je karusel citeľne širší než zvyšok stránky.
   Nadpis + CTA sú až pod ním (v .section-head, vnútri .container). ---------- */
.story-carousel { margin: 0 auto; max-width: 76rem; padding: 0 3rem; }

.story-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.story-grid::-webkit-scrollbar { display: none; }

.story-tile {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(230px, 26vw, 330px);
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  scroll-snap-align: start;
}
.story-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-tile:hover img,
.story-tile:focus-visible img { transform: scale(1.06); }

.story-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  background: linear-gradient(to top, rgba(90, 27, 104, 0.94) 0%, rgba(90, 27, 104, 0.55) 45%, rgba(90, 27, 104, 0.05) 78%, transparent 100%);
  color: #fff;
}
.story-tile-overlay h3 { color: #fff; margin-bottom: 0.4rem; }
.story-tile-overlay .ribbon-label { color: var(--pink-bright); }

.story-tile-excerpt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 0.8rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.story-tile:hover .story-tile-excerpt,
.story-tile:focus-visible .story-tile-excerpt { max-height: 9rem; opacity: 1; }

.story-tile-link { font-weight: 800; color: var(--pink-bright); font-size: 0.88rem; }

@media (max-width: 619px) {
  /* na mobile bez reálneho hoveru — text prekrývajúci celú fotku prekážal (nedalo sa
     poriadne vidieť tvár). Text ide namiesto toho POD fotku, normálnym tokom — fialový
     gradient na fotke zostáva (::before, viazaný len na výšku fotky, nie celej dlaždice). */
  .story-grid { align-items: flex-start; }
  .story-tile {
    position: relative;
    aspect-ratio: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-shadow: none;
  }
  .story-tile::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0; left: 0; right: 0;
    aspect-ratio: 3 / 4;
    pointer-events: none;
    background: linear-gradient(to top, rgba(90, 27, 104, 0.6) 0%, rgba(90, 27, 104, 0.2) 40%, transparent 70%);
  }
  .story-tile img {
    aspect-ratio: 3 / 4;
    box-shadow: var(--card-shadow);
  }
  .story-tile-overlay {
    position: static;
    inset: auto;
    background: none;
    padding: 0.9rem 0.1rem 0;
    color: var(--purple);
  }
  .story-tile-overlay h3 { color: var(--purple); }
  .story-tile-excerpt {
    color: var(--ink-soft);
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
  .story-tile-link { color: var(--purple); }
}

/* nadpis + intro + "podeliť sa o príbeh" CTA pod karuselom — bez vlastného boxu,
   len vedľa seba (na mobile pod sebou) */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.section-head-cta { flex: 0 0 auto; text-align: left; }
.section-head-cta p { font-weight: 800; color: var(--purple); margin-bottom: 0.7rem; }
@media (min-width: 700px) { .section-head-cta { text-align: right; } }

/* ---------- dekoratívne prvky — vyplnia veľké plochy jednej farby (video/obchod)
   jemnou farebnou hĺbkou a veľkými priesvitnými siluetami stužky namiesto prázdna.
   Čisto CSS/existujúci SVG, žiadne nové assety, žiadny vplyv na rozloženie
   (position:absolute, pod obsahom). ---------- */
.section--decorated { position: relative; overflow: hidden; }
.section--decorated::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#ako-pomoct.section--decorated::before {
  background:
    radial-gradient(34rem 28rem at -8% 10%, rgba(253, 164, 199, 0.3) 0%, transparent 65%),
    radial-gradient(30rem 26rem at 108% 85%, rgba(111, 35, 128, 0.14) 0%, transparent 65%);
}
.shop.section--decorated::before {
  background:
    radial-gradient(32rem 26rem at 106% -5%, rgba(202, 106, 138, 0.22) 0%, transparent 65%),
    radial-gradient(28rem 24rem at -6% 105%, rgba(111, 35, 128, 0.13) 0%, transparent 65%);
}
.section--decorated > .container { position: relative; z-index: 1; }

.ic-play {
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: inline-block;
}

@media (max-width: 480px) {
  .ribbon-name { font-size: 0.85rem; }
  .ribbon-desc { font-size: 0.64rem; }
  .ribbon-label { font-size: 0.6rem; }
}

/* jemné odhalenie pri scrolle — skryté len keď beží JS (.reveal-on na <html>).
   Zámerne cez `translate` (nie `transform`), aby sa to nebilo s vlastným
   transform/hover efektom prvku (napr. .shop-card:hover, .ribbon-item). */
.reveal-on [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, translate;
}
.reveal-on [data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
}


/* ---------- footer ---------- */
.foot { background: var(--purple); color: #fff; padding: 3rem 0 2.5rem; }
.foot .container { display: grid; gap: 2rem; }
@media (min-width: 640px) { .foot .container { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .foot .container { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot h4 { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 0.8rem; }
.foot a { color: rgba(255, 255, 255, 0.7); font-weight: 600; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.8rem; }
.foot-links:first-child { margin-top: 0; }
.foot-legal { color: rgba(255, 255, 255, 0.45); font-size: 0.82rem; line-height: 1.7; }
.foot-legal a { color: rgba(255, 255, 255, 0.6); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.5rem; color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.foot-bottom a { color: rgba(255,255,255,0.6); font-weight: 600; }

/* ============================================================
   Produktová podstránka — fotky vľavo, popis + objednávka vpravo
   ============================================================ */
.product-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.15s;
}
.product-back:hover { color: var(--purple); }

.product-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }

/* ---------- ľavá strana — fotky produktu ---------- */
.product-media { position: sticky; top: 6rem; }
@media (max-width: 899px) { .product-media { position: static; } }

.product-media-main {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* len samotná fotka bez rámčeka/kartičky — badge (kým nie sú fotky) má vlastné pozadie nižšie */
.product-media-main:has(.product-media-badge) {
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #fff, var(--bg-soft));
  border: 1px solid var(--pink-line);
  box-shadow: var(--card-shadow);
}
/* reálna fotka vyplní celý rámik; badge (bez fotiek) ostáva malý kruh v strede.
   position:absolute+inset:0 (nie width/height:100% na statickom obrázku) — percentuálna
   výška na <img> sa pri rodičovi rozmerovanom cez aspect-ratio nespoľahlivo počíta
   (obrázok sa potom škáloval len podľa šírky a cez overflow:hidden bola vidno len časť). */
.product-media-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-media-badge {
  width: 8rem; height: 8rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--pink-bright), var(--purple));
  color: #fff;
  font-weight: 900;
  font-size: 2rem;
  display: grid;
  place-items: center;
  box-shadow: var(--lg-shadow);
}
.product-media-thumbs { display: flex; gap: 0.7rem; margin-top: 0.9rem; flex-wrap: wrap; }
.product-media-thumb {
  width: 3.6rem; height: 3.6rem;
  padding: 0;
  border-radius: 1rem;
  background: var(--bg-soft);
  border: 2px solid var(--pink-line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.product-media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-media-thumb.is-active,
.product-media-thumb:hover { border-color: var(--pink-bright); }
.product-media-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--ink-muted); text-align: center; }

/* zoom — klik na hlavnú fotku otvorí zväčšený náhľad na celú obrazovku */
.product-media-zoom-trigger {
  all: unset;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: zoom-in;
}
.product-media-zoom-hint {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--card-shadow);
  pointer-events: none;
}
.product-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 8, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.product-media-lightbox[hidden] { display: none; }
.product-media-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 1rem;
  cursor: default;
}
.product-media-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.product-media-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ---------- Príbehy — detail (podstránka jedného príbehu) ----------
   redakčný formát: fotka je súčasťou toku článku (nie prilepená bokom
   ako pri produktoch) — jeden čitateľný stĺpec, fotka/video nad textom */
.story-article { max-width: 46rem; margin: 0 auto; }
.story-article .product-back { margin-bottom: 1.5rem; }

.story-hero {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--lg-shadow);
}
/* prirodzené rozmery fotky (žiadny object-fit crop) — pri portrétových fotkách
   (bežné pri týchto príbehoch) orezávanie na pevný 16:9 pomer strihalo ľuďom hlavy */
.story-hero img { width: 100%; height: auto; display: block; }
.story-media-credit { margin: 0.6rem 0 1.6rem; font-size: 0.76rem; color: var(--ink-muted); font-style: italic; }

.story-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--lg-shadow);
  background: var(--purple-deep);
  margin: 2rem 0 0.6rem;
}
.story-video video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.story-video video[controls] { cursor: default; }
.story-media-note { margin: 0.6rem 0 1.6rem; font-size: 0.8rem; color: var(--ink-muted); }

.story-headline { color: var(--purple); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 1.6rem 0 0.9rem; line-height: 1.2; }
.story-lead { color: var(--ink-soft); font-weight: 700; font-size: 1.08rem; margin: 0 0 1.6rem; }
.story-heading { color: var(--purple); font-size: 1.15rem; margin: 1.8rem 0 0.7rem; }
.story-paragraph { color: var(--ink-soft); margin: 0 0 1rem; line-height: 1.65; }
.story-paragraph a, .story-lead a { color: var(--purple); text-decoration: underline; font-weight: 700; }
.story-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.story-video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--card-shadow); margin: 0.4rem 0 1.8rem; }
.story-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.facility-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.9rem; }
.facility-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 1.1rem 1.3rem; }
.facility-card .facility-doctor { display: block; color: var(--purple); font-weight: 700; margin-bottom: 0.15rem; }
.facility-card .facility-name { display: block; color: var(--ink); font-weight: 700; margin-bottom: 0.15rem; }
.facility-card .facility-address { display: block; color: var(--ink-soft); font-size: 0.92rem; }
.facility-card .facility-link { display: inline-block; margin-top: 0.4rem; color: var(--purple); text-decoration: underline; font-size: 0.88rem; font-weight: 700; }

/* ---------- partneri kampane — len logo, žiadna karta/pozadie. Široký rad
   (2/4/8 stĺpcov podľa šírky), rovnaký vzor na hlavnej stránke aj na /stuzka/partneri ---------- */
.partner-grid,
.partner-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1.2rem;
  margin: 1.8rem 0;
}
@media (min-width: 560px) { .partner-grid, .partner-teaser-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 860px) { .partner-grid, .partner-teaser-grid { grid-template-columns: repeat(8, 1fr); } }

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.5rem;
}
.partner-card img { max-width: 100%; max-height: 2.8rem; width: auto; height: auto; object-fit: contain; }
.partner-card-name { color: var(--purple); font-weight: 800; font-size: 0.85rem; text-align: center; }

/* na podstránke /stuzka/partneri nech sú logá výrazne väčšie — menej stĺpcov, väčší rámik */
.partner-grid { gap: 2.4rem 1.6rem; }
@media (min-width: 560px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-grid .partner-card { min-height: 7rem; padding: 0.8rem; }
.partner-grid .partner-card img { max-height: 5rem; }
/* VšZP logo je úzke/na výšku (nie široký obdĺžnik ako ostatné) — pri rovnakom
   max-height preto vizuálne pôsobí menšie, treba mu dať trochu väčší strop */
.partner-card img[alt="VšZP"] { max-height: 6.6rem; }

.partner-divider { border: 0; border-top: 1px solid var(--pink-line); margin: 3rem 0 2rem; }

/* ---------- pravá strana — popis + objednávka ---------- */
.product-name { color: var(--purple); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0.3rem 0 0.7rem; }
.product-lead { color: var(--ink-soft); font-weight: 700; font-size: 1.05rem; max-width: 42ch; }
.product-desc { color: var(--ink-soft); max-width: 52ch; margin: 1rem 0 2rem; }
.product-desc p { margin: 0 0 0.9rem; }

.product-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--lg-shadow); padding: 1.8rem; }
@media (min-width: 640px) { .product-form { padding: 2.2rem; } }
.product-form .shop-variant { justify-content: flex-start; }
.product-form .shop-price { text-align: left; }
.product-price { padding-bottom: 1.4rem; border-bottom: 1px solid var(--pink-line); margin-bottom: 1.4rem; }

.product-fields { display: grid; gap: 0.8rem; margin-bottom: 0.4rem; }
@media (min-width: 560px) { .product-fields { grid-template-columns: 1fr 1fr; } }

.product-check { align-items: flex-start; }
.product-check em { display: block; font-style: normal; color: var(--ink-muted); font-size: 0.82rem; margin-top: 0.25rem; }

/* ---------- kupujem ako (súkromná osoba / firma) ---------- */
.product-billing {
  margin: 0.8rem 0 0;
  padding: 1.1rem 1.2rem 1.3rem;
  background: var(--bg-soft);
  border-radius: 1.2rem;
  border: 1px solid var(--pink-line);
}
.product-billing .shop-variant { justify-content: flex-start; margin-bottom: 0.9rem; }
.product-billing .field { margin-bottom: 0; }
.product-billing-company:not([hidden]) { display: grid; gap: 0.7rem; }
@media (min-width: 560px) {
  .product-billing-company:not([hidden]) { grid-template-columns: 1fr 1fr; }
  .product-billing-company .field:nth-child(1),
  .product-billing-company .field:nth-child(2),
  .product-billing-company .field:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- doručenie (Packeta výdajné miesto / adresa) ---------- */
.product-shipping {
  margin: 0.2rem 0 1.2rem;
  padding: 1.1rem 1.2rem 1.3rem;
  background: var(--bg-soft);
  border-radius: 1.2rem;
  border: 1px solid var(--pink-line);
}
.product-shipping-label { display: block; font-weight: 800; font-size: 0.85rem; color: var(--purple); margin-bottom: 0.7rem; }
.product-shipping .shop-variant { justify-content: flex-start; margin-bottom: 0.9rem; }
.product-shipping .field { margin-bottom: 0; }
.product-shipping-address:not([hidden]) { display: grid; gap: 0.7rem; }
@media (min-width: 560px) {
  .product-shipping-address:not([hidden]) { grid-template-columns: 1fr 1fr; }
  .product-shipping-address .field:first-child { grid-column: 1 / -1; }
}
.product-shipping-chosen { font-size: 0.88rem; color: var(--ink-soft); margin: 0.7rem 0 0; }
.product-shipping-chosen strong { color: var(--purple); }
.product-shipping-note { font-size: 0.78rem; color: var(--ink-muted); margin: 0.6rem 0 0; }
