/* ===== Reset & základ ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --text: #3d2c1e;
  --muted: #8a7355;
  --accent: #c2641f;
  --accent-dark: #a5511680;
  --border: #e8ddcd;
  --maxw: 880px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== Horné menu ===== */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand:hover { text-decoration: none; }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text); font-size: 0.98rem; }
.nav a.active { color: var(--accent); }
.nav .ext::after { content: " ↗"; font-size: 0.8em; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--text); line-height: 1;
}

/* ===== Domov / hero ===== */
.hero { text-align: center; padding: 64px 0 48px; }
.avatar {
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--border); margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: 2.4rem; margin-bottom: 8px; }
.hero .title { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.hero .accent-line { width: 48px; height: 3px; background: var(--accent); margin: 0 auto 24px; }
.hero p.lead { max-width: 620px; margin: 0 auto 32px; }

/* ===== Tlačidlá ===== */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius);
  font-size: 0.98rem; border: 1px solid var(--accent);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a55116; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { background: #fff; text-decoration: none; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Obsahové sekcie ===== */
.page { padding: 56px 0; }
.page h1 { font-size: 2rem; margin-bottom: 8px; }
.page .accent-line { width: 48px; height: 3px; background: var(--accent); margin: 12px 0 28px; }
.page p { margin-bottom: 16px; max-width: 680px; }

/* ===== Karty aplikácií ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.app-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.app-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.app-card p { color: var(--muted); flex: 1; margin-bottom: 18px; }

/* ===== Integrálna mapa bytia — detail stránky ===== */
/* sekundárna navigácia (kotvy na sekcie) */
.imb-subnav {
  position: sticky; top: 64px; z-index: 9;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.imb-subnav .container {
  display: flex; align-items: center; gap: 22px;
  height: 52px; overflow-x: auto;
}
.imb-subnav a { color: var(--text); font-size: 0.92rem; white-space: nowrap; }
.imb-subnav a:hover { color: var(--accent); text-decoration: none; }
.imb-subnav .cta {
  margin-left: auto; color: var(--accent); font-weight: 700; white-space: nowrap;
}
.imb-subnav .cta::after { content: " ↗"; font-size: 0.8em; color: var(--muted); }


/* čakrová gradient linka — jemný dekoratívny akcent */
.chakra-line {
  width: 64px; height: 3px; border-radius: 2px; margin: 16px 0 28px;
  background: linear-gradient(90deg,#d14b3a,#dd8a2e,#d6b53f,#5aa05a,#3f78c2,#6463b8,#9a5db2);
}
.chakra-line.center { margin-left: auto; margin-right: auto; }

/* hero na detaile (krémový, vľavo zarovnaný v rámci page, ale hero centrovaný) */
.imb-hero {
  text-align: center; padding: 64px 0 40px;
  display: flex; flex-direction: column; align-items: center; gap: 44px;
}
.imb-hero-text { width: 100%; }
.imb-hero h1 { font-size: 2.4rem; margin-bottom: 12px; }
.imb-hero .lead { max-width: 620px; margin: 0 auto 28px; color: var(--muted); }

/* dekoratívna bodkovaná mapa sveta v hero (terakota na kréme) */
.hero-map { flex: 0 0 auto; width: min(460px, 84vw); }
.hero-map img { display: block; width: 100%; height: auto; opacity: 0.9; }

@media (min-width: 900px) {
  /* dva stĺpce, zarovnané na hrany kontajnera (aby „World" sedelo s obsahom nižšie).
     Kontajner --maxw 880 → vnútro 840px; mapa 320 + gap 40 + text 480 = 840, sadne bez zalomenia.
     Štatistiky sú súčasťou ľavého stĺpca, takže sa mapa vertikálne vycentruje voči
     CELEJ výške textu (nadpis → štatistiky), nie len voči odseku nad tlačidlami. */
  .imb-hero { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 40px; text-align: left; }
  .imb-hero-text { flex: 1 1 auto; max-width: 480px; text-align: left; }
  .imb-hero-text .chakra-line.center { margin-left: 0; }
  .imb-hero-text .lead { margin-left: 0; max-width: 480px; }
  .imb-hero-text .btn-row { justify-content: flex-start; }
  .imb-hero-text .stat-row { justify-content: flex-start; margin-top: 28px; }
  .hero-map { flex: 0 0 320px; width: 320px; }
}

/* Animovaný telefón s reálnymi ukážkami appky */
.imb-phone {
  flex: 0 0 auto; width: 244px;
  padding: 9px; border-radius: 2.6rem;
  background: linear-gradient(160deg, #3a3340, #221d29);
  box-shadow: 0 26px 60px rgba(61, 44, 30, 0.22), inset 0 0 0 1px rgba(255,255,255,.06);
  animation: imbFloat 6s ease-in-out infinite;
}
.imb-phone-screen {
  position: relative; width: 100%; aspect-ratio: 390 / 844;
  border-radius: 2rem; overflow: hidden; background: #fff;
}
.imb-shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; opacity: 0;
}
.imb-shot-1 { animation: imbShot 24s ease-in-out infinite; }
.imb-shot-2 { animation: imbShot 24s ease-in-out infinite; animation-delay: 6s; }
.imb-shot-3 { animation: imbShot 24s ease-in-out infinite; animation-delay: 12s; }
.imb-shot-4 { animation: imbShot 24s ease-in-out infinite; animation-delay: 18s; }
@keyframes imbShot { 0% { opacity: 0; } 2%, 22% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes imbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .imb-phone { animation: none; }
  .imb-shot { animation: none; }
  .imb-shot-1 { opacity: 1; }
}

/* GoGym animovaný telefón — 5 scén (Učenie Q&A ×2 · Výber témy · Diktáty · Pracovný list), cross-fade 30s */
.gp-screen { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #374151; }
.gp-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px 4px; font-size: 10px; color: #9ca3af; }
.gp-net { display: inline-flex; align-items: center; gap: 4px; }
.gp-dot { width: 6px; height: 6px; border-radius: 999px; background: #4ade80; display: inline-block; }
.gp-scene { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; padding: 0 14px; }
.gp-sc1 { animation: gp5a 30s ease-in-out infinite; }
.gp-sc2 { animation: gp5b 30s ease-in-out infinite; }
.gp-sc3 { animation: gp5c 30s ease-in-out infinite; }
.gp-sc4 { animation: gp5d 30s ease-in-out infinite; }
.gp-sc5 { animation: gp5e 30s ease-in-out infinite; }
@keyframes gp5a { 0% { opacity: 0; } 1.5%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes gp5b { 0%, 20% { opacity: 0; } 21.5%, 38% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes gp5c { 0%, 40% { opacity: 0; } 41.5%, 58% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes gp5d { 0%, 60% { opacity: 0; } 61.5%, 78% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes gp5e { 0%, 80% { opacity: 0; } 81.5%, 98% { opacity: 1; } 100% { opacity: 0; } }

/* — Učenie — */
.gp-bar2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gp-brand { font-weight: 800; font-size: 15px; color: #111827; }
.gp-streak2 { color: #f97316; font-weight: 700; font-size: 12px; }
.gp-card { border-radius: 16px; background: #f9fafb; border: 1px solid #e5e7eb; padding: 13px; }
.gp-qnum { font-size: 10px; color: #7c3aed; font-weight: 700; margin-bottom: 7px; }
.gp-q { font-size: 15px; font-weight: 700; line-height: 1.3; color: #111827; margin-bottom: 12px; }
.gp-opts { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.gp-opt { border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; padding: 8px 13px; color: #374151; display: flex; align-items: center; justify-content: space-between; }
.gp-ok { background: #dcfce7; border-color: #4ade80; color: #15803d; }
.gp-check { color: #16a34a; font-weight: 700; }
.gp-xpwrap { position: relative; margin-top: 16px; }
.gp-xpbadge { position: absolute; right: 0; top: -22px; border-radius: 999px; background: #dcfce7; border: 1px solid #86efac; padding: 3px 9px; font-size: 10px; font-weight: 700; color: #15803d; }
.gp-level { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #9ca3af; margin-bottom: 4px; }
.gp-lvl { font-weight: 700; color: #374151; }
.gp-xpnum { margin-left: auto; }
.gp-xptrack { height: 8px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.gp-xp { height: 100%; width: 64%; border-radius: 999px; background: linear-gradient(90deg, #8b5cf6, #3b82f6); }
.gp-wrong { background: #fef2f2; border-color: #f87171; color: #b91c1c; }
.gp-x { color: #dc2626; font-weight: 700; }
.gp-panel { margin-top: 12px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; padding: 11px; }
.gp-panel-h { font-size: 11px; font-weight: 700; color: #92400e; margin-bottom: 8px; }
.gp-step { display: flex; align-items: flex-start; gap: 8px; border-radius: 10px; background: #fff; border: 1px solid #fef3c7; padding: 7px; margin-bottom: 6px; }
.gp-step:last-child { margin-bottom: 0; }
.gp-step-n { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 999px; background: #fde68a; color: #92400e; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gp-step p { font-size: 10px; line-height: 1.35; color: #374151; }

/* — Učenie: výber témy (scéna 3) — */
.gp-l-h { font-size: 14px; font-weight: 800; color: #111827; line-height: 1.2; }
.gp-l-sub { font-size: 9px; color: #6b7280; margin-bottom: 8px; }
.gp-l-weak { border-radius: 12px; background: linear-gradient(90deg, #ef4444, #f97316); color: #fff; padding: 8px 10px; margin-bottom: 6px; box-shadow: 0 2px 8px rgba(239,68,68,.25); }
.gp-l-weak-t { font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.gp-l-weak-d { font-size: 8px; opacity: .9; }
.gp-l-mix { border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; padding: 7px 10px; font-size: 11px; font-weight: 700; color: #374151; margin-bottom: 9px; }
.gp-l-label { font-size: 8px; font-weight: 700; color: #9ca3af; margin-bottom: 5px; }
.gp-l-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.gp-chip { display: flex; align-items: center; gap: 5px; border-radius: 9px; border: 1px solid #e5e7eb; background: #fff; padding: 5px 7px; }
.gp-chip-box { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 3px; border: 1px solid #d1d5db; }
.gp-chip-t { font-size: 9px; font-weight: 600; color: #374151; flex: 1; }
.gp-chip-weak { font-size: 7px; font-weight: 700; color: #ef4444; background: #fef2f2; padding: 1px 4px; border-radius: 4px; }

/* — Diktáty — */
.gp-d-title { font-weight: 800; font-size: 15px; color: #7c3aed; margin-bottom: 8px; }
.gp-d-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.gp-d-chip { border-radius: 8px; color: #fff; font-size: 10px; font-weight: 700; padding: 5px 8px; text-align: center; }
.gp-chip-pink { background: linear-gradient(90deg, #ec4899, #f43f5e); }
.gp-chip-violet { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
.gp-d-sub { font-size: 11px; font-weight: 700; color: #374151; margin-bottom: 7px; }
.gp-d-modes { display: flex; flex-direction: column; gap: 6px; }
.gp-mode { display: flex; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid #f3f4f6; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 6px 8px; }
.gp-mode-ic { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: #ede9fe; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.gp-ic-green { background: #d1fae5; }
.gp-mode-t { font-size: 11px; font-weight: 700; color: #1f2937; display: flex; align-items: center; gap: 4px; }
.gp-badge { font-size: 8px; font-weight: 700; color: #8b5cf6; }
.gp-mode-d { font-size: 9px; color: #6b7280; }

/* — Pracovný list — */
.gp-w-title { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: #111827; margin-bottom: 10px; }
.gp-w-form { border-radius: 16px; border: 1px solid #e5e7eb; background: #f9fafb; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.gp-field-l { font-size: 10px; font-weight: 700; color: #4b5563; margin-bottom: 3px; }
.gp-field-v { border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; padding: 6px 10px; font-size: 12px; color: #1f2937; }
.gp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gp-w-btn { border-radius: 12px; background: linear-gradient(90deg, #8b5cf6, #3b82f6); color: #fff; font-size: 12px; font-weight: 700; padding: 9px; text-align: center; box-shadow: 0 4px 12px rgba(99,102,241,.3); margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .gp-sc1, .gp-sc2, .gp-sc3, .gp-sc4, .gp-sc5 { animation: none; }
  .gp-sc1 { opacity: 1; }
  .gp-sc2, .gp-sc3, .gp-sc4, .gp-sc5 { opacity: 0; }
}

/* štatistiky */
.stat-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(24px, 6vw, 64px); margin: 36px 0 8px;
}
.stat { text-align: center; }
.stat .n { font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat .l { font-size: 0.85rem; color: var(--muted); }

/* sekcie na detaile */
.imb-section { padding: 48px 0 8px; scroll-margin-top: 128px; }
.imb-section > h2 { font-size: 1.6rem; margin-bottom: 6px; }
.imb-section .sub { color: var(--muted); max-width: 680px; margin-bottom: 24px; }

/* osobný príbeh „Prečo vznikla" */
.imb-story {
  max-width: 720px; padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.imb-story h2 { font-size: 1.6rem; margin-bottom: 14px; }
.imb-story p {
  font-size: 1.08rem; line-height: 1.7; color: var(--text);
  margin-bottom: 12px; font-style: italic;
}
.imb-story p:last-child { margin-bottom: 0; }
.imb-story .imb-story-by { font-style: normal; font-size: 0.95rem; color: var(--muted); margin-top: 14px; }

/* grid 16 systémov */
.sys-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px;
}
@media (min-width: 560px) { .sys-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .sys-grid { grid-template-columns: 1fr 1fr 1fr; } }
.sys {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  cursor: pointer; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.sys:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(61, 44, 30, 0.08); border-color: var(--accent); }
.sys:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sys.open { border-color: var(--accent); background: var(--bg); }
.sys-body { flex: 1 1 auto; min-width: 0; }
.sys .ico { flex: 0 0 auto; color: var(--accent); margin-top: 2px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.sys .ico svg { display: block; width: 24px; height: 24px; }
.sys:hover .ico { transform: scale(1.12); }
.sys.open .ico { transform: scale(1.18) rotate(-6deg); }
.sys h4 { font-size: 1rem; margin-bottom: 3px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sys p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.sys-chev {
  flex: 0 0 auto; color: var(--accent); font-size: 1.25rem; line-height: 1;
  transition: transform .3s ease; transform: rotate(0deg); opacity: .7;
}
.sys:hover .sys-chev { opacity: 1; }
.sys.open .sys-chev { transform: rotate(90deg); }
.sys-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(135deg, #d4af37, #b8860b); color: #1a1206; vertical-align: middle; }
/* Rozbaliteľné vysvetlenie — plynulé roztvorenie cez grid-rows */
.sys-about-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.sys.open .sys-about-wrap { grid-template-rows: 1fr; }
.sys-about {
  overflow: hidden; min-height: 0;
  font-size: 0.85rem; color: var(--text); line-height: 1.55;
  padding-top: 10px; border-top: 1px dashed var(--border);
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.sys.open .sys-about { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .sys, .sys .ico, .sys-chev, .sys-about-wrap, .sys-about { transition: none; }
  .sys:hover { transform: none; }
}

/* FAQ — rozbaliteľné otázky */
.faq-list { display: grid; gap: 12px; margin-top: 8px; max-width: 760px; }
.faq {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.faq:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(61, 44, 30, 0.06); }
.faq:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq.open { border-color: var(--accent); background: var(--bg); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq-chev {
  flex: 0 0 auto; color: var(--accent); font-size: 1.3rem; line-height: 1;
  opacity: .7; transition: transform .3s ease;
}
.faq:hover .faq-chev { opacity: 1; }
.faq.open .faq-chev { transform: rotate(90deg); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden; min-height: 0;
  font-size: 0.92rem; line-height: 1.6; color: var(--muted);
  padding-top: 10px;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.faq.open .faq-a { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .faq, .faq-chev, .faq-a-wrap, .faq-a { transition: none; }
}

/* funkcie */
.feat-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px;
}
@media (min-width: 640px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .feat-grid { grid-template-columns: 1fr 1fr 1fr; } }
.feat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.feat .fico {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 14px;
  display: grid; place-items: center; color: var(--accent);
  background: #fbeede; border: 1px solid var(--border);
}
.feat .fico svg { width: 22px; height: 22px; display: block; }
.feat h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 0.92rem; }

/* pre koho */
.who-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px;
}
@media (min-width: 760px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.who .tag {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.who h3 { font-size: 1.35rem; margin: 8px 0 10px; }
.who > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 4px; }
.who ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.who li { display: flex; gap: 10px; color: var(--text); font-size: 0.92rem; }
.who li::before { content: '✦'; color: var(--accent); flex: 0 0 auto; }

/* cena */
.price-wrap {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px;
  max-width: 760px;
}
@media (min-width: 700px) { .price-wrap { grid-template-columns: 1fr 1fr; } }
.price {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column;
}
.price.featured { border-color: var(--accent); background: #fdf3e7; }
.price .ribbon {
  position: absolute; top: 20px; right: -52px; transform: rotate(45deg);
  width: 180px; text-align: center;
  background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 4px 0;
}
.price h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price .amount { font-size: 2rem; font-weight: 700; color: var(--text); margin: 2px 0; }
.price .amount small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.price .was { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.price .was s { text-decoration-color: var(--accent); }
.price .value-note {
  font-size: 0.86rem; color: var(--text); background: #fbeede;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 16px;
}
.price .value-note b { color: var(--accent); }
.price .desc { color: var(--muted); font-size: 0.9rem; margin: 8px 0 16px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1; }
.price li { display: flex; gap: 9px; font-size: 0.9rem; }
.price li::before { content: '✓'; color: var(--accent); font-weight: 700; flex: 0 0 auto; }
.price .btn { width: 100%; text-align: center; }

/* záverečné CTA */
.final-cta {
  text-align: center; margin-top: 48px;
  background: #fdf3e7; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px 28px;
}
.final-cta h2 { font-size: 1.7rem; margin-bottom: 10px; }
.final-cta p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }

/* ===== Pätička ===== */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 48px;
  padding: 28px 0; color: var(--muted); font-size: 0.9rem;
}
.site-footer .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.site-footer a { color: var(--muted); }

/* ===== Mobil ===== */
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; width: 100%; border-top: 1px solid var(--border); }
  .hero h1 { font-size: 1.9rem; }
}

/* ── Ohlasy / social proof ─────────────────────────────────────────── */
.tmb-stats {
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center;
  margin: 4px 0 26px; text-align: center;
}
.tmb-stats .s { min-width: 120px; }
.tmb-stats .s .n { font-size: 1.9rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.tmb-stats .s .l { font-size: 0.85rem; color: var(--muted); }
.tmb-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 560px) { .tmb-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tmb-grid { grid-template-columns: 1fr 1fr 1fr; } }
.tmb {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.tmb-text { font-size: 0.96rem; line-height: 1.55; color: var(--text); }
.tmb-name { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.tmb-foot {
  text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 18px;
}

/* Viac cenových kariet (Bezplatné + Trial + Osobný + Pro) — auto-fit */
.price-wrap.three { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); max-width: none; }
.price .tier-bad {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--border); color: var(--muted); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 8px; text-transform: uppercase;
}
.price .tier-feats { list-style: none; padding: 0; margin: 4px 0 16px; }
.price .tier-feats li { padding: 4px 0 4px 22px; position: relative; font-size: 0.92rem; color: var(--text); }
.price .tier-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price .tier-feats li.no::before { content: "✗"; color: #b9433a; }
.price .tier-feats li.no { color: var(--muted); }
.price .price-link {
  font-weight: 600; color: var(--accent); text-decoration: none; font-size: 0.95rem;
  margin: 2px 0 14px; display: inline-block;
}
.price .price-link:hover { text-decoration: underline; }

/* ============ CV stránka (cv.html) — moderný exec vzhľad, scoped ============ */

/* Jazyková viditeľnosť: default SK, prepína html[lang] */
[data-lang="en"] { display: none; }
html[lang="en"] [data-lang="en"] { display: inline; }
html[lang="en"] [data-lang="sk"] { display: none; }
/* blokové elementy s data-lang (p/li/article) */
html[lang="en"] p[data-lang="en"], html[lang="en"] li[data-lang="en"] { display: list-item; }
p[data-lang="en"] { display: none; }
html[lang="en"] p[data-lang="en"] { display: block; }

.cv-page {
  background: #ffffff;
  color: #1f2328;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
.cv-page-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 28px 64px;
}
.cv-page a { color: var(--accent); text-decoration: none; }
.cv-page a:hover { text-decoration: underline; }

.cv-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.cv-back { font-size: .9rem; color: #57606a !important; }
.cv-controls { display: flex; align-items: center; gap: 12px; }
.cv-lang-switch { display: inline-flex; border: 1px solid #d0d7de; border-radius: 6px; overflow: hidden; }
.cv-lang-switch button {
  border: 0; background: #fff; color: #57606a; padding: 6px 12px;
  font: inherit; font-size: .85rem; cursor: pointer;
}
.cv-lang-switch button.active { background: var(--accent); color: #fff; }
.cv-print {
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  padding: 7px 16px; border-radius: 6px; font: inherit; font-size: .85rem; cursor: pointer;
}
.cv-print:hover { opacity: .9; }

.cv-header { display: flex; gap: 24px; align-items: center; margin-bottom: 36px; }
.cv-photo { width: 120px; height: 120px; border-radius: 10px; object-fit: cover; flex: none; }
.cv-id h1 { margin: 0 0 4px; font-size: 2rem; letter-spacing: -.01em; }
.cv-title { margin: 0 0 10px; color: var(--accent); font-weight: 600; font-size: 1.05rem; }
.cv-meta { margin: 0; font-size: .92rem; color: #57606a; }

.cv-section { margin-bottom: 30px; }
.cv-section > h2 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  color: #57606a; border-bottom: 2px solid var(--accent);
  padding-bottom: 6px; margin: 0 0 16px;
}
.cv-item { margin-bottom: 20px; }
.cv-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cv-item-head strong { font-size: 1.08rem; }
.cv-item-date { color: #57606a; font-size: .85rem; white-space: nowrap; }
.cv-item-role { margin: 8px 0 4px; font-weight: 600; color: #1f2328; }
.cv-item ul { margin: 4px 0 0; padding-left: 18px; }
.cv-item li { margin-bottom: 5px; }

.cv-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cv-tag { background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 6px; padding: 6px 12px; font-size: .88rem; }
.cv-certs, .cv-langs { margin: 0; padding-left: 18px; }
.cv-certs li, .cv-langs li { margin-bottom: 4px; }
.cv-note { color: #57606a; font-size: .92rem; margin: 8px 0 0; }

.cv-highlights { list-style: none; margin: 0; padding: 0; }
.cv-highlights li { position: relative; padding-left: 22px; margin-bottom: 9px; line-height: 1.55; }
.cv-highlights li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}
.cv-highlights strong { font-weight: 600; color: #1f2328; }

@media (max-width: 640px) {
  .cv-header { flex-direction: column; text-align: center; }
  .cv-item-head { flex-direction: column; }
}

@media print {
  .cv-topbar, .cv-back, .cv-controls, .cv-lang-switch, .cv-print { display: none !important; }
  .cv-page { color: #000; font-size: 11pt; }
  .cv-page-wrap { max-width: none; margin: 0; padding: 0; }
  .cv-page a { color: #000; }
  .cv-title { color: var(--accent); }
  .cv-section > h2 { border-bottom-color: var(--accent); }
  .cv-item, .cv-section, .cv-tag { break-inside: avoid; }
  .cv-section > h2 { break-after: avoid; }
  @page { size: A4; margin: 16mm 14mm; }
}

/* ===== Cestovanie ===== */
.cestovanie-page .map-wrap { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px; overflow: hidden; }
.cestovanie-page #map { width: 100%; height: auto; display: block; cursor: grab; }
.cestovanie-page #map path.land { fill: #f0e7d8; stroke: #e0d3bf; stroke-width: .3; }
.cestovanie-page #map path.visited { fill: var(--accent); stroke: #fff; stroke-width: .3; }
.cestovanie-page #map path.planned { fill: #f0c69a; stroke: var(--accent); stroke-width: .9; stroke-dasharray: 1.5 1.2; }
.cestovanie-page #map circle.dot { fill: var(--accent); stroke: #fff; stroke-width: .6; }
.cestovanie-page #map circle.dot-planned { fill: #f0c69a; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 1.5 1.2; }
.cestovanie-page #map-tip { position: fixed; pointer-events: none; background: var(--text);
  color: #fff; padding: 6px 10px; border-radius: 8px; font-size: .85rem; opacity: 0; transition: opacity .1s; z-index: 50; }
/* [hidden] musí prebiť display:flex/inline-flex nižšie (skrývanie prepínača a legendy,
   keď je wishlist „Kam plánujem" prázdny) */
.cestovanie-page [hidden] { display: none !important; }
.cestovanie-page .map-toggle { display: flex; gap: 8px; justify-content: center; margin: 0 0 12px; }
.cestovanie-page .map-toggle button { border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-family: inherit; padding: 6px 14px; border-radius: 20px; cursor: pointer; }
.cestovanie-page .map-toggle button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.cestovanie-page .legend { display: flex; gap: 20px; justify-content: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.cestovanie-page .legend span { display: inline-flex; align-items: center; gap: 7px; }
.cestovanie-page .legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }

.cestovanie-page .cov-row { display: grid; grid-template-columns: 180px 1fr 96px; align-items: center; gap: 14px; margin: 12px 0; }
.cestovanie-page .cov-name { color: var(--text); font-size: .95rem; }
.cestovanie-page .cov-track { background: #efe6d7; border-radius: 6px; height: 16px; overflow: hidden; }
.cestovanie-page .cov-fill { background: var(--accent); height: 100%; border-radius: 6px; }
.cestovanie-page .cov-val { text-align: right; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .cestovanie-page .cov-row { grid-template-columns: 120px 1fr 78px; gap: 8px; } }

.cestovanie-page .cont-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.cestovanie-page .cont-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.cestovanie-page .cont-head.js-toggle { cursor: pointer; }
.cestovanie-page .cont-head h3 { margin: 0; font-size: 1.15rem; }
.cestovanie-page .cont-head .cnt { color: var(--muted); font-size: .9rem; }
.cestovanie-page .trip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; padding: 0 18px 16px; }
.cestovanie-page .trip-grid[hidden] { display: none; }
@media (min-width: 700px) { .cestovanie-page .trip-grid { grid-template-columns: 1fr 1fr 1fr; } }
.cestovanie-page .tc { padding: 8px 0; border-top: 1px solid var(--border); }
.cestovanie-page .tc .row1 { display: flex; align-items: center; gap: 9px; }
.cestovanie-page .flag { font-size: 1.15rem; line-height: 0; flex: none; }
.cestovanie-page .flag .fi { vertical-align: middle; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cestovanie-page .tc .nm { font-weight: 600; }
.cestovanie-page .tc .yr { margin-left: auto; color: var(--muted); font-size: .82rem; }
.cestovanie-page .tc .exp { color: var(--muted); font-size: .85rem; font-style: italic; margin: 2px 0 0 27px; }

.cestovanie-page .plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.cestovanie-page .plan .row1 { display: flex; align-items: center; gap: 9px; }
.cestovanie-page .plan p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

.cestovanie-page .country-panel { position: fixed; top: 0; right: 0; width: 320px; max-width: 90vw; height: 100%;
  background: var(--surface); border-left: 1px solid var(--border); box-shadow: -6px 0 24px rgba(0,0,0,.08);
  padding: 24px; transform: translateX(100%); transition: transform .2s; z-index: 60; overflow-y: auto; }
.cestovanie-page .country-panel.open { transform: translateX(0); }
.cestovanie-page .country-panel .panel-flag { font-size: 2.8rem; line-height: 0; margin-bottom: 8px; }
.cestovanie-page .country-panel .panel-flag .fi { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.cestovanie-page .country-panel .panel-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 1.6rem; color: var(--muted); cursor: pointer; }
.cestovanie-page .country-panel .panel-exp { font-style: italic; color: var(--muted); }
@media (max-width: 640px) { .cestovanie-page .country-panel { width: 100%; height: auto; bottom: 0; top: auto; transform: translateY(100%); border-left: 0; border-top: 1px solid var(--border); }
  .cestovanie-page .country-panel.open { transform: translateY(0); } }

/* jazykový prepínač (reuse vizuálu z CV, ale vlastná trieda) */
.cestovanie-page .cest-lang { display: flex; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.cestovanie-page .cest-lang button { border: 0; background: transparent; padding: 5px 12px; font-family: inherit; color: var(--muted); cursor: pointer; }
.cestovanie-page .cest-lang button.on { background: var(--accent); color: #fff; }

/* dvojjazyčnosť: skryté texty podľa data-lang na body */
body[data-lang='en'] .cestovanie-page .lang-sk { display: none; }
body:not([data-lang='en']) .cestovanie-page .lang-en { display: none; }
