/* ==========================================================
   vladoanjel.sk/weby — štýly
   Písma: Schibsted Grotesk (nadpisy, UI), Literata (text).
   Obe sú uložené lokálne v assets/fonts (žiadne volanie Google).
   Červená (--red) = „fotografická ceruzka“: len tam, kde sa vyberá.
   ========================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2009, U+200B, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2197, U+2212;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0150-0151, U+0154-0155, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+0170-0171, U+017D-017E;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2009, U+200B, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2032-2033, U+20AC, U+2122, U+2190-2193, U+2197, U+2212;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0150-0151, U+0154-0155, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+0170-0171, U+017D-017E;
}

:root {
  --paper: #ffffff;
  --sheet: #efefeb;          /* sivý papier kontaktného hárku */
  --ink: #121212;
  --ink-2: #33332f;
  --muted: #5f5f5b;
  --rule: #d4d4ce;
  --red: #cf2a1e;            /* ceruzka na kontaktný hárok */
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(52px, 6.5vw, 92px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, .sans { font-family: var(--sans); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 0.9em; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--sans);
}
.skip:focus { left: 8px; top: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hlavička ---------- */
.masthead { border-bottom: 3px solid var(--ink); }
.masthead .wrap {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; padding-bottom: 14px;
}
.brand { font-family: var(--sans); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; text-decoration: none; }
.brand span { font-weight: 500; color: var(--muted); }
.nav { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ---------- Úvod ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: 0;
  padding-bottom: var(--sec);
  align-items: start;
}
.hero-text { padding-top: clamp(32px, 4.6vw, 60px); }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
  max-width: 12ch;
}
.lead {
  margin-top: clamp(20px, 2.6vw, 32px);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  max-width: 33ch;
  color: var(--ink-2);
}
.facts {
  margin: clamp(26px, 3vw, 40px) 0 0; max-width: 600px; border-top: 1px solid var(--ink);
  display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline;
}
.facts div {
  grid-column: 1 / -1; display: grid; align-items: baseline;
  grid-template-columns: 9.6rem minmax(0, 1fr);   /* záloha pre prehliadače bez subgrid */
  grid-template-columns: subgrid;
  padding: 11px 0 12px; border-bottom: 1px solid var(--rule);
}
.facts dd { padding-left: 22px; }
.facts dt { font-family: var(--sans); font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.facts dd { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.cta-row { margin-top: clamp(28px, 3.4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1rem;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 15px 22px; border: 2px solid var(--ink); border-radius: 2px; cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: #2b2b2b; text-decoration: none; }
.link-quiet { font-family: var(--sans); font-weight: 600; font-size: 1rem; }

.portrait { margin: 0; }
.portrait img { aspect-ratio: 1020 / 1542; object-fit: cover; }
.portrait img { width: 100%; background: #0e1826; }
.portrait figcaption {
  margin-top: 10px; font-family: var(--sans); font-size: 0.86rem; line-height: 1.45; color: var(--muted);
  max-width: 44ch;
}
.portrait figcaption b { color: var(--ink); font-weight: 700; }

/* ---------- Spoločné pre sekcie ---------- */
.sec { padding-block: var(--sec); }
.sec-head { max-width: 780px; }
.sec h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); line-height: 1.04; }
.intro { margin-top: 18px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.h3 { font-family: var(--sans); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; margin: 0 0 12px; }

/* ---------- Cena ---------- */
.sec-price { border-top: 1px solid var(--ink); }
.packages { margin-top: clamp(32px, 4vw, 52px); overflow-x: auto; }
.packages table { width: 100%; max-width: 920px; border-collapse: collapse; font-family: var(--sans); }
.packages th, .packages td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-top: 1px solid var(--rule); }
.packages thead td { border-top: 0; }
.packages thead th { border-top: 0; padding-top: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; }
.packages tbody th { font-weight: 500; color: var(--muted); width: 22%; font-size: 0.95rem; }
.packages td { font-size: 1rem; width: 39%; }
.packages .price td { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; word-spacing: 0.06em; line-height: 1; padding-block: 16px 18px; }
.packages .price th { padding-top: 22px; }
.packages tbody tr:last-child th, .packages tbody tr:last-child td { border-bottom: 1px solid var(--ink); }
.for-whom { margin-top: 16px; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); max-width: 920px; }

.launch {
  margin-top: 28px; max-width: 920px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: baseline;
  padding: 16px 18px; border: 2px solid var(--ink);
}
.launch strong { font-family: var(--sans); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; }
.launch p { font-family: var(--sans); font-size: 0.98rem; line-height: 1.45; }

.price-grid {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
}
.dash { list-style: none; margin: 0; padding: 0; }
.dash li { position: relative; padding-left: 22px; margin: 0 0 8px; }
.dash li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }

.menu { margin: 0; padding: 0; font-family: var(--sans); }
.menu div { display: grid; grid-template-columns: auto minmax(20px, 1fr) auto; align-items: baseline; gap: 8px; padding: 7px 0; }
.menu dt { font-weight: 500; }
.menu dt small { display: block; font-size: 0.86rem; color: var(--muted); font-weight: 400; }
.menu div::after { content: ""; grid-column: 2; grid-row: 1; border-bottom: 1px dotted #8f8f89; transform: translateY(-5px); }
.menu dd { margin: 0; grid-column: 3; font-weight: 700; white-space: nowrap; }
.aside-note { margin-top: 22px; font-size: 0.98rem; color: var(--ink-2); }

.limits { margin-top: clamp(44px, 5vw, 64px); max-width: 72ch; }
.limits p { font-size: 1.05rem; }
.limits b { font-family: var(--sans); }

/* ---------- Postup ---------- */
.sec-steps { border-top: 1px solid var(--ink); }
.steps { margin-top: clamp(32px, 4vw, 52px); width: 100%; border-collapse: collapse; }
.steps th, .steps td { text-align: left; vertical-align: top; padding: 18px 24px 20px 0; border-top: 1px solid var(--rule); }
.steps thead th { border-top: 0; padding-top: 0; font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.steps tbody th { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; width: 16%; letter-spacing: -0.01em; }
.steps td { width: 42%; }
.steps .after th, .steps .after td { border-top: 1px solid var(--ink); padding-top: 22px; }
.steps .after td { font-size: 1.2rem; line-height: 1.5; }
.steps .after td strong { font-family: var(--sans); font-weight: 800; }

/* ---------- Výber (AI) ---------- */
.sec-ai { background: var(--sheet); }
.sheet { margin: clamp(36px, 4.5vw, 56px) 0 0; }
.sheet-label { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 14px; }
.strip {
  list-style: none; margin: 0; padding: 14px; background: #1a1a18;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
}
.frame { position: relative; }
.frame .pic {
  position: relative;
  aspect-ratio: 3 / 2; background: #fbfbf8; padding: 10px 11px;
  display: flex; align-items: flex-end;
  font-family: var(--sans); font-weight: 750; font-size: clamp(0.82rem, 1.05vw, 1rem); line-height: 1.12; letter-spacing: -0.01em;
  color: #1c1c1a;
}
.frame .no { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: #d8d8d0; }
.frame .no::before { content: ""; border-left: 6px solid #d8d8d0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.frame.pick .pic { outline: 0; }
.mark { position: absolute; left: -13%; top: -22%; width: 126%; height: 144%; pointer-events: none; overflow: visible; }
.mark path { fill: none; stroke: var(--red); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; opacity: .93; }
.sheet-caption { margin-top: 14px; font-family: var(--sans); font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); max-width: 70ch; }
.sheet-caption b { color: var(--red); font-weight: 700; }

.ai-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px);
}
.ai-grid .body p { font-size: 1.08rem; }

/* ---------- Ukážka ---------- */
.sec-work { border-top: 1px solid var(--ink); }
.case {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start;
}
.case-name { font-family: var(--sans); font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.case-name a { text-decoration: none; }
.case-name a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.case-kind { margin-top: 12px; font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.case blockquote { margin: 0 0 22px; font-family: var(--sans); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.015em; }
.case blockquote footer { margin-top: 8px; font-weight: 400; font-size: 0.9rem; color: var(--muted); letter-spacing: 0; }
.case .dash { margin-top: 16px; }
.more { margin-top: 20px; font-family: var(--sans); font-weight: 700; }
.this-page { margin-top: clamp(40px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule); max-width: 72ch; }
.this-page p { font-size: 1.02rem; }

/* ---------- Otázky ---------- */
.sec-faq { border-top: 1px solid var(--ink); }
.qa { margin-top: clamp(32px, 4vw, 52px); columns: 2; column-gap: clamp(32px, 5vw, 72px); }
.qa section { break-inside: avoid; margin: 0 0 30px; }
.qa h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.qa p { font-size: 1.02rem; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.sec-contact { border-top: 3px solid var(--ink); }
.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start;
}
.direct { margin-top: 26px; font-family: var(--sans); }
.direct p { font-size: 1.05rem; }
.direct a { font-weight: 700; }
.direct .small { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }

.form { font-family: var(--sans); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #8a8a84; border-radius: 2px; padding: 12px 12px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.field .hint { margin-top: 5px; font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.form-foot p { font-size: 0.88rem; color: var(--muted); max-width: 46ch; line-height: 1.45; }
.status { margin-top: 16px; font-size: 1rem; }
.status:empty { display: none; }
.status.ok { padding: 16px 18px; border: 2px solid var(--ink); }
.status.err { padding: 14px 16px; border: 2px solid var(--red); }

/* ---------- Päta ---------- */
.foot { border-top: 1px solid var(--ink); font-family: var(--sans); font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.foot .wrap { padding-top: 28px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 48px; }
.foot p + p { margin-top: 0.6em; }
.foot a { color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 4px; }
.foot .sig { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--rule); }

/* ---------- Textové podstránky ---------- */
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; margin-top: clamp(32px, 5vw, 56px); }
.doc .meta { margin-top: 12px; font-family: var(--sans); font-size: 0.92rem; color: var(--muted); }
.doc h2 { font-size: 1.35rem; line-height: 1.2; margin: 40px 0 10px; letter-spacing: -0.012em; }
.doc p, .doc li { font-size: 1.04rem; }
.doc ol, .doc ul { padding-left: 1.3em; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc .box { margin-top: 28px; padding: 16px 18px; border: 2px solid var(--ink); font-family: var(--sans); font-size: 0.98rem; }
.doc-body { padding-bottom: var(--sec); }
.back { font-family: var(--sans); font-weight: 600; }

/* ---------- Odpoveď formulára bez JS ---------- */
.plain { max-width: 640px; margin: 0 auto; padding: 64px var(--gutter); }
.plain h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.plain p { margin-top: 16px; font-size: 1.1rem; }

/* ---------- Responzívne ---------- */
@media (max-width: 1080px) {
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ai-grid .body { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 12ch; }
  .portrait { max-width: 520px; }
  .price-grid, .case, .contact { grid-template-columns: minmax(0, 1fr); }
  .qa { columns: 1; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .masthead .wrap { padding-top: 14px; padding-bottom: 10px; }
  .nav ul { gap: 2px 16px; }
  .facts dd { padding-left: 14px; }
  .facts dt { font-size: 1.3rem; }
  .facts dd { font-size: 0.95rem; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 10px; }
  .frame .pic { font-size: 0.86rem; }
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .launch { grid-template-columns: minmax(0, 1fr); }
  .packages th, .packages td { padding-right: 10px; }
  .packages tbody th { width: 26%; font-size: 0.86rem; }
  .packages td { font-size: 0.93rem; }
  .packages thead th { font-size: 0.98rem; }
  /* Postup: tabuľka sa mení na bloky */
  .steps, .steps thead, .steps tbody, .steps tr, .steps th, .steps td { display: block; width: auto; }
  .steps thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .steps tr { border-top: 1px solid var(--rule); padding: 16px 0 18px; }
  .steps tr.after { border-top: 1px solid var(--ink); }
  .steps th, .steps td, .steps tbody th { border: 0; padding: 0; width: auto; }
  .steps tbody th { margin-bottom: 8px; }
  .steps td + td { margin-top: 10px; }
  .steps td[data-who]::before { content: attr(data-who) ": "; font-family: var(--sans); font-weight: 700; }
  .steps .after th, .steps .after td { border: 0; padding-top: 0; }
}
@media print {
  .masthead .nav, .cta-row, .form, .sec-ai .strip { display: none; }
  body { font-size: 11pt; }
}
.back-row { margin-top: 32px; }
