/* ============================================
   SKETCHY LINE — Workshop „Značka první, AI potom"
   Stránka /workshop. Načítá se až po style.css,
   vše je scoped pod .ws, aby nekolidovalo s hlavním webem.
   ============================================ */

.ws {
    --ink: #0a0a0a;
    --paper: #ffffff;
    --muted: #4a4a48;
    --muted-on-ink: #c9c9c6;
    --display: "novecento-sans-condensed", "Arial Narrow", sans-serif;
    --sans: "new-hero", "Helvetica Neue", Arial, sans-serif;
    --gutter: clamp(16px, 5vw, 64px);
    --max: 1120px;
    font-family: var(--sans);
    font-size: clamp(16px, 1.1vw + 11px, 19px);
    line-height: 1.55;
    color: var(--ink);
}

.ws .wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ws section { padding-block: clamp(56px, 9vw, 112px); }
.ws .ink { background: var(--ink); color: var(--paper); }

.ws h1, .ws h2, .ws h3 {
    font-family: var(--display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.08;
    margin: 0;
    text-wrap: balance;
    letter-spacing: 0;
}
.ws h1 { font-size: clamp(54px, 12vw, 176px); }
.ws h2 { font-size: clamp(46px, 7.4vw, 104px); }
.ws h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }

/* style.css dává <p> šedou barvu a velký řádkový proklad — tady vracíme */
.ws p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.ws b { font-weight: 800; }

.ws .lead { font-weight: 700; font-size: 1.125rem; line-height: 1.6; max-width: 560px; }
.ws .label { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1;
    padding: 20px 34px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    border: 3px solid var(--ink);
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, background-color .2s ease, color .2s ease;
}
.ws-btn:hover { transform: translateY(-2px); background: var(--paper); color: var(--ink); }
.ws-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.ws .ink .ws-btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
/* na černé: zčerná, bílá linka zůstane, text zbělá */
.ws .ink .ws-btn:hover { background: var(--ink); color: var(--paper); }
.ws .ink .ws-btn:disabled { background: var(--paper); color: var(--ink); }

.ws a:focus-visible, .ws input:focus-visible, .ws select:focus-visible,
.ws textarea:focus-visible, .ws summary:focus-visible, .ws-btn:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* ---- Hero ---- */
/* horní padding počítá s absolutním headerem webu (logo 67px) */
.ws .ws-hero { padding-block: clamp(140px, 14vw, 180px) clamp(64px, 10vw, 128px); position: relative; overflow: hidden; }
.ws-hero h1 { max-width: 9ch; position: relative; display: inline-block; margin-top: 18px; }
/* jen hero headline má těsné řádkování — diakritika tu do písmen nezasahuje */
.ws .ws-hero h1 { line-height: .88; }
.ws-hero .wrap { position: relative; z-index: 1; }
/* velká ilustrace mozku s tužkou vyplňuje pravou černou stranu; houpe se jako mozek v menu */
.ws-hero .hero-art {
    position: absolute;
    right: clamp(16px, 6vw, 120px);
    top: 50%;
    width: clamp(260px, 30vw, 500px);
    transform: translateY(-55%);
    pointer-events: none;
}
.ws-hero .hero-art img { display: block; width: 100%; height: auto; animation: ws-float 4s ease-in-out infinite; }
@keyframes ws-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-24px); }
}
@media (max-width: 960px) { .ws-hero .hero-art { display: none; } }
.ws-hero .lead { margin-top: clamp(28px, 4vw, 48px); }
.ws .hero-link { text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ws .hero-link:hover { text-decoration: underline; }
.ws .hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 36px; }
.ws .facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; }
.ws .facts span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; }

/* ---- Srovnání ---- */
.ws .intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 56px; align-items: center; }
.ws .intro h2 { min-width: 0; }
.ws .nw { white-space: nowrap; }
.ws .intro p { max-width: 56ch; }
.ws .compare { isolation: isolate; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 88px; }
.ws .col { border: 3px solid var(--ink); border-radius: 28px; padding: 18px 18px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.ws .col.on { background: var(--ink); color: var(--paper); }
.ws .col > :not(.shot) { margin-inline: 10px; }
.ws .col ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; }
/* Ukázka výstupu nahoře v kartě: bez značky (generické AI bannery) vs. Traťoffky z design systému */
.ws .col .shot { margin: 0 0 14px; }
.ws .col .shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.ws .col .shot figcaption { margin-top: 10px; padding-inline: 10px; font-size: 14px; color: var(--muted); }
.ws .col.on .shot figcaption { color: var(--muted-on-ink); }
@media (max-width: 760px) { .ws .intro { grid-template-columns: 1fr; } }

/* ---- Program ---- */
/* Program jako bloky s bílým obrysem — stejný styl jako karty „Co dělám“ na homepage */
.ws .steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ws .steps li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 40px 16px; padding: 28px; border: 2px solid var(--paper); border-radius: 32px; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.ws .steps li:hover { transform: scale(1.03); }
.ws .steps .n { grid-row: 1; grid-column: 1; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .9; }
.ws .steps .t { grid-row: 2; grid-column: 1 / -1; align-self: end; min-width: 0; }
.ws .steps .t p { color: var(--muted-on-ink); margin-top: 6px; max-width: 58ch; }
.ws .steps .m { grid-row: 1; grid-column: 2; align-self: start; justify-self: end; padding: 7px 14px; border: 1.5px solid var(--paper); border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
    .ws .steps { grid-template-columns: 1fr; }
    .ws .steps li { gap: 28px 16px; padding: 24px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ws .steps li:hover { transform: none; } }

/* ---- Pro koho ---- */
.ws .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px 32px; margin-top: 48px; }
/* Odnesete / přinesete si: každá položka jako blok s černým obrysem (styl jako program a karty „Co dělám“) */
.ws .pair ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ws .pair li { padding: 22px 26px; border: 2px solid var(--ink); border-radius: 32px; font-weight: 700; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.ws .pair li:hover { transform: scale(1.03); }
.ws .pair li span { margin-top: 4px; }
@media (max-width: 760px) { .ws .pair li { padding: 20px 22px; border-radius: 28px; } }
@media (prefers-reduced-motion: reduce) { .ws .pair li:hover { transform: none; } }
.ws .pair li span { display: block; font-weight: 400; color: var(--muted); }

/* ---- Lektor ---- */
/* Fotka je velká a hlavou přetéká horní hranu černého bloku; text je vystředěný na výšku fotky */
.ws .lektor-section { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 80px); padding-top: clamp(48px, 5vw, 80px); padding-bottom: 0; }
.ws .lektor { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; }
/* hlava přetéká nad černý blok */
.ws .lektor .photo { align-self: end; width: 105%; max-width: 680px; margin-left: -10%; margin-top: calc(-1 * (clamp(48px, 5vw, 80px) + clamp(60px, 7vw, 110px))); }
.ws .lektor .photo img { display: block; width: 100%; height: auto; }
.ws .lektor .txt { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding-block: 0 clamp(24px, 3vw, 48px); }
.ws .lektor .txt p { max-width: 52ch; }
/* loga klientů — černá SVG z assets/logo_reference/ převedená filtrem na bílou */
.ws .client-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 8px 16px; max-width: 560px; margin-top: 4px; }
.ws .client-logos img { width: 100%; height: auto; filter: brightness(0) invert(1); }
@media (max-width: 560px) { .ws .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; } }
@media (max-width: 760px) {
    .ws .lektor { grid-template-columns: 1fr; }
    .ws .lektor .photo { order: 2; max-width: 460px; }
    .ws .lektor-section { margin-top: 0; padding-top: clamp(56px, 9vw, 112px); }
    .ws .lektor .txt { padding-block: 0; }
    .ws .lektor .photo { width: 100%; margin: 0 auto; }
}

/* ---- Cena ---- */
/* jedna karta — šířka jako dřív v gridu se dvěma kartami */
.ws .price { display: grid; grid-template-columns: minmax(0, 560px); gap: 24px; margin-top: 48px; }
.ws .pcard { border: 3px solid var(--ink); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ws .pcard.main { background: var(--ink); color: var(--paper); }
.ws .pcard .big { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: 1.08; font-variant-numeric: tabular-nums; }
.ws .pcard .big .vat { font-size: .32em; letter-spacing: .04em; opacity: .7; }
.ws .pcard .later { font-size: .88em; opacity: .7; }
.ws .pcard ul { margin: 6px 0 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; }
.ws .note { margin-top: 20px; color: var(--muted); font-size: .92em; }

/* ---- Přihláška ---- */
.ws .formgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.ws .formgrid-head { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ws form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ws form .full { grid-column: 1 / -1; }
.ws .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ws .field label { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ws input, .ws select, .ws textarea {
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 3px solid var(--paper);
    border-radius: 16px;
    padding: 14px 16px;
    width: 100%;
    min-width: 0;
}
.ws textarea { min-height: 110px; resize: vertical; }
.ws .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ws .err { color: var(--paper); font-weight: 700; font-size: .9em; }
.ws .err a { color: inherit; }
/* Poznámka o zásadách pod tlačítkem — stejný styl jako .bc-note u brand checku */
.ws .form-note { margin-top: 14px; font-size: 13px; line-height: 1.5; opacity: 0.75; }
.ws .form-note a { color: inherit; text-decoration: underline; }
/* Nevyplněné povinné pole — jen černobíle, přerušovaný obrys */
.ws [aria-invalid="true"] { outline: 2px dashed var(--paper); outline-offset: 4px; }
/* .field má display:flex, který by jinak přebil atribut hidden (po odeslání se pole skryjí) */
.ws form [hidden] { display: none !important; }
.ws .done { grid-column: 1 / -1; border: 3px solid var(--paper); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ws .done a { text-decoration: underline; }
@media (max-width: 820px) { .ws .formgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ws form { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.ws .faq { margin-top: 40px; border-top: 3px solid var(--ink); }
.ws .faq details { border-bottom: 3px solid var(--ink); padding-block: 18px; }
.ws .faq summary { cursor: pointer; font-weight: 800; font-size: clamp(18px, 1.4vw + 10px, 23px); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ws .faq summary::-webkit-details-marker { display: none; }
.ws .faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4em; line-height: .8; }
.ws .faq details[open] summary::after { content: "–"; }
.ws .faq p { margin-top: 10px; max-width: 62ch; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .ws-btn { transition: none; }
    .ws-hero .hero-art img { animation: none; }
    .ws-btn:hover { transform: none; }
}

.ws [hidden] { display: none !important; }

/* Odkaz na brand check pod cenou — vedlejší, nepřebíjí přihlášku */
.ws .bc-note a { color: var(--ink, #0a0a0a); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ws .bc-note a:hover { text-decoration-thickness: 2px; }
