/* ustredne-kurenie.sk */
:root {
  --green: #14532d;
  --green-2: #1f7a45;
  --green-soft: #e7f1ea;
  --ink: #17201b;
  --muted: #56645c;
  --paper: #ffffff;
  --paper-2: #f4f6f2;
  --line: #d9e0d8;
  --grid: rgba(20, 83, 45, .07);
  --heat: #b8401f;
  --focus: #f0a400;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(20,40,30,.07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--paper); overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-underline-offset: 2px; }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .78rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green-2); margin-bottom: .6em; }

/* tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 0 20px; border: 2px solid var(--green); border-radius: 8px; background: var(--green); color: #fff; font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--green); color: #fff; font: 800 .95rem/1 var(--mono); letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.08rem; }
.brand-text small { color: var(--muted); font-size: .78rem; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; }
.nav a:not(.btn):hover { color: var(--green-2); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; } .nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: var(--shadow); }
  .nav-open .nav { display: block; }
  .nav li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-call { margin-top: 14px; width: 100%; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 26px; }
  .nav ul { display: flex; gap: 22px; }
  .nav li a { padding: 8px 0; }
}

/* oznam */
.notice { background: #fff6dc; border-bottom: 1px solid #f0d58a; }
.notice .wrap { padding-top: 12px; padding-bottom: 12px; font-weight: 600; }

/* hero */
.hero { position: relative; padding: 48px 0 24px; background:
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(180deg, #f7faf6, #fff); }
.hero-in { display: grid; gap: 32px; align-items: center; }
.lead { font-size: 1.12rem; color: #34423a; max-width: 38em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sheet { margin: 0; background: #fff; border: 2px solid var(--ink); padding: 14px 14px 0; box-shadow: 6px 6px 0 var(--green); }
.sheet img { width: 100%; }
.sheet-stamp { display: grid; grid-template-columns: 2fr 1fr; margin: 12px -14px 0; border-top: 2px solid var(--ink); font: .8rem/1.3 var(--mono); }
.sheet-stamp span { padding: 8px 12px; }
.sheet-stamp span + span { border-left: 2px solid var(--ink); }
.sheet-stamp b { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts li { padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts b { display: block; font: 750 1.45rem/1.1 var(--font); color: var(--green); font-variant-numeric: tabular-nums; }
.facts span { font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 32px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}

/* sekcie */
.section { padding: 64px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 28px; max-width: 48em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.prose p { max-width: 68ch; }

/* profil */
.profil-grid { display: grid; gap: 28px; }
.profil-side { display: grid; gap: 24px; align-content: start; }
.card-doc { border-top: 4px solid var(--green); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 9px; border-left: 3px solid var(--green-2); border-bottom: 3px solid var(--green-2); transform: rotate(-45deg); }
.stamp { margin: 0; justify-self: center; }
.stamp img { width: 170px; transform: rotate(-8deg); opacity: .92; }
.partner { margin-top: 28px; border-left: 4px solid var(--green-2); }
.partner p:last-child { margin: 0; }
.partner-c { font-size: .94rem; }
.brands { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brands a { display: grid; place-items: center; height: 84px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.brands img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.brands a:hover img, .brands a:focus-visible img { filter: none; opacity: 1; }
@media (min-width: 900px) {
  .profil-grid { grid-template-columns: 1.6fr 1fr; gap: 48px; }
  .brands { grid-template-columns: repeat(4, 1fr); }
}

/* cenník */
.cennik-intro { max-width: 70ch; }
.platnost { display: inline-block; font: 600 .82rem/1 var(--mono); background: var(--green-soft); color: var(--green); padding: 7px 10px; border-radius: 6px; }
.warn { color: var(--heat); font-weight: 650; }
.price-grid { display: grid; gap: 22px; margin: 22px 0; }
@media (min-width: 800px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price { padding: 0; overflow: hidden; }
.price h3 { margin: 0; padding: 16px 20px; background: var(--green); color: #fff; }
.price table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 9px 16px; text-align: right; border-bottom: 1px solid var(--line); }
.price th:first-child, .price td:first-child { text-align: left; }
.price thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; background: var(--paper-2); }
.price tbody tr:nth-child(even) td { background: #fafbf9; }
.price tbody tr:last-child td { border-bottom: 0; }
.price td:last-child { font-weight: 700; }
.notes { margin: 0; padding-left: 1.2em; max-width: 75ch; }
.notes li { margin: .4em 0; }

/* projekty */
.proj-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
.thumbs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thumbs a { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 6px; background: #fff; transition: border-color .15s; }
.thumbs a:hover { border-color: var(--green-2); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.pdf { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.pdf::before { content: "PDF"; font: 700 .7rem/1 var(--mono); color: #fff; background: var(--heat); padding: 5px 6px; border-radius: 4px; }

/* galéria */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.gallery li { display: flex; flex-direction: column; gap: 8px; }
.gallery a { display: block; overflow: hidden; border-radius: 8px; background: #dde3dc; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery span { font-size: .9rem; line-height: 1.35; color: #33413a; }

/* kontakt */
.kontakt-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .kontakt-grid { grid-template-columns: 1fr 1.1fr; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0; }
.kv dt { font: 600 .74rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kv dd { margin: 0; font-weight: 550; }
.kv a { font-weight: 650; }
.map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: 8px; }

.form { display: grid; gap: 16px; align-content: start; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: inherit; padding: 11px 12px; border: 1px solid #b9c4bb; border-radius: 8px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--green-2); outline: 3px solid rgba(31,122,69,.25); outline-offset: 0; }
.field textarea { resize: vertical; min-height: 140px; }
.invalid input, .invalid textarea { border-color: var(--heat); }
.invalid > span, .check.invalid { color: var(--heat); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.form-msg.ok { background: var(--green-soft); color: var(--green); }
.form-msg.err { background: #fbe9e4; color: #8a2a12; }

/* päta */
.site-footer { background: var(--ink); color: #d6ddd8; padding: 30px 0; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-in p { margin: .3em 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer .muted { color: #9aa79f; }

/* lightbox */
.lb { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(8,14,10,.9); }
.lb[open] { display: grid; place-items: center; }
.lb figure { margin: 0; padding: 56px 16px 16px; display: grid; justify-items: center; gap: 10px; }
.lb img { max-width: min(1400px, 94vw); max-height: 80vh; width: auto; background: #fff; border-radius: 4px; }
.lb figcaption { color: #fff; text-align: center; font-size: .95rem; }
.lb-btn { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* podstránky (zásady) */
.page { padding: 48px 0 64px; }
.page .prose { max-width: 78ch; }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.page table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .93rem; }
.page th, .page td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--line); }
.page th { background: var(--paper-2); }
.table-scroll { overflow-x: auto; }

/* ===== cookies (cookies.css) ===== */
.cc-bar { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.22); padding: 20px 20px 18px; font-size: .94rem; max-height: calc(100vh - 32px); overflow: auto; }
.cc-bar h2 { font-size: 1.1rem; margin: 0 0 .4em; padding-right: 32px; }
.cc-bar p { margin: 0 0 12px; }
.cc-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 6px; }
.cc-x:hover { background: var(--paper-2); color: var(--ink); }
.cc-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn { flex: 1 1 140px; min-height: 42px; padding: 0 14px; border: 2px solid var(--green); border-radius: 8px; background: #fff; color: var(--green); font: 600 .95rem/1 var(--font); cursor: pointer; }
.cc-btn:hover { background: var(--green); color: #fff; }
.cc-set { display: grid; gap: 8px; margin: 0 0 14px; }
.cc-cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.cc-cat input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--green); }
.cc-cat span { display: flex; flex-direction: column; }
.cc-cat small { color: var(--muted); font-size: .85rem; }
.cc-ph { display: grid; place-items: center; align-content: center; gap: 10px; min-height: 220px; padding: 20px; text-align: center; border: 1px dashed #b9c4bb; border-radius: 8px; background:
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 20px 20px,
  linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 20px 20px, var(--paper-2); }
.cc-ph p { margin: 0; max-width: 34em; color: var(--muted); font-size: .92rem; }
.cc-ph .cc-btn { flex: none; }

@media print {
  .site-header, .cc-bar, .form, .map, .lb, .hero-cta { display: none !important; }
  .section { padding: 20px 0; }
}
