:root {
  --cream: #f8f9f3;
  --plum: #591c4e;
  --plum-dark: #46163e;
  --plum-light: #af3799;
  --magenta: #ec008b;
  --teal: #1f4254;
  --mint: #bfe4dd;
  --mint-dark: #8fcabd;
  --gold: #ffca0c;
  --tan: #ac9684;
  --tan-light: #e3ddd0;
  --plum-pale: #f3e9f1;
  --ink: #2a2a28;
  --white: #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
sup { font-size: 0.65em; }
a { color: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.15;
  margin: 0 0 16px;
}
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { line-height: 1.6; margin: 0 0 14px; color: #3c4a4f; }
em { font-style: italic; }

.section { padding: 72px 0; }
.evidence { padding-bottom: 36px; }
.outcomes { padding-top: 36px; }

/* ---------- logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 243, 0.97);
  border-bottom: 1px solid rgba(89, 28, 78, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-inner .logo-img { height: 44px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover { color: var(--plum); }
.nav-link.is-active { color: var(--plum); border-bottom-color: var(--plum); }
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; row-gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: 20px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .main-nav { gap: 8px 14px; }
  .nav-link { font-size: 0.78rem; }
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--plum);
  color: var(--plum);
}
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-solid {
  border: 1.5px solid var(--plum);
  background: var(--plum);
  color: var(--gold);
}
.btn-solid:hover { background: var(--plum-dark); }
.header-cta { white-space: nowrap; }

/* ---------- HCP gate ---------- */
.hcp-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(42, 42, 40, 0.55);
  backdrop-filter: blur(2px);
}
#app.gate-active .hcp-gate { display: flex; }
#app.gate-active #site-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}
.hcp-gate-card {
  background: var(--white);
  border: 1px solid rgba(89, 28, 78, 0.12);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  padding: 40px 44px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(42, 42, 40, 0.25);
}
.hcp-gate-card h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hcp-gate-card p { font-size: 0.95rem; margin-bottom: 16px; }
.hcp-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}
.hcp-gate-actions .btn { font-weight: 700; padding: 12px 28px; }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 80px;
  border-top: 4px solid var(--plum);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 400px) 1fr;
  column-gap: 56px;
  row-gap: 28px;
  align-items: center;
}
.hero-header { grid-column: 2; grid-row: 1; }
.hero-image { grid-column: 1; grid-row: 1 / span 2; }
.hero-inner { grid-column: 2; grid-row: 2; }
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--plum-light);
  margin-bottom: 12px;
}
.hero-title { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem); margin-bottom: 20px; }
.hero-lede { font-size: 1.05rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.badge {
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.hero-tagline p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--plum);
  margin: 0;
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-header { grid-column: 1; grid-row: auto; order: 1; }
  .hero-image { grid-column: 1; grid-row: auto; order: 2; max-width: 260px; margin: 0 auto; }
  .hero-inner { grid-column: 1; grid-row: auto; order: 3; }
}

/* ---------- approach / features ---------- */
.approach { background: var(--teal); }
.approach h2 { color: var(--white); }
.approach-text p { color: rgba(255, 255, 255, 0.82); }
.approach-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.approach-image img {
  margin: 0 auto;
  max-width: 224px;
  width: 100%;
}
.feature-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--tan-light);
  border-radius: 4px;
  padding: 20px 28px;
}
.feature-icon {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon img { width: 80%; height: 80%; object-fit: contain; }
.feature-list h3 { margin-bottom: 4px; font-size: 1.05rem; color: var(--plum); font-family: var(--font-sans); font-weight: 700; }
.feature-list p { font-size: 0.9rem; margin: 0; color: #3c4a4f; }

@media (max-width: 760px) {
  .approach-grid { grid-template-columns: 1fr; gap: 28px; }
  .approach-image { order: -1; }
  .feature-list li { flex-direction: column; text-align: center; }
}

/* ---------- patients ---------- */
.patients-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.patients-image img { border-radius: 20px; width: 95%; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  line-height: 1.55;
  color: #3c4a4f;
}
.check-list-tight li { margin-bottom: 4px; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint-dark);
}
.footnote-mini { display: block; font-size: 0.78rem; color: #7a8589; margin-top: 4px; }

@media (max-width: 760px) {
  .patients-grid { grid-template-columns: 1fr; gap: 24px; }
  .patients-image { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- mechanism ---------- */
.mechanism { background: var(--mint); }
.mechanism-intro { max-width: 760px; }
.mechanism-highlight { max-width: 760px; font-size: 1.05rem; color: var(--teal); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.step { text-align: left; }
.step-icon {
  display: block;
  width: 83px;
  height: 83px;
  margin-bottom: 14px;
}
.step-icon img { width: 100%; height: 100%; object-fit: contain; }
.step h3 { color: var(--teal); text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.4px; font-family: var(--font-sans); font-weight: 700; }
.step p { font-size: 0.9rem; }

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step { display: flex; align-items: flex-start; gap: 16px; }
  .step-icon { flex: none; margin-bottom: 0; width: 64px; height: 64px; }
}

/* ---------- evidence / charts ---------- */
.section-lede { font-weight: 600; color: var(--teal); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.6px; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.chart-card, .risk-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 18px rgba(31,66,84,0.06);
}
.risk-card { margin-top: 28px; }
.chart-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--plum-light);
  margin-bottom: 8px;
}
.chart-card h3, .risk-card h3, .chart-row-text h3 { font-size: 1.1rem; margin-bottom: 10px; }
.chart-card p, .risk-card p, .chart-row-text p { font-size: 0.9rem; }
.chart-wrap { width: 100%; margin-top: 14px; }
.chart-wrap img { width: 100%; height: auto; display: block; }
.chart-wrap-wide { overflow-x: auto; }
.chart-wrap-wide img { min-width: 640px; }
.chart-wrap-donut { max-width: 260px; margin-left: auto; margin-right: auto; }
.evidence-link { text-align: center; margin-top: 8px; font-weight: 600; }
.evidence-link a { color: var(--plum); text-decoration: underline; }

.evidence-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}
.chart-row {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 18px rgba(31, 66, 84, 0.06);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.chart-row .chart-wrap { margin-top: 0; }

@media (max-width: 860px) {
  .chart-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

/* ---------- onboarding ---------- */
.onboarding { background: var(--plum); color: var(--white); }
.onboarding h2 { color: var(--white); }
.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.numbered-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.numbered-list li { display: flex; gap: 16px; align-items: flex-start; }
.numbered-list .num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #efd2ea;
  color: var(--plum);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
}
.numbered-list div { line-height: 1.55; padding-top: 4px; }
.onboarding-image { position: relative; }
.onboarding-image img:not(.decor-dots) { border-radius: 20px; position: relative; z-index: 2; }
.onboarding-image .decor-dots {
  position: absolute;
  z-index: 1;
  top: -10%;
  left: -14%;
  width: 55%;
  height: auto;
  pointer-events: none;
}

@media (max-width: 760px) {
  .onboarding-grid { grid-template-columns: 1fr; gap: 24px; }
  .onboarding-image { order: -1; }
  .onboarding-image .decor-dots { display: none; }
}

/* ---------- quote ---------- */
.quote-section { background: var(--white); }
.quote-inner { max-width: 720px; text-align: center; margin: 0 auto; }
.quote-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--plum-light);
  margin-bottom: 18px;
}
blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  color: var(--teal);
  margin: 0 0 28px;
  line-height: 1.4;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 700; margin: 0; text-align: left; }
.author-role { font-size: 0.85rem; color: #7a8589; margin: 2px 0 0; text-align: left; }

/* ---------- contact ---------- */
.contact { background: var(--plum); color: var(--white); text-align: center; }
.contact p { color: var(--white); }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-qr { border-radius: 12px; }
.contact-visit { font-weight: 600; }
.contact-visit a { color: var(--white); text-decoration: underline; }
.contact-tagline { font-family: var(--font-serif); font-size: 1.2rem; margin: 4px 0 0; }
.contact-email { margin-top: 8px; }
.contact-email a { color: var(--white); text-decoration: underline; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--plum-dark);
  color: rgba(255,255,255,0.75);
  padding: 40px 0;
  font-size: 0.75rem;
  line-height: 1.6;
}
.site-footer p { color: inherit; }
.footnotes { margin-top: 14px; font-size: 0.68rem; opacity: 0.75; }
.mrk { margin-top: 14px; opacity: 0.6; font-size: 0.68rem; }

/* ---------- page hero (content pages) ---------- */
.page-hero {
  padding: 56px 0 64px;
  border-top: 4px solid var(--plum);
}
.page-hero-inner { max-width: 720px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 400px) 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
.page-hero h1.eyebrow { margin-bottom: 14px; }
.page-hero-lede { font-family: var(--font-serif); font-size: 1.6rem; color: var(--teal); max-width: 560px; margin: 0; }

@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-image { max-width: 320px; margin: 0 auto; order: -1; }
}

.mechanism-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 48px;
  align-items: center;
}

@media (max-width: 760px) {
  .mechanism-grid { grid-template-columns: 1fr; gap: 24px; }
  .mechanism-grid .page-hero-image { max-width: 320px; margin: 0 auto; }
}

/* ---------- source links ---------- */
.source-links {
  display: block;
  font-size: 0.78rem;
  color: #7a8589;
  margin-top: 4px;
}
.source-links a { color: var(--plum); text-decoration: underline; }
.source-links .sep { margin: 0 4px; }
.source-links-spaced { margin-top: 16px; }

/* ---------- info tables ---------- */
.table-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(31,66,84,0.06);
  overflow: hidden;
  margin: 20px 0 28px;
}
.info-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.info-table thead th {
  background: var(--plum);
  color: var(--white);
  text-align: left;
  font-weight: 700;
  padding: 14px 22px;
  font-family: var(--font-sans);
}
.info-table td {
  padding: 12px 22px;
  border-bottom: 1px solid rgba(89,28,78,0.08);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: var(--tan-light); }
.info-table td:last-child { text-align: right; font-weight: 600; color: var(--plum); }
.info-table tr.is-match td { background: var(--plum); color: var(--white); }
.info-table tr.is-match td:last-child { color: var(--gold); }
.table-card-wrap { overflow-x: auto; }

/* ---------- options grid (treatment panels) ---------- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.option-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 18px rgba(31,66,84,0.06);
  display: flex;
  flex-direction: column;
}
.option-card h3 { margin-bottom: 6px; }
.option-card-highlight { border: 2px solid var(--gold); }
.option-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--teal);
  margin-bottom: 10px;
}
.option-card p { font-size: 0.92rem; }
.option-card .check-list li { font-size: 0.92rem; }
.option-card .video-embed { margin: 10px 0; }
.option-card .source-links { margin-top: auto; padding-top: 14px; }

.options-grid-bottom {
  grid-template-columns: repeat(2, 1fr);
  width: calc(66.666% - 8px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .options-grid { grid-template-columns: 1fr 1fr; }
  .options-grid-bottom { width: 100%; }
}
@media (max-width: 620px) {
  .options-grid { grid-template-columns: 1fr; }
  .options-grid-bottom { width: 100%; }
}

/* ---------- video embed ---------- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed.video-embed-link {
  display: block;
  background-size: cover;
  background-position: center;
}
.video-embed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(42, 42, 40, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.video-embed-link:hover .video-embed-play {
  background: var(--plum);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-embed-play svg { width: 28px; height: 28px; fill: var(--white); margin-left: 4px; }

/* ---------- notice / disclaimer section ---------- */
.notice-section {
  background: var(--plum-dark);
  padding: 40px 0;
}
.notice-section h3 { color: var(--white); margin-bottom: 12px; }
.notice-section p { font-size: 0.75rem; line-height: 1.6; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.notice-section p:last-child { margin-bottom: 0; }

.placeholder-link {
  color: #9aa3a6;
  text-decoration: underline dotted;
  cursor: not-allowed;
}

/* ---------- simple footer ---------- */
.simple-footer {
  padding: 28px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #7a8589;
  border-top: 1px solid rgba(89,28,78,0.1);
}
.simple-footer a { color: var(--plum); text-decoration: underline; }
.simple-footer .sep { margin: 0 8px; }

/* ---------- legal / policy page ---------- */
.policy-content h2 { margin-top: 40px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content ul { margin: 0 0 14px; padding-left: 22px; }
.policy-content li { margin-bottom: 6px; line-height: 1.6; color: #3c4a4f; }

/* ---------- BMI kalkulátor (barvy dle referenčního webu epitomee.de) ---------- */
.bmi-calc-section {
  background: var(--white);
  --bmi-accent: #e07d5a;
  --bmi-heading: #7d5ea8;
  --bmi-box-bg: #f5f0fa;
  --bmi-dark: #2c2826;
}
.bmi-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.bmi-calc-form {
  background: var(--bmi-box-bg);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.bmi-calc-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.bmi-calc-form input {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1.5px solid rgba(125,94,168,0.25);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.bmi-calc-form input:focus {
  outline: none;
  border-color: var(--bmi-heading);
}
.bmi-calc-btn { width: 100%; text-align: center; border: none; cursor: pointer; }
.bmi-calc-error { color: var(--magenta); font-size: 0.85rem; margin: 14px 0 0; }
.bmi-calc-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  background: var(--white);
  text-align: center;
}
.bmi-calc-result-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--plum);
  line-height: 1.1;
}
.bmi-calc-result-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.bmi-categories h3 { margin-bottom: 16px; }
.bmi-calc-section .info-table tr:nth-child(even) td { background: var(--bmi-box-bg); }
.bmi-calc-section .info-table td:last-child { color: var(--bmi-heading); }
.bmi-calc-section .info-table thead th { background: var(--bmi-heading); }
.bmi-calc-section .info-table tr.is-match td { background: var(--plum); color: var(--white); }
.bmi-calc-section .info-table tr.is-match td:last-child { color: var(--gold); }

#waist-table thead th { background: var(--bmi-box-bg); color: var(--ink); font-weight: 700; }
#waist-table tbody tr td { background: var(--white); }
#waist-table tbody tr td:last-child { color: var(--bmi-heading); }

@media (max-width: 760px) {
  .bmi-calc-grid { grid-template-columns: 1fr; }
}

/* ---------- Homepage (rozcestník) ---------- */
.hub-hero { padding-top: 56px; padding-bottom: 40px; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hub-card {
  display: block;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 18px rgba(31,66,84,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(31,66,84,0.14); }
.hub-card-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.hub-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hub-card-image-product img { object-fit: contain; padding: 20px; }
.hub-card-body { padding: 24px 26px 28px; }
.hub-card-body h3 { margin-bottom: 8px; }
.hub-card-body p { font-size: 0.92rem; margin-bottom: 18px; }
.hub-card-cta { font-weight: 700; color: var(--plum); font-size: 0.9rem; }

@media (max-width: 860px) {
  .hub-grid { grid-template-columns: 1fr; }
}

/* ---------- header: tlačítko Koupit ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  color: var(--plum-dark);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-buy:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--gold);
}
.btn-icon { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
@media (max-width: 560px) {
  .header-inner { justify-content: space-between; flex-wrap: wrap; row-gap: 10px; }
  .header-inner .logo-img { height: 38px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn { padding: 9px 16px; font-size: 0.84rem; }
}

/* ---------- produktová stránka ---------- */
.pp-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  border-top: 4px solid var(--plum);
  background:
    radial-gradient(1000px 520px at 88% 12%, rgba(191, 228, 221, 0.8), rgba(191, 228, 221, 0) 70%),
    radial-gradient(640px 380px at -4% 100%, rgba(255, 202, 12, 0.16), rgba(255, 202, 12, 0) 70%),
    var(--cream);
}
.pp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.pp-hero h1 { font-size: clamp(2.8rem, 1.9rem + 3.6vw, 4.6rem); line-height: 1.02; margin-bottom: 10px; }
.pp-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
  color: var(--plum);
  margin: 0 0 22px;
}
.pp-lede { font-size: 1.05rem; max-width: 520px; }
.pp-hero .hero-badges { margin: 22px 0 6px; }
.pp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-ghost { border: 1.5px solid var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--white); }
.pp-hero-visual { position: relative; }
.pp-hero-photo {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(31, 66, 84, 0.24);
  background: #d9dbe3;
}
.pp-hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 50% 100%; display: block; }
.pp-hero-chip {
  position: absolute;
  left: -34px;
  bottom: -38px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--cream);
  box-shadow: 0 18px 40px rgba(31, 66, 84, 0.28);
  background: #d9dbe3;
}
.pp-hero-chip { background: #fff; }
.pp-hero-chip img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(0.75); }

.pp-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.pp-section-head p { font-size: 1.02rem; }

/* jak funguje */
.pp-how { background: var(--mint); }
.pp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.pp-step {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  padding: 36px 24px 26px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pp-step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(31, 66, 84, 0.12); }
.pp-step-num {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(89, 28, 78, 0.3);
}
.pp-step img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 14px; display: block; }
.pp-step h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.4px; }
.pp-step p { font-size: 0.9rem; margin: 0; }
.pp-video-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}
.pp-video-row .video-embed { box-shadow: 0 24px 60px rgba(31, 66, 84, 0.22); }
.pp-video-row h3 { font-size: 1.5rem; margin-bottom: 12px; }
.pp-transcript { font-size: 0.88rem; font-style: italic; }

/* proč Epitomee */
.pp-benefits { background: var(--cream); }
.pp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pp-card {
  background: var(--white);
  border-radius: 26px;
  padding: 34px 30px 32px;
  box-shadow: 0 4px 26px rgba(31, 66, 84, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pp-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(31, 66, 84, 0.13); }
.pp-card .feature-icon { width: 84px; height: 84px; margin-bottom: 20px; background: var(--tan-light); }
.pp-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.1rem; color: var(--plum); }
.pp-card p { font-size: 0.93rem; margin: 0; }

/* balení */
.pp-pack { background: var(--white); }
.pp-pack-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.pp-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0 24px; }
.pp-fact { background: var(--tan-light); border-radius: 20px; padding: 20px 22px; }
.pp-fact b { display: block; font-family: var(--font-serif); font-size: 2.3rem; line-height: 1; color: var(--plum); margin-bottom: 6px; }
.pp-fact span { font-size: 0.85rem; color: #3c4a4f; line-height: 1.4; display: block; }
.pp-specs { list-style: none; margin: 0 0 4px; padding: 0; }
.pp-specs li { padding: 12px 0; border-top: 1px solid rgba(89, 28, 78, 0.12); font-size: 0.92rem; color: #3c4a4f; display: flex; gap: 16px; }
.pp-specs li:last-child { border-bottom: 1px solid rgba(89, 28, 78, 0.12); }
.pp-specs strong { flex: none; width: 130px; color: var(--teal); }

/* klinické hodnocení */
.pp-stats { background: var(--plum); color: var(--white); position: relative; overflow: hidden; }
.pp-stats::before {
  content: '';
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 12, 0.22), rgba(255, 202, 12, 0) 70%);
}
.pp-stats .container { position: relative; }
.pp-stats h2 { color: var(--white); }
.pp-stats .eyebrow { color: var(--gold); }
.pp-stats-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 44px; align-items: center; }
.pp-stat b { display: block; font-family: var(--font-serif); font-size: clamp(3.2rem, 2.4rem + 3vw, 5rem); line-height: 1; color: var(--gold); margin-bottom: 10px; }
.pp-stat span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.86); line-height: 1.5; display: block; }
.pp-stats-note { font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); margin: 34px 0 0; max-width: 780px; }
.pp-stats-text p { color: rgba(255, 255, 255, 0.86); }
.pp-stats .btn-ghost { border-color: var(--gold); color: var(--gold); }
.pp-stats .btn-ghost:hover { background: var(--gold); color: var(--plum-dark); }

/* pro koho + bezpečnost */
.pp-for { background: var(--cream); }
.pp-for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pp-for-photo { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(31, 66, 84, 0.18); }
.pp-for-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3.4; object-fit: cover; }
.pp-safety { background: var(--white); }
.pp-safety-wrap { max-width: 860px; margin: 0 auto; }
.pp-acc { border-radius: 18px; background: var(--cream); margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(89, 28, 78, 0.08); }
.pp-acc summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  color: var(--plum);
  position: relative;
}
.pp-acc summary::-webkit-details-marker { display: none; }
.pp-acc summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}
.pp-acc[open] summary::after { content: '\2212'; }
.pp-acc-body { padding: 0 24px 22px; font-size: 0.93rem; color: #3c4a4f; }
.pp-acc-body p { font-size: 0.93rem; }
.pp-acc-body ul { margin: 0 0 12px; padding-left: 20px; }
.pp-acc-body li { margin-bottom: 6px; line-height: 1.55; }
.pp-download { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding: 22px 26px; border-radius: 20px; background: var(--mint); }
.pp-download p { margin: 0; font-size: 0.9rem; color: var(--teal); }
.pp-download strong { display: block; font-size: 1rem; }

/* kde koupit */
.pp-buy { background: linear-gradient(135deg, var(--plum-dark), var(--plum)); position: relative; overflow: hidden; }
.pp-buy::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 12, 0.2), rgba(255, 202, 12, 0) 70%);
}
.pp-buy-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.pp-buy .eyebrow { color: var(--gold); }
.pp-buy h2 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
.pp-buy p { color: rgba(255, 255, 255, 0.85); max-width: 520px; }
.pp-seller { font-size: 0.85rem; margin: 18px 0 0; color: rgba(255, 255, 255, 0.7); }
.pp-seller strong { color: var(--white); }
.pp-buy-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
.pp-buy-actions .btn-buy { justify-content: center; }
.pp-buy-actions .pp-mail { color: var(--gold); font-size: 0.85rem; text-decoration: underline; }

@media (max-width: 960px) {
  .pp-hero-grid, .pp-pack-grid, .pp-for-grid, .pp-video-row { grid-template-columns: 1fr; gap: 48px; }
  .pp-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .pp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .pp-cards { grid-template-columns: 1fr; }
  .pp-stats-grid { grid-template-columns: 1fr 1fr; }
  .pp-stats-text { grid-column: 1 / -1; }
  .pp-buy-card { grid-template-columns: 1fr; text-align: center; }
  .pp-buy p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .pp-hero { padding: 44px 0 72px; }
  .pp-hero-chip { width: 120px; height: 120px; left: -10px; bottom: -28px; border-width: 2px; }
  .pp-steps { grid-template-columns: 1fr; }
  .pp-facts { grid-template-columns: 1fr; }
  .pp-stats-grid { grid-template-columns: 1fr; }
  .pp-specs li { flex-direction: column; gap: 2px; }
  .pp-specs strong { width: auto; }
  .pp-cta-row .btn { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; row-gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
}
.nav-link { white-space: nowrap; }

/* galerie + lightbox */
.pp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pp-g-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #dcdde4;
  box-shadow: 0 10px 26px rgba(31, 66, 84, 0.13);
  cursor: zoom-in;
}
.pp-g-item.pp-g-main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: 24px; }
.pp-g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.pp-g-item:hover img, .pp-g-item:focus-visible img { transform: scale(1.06); }
.pp-g-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pp-g-item::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(70, 22, 62, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffca0c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pp-g-item:hover::after, .pp-g-item:focus-visible::after { opacity: 1; }
.pp-inline-cta { margin-top: 26px; }
.pp-for .pp-inline-cta { margin-top: 22px; }
.pp-stats-text .btn-buy { margin-top: 6px; }

.pp-nowrap { white-space: nowrap; }
.pp-stats-note.pp-nowrap { max-width: none; }
.pp-stats-note-2 { margin-top: 6px; }
.pp-section-head-wide { max-width: none; }
@media (max-width: 960px) {
  .pp-stats-note.pp-nowrap { white-space: normal; }
}
@media (max-width: 820px) {
  h2.pp-nowrap { white-space: normal; }
}

.pp-lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 14, 28, 0.94);
  padding: 56px 72px 64px;
}
.pp-lb[hidden] { display: none; }
.pp-lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pp-lb-fig img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); user-select: none; -webkit-user-drag: none; }
.pp-lb-fig figcaption { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; text-align: center; }
.pp-lb-close, .pp-lb-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  background: var(--gold);
  color: var(--plum-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pp-lb-close:hover, .pp-lb-nav:hover { transform: scale(1.08); background: var(--white); }
.pp-lb-close { top: 18px; right: 20px; width: 44px; height: 44px; font-size: 1.9rem; }
.pp-lb-nav { top: 50%; margin-top: -26px; width: 52px; height: 52px; font-size: 2.1rem; padding-bottom: 4px; }
.pp-lb-prev { left: 16px; }
.pp-lb-next { right: 16px; }
.pp-lb-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; letter-spacing: 0.6px; }
@media (max-width: 640px) {
  .pp-lb { padding: 64px 12px 56px; }
  .pp-lb-nav { top: auto; bottom: 8px; margin-top: 0; width: 44px; height: 44px; font-size: 1.8rem; }
  .pp-lb-prev { left: calc(50% - 90px); }
  .pp-lb-next { right: calc(50% - 90px); }
  .pp-lb-count { bottom: 20px; left: calc(50% - 38px); right: calc(50% - 38px); }
}

.pp-stats .btn-buy:hover, .pp-buy .btn-buy:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--plum-dark);
}

/* galerie – vzdušnější */
.pp-gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pp-g-item { box-shadow: 0 12px 30px rgba(31, 66, 84, 0.12); }
.pp-g-item.pp-g-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1 / 1; border-radius: 26px; }

/* video: nadpis, video, přepis */
.pp-video-row {
  grid-template-areas: "video title" "video text";
  grid-template-rows: 1fr 1fr;
  column-gap: 48px;
  row-gap: 14px;
}
.pp-video-row .video-embed { grid-area: video; }
.pp-video-title { grid-area: title; align-self: end; margin: 0; }
.pp-transcript { grid-area: text; align-self: start; margin: 0; }
@media (max-width: 960px) {
  .pp-video-row {
    grid-template-areas: "title" "video" "text";
    grid-template-rows: auto;
    row-gap: 20px;
    margin-top: 48px;
  }
  .pp-video-title { align-self: auto; }
}
@media (max-width: 400px) {
  .header-inner .logo-img { height: 32px; }
  .header-actions .btn { padding: 8px 13px; font-size: 0.78rem; gap: 6px; }
  .header-actions .btn-icon { width: 15px; height: 15px; }
  .nav-link { font-size: 0.74rem; }
  .main-nav { gap: 8px 12px; }
}
@media (max-width: 340px) {
  .header-inner .logo-img { height: 28px; }
  .header-actions .btn-icon { display: none; }
}
@media (max-width: 560px) {
  .pp-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
