/* ==========================================================================
   WyxMedia v16 — tmavý styl jako na Instagramu
   Tmavé pozadí, jemná fialová a zlatá záře, levandulový akcent (kurzíva
   Instrument Serif), bílé pásy (třída .v16-light) a rozložení inspirované
   fundedmind.cz. Načítá se na všech stránkách jako POSLEDNÍ styl (po v14.css).
   Barvy: fialová záře --glow-violet, zlatá --glow-gold, akcent --lav.
   ========================================================================== */

@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* tmavé barvy (stejné jako IG šablona) */
  --bg: #0B0B0C;
  --bg-soft: #121214;
  --bg-card: #141416;
  --bg-card-2: #1D1D20;
  --border: #2A2A2D;
  --border-soft: #232326;
  --line: #262629;
  --text: #F5F5F2;
  --text-muted: #A3A3A0;
  --text-dim: #77777A;
  --accent: #F5F5F2;
  --ok: #8FD6B5;

  /* značka: levandulový akcent + záře */
  --lav: #B4A9EE;
  --lav-strong: #9C8CF2;
  --glow-violet: 124, 108, 240;   /* rgb */
  --glow-gold: 214, 168, 104;     /* rgb */
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;

  /* v14 „studio“ prvky v tmavém: tečky a výběr v barvě značky */
  --canvas: #0B0B0C;
  --dot: rgba(245, 245, 242, .07);
  --sel: #8E7CF5;
  --sel-soft: rgba(142, 124, 245, .14);
  --ink: #0B0B0C;
  color-scheme: dark;
}

::selection { background: var(--sel); color: #fff; }
body { background-color: var(--canvas); }

/* levandulový akcent: kurzíva se serifem (jako „UKÁZKA“ na IG) */
h1 em, h2 em, .wh-claim em, .w-night h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--lav); letter-spacing: -0.01em;
}
.wh-claim em { font-size: 1.04em; }

/* ---------- jemná záře (fialová + zlatá) ---------- */
.wh::before, .wh::after, .w-host::after, .st-bot::before, .st-final::before, .w-night::before {
  content: ""; position: absolute; pointer-events: none; border-radius: 50%; z-index: 0;
}
/* hero hlavní stránky: fialová vpravo nahoře, zlatá vlevo dole */
.wh::before { width: 1000px; height: 1000px; right: -260px; top: -420px;
  background: radial-gradient(circle, rgba(var(--glow-violet), .30) 0%, rgba(var(--glow-violet), .10) 38%, rgba(var(--glow-violet), 0) 68%); }
.wh::after { width: 900px; height: 900px; left: -320px; bottom: -520px;
  background: radial-gradient(circle, rgba(var(--glow-gold), .20) 0%, rgba(var(--glow-gold), .06) 40%, rgba(var(--glow-gold), 0) 68%); }
/* podstránky: jemná fialová záře za nadpisem */
.w-host::after { width: 820px; height: 820px; right: -240px; top: -380px; z-index: -1;
  background: radial-gradient(circle, rgba(var(--glow-violet), .22) 0%, rgba(var(--glow-violet), 0) 66%); }
@media (max-width: 760px) {
  .wh::before { width: 640px; height: 640px; right: -300px; top: -260px; }
  .wh::after { width: 560px; height: 560px; left: -300px; bottom: -280px; }
  .w-host::after { width: 520px; height: 520px; right: -280px; top: -240px; }
}

/* ---------- navigace: tmavá skleněná pilulka ---------- */
.nav, .nav.is-scrolled { background: rgba(18, 18, 21, .92) !important; border: 1px solid rgba(245, 245, 242, .08) !important; box-shadow: 0 18px 44px -20px rgba(0, 0, 0, .7) !important; }
.nav.is-scrolled { border-color: rgba(245, 245, 242, .12) !important; }
.nav .nav-logo img { filter: none; }
.nav-links a:not(.btn):not(.nav-person) { color: var(--text-muted); }
.nav-links a:not(.btn):not(.nav-person):hover { color: var(--text); }
.nav-config { background: var(--text) !important; color: var(--bg) !important; border-color: var(--text) !important; }
.nav-person { background: rgba(245, 245, 242, .06); color: var(--text); }
.nav-toggle span { background: var(--text); }
@media (max-width: 860px), (hover: none) { .kf-bar { background: rgba(20, 20, 24, .97) !important; } }

/* ---------- mobilní menu (oprava: text měl barvu pozadí) ---------- */
@media (max-width: 860px) {
  .mobile-menu { background: rgba(11, 11, 12, .985); overflow: hidden; }
  .mobile-menu::before, .mobile-menu::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; z-index: -1; }
  .mobile-menu::before { width: 560px; height: 560px; right: -260px; top: -200px; background: radial-gradient(circle, rgba(var(--glow-violet), .28) 0%, rgba(var(--glow-violet), 0) 66%); }
  .mobile-menu::after { width: 520px; height: 520px; left: -280px; bottom: -260px; background: radial-gradient(circle, rgba(var(--glow-gold), .18) 0%, rgba(var(--glow-gold), 0) 66%); }
  .mobile-menu-links a { color: var(--text); border-bottom-color: var(--line); }
  .mobile-menu-links a:active { color: var(--lav); }
  .mm-num { color: var(--lav); opacity: .8; }
  .mobile-menu .btn-primary { background: var(--text); color: var(--bg); }
  .mobile-menu .btn-outline { background: rgba(245, 245, 242, .06); color: var(--text); border-color: var(--border); }
  .mobile-menu-social a { color: var(--text-muted); border-color: var(--border); }
  .mobile-menu .lang-toggle { border-color: var(--border); }
}

/* ---------- přepínač jazyka, tlačítka ---------- */
.lang-btn.is-active { background: var(--text); color: var(--bg); }
.btn-outline { background: rgba(245, 245, 242, .06); color: var(--text); border-color: rgba(245, 245, 242, .1); }
.btn-outline:hover { border-color: rgba(245, 245, 242, .3); }
.eyebrow::before { background: var(--lav); box-shadow: 0 0 0 3px rgba(var(--glow-violet), .22); }

/* ---------- hero hlavní stránky (v14 prvky v tmavém) ---------- */
.wh-grid { z-index: 2; }
.wh-clock { background: rgba(245, 245, 242, .05); border-color: var(--border); color: var(--text-muted); }
.wh-clock .wh-time { color: var(--text); }
.wh-kw { color: var(--text-muted); }
.wh-browser { box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .85), 0 0 0 6px rgba(245, 245, 242, .05), 0 0 120px -30px rgba(var(--glow-violet), .35); border-color: #2A2A2D; }
.wh-bar { background: #17171A; border-bottom-color: #26262A; }
.wh-bar i { background: #3A3A3F; }
.wh-url { background: #222226; color: var(--text-muted); }
.wh-obor { color: var(--lav); }
.wh-chat { background: #141416; color: var(--text); border: 1px solid rgba(245, 245, 242, .1); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8); }
.wh-chat b { color: var(--lav); opacity: 1; }
.wh-toast { background: #141416; border-color: #2A2A2D; color: var(--text); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); }
.wh-toast .ic { background: rgba(var(--glow-violet), .18); color: var(--lav); }
.wh-steps li { background: rgba(245, 245, 242, .04); border-color: var(--border); color: var(--text-dim); }
.wh-steps li.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.wh-steps li.done { color: var(--text); }

/* ---------- fakta pod hero: pás jako hodnocení na fundedmind ---------- */
.st-facts { border-color: var(--line); background: linear-gradient(180deg, rgba(245, 245, 242, .02), rgba(245, 245, 242, 0)); border-radius: 0; }
.st-fact { text-align: center; border-left-color: var(--line); }
.st-fact strong { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- 01 PRÁCE: záložky + náhled (rozložení podle fundedmind) ---------- */
.v16-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 0 28px; padding: 0; list-style: none; }
.v16-tabs::-webkit-scrollbar { display: none; }
.v16-tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 16px; font: 600 15px/1 var(--font-display); color: var(--text-dim); cursor: pointer; transition: color .25s, border-color .25s; white-space: nowrap; }
.v16-tab:hover { color: var(--text-muted); }
.v16-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--lav); }
.v16-panels { position: relative; }
.v16-panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.v16-panel[hidden] { display: none !important; }
.v16-panel.is-in { animation: v16-in .55s var(--ease) both; }
@keyframes v16-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.v16-panel .st-browser { align-self: start; }
.v16-panel .st-screen { aspect-ratio: 1400 / 820; }
.v16-side { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.v16-side::before { content: ""; position: absolute; width: 380px; height: 380px; right: -160px; top: -180px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(var(--glow-violet), .22), rgba(var(--glow-violet), 0) 66%); }
.v16-side > * { position: relative; }
.v16-side h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.v16-side p { font-size: 15px; line-height: 1.6; }
.v16-side .st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v16-side .btn { margin-top: auto; align-self: flex-start; }
.v16-work-note { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.v16-work-note .st-small { margin: 0; }
@media (max-width: 900px) {
  .v16-panel { grid-template-columns: 1fr; }
  .v16-tabs { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
}

/* ---------- bílé pásy (služby + pro koho) ---------- */
.v16-light {
  --bg: #F5F5F2; --bg-soft: #EDECE7; --bg-card: #FFFFFF; --bg-card-2: #F4F3EF;
  --border: #DEDBD3; --border-soft: #E6E3DC; --line: #E2DFD8;
  --text: #0B0B0C; --text-muted: #55534E; --text-dim: #85827A; --accent: #0B0B0C;
  --lav: #6E5BD6; --sel-soft: rgba(110, 91, 214, .1);
  color-scheme: light;
  position: relative; color: var(--text); background: var(--bg);
  box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax);
}
.v16-light.divider { border-top-color: transparent; }
.v16-light + .v16-light { padding-top: clamp(24px, 4vw, 48px); }
.v16-light .st-service, .v16-light .st-obor { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11, 11, 12, .02), 0 18px 40px -28px rgba(11, 11, 12, .18); }
.v16-light .st-service:hover, .v16-light .st-obor:hover { border-color: #CFCBC2; }
.v16-light .st-icon { background: #F1EFEA; color: #0B0B0C; }
.v16-light .st-chips li { background: #F4F3EF; color: var(--text-muted); }
.v16-light .eyebrow::before { background: var(--lav); box-shadow: 0 0 0 3px rgba(110, 91, 214, .15); }
.v16-light .st-arrow { stroke: currentColor; }
.v16-light::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: min(900px, 90vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(var(--glow-violet), .35), rgba(var(--glow-gold), .35), transparent); }

/* ---------- 04 CHATBOT: široká karta se září (jako komunita na fundedmind) ---------- */
#chatbot { box-shadow: none !important; clip-path: none !important; background: transparent !important; }
.st-bot { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #151518 0%, #111113 100%); border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 64px); }
.st-bot::before { width: 760px; height: 760px; left: -240px; bottom: -460px; z-index: -1; background: radial-gradient(circle, rgba(var(--glow-gold), .16) 0%, rgba(var(--glow-gold), 0) 66%); }
.st-bot::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; z-index: -1; width: 820px; height: 820px; right: -300px; top: -420px; background: radial-gradient(circle, rgba(var(--glow-violet), .24) 0%, rgba(var(--glow-violet), 0) 66%); }
.st-bot .st-chat { background: rgba(11, 11, 12, .7); border-color: var(--border); }
.st-msg.me { background: var(--text); color: var(--bg); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--bg-card); border-color: var(--line); }
.faq-item.is-open { border-color: rgba(var(--glow-violet), .45); }
.faq-q .plus::before, .faq-q .plus::after { background: var(--lav); }

/* ---------- závěrečná výzva: bílá karta + koláž ukázek ---------- */
.st-final { position: relative; isolation: isolate; overflow: hidden; background: #F5F5F2; color: #0B0B0C; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.st-final::before { width: 700px; height: 700px; right: -220px; bottom: -380px; z-index: -1; background: radial-gradient(circle, rgba(var(--glow-violet), .30) 0%, rgba(var(--glow-violet), 0) 66%); }
.st-final::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; z-index: -1; width: 600px; height: 600px; left: -260px; top: -320px; background: radial-gradient(circle, rgba(var(--glow-gold), .22) 0%, rgba(var(--glow-gold), 0) 66%); }
.st-final h2 { color: #0B0B0C; }
.st-final h2 em { color: #6E5BD6; }
.st-final p { color: #55534E; }
.st-final .btn-primary { background: #0B0B0C; color: #F5F5F2; }
.st-final .btn-outline { background: rgba(11, 11, 12, .06); color: #0B0B0C; border-color: transparent; }
.st-final .btn-outline:hover { background: rgba(11, 11, 12, .1); }
.st-final-actions { flex-direction: row; flex-wrap: wrap; margin-top: 28px; }
.st-final-actions .btn { justify-content: center; }
.v16-collage { position: relative; height: clamp(240px, 26vw, 340px); }
.v16-collage img { position: absolute; width: 74%; height: auto; border-radius: 12px; border: 1px solid rgba(11, 11, 12, .08); box-shadow: 0 30px 60px -28px rgba(11, 11, 12, .45); object-fit: cover; object-position: top; aspect-ratio: 16 / 10; }
.v16-collage img:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); }
.v16-collage img:nth-child(2) { right: 0; top: 18%; transform: rotate(2.5deg); z-index: 2; }
.v16-collage img:nth-child(3) { left: 12%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
@media (max-width: 800px) { .st-final { grid-template-columns: 1fr; } .v16-collage { height: 230px; margin-top: 8px; } }

/* ---------- patička: záře u hodin ---------- */
.w-night { position: relative; overflow: hidden; isolation: isolate; }
.w-night::before { width: 900px; height: 900px; right: -260px; bottom: -520px; z-index: -1; background: radial-gradient(circle, rgba(var(--glow-violet), .22) 0%, rgba(var(--glow-violet), 0) 62%); }
.w-night::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; z-index: -1; width: 700px; height: 700px; left: -300px; bottom: -460px; background: radial-gradient(circle, rgba(var(--glow-gold), .14) 0%, rgba(var(--glow-gold), 0) 62%); }
.w-night h2 em { color: var(--lav); }

/* ---------- podstránky ---------- */
.w-frame { color: var(--lav); }
.card, .lp-card, .obor-card, .blog-card { border-color: var(--line); }
.plan-badge.solid { background: var(--text); color: var(--bg); }
.prose a, .privacy a { color: var(--lav); text-decoration-color: rgba(180, 169, 238, .4); }

/* omezený pohyb: záře zůstává, nic se nehýbe */
@media (prefers-reduced-motion: reduce) { .v16-panel.is-in { animation: none; } }

/* ==========================================================================
   v17 — služby podle IG, „Jak začít“ ve 3 krocích, úvodní animace (CSS je v index.html)
   ========================================================================== */
.v17-services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v17-svc { padding: 24px; gap: 10px; }
.v17-svc h3 { font-size: clamp(22px, 2vw, 26px); margin-top: 18px; }
.v17-svc p { font-size: 15px; }
.v17-svc .st-chips { margin-top: auto; padding-top: 14px; }
@media (max-width: 1000px) { .v17-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .v17-services { grid-template-columns: 1fr; } }
#sluzby .st-head { align-items: end; }
.v17-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v17-steps .st-step h3 { font-size: clamp(20px, 2vw, 24px); }
@media (max-width: 900px) { .v17-steps { grid-template-columns: 1fr; } }
.v17-start { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 40px); }
.v17-start .btn-primary { box-shadow: 0 0 40px -8px rgba(var(--glow-violet), .55); }

/* ==========================================================================
   v18 — HERO navazující na úvodní animaci
   logo W se září (natáčí se za myší), nadpis uprostřed, pilíře, 2 tlačítka,
   dole nekonečný pás ukázek webů
   ========================================================================== */
.v17-hero { flex-direction: column; justify-content: center; align-items: stretch; gap: clamp(28px, 5vh, 56px); padding: clamp(118px, 15vh, 150px) 0 clamp(24px, 4vh, 40px); text-align: center; }
.v17h { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; }
.v17h-spot { position: absolute; z-index: 0; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--glow-violet), .20) 0%, rgba(var(--glow-violet), .06) 38%, rgba(var(--glow-violet), 0) 66%);
  transform: translate3d(var(--sx, 50vw), var(--sy, 40vh), 0); transition: opacity .6s; opacity: 0; }
.v17-hero.is-live .v17h-spot { opacity: 1; }
.v17h-mark { position: relative; width: clamp(84px, 9vw, 118px); aspect-ratio: 260 / 176; perspective: 600px; }
.v17h-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; fill: #F5F5F2; transform: rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg)); transition: transform .5s var(--ease); }
.v17h-halo { position: absolute; left: 50%; top: 50%; width: 320%; height: 380%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(180, 169, 238, .26) 0%, rgba(124, 108, 240, .09) 40%, rgba(124, 108, 240, 0) 68%); animation: v18-breathe 6s ease-in-out infinite; }
@keyframes v18-breathe { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .8; } }
.v17h-title { margin: clamp(18px, 3vh, 30px) 0 0; display: flex; flex-direction: column; align-items: center; }
.v17h-main { display: block; font: 800 clamp(46px, 7vw, 104px)/.98 var(--font-display); letter-spacing: -.055em; color: var(--text); }
.v17h-main em { font-size: 1.06em; }
.v17h-title .wh-kw { margin: clamp(14px, 2.2vh, 22px) auto 0; max-width: 58ch; font-size: clamp(14px, 1.2vw, 17px); color: var(--text-muted); }
.v17h-pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; margin: clamp(18px, 3vh, 28px) 0 0; padding: 0; }
.v17h-pillars a { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); transition: color .25s; }
.v17h-pillars a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lav); box-shadow: 0 0 12px rgba(180, 169, 238, .9); }
.v17h-pillars li:last-child a { color: #C9A26A; }
.v17h-pillars li:last-child a::before { background: #D6A868; box-shadow: 0 0 12px rgba(214, 168, 104, .9); }
.v17h-pillars a:hover { color: var(--text); }
.v17h-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(22px, 3.6vh, 34px); }
.v17h-cta .btn-primary { box-shadow: 0 0 48px -10px rgba(var(--glow-violet), .7); }
.v17h-clock { margin: clamp(18px, 3vh, 26px) 0 0; }

/* pás ukázek */
.v17h-marquee { position: relative; z-index: 2; width: 100%; overflow: hidden; padding: 10px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.v17h-track { display: flex; gap: 18px; width: max-content; animation: v18-marquee 46s linear infinite; }
.v17h-marquee:hover .v17h-track { animation-play-state: paused; }
@keyframes v18-marquee { to { transform: translateX(calc(-50% - 9px)); } }
.v17h-tile { flex: none; width: clamp(230px, 22vw, 320px); border-radius: 12px; overflow: hidden; background: #141416; border: 1px solid var(--line); box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .8); transition: transform .5s var(--ease), border-color .3s; }
.v17h-tile:hover { transform: translateY(-6px); border-color: rgba(var(--glow-violet), .5); }
.v17h-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #17171A; border-bottom: 1px solid #222226; }
.v17h-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3A3A3F; }
.v17h-bar span { margin-left: 8px; font: 500 10.5px/1 var(--font-mono); color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v17h-tile img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: reduce) {
  .v17h-track { animation: none; }
  .v17h-marquee { overflow-x: auto; }
  .v17h-halo { animation: none; }
}
@media (max-width: 600px) {
  .v17-hero { min-height: 100svh; }
  .v17h-pillars { gap: 8px 12px; }
  .v17h-pillars a { font-size: 10.5px; letter-spacing: .1em; }
  .v17h-cta { width: 100%; }
  .v17h-cta .btn { flex: 1 1 100%; }
  .v17h-clock { display: none; }
}

/* ==========================================================================
   v19 — UKÁZKY OBSAHU (reely z IG): karty ve tvaru telefonu + přehrávač
   ========================================================================== */
.v19-content { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.v19-content::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 50%; width: 70%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--glow-violet), .16) 0%, rgba(var(--glow-gold), .05) 40%, transparent 68%); }
.v19-head h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; max-width: 13ch; margin-top: 14px; }
.v19-head > p { margin-top: 18px; max-width: 40ch; color: var(--text-muted); }
.v19-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.v19-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.v19-reels--stage .v19-reel:nth-child(2) { transform: translateY(-28px); }
.v19-reels--stage .v19-reel:nth-child(2):hover { transform: translateY(-34px); }
.v19-reels--row { grid-column: 1 / -1; max-width: 860px; }
.v19-reel { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden; cursor: pointer; background: #111113; color: #F5F5F2; text-align: left; font: inherit;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .025); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; isolation: isolate; }
.v19-reel:hover { transform: translateY(-6px); border-color: rgba(var(--glow-violet), .55); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .9), 0 0 60px -18px rgba(var(--glow-violet), .6); }
.v19-reel:focus-visible { outline: 2px solid var(--lav); outline-offset: 4px; }
.v19-reel img, .v19-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v19-reel video { opacity: 0; transition: opacity .5s; }
.v19-reel.is-playing video { opacity: 1; }
.v19-reel::after { content: ""; position: absolute; inset: 55% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(8, 8, 10, .92)); pointer-events: none; }
.v19-play { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(12, 12, 16, .42); border: 1px solid rgba(245, 245, 242, .38); box-shadow: 0 8px 30px -8px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .3s; }
.v19-play svg { width: 22px; height: 22px; margin-left: 3px; fill: #F5F5F2; }
.v19-reel:hover .v19-play { transform: scale(1.1); background: rgba(142, 124, 245, .55); }
.v19-cap { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.v19-cap b { font-size: clamp(13px, 1.05vw, 15px); font-weight: 650; line-height: 1.25; }
.v19-cap small { font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 245, 242, .62); }

@media (max-width: 900px) {
  .v19-content { grid-template-columns: 1fr; }
  .v19-reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter, 20px) * -1); padding: 6px var(--gutter, 20px) 14px; scrollbar-width: none; }
  .v19-reels::-webkit-scrollbar { display: none; }
  .v19-reel { flex: 0 0 min(62vw, 260px); scroll-snap-align: center; }
  .v19-reels--stage .v19-reel:nth-child(2), .v19-reels--stage .v19-reel:nth-child(2):hover { transform: none; }
}

/* přehrávač */
.v19-lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #F5F5F2; overflow: hidden; }
.v19-lb[open] { display: grid; place-items: center; }
.v19-lb::backdrop { background: rgba(6, 6, 8, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.v19-lb[open] .v19-lb-in { animation: v19-in .45s var(--ease) both; }
@keyframes v19-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.v19-lb-in { display: flex; flex-direction: column; gap: 12px; height: min(86svh, 860px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); }
.v19-lb-v { flex: 1; min-height: 0; width: 100%; border-radius: 20px; background: #000; object-fit: contain; box-shadow: 0 0 90px -20px rgba(var(--glow-violet), .55); }
.v19-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.v19-lb-bar b { font-weight: 650; }
.v19-lb-ig { flex: none; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lav); }
.v19-lb-x, .v19-lb-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #F5F5F2; cursor: pointer; transition: background .25s; }
.v19-lb-x:hover, .v19-lb-nav:hover { background: rgba(142, 124, 245, .45); }
.v19-lb-x svg, .v19-lb-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v19-lb-x { top: 18px; right: 18px; }
.v19-lb-prev { left: max(18px, calc(50% - min(86svh, 860px) * 9 / 32 - 90px)); top: 50%; margin-top: -24px; }
.v19-lb-next { right: max(18px, calc(50% - min(86svh, 860px) * 9 / 32 - 90px)); top: 50%; margin-top: -24px; }
@media (max-width: 700px) {
  .v19-lb-in { height: auto; width: calc(100vw - 24px); max-height: calc(100svh - 120px); }
  .v19-lb-v { flex: none; aspect-ratio: 9 / 16; max-height: calc(100svh - 160px); }
  .v19-lb-x { top: 12px; right: 12px; width: 42px; height: 42px; }
  .v19-lb-nav { top: auto; bottom: 14px; margin: 0; width: 42px; height: 42px; }
  .v19-lb-prev { left: 12px; } .v19-lb-next { right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .v19-lb[open] .v19-lb-in { animation: none; } }
