/* Návrh C: klidný magazín. Bílá a jemně šedá se střídají, jedna černá dvoustrana (citát) a jedna modrá (kontakt).
   Velká serifová typografie, rubriky s linkou, zakladatel na obálce. Obsah je beze změny. */
:root{--blue:#1F45E0;--ink0:#1F1B17;--stone:#F2F1EC;--acc:#1F45E0;--fill:#1F45E0;--bg:#fff;--sec:clamp(72px,9vw,150px)}
body{background:#fff}
.nav{position:fixed;inset:0 0 auto;z-index:60}
main>section{position:relative}

/* typografie */
.op h2,h2{font-weight:500;letter-spacing:-.03em;line-height:1;font-size:clamp(38px,5.2vw,80px)}
.eyebrow,.op .eyebrow,#komunita .eyebrow,#bezpecnost .eyebrow,#spravci .eyebrow{display:block;width:max-content;min-width:64px;padding-top:9px;border-top:3px solid currentColor;margin-bottom:18px;text-transform:none;letter-spacing:0;font-weight:700;font-size:15px;color:inherit}
.op .lead,.lead{font-size:clamp(19px,1.6vw,23px);line-height:1.42}

/* tmavé dvoustrany + světlé ostrůvky produktu uvnitř */
#citat,#kontakt{--ink:#fff;--mut:rgba(255,255,255,.78);--dim:rgba(255,255,255,.62);--line:rgba(255,255,255,.2);--line2:rgba(255,255,255,.34);--acc:#fff;color:#fff}
.whgrid figure,.bzal,.v2pc,.cbox form,.win{--ink:#121212;--mut:#5B5852;--dim:#8B877F;--line:rgba(18,18,18,.1);--line2:rgba(18,18,18,.18);--acc:#1F45E0;color:#121212}

/* obálka: fotka přes celou šířku, titulek přes volnou stěnu (mimo obrazovku a obličeje) */
.op .hwide{padding:0;max-width:none;width:100%}
#top{padding:0!important}
.op .hbox{border-radius:0;height:min(100svh,920px);min-height:560px;box-shadow:none}
.op .hbox img{border-radius:0}
.op .htop{padding-top:clamp(92px,8vw,120px);padding-left:clamp(20px,4vw,64px)}
.op .hbox h1{font-weight:500;letter-spacing:-.035em;line-height:.98;font-size:clamp(38px,5.5vw,88px);max-width:min(52vw,780px)}
.op .hbwrap{background:var(--ink0);color:#fff}
.op .hbelow{display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:clamp(24px,5vw,80px);align-items:center;padding-block:clamp(36px,4vw,60px)}
.op .hintro{font-family:var(--serif);font-size:clamp(21px,2vw,30px);line-height:1.28;letter-spacing:-.012em;color:#fff;max-width:36em}
@media (max-width:760px){.op .hbelow{grid-template-columns:1fr}.op .hbox{height:78svh;min-height:480px}.op .hbox h1{max-width:none}}

/* tlačítka */
.op .btnx{background:var(--ink0);color:#fff}
.op #top .btnx{background:#fff;color:var(--ink0)}.op #top .btnx i{background:var(--ink0);color:#fff}.op #top .btnx i svg{stroke:#fff}
.op .navpill .btn.pri{background:var(--ink0);color:#fff}.op .cbox .btn.pri{background:var(--blue);color:#fff}

/* Na podobě domu */
#podoba{background:#fff;padding-block:var(--sec)}

/* Jak to funguje: jemně šedá */
#jak{background:var(--stone)}
.op #jak .whgrid figure{background:#fff;border-radius:18px}

/* Příběhy: titulní strana časopisu */
#pribehy{background:#fff;padding-block:var(--sec)}
.op .sthead{border-top:3px solid var(--ink0);padding-top:14px;margin-bottom:28px}
.op .sthead h2{font-size:clamp(30px,3vw,44px);letter-spacing:-.025em}
@media (min-width:901px){
  .op #pribehy .stgrid.n3{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);grid-template-rows:auto auto;gap:28px 36px;overflow:visible}
  .op #pribehy .stc:first-child{grid-row:1 / span 2}
  .op #pribehy .stc:first-child b{font-family:var(--serif);font-weight:500;font-size:clamp(40px,4.6vw,72px);line-height:1;letter-spacing:-.03em;margin-top:8px}
  .op #pribehy .stc:first-child .stx{display:block;font-size:19px;line-height:1.45;color:var(--mut);margin-top:12px;max-width:34em}
  .op #pribehy .stc:not(:first-child) b{font-family:var(--serif);font-weight:500;font-size:clamp(22px,1.9vw,28px);line-height:1.08;letter-spacing:-.015em}}
.op #pribehy .stc{width:auto;min-width:0}
.op #pribehy .stimg{border-radius:0}.op #pribehy .stimg img{border-radius:0}

/* Pro developery: nadpis a text vlevo, vpravo čtyři bílé karty 2 × 2 */
#developeri{background:var(--stone);padding-block:var(--sec)!important}
.op #developeri h2{font-size:clamp(38px,4.4vw,68px)}
.op #developeri .v2head{margin:0;display:block}
.op #developeri .v2head .lead{margin-top:22px;max-width:30em}
.op #developeri .v2grid.n4{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.op #developeri .v2card{background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(31,27,23,.05),0 22px 44px -32px rgba(31,27,23,.28);padding:clamp(22px,2.1vw,30px);gap:0}
.op #developeri .whl{display:block;font-size:15px;font-weight:700;color:var(--blue);margin-bottom:clamp(30px,3.6vw,56px)}
/* mozaika: velká karta s fotkou haly, dvě menší (bílá a modrá), široká bílá */
.op #developeri .v2card:nth-child(1),.op #developeri .v2card:nth-child(4){grid-column:1 / -1}
.op #developeri .v2card:nth-child(1){position:relative;overflow:hidden;background:var(--ink0);color:#fff;--mut:rgba(255,255,255,.78);padding-right:calc(50% + 24px);min-height:clamp(340px,29vw,430px);justify-content:flex-end}
.op #developeri .v2card:nth-child(1) .whl{color:#fff;margin-bottom:auto;padding-bottom:28px}
.op #developeri .v2card:nth-child(1) b{font-size:clamp(32px,3.2vw,48px);line-height:1}
.op #developeri .whf{position:absolute;inset:0 0 0 50%;display:block}
.op #developeri .whf img{display:block;width:100%;height:100%;object-fit:cover;object-position:88% 42%;border-radius:0}
.op #developeri .v2card:nth-child(3){background:var(--blue);color:#fff;--mut:rgba(255,255,255,.84)}
.op #developeri .v2card:nth-child(3) .whl{color:#fff}
.op #developeri .v2card:nth-child(4){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-items:start}
.op #developeri .v2card:nth-child(4) .whl{grid-column:1 / -1;margin-bottom:clamp(20px,2.2vw,32px)}
.op #developeri .v2card:nth-child(4) p{margin-top:0}
@media (max-width:640px){
  .op #developeri .v2card:nth-child(1){padding-right:clamp(22px,2.1vw,30px);min-height:0}
  .op #developeri .whf{position:static;height:56vw;margin:calc(clamp(22px,2.1vw,30px) * -1) calc(clamp(22px,2.1vw,30px) * -1) 22px}
  .op #developeri .v2card:nth-child(4){display:flex}
  .op #developeri .v2card:nth-child(4) p{margin-top:14px}}
.op #developeri .v2card b{font-family:var(--serif);font-weight:500;font-size:clamp(27px,2.5vw,36px);line-height:1.04;letter-spacing:-.025em}
.op #developeri .v2card p{margin-top:14px;font-size:16px;line-height:1.5;color:var(--mut)}
@media (min-width:1001px){#developeri>.wrap{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(36px,6vw,96px);align-items:start}.op #developeri .v2head{position:sticky;top:104px}}
@media (max-width:1000px){.op #developeri .v2head{margin-bottom:32px}}
@media (max-width:640px){.op #developeri .v2grid.n4{grid-template-columns:minmax(0,1fr)}}

/* Citát: obálka se zakladatelem */
#citat{background:var(--ink0);padding:0!important;overflow:hidden}
#citat::after{content:"";position:absolute;inset:0 0 0 56%;background:url(/img/novy/filip-citat-1.webp) 50% 30%/cover no-repeat}
#citat .wrap{position:relative;z-index:1;padding-block:clamp(72px,9vw,140px)}
#citat .opqbox{text-align:left;max-width:50%;margin:0}
#citat blockquote p{font-family:var(--serif);font-weight:500;font-size:clamp(38px,5vw,80px);line-height:1;letter-spacing:-.035em;color:#fff;max-width:none;text-align:left}
#citat figcaption{justify-content:flex-start;flex-wrap:wrap;margin-top:36px}
#citat figcaption>img{display:none}
#citat .v2qnote{text-align:left;max-width:50%;margin:24px 0 0;color:var(--mut)}
@media (max-width:900px){#citat::after{position:static;display:block;height:110vw}#citat .opqbox,#citat .v2qnote{max-width:none}}

/* Komunita */
#komunita{background:#fff}
#komunita .v2story2>li,#komunita .v2story2>li:nth-child(n){border-radius:16px}

/* SVJ */
#svj{background:var(--stone)}
.opsvjs li.on span,.opsvjn i,.opsvjd i.on{background:var(--ink0)}

/* Bezpečnost: fotka bez rámečku */
#bezpecnost{background:#fff}
.op #bezpecnost .v2pc{background:none;padding:0;box-shadow:none}
#bezpecnost h2{font-size:clamp(36px,4.2vw,66px)}

/* Pro správce */
#spravci{background:var(--stone)}
#spravci h2{font-size:clamp(36px,4.2vw,66px)}
#spravci .eyebrow{color:var(--ink0)}

/* Ceny: tři sloupce vedle sebe, zvýrazněný je jen Partner */
#ceny{background:#fff;padding-bottom:var(--sec)}
.op .v2price{gap:0}
.op .v2price li{border-radius:0;min-height:clamp(320px,32vw,480px);padding:clamp(24px,2.6vw,40px)}
.op .v2price li:nth-child(1),.op .v2price li:nth-child(3){background:var(--stone);color:var(--ink0)}
.op .v2price li:nth-child(2){background:var(--ink0);color:#fff}
.op .v2price b{font-size:clamp(28px,2.8vw,44px);font-weight:500;letter-spacing:-.03em;line-height:1}
.v2price li:nth-child(n) .v2pn{color:inherit;opacity:.7}
.op .v2price em,.op .v2price li:nth-child(2) em{background:#fff;color:var(--ink0);box-shadow:inset 0 0 0 1px rgba(10,10,11,.1)}

/* Tým: barevné portréty ve schodech */
#lide{background:var(--stone)}
.op .v2team img{border-radius:0}
.op .v2team b{font-family:var(--serif);font-weight:500;font-size:clamp(24px,2.2vw,34px);letter-spacing:-.02em;line-height:1.05}
@media (min-width:901px){.op .v2team{padding-bottom:64px}.op .v2team li:nth-child(even){transform:translateY(64px)}}

/* Otázky */
#otazky{background:#fff}
.op .faql summary{font-family:var(--serif);font-weight:500;font-size:clamp(22px,2vw,30px);letter-spacing:-.018em;line-height:1.15}
.op .faql details,.op .faql{border-color:var(--ink0)}

/* Kontakt: modrá, formulář na bílé */
#kontakt{background:var(--blue)}
.op #kontakt .cbox{background:none;box-shadow:none;padding:0;border-radius:0}
.op #kontakt .cbox form{background:#fff;border-radius:18px;padding:clamp(22px,2.6vw,36px)}
.op #kontakt .cbox .stx h2{font-size:clamp(42px,5.4vw,84px)}
.op #kontakt .mut{color:rgba(255,255,255,.82)}
.op #kontakt .person b,.op #kontakt .person a{color:#fff}.op #kontakt .person,.op #kontakt .person span{color:rgba(255,255,255,.78)}

/* Patička s velkou značkou */
.v2ft{background:var(--ink0);color:rgba(255,255,255,.72);--ink:#fff;--mut:rgba(255,255,255,.7);--dim:rgba(255,255,255,.6);--line:rgba(255,255,255,.16);margin-top:0;border:0}
.v2ft a{color:inherit}
.v2ft img{filter:brightness(0) invert(1);opacity:.8}
.v2ft .ftbrand svg{display:none}
.bigmark{display:none}
.ftgiant{display:block;width:100%;height:auto;fill:#fff;color:#fff;margin-top:clamp(32px,4vw,56px)}

/* doladění: titulek obálky nad hlavami, delší nadpisy v užších sloupcích */
.op .htop{padding-top:clamp(84px,6.4vw,96px)}
.op .hbox h1{font-size:clamp(36px,4.7vw,76px);max-width:min(62vw,860px)}
#podoba h2,#developeri h2{font-size:clamp(38px,4.8vw,76px)}
#citat .opqwho{margin-left:0;padding-left:0}
@media (max-width:760px){.op .hbox h1{font-size:clamp(34px,9.4vw,44px);max-width:none}}
#citat .opqbox{display:block}
#citat figcaption{width:100%}
.op .htop{left:0;right:0;background:linear-gradient(180deg,rgba(10,10,11,.62),rgba(10,10,11,.3) 64%,transparent)}
@media (max-width:760px){#citat figcaption{flex-direction:column;align-items:flex-start}}

/* tlačítka bez stínu a záře, i po najetí */
.op .btnx,.op .btnx:hover,.op .btn,.op .btn:hover{box-shadow:none}
@media (max-width:640px){.op #developeri .v2card:nth-child(4){flex-direction:column}.op #developeri .v2card:nth-child(4) .whl{margin-bottom:clamp(30px,3.6vw,56px)}}

/* úvod: představovací video místo fotky. Počítač: čisté video přes celou šířku v poměru 16:9 (titulky ve videu dole zůstanou vidět), nadpis pod ním v tmavém pásu */
.op .hbox:has(.hvid){height:auto;min-height:0;max-height:none;display:flex;flex-direction:column;overflow:visible;background:var(--ink0)}
.op .hbox:has(.hvid) .htop{position:static;order:2;background:none;width:min(var(--wrap),100%);margin-inline:auto;padding:clamp(40px,4.4vw,68px) var(--pad) 0;color:#fff}
.op .hbox:has(.hvid) h1{text-shadow:none;max-width:none}
.op #top:has(.hvid) .hbelow{padding-top:clamp(18px,2vw,30px)}
.op .hbox:has(.hvid)::after{display:none}
.op .htop{z-index:2}
.hvcard{position:relative;height:min(100svh,56.25vw);background:#2A2724}
.hvid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.hvctl{position:absolute;left:clamp(16px,2.4vw,40px);bottom:clamp(16px,2.4vw,36px);z-index:3;display:flex;gap:10px}
.hvbtn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 20px 0 16px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#121212;
  font:inherit;font-size:15px;font-weight:500;letter-spacing:.01em;cursor:pointer;transition:background .2s}
.hvbtn:hover{background:#fff}
.hvbtn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hvbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hvbtn svg path:first-child{fill:currentColor}
.hvpp{width:48px;padding:0;justify-content:center;background:rgba(18,18,18,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff}
.hvpp:hover{background:rgba(18,18,18,.78)}
.hvpp svg path:first-child{fill:none}
.hvpp .pl{fill:currentColor;display:none}.hvpp.paused .pl{display:block}.hvpp.paused .pa{display:none}
@media (min-width:761px) and (max-width:1399px){.hvsnd{width:48px;padding:0;justify-content:center}.hvsnd span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
/* titulky CZ / EN: stejné tmavé sklo jako pauza, aktivní jazyk bíle */
.hvlang{display:inline-flex;height:48px;padding:4px;gap:2px;border-radius:999px;background:rgba(18,18,18,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hvlang button{min-width:44px;padding:0 12px;border:0;border-radius:999px;background:none;color:rgba(255,255,255,.82);font:inherit;font-size:14px;font-weight:500;letter-spacing:.04em;cursor:pointer;transition:background .2s,color .2s}
.hvlang button:hover{color:#fff}
.hvlang button[aria-pressed=true]{background:#fff;color:#121212}
.hvlang button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hvsnd .on{display:none}.hvsnd .off{display:block}.hvsnd[aria-pressed=true] .on{display:block}.hvsnd[aria-pressed=true] .off{display:none}
/* mobil: světlý úvod, nadpis nahoře a pod ním video jako karta s tlačítky v rohu */
@media (max-width:760px){
  .op #top:has(.hvid){background:var(--stone)}
  .op .hero:has(.hvid) .hwide{padding-inline:16px}
  .op .hbox:has(.hvid){height:auto;max-height:none;aspect-ratio:auto;overflow:visible;background:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;gap:22px;padding:clamp(92px,24vw,104px) 0 8px}
  .op .hbox:has(.hvid) .htop{position:static;order:-1;background:none;width:auto;margin:0;padding:0 4px;color:var(--ink0)}
  .op #top:has(.hvid) .hbelow{padding-top:clamp(36px,4vw,60px)}
  .op .hbox:has(.hvid) h1{color:var(--ink0);text-shadow:none;max-width:none;font-size:clamp(30px,8.6vw,40px)}
  .hvcard{position:relative;inset:auto;height:auto;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#E7E2D9;box-shadow:0 24px 40px -22px rgba(31,27,23,.4),0 1px 4px rgba(31,27,23,.06)}
  .hvid{object-position:50% 50%}
  .hvctl{left:8px;top:8px;bottom:auto;gap:6px}
  .hvbtn{height:34px;font-size:12.5px;padding:0 12px 0 10px;gap:6px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 14px rgba(31,27,23,.14)}
  .hvbtn svg{width:17px;height:17px}
  .hvbtn:focus-visible{outline-color:var(--ink0)}
  .hvpp{width:34px;padding:0;color:#121212}
  .hvlang{height:34px;padding:3px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 14px rgba(31,27,23,.14)}
  .hvlang button{min-width:32px;padding:0 8px;font-size:12px;color:#5B5852}
  .hvlang button:hover{color:#121212}
  .hvlang button[aria-pressed=true]{background:#121212;color:#fff}
  .hvlang button:focus-visible{outline-color:var(--ink0)}
  .op #top:has(.hvid) .hbwrap{background:var(--stone);color:var(--ink0)}
  .op #top:has(.hvid) .hintro{color:var(--ink0)}
  .op #top:has(.hvid) .btnx{background:var(--ink0);color:#fff}
  .op #top:has(.hvid) .btnx i{background:#fff;color:var(--ink0)}.op #top:has(.hvid) .btnx i svg{stroke:var(--ink0)}
}
@media (prefers-reduced-motion:reduce){.hvbtn{transition:none}}

/* ---------- Příběhy + posty z LinkedInu (linkedin_web.py): posty vypadají jako články, klik otevře celý post ---------- */
.op #pribehy .sthead .dxpill+.dxpill{margin-left:0}
.op #pribehy .stgrid.lip{margin-top:clamp(28px,3vw,44px)}
@media (min-width:901px){
  .op #pribehy .stgrid.lip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 36px;overflow:visible}
  .op #pribehy .lip .stc:first-child{grid-row:auto}
  .op #pribehy .lip .stc b,.op #pribehy .lip .stc:first-child b{font-family:var(--serif);font-weight:500;font-size:clamp(22px,1.9vw,28px);line-height:1.08;letter-spacing:-.015em;margin-top:6px}}
.op #pribehy .lip .stimg{background:var(--stone)}
.op #pribehy .lip .stimg img{object-fit:cover}
/* okno s celým postem */
.lim{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:clamp(12px,3vw,40px);background:rgba(18,16,14,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.lim[hidden]{display:none}
.libox{position:relative;width:min(1080px,100%);max-height:calc(100dvh - 2 * clamp(12px,3vw,40px));background:#fff;overflow:hidden;display:flex}
.lics{--lh:min(820px,calc(100dvh - 2 * clamp(12px,3vw,40px)));display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;min-height:0;height:var(--lh)}
.lics>img{display:block;height:var(--lh);width:min(calc(var(--lh) * .8),52vw);object-fit:contain;background:var(--stone)}
.litext{overflow-y:auto;padding:clamp(28px,3.4vw,52px) clamp(24px,3.4vw,52px);font-size:16.5px;line-height:1.6;color:var(--ink0);overscroll-behavior:contain}
.litext p{margin:0 0 1em}
.litext .limeta{margin-bottom:1.4em;font-size:13px;font-weight:500;letter-spacing:.02em;color:var(--mut)}
.lilink{display:inline-flex;align-items:center;height:44px;padding:0 20px;margin-top:.6em;background:var(--ink0);color:#fff;font-size:15px;font-weight:500;border-radius:999px}
.lilink:hover{background:#000}
.limx{position:absolute;top:12px;right:12px;z-index:2;width:42px;height:42px;border-radius:50%;border:0;display:grid;place-items:center;background:#fff;color:var(--ink0);cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.14)}
.limx svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.limx:focus-visible,.lilink:focus-visible{outline:2px solid var(--ink0);outline-offset:3px}
@media (max-width:760px){
  .libox{overflow-y:auto;display:block}
  .lics{display:block;height:auto}
  .lics>img{width:100%;height:auto;max-width:none}
  .litext{overflow:visible}}
.op #pribehy .sthead{justify-content:flex-start}.op #pribehy .sthead h2{margin-right:auto}
