/* Klik Studio – spoločné štýly verejného webu */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f2ede4;
  --ink: #16181b;
  --ink-2: #545a62;
  --line: #e6e0d5;
  --accent: #d4502a;
  --accent-ink: #ffffff;
  --accent-soft: #fbe6dd;
  --ok: #1f7a55;
  --ok-soft: #e1f2ea;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315; --surface: #1a1c1f; --surface-2: #22252a; --ink: #eeebe5; --ink-2: #a6abb2; --line: #2e3237;
    --accent: #f07a52; --accent-ink: #1a0d07; --accent-soft: #3a2119; --ok: #5cc596; --ok-soft: #173327; --shadow: none;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 66px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 19px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.lead { color: var(--ink-2); font-size: 18px; max-width: 660px; margin: 16px 0 0; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 16px inherit; font-family: inherit; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.logo svg { flex: none; }
.logo span { font-weight: 500; color: var(--ink-2); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); }
.nav .btn { padding: 9px 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }

/* Karty a mriežky */
.grid { display: grid; gap: 16px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { margin: 8px 0 0; color: var(--ink-2); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }

/* Balíky */
.pkg { display: flex; flex-direction: column; }
.pkg.featured { border: 2px solid var(--accent); position: relative; }
.pkg .flag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pkg .price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 0; line-height: 1.1; }
.pkg .price small { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.pkg .time { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 3px 10px; margin-top: 10px; align-self: flex-start; }
.pkg .for { color: var(--ink-2); font-size: 15px; margin: 12px 0 14px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.pkg li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.pkg li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.pkg li.no::before { border: 0; content: "–"; color: var(--ink-2); transform: none; top: 6px; left: 4px; }
.pkg li.no { color: var(--ink-2); }
.pkg .btn { width: 100%; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.tab { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list td, table.list th { padding: 11px 8px 11px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.list th { font-size: 13px; color: var(--ink-2); font-weight: 600; }
table.list td.r, table.list th.r { text-align: right; white-space: nowrap; font-weight: 600; }
.table-scroll { overflow-x: auto; }

.note { font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 22px 24px; margin-top: 32px; }
.callout h3 { margin-bottom: 6px; }
.callout p { margin: 0; }

/* Otázky */
.faq { max-width: 800px; margin-top: 28px; }
details.q { border-top: 1px solid var(--line); padding: 18px 0; }
details.q:last-child { border-bottom: 1px solid var(--line); }
details.q summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details.q[open] summary::after { content: "–"; }
details.q p { margin: 10px 0 0; color: var(--ink-2); }

/* Formuláre */
form.f { display: grid; gap: 14px; }
.f label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
.f input, .f textarea, .f select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.f input:focus, .f textarea:focus, .f select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.f .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav ul { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 12px 0; }
  .nav > .btn { display: none; }
  .grid-2, .grid-3, .f .row { grid-template-columns: 1fr; }
}
