/* SecureBase web: společné styly všech stránek. Zdroj, build.py ho kopíruje do site/.
   Světlý vzhled (návrh C, 13. 10. 2026): světlý obsah, tmavá lišta, úvod a výzva.
   Tmavé bloky přepínají stejné proměnné, komponenty se jim přizpůsobí samy. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f7f6f3; --card: #ffffff; --alt: #efebe4; --warm: #f0e7dc;
  --ink: #14232a; --ink-2: #2a3940; --muted: #56646a; --faint: #6f7c81;
  --line: #e4e1da; --line-2: #cfcac0; --line-3: #b9b3a7;
  --acc: #b9532d; --acc-h: #a3461f; --acc-text: #a8482a; --on-acc: #ffffff;
  --logo: #d9744f; --logo-text: #b9532d;
  --dark: #0e1c22; --dark-2: #09151a;
  --font-h: 'Schibsted Grotesk', system-ui, sans-serif; --font-b: 'Public Sans', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(14,28,34,.05), 0 8px 24px rgba(14,28,34,.06);
}
.topbar, nav, .hero, .page-head, .cta-band, .plan-card {
  --card: #13262e; --alt: #172d36;
  --ink: #ffffff; --ink-2: #dbe3e6; --muted: #b3c1c6; --faint: #93a3a8;
  --line: #1f343c; --line-2: #34505a; --line-3: #4b6873;
  --acc: #d2683f; --acc-h: #df7a52; --acc-text: #ef9f7c; --logo-text: #e8916b;
  color: var(--ink);
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-b); font-size: 17px; line-height: 1.6; background: var(--bg); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
::selection { background: rgba(201,95,55,.22); }
a { color: var(--acc-text); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.kicker { color: var(--acc-text); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.sec { padding: 112px 0 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.sec-head h2 { max-width: 15em; }
.sec-head p { max-width: 30em; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem; line-height: 1.2; border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--acc); color: var(--on-acc); }
.btn-primary:hover { background: var(--acc-h); color: var(--on-acc); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks svg { width: 17px; height: 17px; flex-shrink: 0; transform: translateY(3px); stroke: var(--acc-text); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* HORNÍ PRUH A LIŠTA */
.topbar { background: var(--dark-2); border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--faint); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 38px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: var(--ink-2); }
.topbar a:hover { color: var(--ink); }
nav { position: sticky; top: 0; z-index: 100; background: var(--dark); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: block; line-height: 1.05; }
.logo-name { display: block; font-family: var(--font-h); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.logo-name b { font-weight: inherit; color: var(--logo-text); }
.logo-sub { display: block; color: var(--faint); font-size: .8rem; margin-top: 3px; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: block; color: var(--ink-2); font-size: .97rem; font-weight: 500; padding: 9px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--alt); }
.nav-links a.active:not(.cta) { color: var(--ink); background: var(--alt); }
.nav-links a.cta { background: var(--acc); color: var(--on-acc); font-weight: 600; padding: 11px 20px; margin-left: 14px; border-radius: 10px; }
.nav-links a.cta:hover { background: var(--acc-h); }
.nav-links .m-only { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ÚVOD */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.hero-t { padding: 96px 56px 140px 0; }
h1 { font-size: clamp(2.7rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 24px; }
.hero .lead { font-size: 1.18rem; max-width: 32em; }
.hero-p { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.hero-p picture, .hero-p img { width: 100%; height: 100%; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts dt { font-family: var(--font-h); font-size: 2.1rem; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.facts dd { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.facts-card { position: relative; z-index: 2; margin-top: -72px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 40px; box-shadow: 0 10px 30px rgba(14,28,34,.09); }

/* DVA PILÍŘE */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar { min-width: 0; background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pillar figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--alt); }
.pillar figure picture, .pillar figure img { width: 100%; height: 100%; object-fit: cover; }
.pillar figure.on-screen { padding: 24px 24px 0; background: #e6eaea; }
.pillar figure.on-screen img { border-radius: 8px 8px 0 0; object-position: top left; }
.pillar-b { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pillar h2 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.pillar p { color: var(--muted); }
.pillar .checks { margin: 6px 0 8px; color: var(--ink-2); }
.pillar .btn { align-self: flex-start; margin-top: auto; }
.scr-cap { margin-top: 10px; color: var(--faint); font-size: .84rem; }

/* REALIZACE */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 236px; grid-auto-flow: row dense; gap: 16px; }
.gal figure { display: flex; flex-direction: column; min-height: 0; margin: 0; }
.gal figure.tall { grid-row: span 2; }
.gal picture { flex: 1 1 auto; min-height: 0; display: block; }
.gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--alt); }
.gal figcaption { flex: none; padding-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.4; min-height: 2.1em; }
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ref { background: var(--card); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); }
.ref.alt { background: var(--warm); box-shadow: none; }
.ref h3 { font-size: 1.3rem; margin-bottom: 4px; }
.ref .n { color: var(--acc-text); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.ref p { color: var(--muted); font-size: .96rem; line-height: 1.55; }
.ref p strong { color: var(--ink); font-weight: 600; }
.ref a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .96rem; }

/* PŮDORYS: zůstává tmavý jako výkres */
.plan-card { margin: 0; background: var(--dark); border-radius: 16px; padding: 16px 16px 12px; }
.plan svg { display: block; width: 100%; height: auto; }
.floor { fill: rgba(241,235,228,.035); }
.fur { fill: rgba(142,170,182,.05); stroke: rgba(142,170,182,.3); stroke-width: 1.1; }
.wall { fill: none; stroke: #d9b48f; stroke-width: 7; stroke-linejoin: miter; }
.iwall { fill: none; stroke: #d9b48f; stroke-width: 3.5; opacity: .7; stroke-linecap: square; }
.cut { stroke: #0e1c22; stroke-width: 9; }
.glass { stroke: #8eaab6; stroke-width: 1.2; opacity: .85; }
.door { fill: none; stroke: #d9b48f; stroke-opacity: .45; stroke-width: 1.2; }
.fence { fill: none; stroke: #8eaab6; stroke-opacity: .45; stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.room { fill: #8eaab6; font: 500 11px var(--font-b); opacity: .85; }
.fov { stroke: #f4a261; stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 3 4; }
.cables { opacity: 0; transition: opacity .3s; }
.cables path { fill: none; stroke: #8eaab6; stroke-width: 1.3; stroke-dasharray: 4 3; }
.dev { transition: opacity .25s; }
.plan.focus .dev { opacity: .12; }
.plan.focus .dev.on { opacity: 1; }
.plan.focus .dev.on .cables { opacity: .75; }
.plan[data-k="net"] .dev[data-k="cam"] { opacity: .45; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 4px 2px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 .82rem var(--font-b); color: var(--muted); border: 1px solid var(--line-2); background: transparent; padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.chip:hover, .chip.on { color: var(--ink); border-color: var(--line-3); background: rgba(255,255,255,.06); }
.chip svg { width: 16px; height: 16px; flex-shrink: 0; }
.chip[data-k="cam"] svg { width: 19px; height: 19px; margin: -2px 0 -2px -3px; }
.legend-note { min-height: 3.2em; padding: 10px 6px 2px; color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* SVJ */
.svj { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; background: var(--warm); border-radius: 18px; padding: 56px; }
.svj h2 { margin-bottom: 18px; }
.svj p { color: var(--muted); }
.svj p + p { margin-top: 12px; }
.svj .note { color: var(--faint); font-size: .88rem; }
.svj .btn { margin-top: 28px; }
.svj .checks { align-content: start; color: var(--ink-2); }

/* APLIKACE */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); }
.sym svg { width: 21px; height: 21px; stroke: var(--acc-text); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card .sym { width: 46px; height: 46px; display: grid; place-items: center; background: var(--warm); border-radius: 12px; margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.cases-h { font-size: 1.8rem; margin: 64px 0 20px; }
.case { background: var(--card); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { font-size: .82rem; color: var(--ink-2); background: var(--alt); padding: 3px 11px; border-radius: 100px; }

/* SPOLEČNÉ */
.common { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.common div { background: var(--card); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); }
.common h3 { font-size: 1.3rem; margin-bottom: 8px; }
.common p { color: var(--muted); }

/* POSTUP */
.steps { list-style: none; counter-reset: k; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.steps li { counter-increment: k; border-top: 2px solid var(--line-2); padding: 18px 0 32px; }
.steps li:first-child { border-color: var(--acc); }
.steps li::before { content: "Krok " counter(k); display: block; color: var(--acc-text); font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* O NÁS */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about h2 { margin-bottom: 22px; }
.about p { color: var(--muted); }
.about p:first-of-type { font-size: 1.15rem; color: var(--ink-2); }
.about p + p { margin-top: 14px; }
.about-box { background: var(--card); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.about-box h3 { font-size: 1.35rem; margin-bottom: 18px; }
.about-box .checks { color: var(--ink-2); }

/* KONTAKT */
.contact { padding: 72px 0 112px; }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 14px; }
.phone { display: inline-block; font-family: var(--font-h); font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); margin: 6px 0 6px; }
.phone:hover { color: var(--acc-text); }
.ci { margin-top: 24px; border-top: 1px solid var(--line); }
.ci div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.ci div > span:first-child { color: var(--muted); flex-shrink: 0; }
.ci div > :last-child { text-align: right; }
.fault { margin-top: 28px; padding: 26px; background: var(--warm); border-radius: 14px; }
.fault h3, .fault .h3 { font-size: 1.3rem; margin-bottom: 6px; }
.fault p { color: var(--muted); font-size: .96rem; }
.fault-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fault-actions .btn { padding: 11px 16px; font-size: .92rem; }
.contact-form { background: var(--card); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
.contact-form h2, .contact-form h3 { font-size: 1.6rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .87rem; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; color: var(--ink); font: inherit; font-size: .97rem; outline: none; transition: border-color .2s, background .2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #8d979b; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--acc); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit { width: 100%; border: none; cursor: pointer; font-family: inherit; margin-top: 4px; }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.form-hint { color: var(--muted); font-size: .88rem; margin: -2px 0 16px; line-height: 1.55; }
.form-note { color: var(--muted); font-size: .84rem; margin-top: 14px; line-height: 1.55; }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fbeee8; border: 1px solid #e9b9a5; color: #7a3018; font-size: .93rem; }
.form-error.visible { display: block; }
.form-error a { color: #7a3018; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 40px 16px; }
.success-icon { width: 60px; height: 60px; background: var(--warm); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.success-icon svg { width: 28px; height: 28px; stroke: var(--acc-text); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success p { font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.form-success small { color: var(--muted); font-size: .95rem; display: block; margin-top: 6px; }

/* PATIČKA */
footer { background: var(--card); border-top: 1px solid var(--line); padding: 52px 0 32px; }
footer .logo-name b { color: var(--logo-text); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; margin-bottom: 32px; }
.footer-top p { color: var(--muted); font-size: .95rem; margin-top: 14px; max-width: 30em; }
.footer-links { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.footer-links a { color: var(--ink-2); font-size: .94rem; }
.footer-links a:hover { color: var(--acc-text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; color: var(--faint); font-size: .84rem; line-height: 1.6; }
.footer-bottom p + p { margin-top: 6px; }
.footer-bottom a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 2px; }

/* PLOVOUCÍ TLAČÍTKA */
.float-buttons { position: fixed; bottom: 24px; right: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(14,28,34,.25); transition: transform .2s; position: relative; }
.float-btn:hover { transform: scale(1.06); }
.float-btn svg { width: 24px; height: 24px; }
.float-label { position: absolute; right: 66px; background: var(--dark); color: #fff; font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 7px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-btn:hover .float-label { opacity: 1; }
.float-phone { background: var(--acc); }
.float-phone svg { stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.float-whatsapp { background: #25d366; }
.float-whatsapp svg { fill: #fff; }

/* PODSTRÁNKY */
.page-head { background: var(--dark); padding: 84px 0 72px; }
.page-head h1 { margin-bottom: 20px; max-width: 14em; }
.page-head .facts { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.page-head .actions { margin-top: 32px; }
.h1-sub { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.04; max-width: 14em; }
.h3 { font-size: 1.5rem; line-height: 1.15; }
.h-gap { margin-bottom: 40px; }
.sec-first { padding-top: 72px; }
.sec-last { padding-bottom: 112px; }
.page-head + section:not(.sec):not(.contact) { padding-top: 64px; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.jump a { display: block; padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--ink-2); font-size: .93rem; transition: border-color .2s, color .2s, background .2s; }
.jump a:hover { border-color: var(--ink-2); color: var(--ink); background: var(--alt); }

/* SLUŽBY */
.sys { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; align-items: start; }
.sys > div { min-width: 0; }
.sys:first-child { border-top: 0; padding-top: 72px; }
.sys h2 { margin-bottom: 18px; }
.sys > div > p { color: var(--muted); }
.sys > div > p + p { margin-top: 12px; }
.sys .for { color: var(--muted); font-size: .96rem; margin-top: 16px; }
.sys .for strong { color: var(--ink); font-weight: 600; }
.sys > div > .checks { margin-top: 24px; color: var(--ink-2); }
.sys-pic { margin: 0; }
.sys-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.sys-pic.tall { max-width: 420px; margin-left: auto; }
.sys-pic.tall img { aspect-ratio: 4 / 5; }
.sys-card { align-self: start; background: var(--card); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.sys-card .checks { color: var(--ink-2); }

/* ÚVOD: ukázky a pruhy */
.teaser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.teaser figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--alt); }
.teaser picture, .teaser img { width: 100%; height: 100%; object-fit: cover; }
.teaser figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; color: #fff; font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(9,21,26,.66)); }
.more { margin-top: 28px; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; background: var(--warm); border-radius: 18px; padding: 48px 52px; }
.band > div { flex: 1 1 520px; }
.band h2 { margin-bottom: 14px; }
.band p { color: var(--muted); max-width: 40em; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; background: var(--dark); border-radius: 18px; padding: 56px; }
.cta-band > div:first-child { flex: 1 1 460px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band .phone { margin: 16px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* APLIKACE: prohlídka obrazovek */
.tour { display: grid; gap: 88px; }
.tour-item { display: grid; grid-template-columns: 1.45fr .55fr; gap: 48px; align-items: center; }
.tour-item.flip { grid-template-columns: .55fr 1.45fr; }
.tour-item.flip .tour-shot { order: 2; }
.tour-shot { margin: 0; border-radius: 14px; overflow: hidden; background: var(--dark); box-shadow: 0 2px 4px rgba(14,28,34,.06), 0 18px 40px rgba(14,28,34,.12); }
.tour-shot img { width: 100%; }
.tour-shot.phone-shot { max-width: 300px; justify-self: center; border-radius: 28px; }
.tour-text h3 { font-size: 1.6rem; margin-bottom: 12px; }
.tour-text p { color: var(--muted); }
.tour-text .checks { margin-top: 18px; color: var(--ink-2); font-size: .97rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media (max-width: 1100px) {
  .nav-links a { padding: 9px 10px; }
  .nav-links a.cta { margin-left: 8px; }
  .teaser { grid-template-columns: 1fr 1fr; }
  .tour-item, .tour-item.flip { grid-template-columns: 1fr; gap: 24px; }
  .tour-item.flip .tour-shot { order: 0; }
  .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .refs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .sys { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .sys:first-child { padding-top: 56px; }
  .sys-pic.tall { margin-left: 0; }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars, .svj, .about, .contact-inner { grid-template-columns: 1fr; }
  .svj { gap: 28px; padding: 40px; }
  .cards3, .common { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-t { padding: 64px 0 48px; }
  .hero-p { position: static; width: 100%; height: 340px; }
  .hero { display: flex; flex-direction: column; }
  .topbar-place { display: none; }
}
@media (max-width: 940px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: fixed; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 16px; background: var(--dark); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; border-radius: 0; font-size: 1.04rem; }
  .nav-links a.active:not(.cta) { background: var(--alt); }
  .nav-links .m-only { display: block; }
  .nav-links a.cta { margin: 10px 16px 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .nav { height: 68px; }
  .nav-links { top: 68px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 1.3rem; }
  .logo-sub { font-size: .74rem; }
  .page-head { padding: 52px 0 44px; }
  .band, .cta-band { padding: 30px 22px; }
  .steps-4 { grid-template-columns: 1fr; }
  .sec-last { padding-bottom: 80px; }
  .teaser { gap: 10px; }
  .teaser figcaption { font-size: .8rem; padding: 24px 10px 10px; }
  .hero-t { padding: 48px 0 40px; }
  .hero .lead { font-size: 1.06rem; }
  .hero-p { height: 260px; }
  .facts-card { padding: 22px; margin-top: -64px; }
  .facts { gap: 18px 12px; }
  .facts dt { font-size: 1.7rem; }
  .sec { padding-top: 80px; }
  .pillar-b, .contact-form { padding: 24px; }
  .pillar figure.on-screen { padding: 14px 14px 0; }
  .svj { padding: 28px 22px; }
  .refs, .steps, .form-row { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 168px; gap: 14px 10px; }
  .gal figcaption { font-size: .78rem; min-height: 2.9em; }
  .contact { padding: 56px 0 80px; }
  .ci div { flex-direction: column; gap: 2px; }
  .ci div > :last-child { text-align: left; }
  .footer-links { grid-template-columns: 1fr; }
  .float-buttons { bottom: 16px; right: 14px; }
}
