:root {
  --bg: #ffffff;
  --tint: #f6f7f9;
  --surface: #ffffff;
  --line: #e6e8ec;
  --text: #16191f;
  --muted: #5b6472;
  --accent: #f26419;
  --accent-dark: #d4520c;
  --accent-soft: #fff1e8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 2px 4px rgba(16,24,40,.04), 0 20px 48px rgba(16,24,40,.12);
  --max: 1200px;
  --header-h: 128px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.accent { color: var(--accent); }

h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; line-height: 1.35; }
p { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(242,100,25,.25);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(242,100,25,.4); outline-offset: 2px; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--tint); border-color: #cfd3da; }
.btn-sm { padding: 9px 18px; font-size: .9rem; box-shadow: none; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.header-top { border-bottom: 1px solid var(--line); }
.header-top-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.logo b { color: var(--accent); font-weight: 800; }
.logo-mark { width: 30px; height: 30px; color: var(--accent); }
.header-contact { display: flex; align-items: center; gap: 22px; }
.hc-item { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.hc-item:hover { color: var(--accent); }
.hc-item svg, .ci svg, .trust svg, .drop svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-item svg { width: 18px; height: 18px; }

/* Podélná lišta služeb */
.servicebar { background: var(--text); }
.servicebar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.servicebar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 14px; color: #d3d7de; font-weight: 600; font-size: .95rem;
  border-right: 1px solid rgba(255,255,255,.08); position: relative;
  transition: background .2s, color .2s; white-space: nowrap;
}
.servicebar a:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.servicebar .short { display: none; }
.servicebar a svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.servicebar a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.servicebar a:hover { background: rgba(255,255,255,.06); color: #fff; }
.servicebar a.active { background: rgba(255,255,255,.08); color: #fff; }
.servicebar a.active::after, .servicebar a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 75%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #f7d4bf; color: var(--accent-dark); font-size: .85rem; font-weight: 600; margin-bottom: 22px; }
.lead { font-size: 1.15rem; margin: 20px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 500; color: var(--text); }
.trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e3f6ea; stroke: #1f9d55; stroke-width: 3; }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600;
}
.fc-1 { left: -24px; bottom: 32px; flex-direction: column; align-items: flex-start; gap: 0; }
.fc-1 strong { font-size: 1.8rem; color: var(--accent); line-height: 1.1; }
.fc-1 span { color: var(--muted); font-weight: 500; font-size: .85rem; }
.fc-2 { right: -16px; top: 28px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #f7d4bf; }
.card p { font-size: .95rem; flex: 1; }
.card .more { margin-top: 18px; color: var(--accent); font-weight: 700; font-size: .92rem; }
.card .more i { font-style: normal; display: inline-block; transition: transform .2s; }
.card:hover .more i { transform: translateX(4px); }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Service detail ---------- */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-grid.reverse .service-media { order: 2; }
.service-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.service-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .6s; }
.service-media:hover img { transform: scale(1.03); }
.service-text > p { margin-bottom: 20px; }
.checks { list-style: none; margin: 4px 0 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26419' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips span { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,.94); font-size: .85rem; font-weight: 600; color: var(--text);
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps .num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.steps p { font-size: .95rem; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.why-list b { display: block; margin-bottom: 4px; }
.why-list span { color: var(--muted); font-size: .93rem; }

/* ---------- FAQ ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
details[open] { box-shadow: var(--shadow); border-color: #f7d4bf; }
summary { cursor: pointer; font-weight: 600; font-size: 1.03rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.ci { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); flex: none; }
.ci svg { width: 20px; height: 20px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form > label, .form .row label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--text); }
.form input[type=text], .form input[type=email], .form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--tint); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(242,100,25,.12); }
.form .invalid { border-color: #e5484d !important; background: #fff5f5 !important; }

.svc-pick { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pick legend { font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.svc-pick label { cursor: pointer; }
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick span { display: block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--muted); transition: .2s; }
.svc-pick label:hover span { border-color: #cfd3da; color: var(--text); }
.svc-pick input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.svc-pick input:focus-visible + span { outline: 3px solid rgba(242,100,25,.4); outline-offset: 2px; }

.drop {
  display: flex !important; align-items: center; gap: 14px; cursor: pointer;
  padding: 18px; border: 2px dashed #d6dae1; border-radius: 12px; background: var(--tint);
  font-weight: 400 !important; color: var(--muted) !important; transition: border-color .2s, background .2s;
}
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.drop b { color: var(--accent); }
.form-note { font-size: .92rem; min-height: 1.2em; }
.form-note.ok { color: #1f9d55; } .form-note.err { color: #e5484d; }

.form input[type=url] {
  font: inherit; font-weight: 400; color: var(--text); background: var(--tint); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gdpr { font-size: .8rem; text-align: center; }
.gdpr a { color: var(--accent); text-decoration: underline; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- Seznam příloh ---------- */
.file-list { list-style: none; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.fl-top { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.fl-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.fl-size { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.fl-remove { border: 0; background: var(--tint); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--muted); }
.fl-remove:hover { background: #ffe4e4; color: #e5484d; }
.form.busy .fl-remove { visibility: hidden; }
.fl-bar { height: 4px; border-radius: 4px; background: var(--tint); margin-top: 8px; overflow: hidden; }
.fl-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.file-list li.done .fl-bar i { background: #22c55e; }
.link-alt { background: none; border: 0; padding: 0; margin: 0; box-shadow: none !important; }
.link-alt summary { font-size: .88rem; font-weight: 500; color: var(--muted); justify-content: flex-start; }
.link-alt summary::after { display: none; }
.link-alt summary:hover { color: var(--accent); }
.link-alt input { margin-top: 10px; }
.page-404 { text-align: center; }
.page-404 > p:not(.eyebrow) { margin: 16px 0 28px; }

/* ---------- Pro koho ---------- */
.audience { padding: 0 0 96px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.aud { display: flex; gap: 16px; align-items: flex-start; }
.aud h3 { margin-bottom: 2px; }
.aud p { font-size: .94rem; }
.aud-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--text); display: grid; place-items: center; }
.aud-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0; margin: 0 0 -1px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent) 0%, #ff8a3d 100%); color: #fff;
  border-radius: 24px; padding: 48px 56px; margin-top: 96px; box-shadow: 0 20px 48px rgba(242,100,25,.25);
}
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--accent-dark); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: #fff4ec; border-color: #fff4ec; color: var(--accent-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Floating helpers ---------- */
.mobile-cta { display: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Legal page ---------- */
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal a { color: var(--accent); text-decoration: underline; }
.header-top-inner .btn-ghost { white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { padding: 32px 0; background: var(--text); color: #c9ced6; }
.footer .logo { color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { font-size: .9rem; } .footer nav a:hover { color: #fff; }
.footer p { font-size: .85rem; color: #8d95a3; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .servicebar a { font-size: .88rem; gap: 8px; }
  .hc-item span { display: none; }
  .hc-item { width: 38px; height: 38px; justify-content: center; border: 1px solid var(--line); border-radius: 10px; }
}
@media (max-width: 960px) {
  :root { --header-h: 118px; }
  .hero-inner, .service-grid, .why, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid.reverse .service-media { order: 0; }
  .hero-media { max-width: 640px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  /* lišta zůstává vodorovná, jen se zkrátí názvy */
  .servicebar .full { display: none; }
  .servicebar .short { display: inline; }
  .servicebar-inner { padding: 0; }
  .servicebar a { height: 54px; padding: 0 8px; }
}
@media (max-width: 480px) {
  .servicebar a { flex-direction: column; gap: 3px; height: 60px; font-size: .78rem; }
  .servicebar a svg { width: 20px; height: 20px; }
  .servicebar a:first-child { border-left: 0; }
  .servicebar a:last-child { border-right: 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-top-inner { height: 62px; }
  .header-contact { gap: 8px; }
  .header-contact .btn { padding: 8px 12px; font-size: .85rem; }
  .header-contact .hc-item:nth-child(2) { display: none; }
  .hide-sm { display: none; }
  .header-contact .btn { text-transform: capitalize; white-space: nowrap; }
  .servicebar a span { font-size: .85rem; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .fc-1 { left: 12px; bottom: 12px; } .fc-2 { right: 12px; top: 12px; }
  .cards, .steps, .why-list, .form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-wide { grid-column: auto; }
  .form { padding: 22px; }
  .audience { padding-bottom: 64px; }
  .cta-inner { padding: 32px 24px; margin-top: 64px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,24,40,.08); transition: transform .3s;
  }
  .mobile-cta .btn { padding: 12px; font-size: .95rem; box-shadow: none; }
  .mobile-cta.hide { transform: translateY(110%); }
  body { padding-bottom: 72px; }
  .to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
