/* KLID: hodně prostoru, jedno tenké písmo, všechno na střed, hlavička ve dvou patrech, žádné karty a stíny. */
html[data-style='klid'] {
    --bg: hsl(0 0% 100%); --surface: hsl(200 16% 96%); --surface-solid: hsl(0 0% 100%); --ink: hsl(205 22% 18%); --ink-soft: hsl(205 12% 38%); --ink-muted: hsl(205 10% 44%);
    --line: hsl(200 14% 88%); --line-strong: hsl(200 12% 72%); --primary: hsl(205 22% 18%); --primary-deep: hsl(205 30% 30%); --primary-bright: hsl(205 40% 40%); --primary-soft: hsl(200 18% 95%); --accent: hsl(200 42% 42%);
    --radius-sm: 2px; --radius-md: 2px; --radius-lg: 2px; --shadow-soft: none; --shadow-lift: none;
    --font-display: 'Hanken Grotesk', system-ui, sans-serif; --font-body: 'Hanken Grotesk', system-ui, sans-serif; line-height: 1.7;
}
html[data-style='klid'][data-theme='dark'] {
    --bg: hsl(205 18% 13%); --surface: hsl(205 16% 17%); --surface-solid: hsl(205 16% 16%); --ink: hsl(195 18% 92%); --ink-soft: hsl(200 12% 74%); --ink-muted: hsl(200 10% 66%);
    --line: hsl(200 14% 25%); --line-strong: hsl(200 12% 42%); --primary: hsl(195 18% 92%); --primary-deep: hsl(200 30% 78%); --primary-bright: hsl(200 40% 72%); --primary-soft: hsl(205 16% 20%); --accent: hsl(198 46% 66%);
}
html[data-style='klid'] :is(h1, h2, h3, .page-title, .btn, .brand-wordmark, .brand-wordmark strong, .faq-item summary, .estimator-total strong) { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
html[data-style='klid'] :is(h1, .page-title) { font-weight: 250; }
html[data-style='klid'] :is(.scroll-progress, .brand-cursor, .service-row-num, .process-step) { display: none; }
html[data-style='klid'] .wrap { width: min(1080px, calc(100% - 2.5rem)); }
html[data-style='klid'] .section { padding-block: clamp(4rem, 8vw, 7.5rem); }
html[data-style='klid'] :is(.section, .section-tinted, .section-dark) { background: none; border: 0; }
html[data-style='klid'] .section-head { flex-direction: column; align-items: center; text-align: center; gap: 1rem; margin-bottom: 4rem; }
html[data-style='klid'] :is(.section h2, .section-head h2) { font-weight: 250; font-size: clamp(2rem, 4.4vw, 3.5rem); }
html[data-style='klid'] .section .service-row h2, html[data-style='klid'] .blog-card h2, html[data-style='klid'] .blog-featured h2, html[data-style='klid'] .contact-roadmap-head h2 { font-size: 1.75rem; }
html[data-style='klid'] .btn { border-radius: 0; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); padding: 0.6rem 0; box-shadow: none; }
html[data-style='klid'] .btn:hover { transform: none; background: none; color: var(--accent); }
html[data-style='klid'] .btn-lg { font-size: 1.125rem; }
html[data-style='klid'] .link-arrow { color: var(--ink-soft); font-weight: 400; }

html[data-style='klid'] .site-header { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-style='klid'] .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; padding-block: 2.5rem 1rem; gap: 1.75rem 1rem; }
html[data-style='klid'] .brand-sig { grid-column: 2; grid-row: 1; font-size: 1.25rem; }
html[data-style='klid'] .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
html[data-style='klid'] .header-actions .btn { display: none; }
html[data-style='klid'] :is(.theme-toggle, .menu-toggle) { border: 0; background: none; }

html[data-style='klid'] .k-hero { text-align: center; padding-top: clamp(3rem, 7vw, 6rem); }
html[data-style='klid'] .k-hero h1 { font-size: clamp(2.5rem, 6.6vw, 5.75rem); line-height: 1.08; max-width: 16ch; margin-inline: auto; }
html[data-style='klid'] .k-hero p { max-width: 44ch; margin: 2rem auto; font-size: 1.1875rem; color: var(--ink-soft); }
html[data-style='klid'] .k-akce { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; justify-content: center; align-items: center; }
html[data-style='klid'] .k-dal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem; margin-top: 4rem; }
html[data-style='klid'] .k-cenik { text-align: center; }
html[data-style='klid'] .k-cenik ul { list-style: none; margin: 0; padding: 0; }
html[data-style='klid'] .k-cenik li { margin-top: clamp(3rem, 6vw, 5rem); }
html[data-style='klid'] .k-cenik li strong { display: block; font-weight: 200; font-size: clamp(2.75rem, 8vw, 6.5rem); line-height: 1.1; letter-spacing: -0.03em; }
html[data-style='klid'] :is(.k-pozn, .k-cenik li p) { color: var(--ink-soft); }
html[data-style='klid'] .k-balicky article { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 1rem 3rem; padding-block: 3rem; border-top: 1px solid var(--line); }
html[data-style='klid'] .k-balicky ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
html[data-style='klid'] .k-balicky p { color: var(--ink-soft); }
html[data-style='klid'] .k-balicky .k-cena { font-size: 2rem; font-weight: 250; color: var(--ink); white-space: nowrap; }
html[data-style='klid'] .page-hero { background: none; text-align: center; padding: clamp(3rem, 7vw, 6rem) 0; }
html[data-style='klid'] .page-title { font-size: clamp(2.5rem, 6vw, 5rem); margin-inline: auto; max-width: 18ch; }
html[data-style='klid'] .page-lead { margin-inline: auto; }
html[data-style='klid'] :is(.about-hero-grid, .contact-grid) { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
html[data-style='klid'] .contact-aside-card { text-align: left; }
html[data-style='klid'] :is(.sub-jump-pills, .hero-actions, .about-facts-strip, .blog-cats) { justify-content: center; }
html[data-style='klid'] :is(.sub-jump-pill, .blog-cat-pill) { border: 0; background: none; border-bottom: 1px solid var(--line-strong); border-radius: 0; }
html[data-style='klid'] :is(.service-row, .principle-card, .contact-card, .cenik-card, .faq-item, .blog-card, .blog-featured, .cta-editorial, .contact-aside-card, .estimator-summary, .flagship-card) { background: none; border: 0; border-radius: 0; box-shadow: none; }
html[data-style='klid'] :is(.faq-item, .cenik-card, .principle-card, .contact-card) { border-top: 1px solid var(--line); padding-inline: 0; }
html[data-style='klid'] .service-row, html[data-style='klid'] .service-row.is-dark { background: none; }
html[data-style='klid'] .service-row { grid-template-columns: 1fr; text-align: center; padding: 0 0 4rem; }
html[data-style='klid'] .service-row .check-list { list-style: none; padding: 0; width: fit-content; margin-inline: auto; text-align: left; }
html[data-style='klid'] .service-row-actions { justify-content: center; }
html[data-style='klid'] .service-row.is-dark :is(p, li, .link-arrow) { color: var(--ink-soft); }
html[data-style='klid'] .cta-editorial { grid-template-columns: 1fr; justify-items: center; text-align: center; background: none; color: var(--ink); }
html[data-style='klid'] .cta-copy p { margin-inline: auto; color: var(--ink-soft); }
html[data-style='klid'] .faq-layout { grid-template-columns: 1fr; }
html[data-style='klid'] .faq-intro { text-align: center; position: static; }
html[data-style='klid'] .faq-list { width: min(760px, 100%); margin-inline: auto; }
html[data-style='klid'] :is(.contact-roadmap-head, .about-cutout-stage) { background: var(--surface); color: var(--ink); border: 0; }
html[data-style='klid'] :is(.contact-roadmap-head h2, .contact-mini-steps strong) { color: var(--ink); }
html[data-style='klid'] :is(.contact-mini-steps p, .contact-mini-steps span) { color: var(--ink-soft); }
html[data-style='klid'] .about-cutout-backdrop { display: none; }
html[data-style='klid'] .domu-postup { grid-template-columns: 1fr; width: min(560px, 100%); margin-inline: auto; gap: 4rem; text-align: center; }
html[data-style='klid'] .domu-postup li { border: 0; }
html[data-style='klid'] .domu-postup li::before { font-weight: 200; color: var(--accent); }
html[data-style='klid'] :is(.domu-rentgen, .domu-kontakt) { grid-template-columns: 1fr; text-align: center; justify-items: center; }
html[data-style='klid'] .domu-rentgen .xray-inline-form { width: min(560px, 100%); }
html[data-style='klid'] .domu-kontakt-akce { align-items: center; }
html[data-style='klid'] .k-paticka { background: none; border: 0; text-align: center; padding-top: 6rem; }
html[data-style='klid'] .k-mail { font-size: clamp(1.25rem, 4.4vw, 3.5rem); font-weight: 200; letter-spacing: -0.02em; }
html[data-style='klid'] .k-paticka p { color: var(--ink-soft); margin-block: 1rem 2.5rem; }
html[data-style='klid'] .k-paticka ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; list-style: none; padding: 0; margin: 0 0 3rem; }
html[data-style='klid'] :is(.footer-bottom, .footer-legal-links) { justify-content: center; border: 0; }
@media (min-width: 961px) {
    html[data-style='klid'] .site-nav { grid-column: 1 / -1; justify-content: center; gap: 1.5rem; }
    html[data-style='klid'] .site-nav a { background: none; padding: 0.5rem 0; border-radius: 0; font-weight: 400; }
    html[data-style='klid'] .site-nav a.is-active { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 960px) {
    html[data-style='klid'] .header-inner { grid-template-columns: auto 1fr; padding-block: 1rem; }
    html[data-style='klid'] .brand-sig { grid-column: 1; }
    html[data-style='klid'] .header-actions { grid-column: 2; }
    html[data-style='klid'] .site-header { position: relative; }
}
@media (max-width: 760px) {
    html[data-style='klid'] .k-balicky article { grid-template-columns: 1fr; }
}
html[data-style='klid'] :is(input, select, textarea, .xray-inline-form, .xray-search-bar) { border-radius: 0; box-shadow: none; }
html[data-style='klid'] .service-row :is(.service-row-body, .service-row-media) { width: 100%; text-align: center; background: none; }
html[data-style='klid'] .service-row :is(.service-row-lead) { margin-inline: auto; }
html[data-style='klid'] .service-row-media img { margin-inline: auto; }
html[data-style='klid'] :is(.cenik-switch, .cenik-switch label) { border-radius: 0; }

/* Detail a pohyb */
html[data-style='klid'] ::selection { background: hsl(200 42% 84%); color: hsl(205 30% 14%); }
html[data-style='klid'] :is(h1, h2, h3) { text-wrap: balance; }
html[data-style='klid'] :is(p, li) { text-wrap: pretty; }
html[data-style='klid'] .btn:active { opacity: 0.6; }
html[data-style='klid'] .btn:hover { border-color: var(--accent); }
html[data-style='klid'] .faq-intro h2 { margin-inline: auto; text-align: center; }
html[data-style='klid'] .faq-intro { max-width: none; }
html[data-style='klid'] .domu-ukazka .section-head h2 { margin-inline: auto; }
html[data-style='klid'] .du-ovladani { justify-content: center; text-align: center; }
html[data-style='klid'] .du-volby { justify-content: center; }
html[data-style='klid'] .du-volby legend { margin-inline: auto; font-weight: 400; color: var(--ink-soft); }
html[data-style='klid'] .du-volby label > span { border: 0; border-bottom: 1px solid transparent; background: none; font-weight: 400; padding-inline: 0.5rem; }
html[data-style='klid'] .du-volby label:hover > span { border-color: var(--line-strong); }
html[data-style='klid'] .du-volby input:checked + span { background: none; color: var(--ink); border-color: var(--ink); }
html[data-style='klid'] .du-okno { border: 0; box-shadow: 0 0 0 1px var(--line); }
html[data-style='klid'] .du-lista { text-align: center; }
html[data-style='klid'] .du-dal { flex-direction: column; align-items: center; text-align: center; }
html[data-style='klid'] .du-dal-akce { justify-content: center; }
html[data-style='klid'] .k-cenik li h3 { margin: 0.5rem 0 0; font-size: 1.375rem; }
html[data-style='klid'] .k-cenik li p { margin: 0; }
html[data-style='klid'] .k-cenik li { margin-top: clamp(2.5rem, 5vw, 4rem); }
html[data-style='klid'] .chyba-cislo { color: var(--accent); font-weight: 200; }

/* Postup: tenká čára spojuje kroky a při posouvání se dotahuje */
html[data-style='klid'] .domu-postup li { position: relative; padding-top: 0; }
html[data-style='klid'] .domu-postup { gap: 6.5rem; }
html[data-style='klid'] .domu-postup li:not(:last-child)::after { content: ''; position: absolute; left: 50%; top: calc(100% + 1.25rem); width: 1px; height: 4rem; background: var(--line-strong); transform-origin: top; }

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        html[data-style='klid'] .domu-postup li:not(:last-child)::after { animation: k-cara linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    }
}
@keyframes k-cara { from { transform: scaleY(0); } to { transform: none; } }
@media (min-width: 961px) {
    html[data-style='klid'] .site-header { position: sticky; top: -94px; z-index: 50; background: var(--bg); }
    html[data-style='klid'] .site-nav { padding-block: 0.25rem; }
}
@media (max-width: 760px) {
    html[data-style='klid'] .k-hero { padding-top: 2rem; }
    html[data-style='klid'] .k-hero p { margin-block: 1.25rem; }
    html[data-style='klid'] .domu-postup { gap: 5.5rem; }
    html[data-style='klid'] .domu-postup li:not(:last-child)::after { height: 3rem; }
}

/* Doladění po kritice */
html[data-style='klid'][data-theme] :is(.cta-editorial, .service-row) .btn { background: none; color: var(--ink); }
html[data-style='klid'][data-theme] :is(.cta-editorial, .service-row) .btn:hover { color: var(--accent); }
html[data-style='klid'] .service-row-body { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
html[data-style='klid'] .service-row .service-row-media { order: 2; }
html[data-style='klid'] .service-row { gap: 2rem; }
html[data-style='klid'] .section h2.case-flow-label { font-size: 1.125rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
html[data-style='klid'] .case-flow-col { border: 0; background: none; }
html[data-style='klid'] .k-balicky article { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; padding-block: clamp(3rem, 6vw, 5rem); border: 0; }
html[data-style='klid'] .k-balicky article > :last-child { order: -1; }
html[data-style='klid'] .k-balicky .k-cena { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 200; line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
html[data-style='klid'] .k-balicky :is(h3, div > p) { margin: 0; }
html[data-style='klid'] .k-balicky article > div:first-child h3 { font-size: 1.375rem; }
html[data-style='klid'] :is(.cenik-extras, .cenik-hosting, .blog-empty, .cenik-foot, .cenik-note) { margin-inline: auto; text-align: center; }
html[data-style='klid'] .cenik-rows { text-align: left; }
html[data-style='klid'] .cenik-hosting .cenik-card, html[data-style='klid'] .principle-card { text-align: center; }
html[data-style='klid'] .cenik-grid .cenik-card { text-align: center; }
html[data-style='klid'] .cenik-price { font-weight: 250; }
html[data-style='klid'] .cenik-switch { margin-inline: auto; }
html[data-style='klid'] .estimator-total strong { font-weight: 250; }
html[data-style='klid'] .contact-card { border: 0; }
html[data-style='klid'] .chyba :is(h1, .page-lead) { margin-block: 1rem; }
html[data-style='klid'] .chyba .chyba-cislo { line-height: 1.1; }

/* Finále: vycházející slunce, pevnější písmo, poloviční výška */
html[data-style='klid'] { --slunce: hsl(24 88% 72%); --slunce-okraj: hsl(38 92% 84%); }
html[data-style='klid'][data-theme='dark'] { --slunce: hsl(18 62% 52%); --slunce-okraj: hsl(30 60% 36%); }
html[data-style='klid'] :is(h1, .page-title, .section h2, .section-head h2) { font-weight: 320; }
html[data-style='klid'] :is(.k-cenik li strong, .k-balicky .k-cena, .k-mail, .domu-postup li::before, .chyba-cislo) { font-weight: 320; }
html[data-style='klid'] .section { padding-block: clamp(3rem, 5vw, 4.5rem); }
html[data-style='klid'] .section-head { margin-bottom: 2rem; }
html[data-style='klid'] .k-hero { position: relative; isolation: isolate; overflow: clip; display: grid; align-items: start; min-height: min(calc(100svh - 150px), 720px); padding-top: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--line-strong); }
html[data-style='klid'] .k-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
html[data-style='klid'] .k-hero p { margin: 1.25rem auto; }
html[data-style='klid'] .k-slunce { position: absolute; z-index: -1; left: 50%; top: 66%; width: min(820px, 120vw); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 50% 24%, var(--slunce-okraj), var(--slunce) 70%); }
html[data-style='klid'] .domu-postup { grid-template-columns: repeat(4, 1fr); width: auto; gap: 2rem; }
html[data-style='klid'] .domu-postup li:not(:last-child)::after { left: calc(50% + 2rem); top: 1.25rem; width: calc(100% - 2rem); height: 1px; transform-origin: left; }
html[data-style='klid'] .domu-postup h3 { font-size: 1.125rem; margin-block: 0.75rem 0.25rem; }
html[data-style='klid'] .k-cenik ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
html[data-style='klid'] .k-cenik li { margin: 0; }
html[data-style='klid'] .k-cenik li strong { font-size: clamp(2rem, 4vw, 3.25rem); white-space: nowrap; }
html[data-style='klid'] .k-dal { margin-top: 2rem; }
html[data-style='klid'] .k-balicky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
html[data-style='klid'] .k-balicky article { align-content: start; padding-block: 1.5rem; }
html[data-style='klid'] .k-balicky .k-cena { font-size: clamp(2rem, 4vw, 3rem); }
html[data-style='klid'] .k-paticka { padding-top: 2.5rem; }
html[data-style='klid'] .k-paticka ul { margin: 1.5rem 0 1rem; }
html[data-style='klid'] .page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); position: relative; isolation: isolate; overflow: clip; }
html[data-style='klid'] .page-hero::after { content: ''; position: absolute; z-index: -1; left: 50%; top: 0; width: 120px; aspect-ratio: 1; translate: -50% -72%; border-radius: 50%; background: var(--slunce); }
html[data-style='klid'] .page-title { font-size: clamp(2.5rem, 5vw, 4rem); }
html[data-style='klid'] .domu-kontakt:has(.foto) { grid-template-columns: 1fr; gap: 1.25rem; }
html[data-style='klid'] .domu-kontakt .foto, html[data-style='klid'] .foto-kontakt { width: 160px; aspect-ratio: 1; border-radius: 50%; background: var(--slunce); margin-inline: auto; }
html[data-style='klid'] .foto-kontakt img { width: 84%; margin: 12% auto 0; }
html[data-style='klid'] .kontakt-mrizka { grid-template-columns: 1fr; justify-items: center; gap: 2rem; }
html[data-style='klid'] .kontakt-mrizka .foto { order: -1; }
html[data-style='klid'] .kontakt-udaje { justify-content: center; }
html[data-style='klid'] .kontakt-mail { font-weight: 400; }
html[data-style='klid'] .kontakt::after, html[data-style='klid'] .omne::after { display: none; }
html[data-style='klid'] .omne-mrizka { grid-template-columns: 1fr; justify-items: center; }
html[data-style='klid'] .omne-mrizka .foto { order: -1; width: min(300px, 70vw); border-radius: 200px 200px 0 0; border-bottom: 1px solid var(--line-strong); }
html[data-style='klid'] .omne-mrizka .foto img { border-radius: 0; object-position: 50% 20%; }
html[data-style='klid'] .omne-body li { border: 0; padding: 0.35rem 0; }
html[data-style='klid'] .prj { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
html[data-style='klid'] .prj article { grid-template-columns: 1fr; text-align: center; border: 0; padding: 0; gap: 1rem; align-content: start; }
html[data-style='klid'] .section .prj h2 { font-size: 1.375rem; }
html[data-style='klid'] .domu-radky dl > div { display: block; text-align: center; }
html[data-style='klid'] .domu-radky dd { justify-content: center; }
html[data-style='klid'] .domu-radky dt { display: none; }
html[data-style='klid'] .du-lista { padding-block: 0.5rem; }
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: scroll()) {
        html[data-style='klid'] .k-slunce { animation: k-vychod linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
    }
}
@keyframes k-vychod { to { transform: translateY(-14%); } }
@media (max-width: 760px) {
    html[data-style='klid'] .k-slunce { top: 68%; }
    html[data-style='klid'] .k-hero { min-height: calc(100svh - 75px - 64px); }
    html[data-style='klid'] .domu-postup { grid-template-columns: 1fr; gap: 1.75rem; }
    html[data-style='klid'] .domu-postup li:not(:last-child)::after { display: none; }
    html[data-style='klid'] :is(.k-cenik ul, .k-balicky, .prj) { grid-template-columns: 1fr; gap: 1.75rem; }
    html[data-style='klid'] .prj article { justify-items: center; }
    html[data-style='klid'] .prj img { width: 220px; }
}
html[data-style='klid'] .clanky { border: 0; }
html[data-style='klid'] .clanky li { grid-template-columns: 1fr; text-align: center; justify-items: center; border: 0; padding: 1.1rem 0; }
html[data-style='klid'] .clanky span { display: none; }
html[data-style='klid'] .article-head-wrap, html[data-style='klid'] .article-meta-row { text-align: center; justify-content: center; }
html[data-style='klid'] .k-balicky article { grid-template-rows: auto auto 1fr auto; }
html[data-style='klid'] .k-balicky article > div:last-child { display: contents; }
html[data-style='klid'] .k-balicky .k-cena { order: -1; }
html[data-style='klid'] .k-balicky .link-arrow { order: 3; }
html[data-style='klid'] .service-row-media { width: auto !important; }
html[data-style='klid'] .service-row-media img { width: min(420px, 100%); height: auto; }
html[data-style='klid'] .service-row { padding-bottom: 2rem; }
html[data-style='klid'] .case-stage { margin-inline: auto; }

/* Fotka má celá ramena */
html[data-style='klid'] .foto-kontakt img, html[data-style='klid'] .domu-kontakt .foto img { width: 116%; max-width: none; margin: 8% 0 0 -8%; }
