/* Shared presentation refresh; the original content and gallery remain intact. */
:root {
    --green: #5c8b03;
    --green-dark: #2d4d00;
    --lime: #cdf070;
    --ink: #242424;
    --muted: #656565;
    --line: #deded8;
    --paper: #f3f3f3;
    --width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: #343434;
    font: 16px/1.7 Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
a { text-underline-offset: 4px; }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 5px;
}
button { font: inherit; }
.museo300 { font-family: Arial, Helvetica, sans-serif; }
.museo500, .museo700 { font-family: Arial, Helvetica, sans-serif; font-weight: 700; }

.stranka .hlavicka, .podstranka .hlavicka {
    width: min(var(--width), calc(100% - 48px));
    height: auto;
    min-height: 138px;
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    column-gap: 24px;
    padding: 22px 0;
}
.logo-textove {
    position: static;
    width: auto;
    height: auto;
    grid-column: 1;
    grid-row: 1 / 3;
    z-index: auto;
}
.logo-textove h1 { margin: 0; }
.logo-textove a, .logo-textove a:hover {
    display: inline-block;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -1.6px;
}
.logo-textove a::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 0 23px 5px;
    border-radius: 50%;
    background: var(--green);
}
.logo-obrazkove { display: none; }
.kontakty {
    position: static;
    grid-column: 2;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 15px;
}
.kontakty strong { color: #343434; }
ul.menu {
    position: static;
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    width: auto;
    padding: 0;
    margin: 0;
}
ul.menu > li {
    position: relative;
    float: none;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 15px;
}
ul.menu > li > a, ul.menu > li > button {
    display: block;
    padding: 9px 13px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.5;
}
ul.menu > li > button::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
ul.menu > li > a:hover, ul.menu > li > button:hover,
ul.menu > li.is-open > button { background: #e7ebdf; color: var(--green-dark); }
ul.menu > li.active > a, ul.menu > li.active > button {
    background: var(--green);
    color: #fff;
}
ul.menu li ul.submenu, ul.menu li.active ul.submenu,
ul.menu li:hover ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 224px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px #00000014;
    z-index: 30;
}
ul.menu li.is-open ul.submenu { display: block; }
ul.submenu li, ul.submenu li:first-of-type {
    float: none;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 14px;
}
ul.menu li ul.submenu li a {
    display: block;
    padding: 10px 12px;
    border-radius: 5px;
    background: transparent;
    color: var(--ink);
}
ul.menu li ul.submenu li a:hover { background: #edf3e3; color: var(--green-dark); }

.promo, .podstranka .promo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: auto;
    background: var(--green);
}
.promo::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: calc(50% + 350px);
    width: 210px;
    height: 210px;
    transform: translate(-50%, -50%);
    border: 1px solid #cdf07066;
    border-radius: 50%;
    box-shadow: 0 0 0 48px #cdf07012, 0 0 0 96px #cdf07012, 0 0 0 144px #cdf0700a;
}
.promo .promo-obsah, .podstranka .promo-obsah {
    width: min(var(--width), calc(100% - 48px));
    height: auto;
    margin: 0 auto;
    padding: 64px 280px 64px 0;
    background: none;
}
.promo h1 {
    display: block;
    margin: 0;
    padding: 0;
    background: none;
    color: #fff;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.16;
    letter-spacing: -1.5px;
    text-wrap: balance;
}
.promo p {
    margin: 24px 0 28px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.85;
}
.promo p:last-child { margin-bottom: 0; }
.promo strong, .promo p a { color: #fff; }
.promo a.button-grey, .tarify a.button, .telo a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 46px;
    margin: 0;
    padding: 11px 23px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: var(--green);
    color: #fff;
    font: 600 15px/1.5 Arial, Helvetica, sans-serif;
    text-decoration: none;
}
.promo a.button-grey { background: #fff; color: var(--green-dark); }
.promo a.button-grey:hover { background: #edf3e3; color: var(--green-dark); }
.promo a:focus-visible { outline-color: #fff; }
.tarify a.button:hover, .telo a.button:hover { background: var(--green-dark); color: #fff; }

.tarify {
    height: auto;
    background: #191919;
    padding: 40px 0;
}
.tarify-obsah {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: min(var(--width), calc(100% - 48px));
    height: auto;
    padding: 0;
    background: none;
}
.tarify-obsah .tarif {
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    margin: 0;
    padding: 30px;
    border: 1px solid #414141;
    border-radius: 12px;
    background: #242424;
}
.tarify-obsah .tarif:nth-child(2) { border-color: var(--green); }
.tarify .center { text-align: left; }
.tarify h2 { margin: 0 0 12px; color: var(--lime); font-size: 14px; letter-spacing: 2px; }
.tarify strong { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; color: #fff; }
.tarify ul { margin: 24px 0 28px; color: #d3d3d3; font-size: 15px; }
.tarify li { position: relative; margin-bottom: 10px; padding-left: 21px; background: none; }
.tarify li::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
}
.tarify a.button { align-self: flex-start; margin-top: auto; }
.tarify-obsah > .cleaner, .novinky > .cleaner { display: none; }

.telo { width: min(var(--width), calc(100% - 48px)); padding: 60px 0 72px; }
.telo iframe { max-width: 100%; }
.telo h2 { margin: 40px 0 20px; }
.telo h2:first-of-type { margin-top: 0; }
.telo h3 { margin: 32px 0 16px; }
.telo .slogan { max-width: 850px; margin: 0 auto 24px; font-size: 30px; line-height: 1.35; text-wrap: balance; }
p.large { max-width: 940px; margin: 0 auto 24px; padding: 0; font-size: 18px; line-height: 1.85; }
.telo p.large a.button { margin: 12px 0 12px 16px; }
.telo ul { margin: 24px 0; }
.telo li { line-height: 1.8; }
.levy { float: left; width: min(100%, 790px); margin: 0; }
.pravy { width: 260px; margin: 0; font-size: 14px; }
.postup {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    height: auto;
    margin: 40px 0 28px;
    background: none;
}
.telo .postup strong {
    position: static;
    padding: 22px 12px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 20px;
}
.postup strong::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 15px;
    letter-spacing: 1px;
}
.linka-wide { width: 100%; margin: 56px 0 40px; background: var(--line); }
#aktuality { scroll-margin-top: 32px; }
.telo center h1 { margin: 0 0 30px; font-size: 30px; }
.novinky { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aktualita {
    float: none;
    width: auto;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.aktualita h2, .aktualita h2:first-of-type { margin: 0 0 16px; font-size: 21px; }
.aktualita p { margin: 0; color: var(--muted); font-size: 15px; }
.tarify-podrobne, .poznamky {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}
.tarify-podrobne .tarif { float: none; width: auto; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tarify-podrobne .tarif .cena, .tarify-podrobne .tarif .cena2 { width: 100%; height: auto; padding: 20px; border-radius: 8px; }
.tarify-podrobne .cleaner, .poznamky .cleaner { display: none; }
.poznamka { float: none; width: auto; margin: 24px 0 0; padding: 20px; font-size: 14px; }
.telo .grid .grid-item { width: 100%; padding: 0; opacity: 1; }
.grid img { border-radius: 10px; }
ul.inline { display: flex; flex-wrap: wrap; gap: 8px; }
ul.inline li { display: block; margin: 0; padding: 5px 13px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 14px; }
table.new { display: block; max-width: 100%; overflow-x: auto; font-size: 14px; }

.paticka { height: auto; background: #191919; font-size: 14px; }
.paticka-obsah {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    width: min(var(--width), calc(100% - 48px));
    height: auto;
    padding: 48px 0 24px;
    background: none;
}
.paticka-levy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; float: none; width: auto; }
.paticka-levy .sloupec1, .paticka-levy .sloupec2, .paticka-levy .sloupec3, .paticka-levy .sloupec4 { float: none; width: auto; margin: 0; }
.paticka-levy a.headlink, .paticka-levy a.headlink strong { font-size: 16px; font-weight: 600; }
.paticka-levy ul { margin-top: 16px; }
.paticka-levy ul a, .paticka-pravy { color: #b7b7b7; }
.paticka-pravy { float: none; width: auto; margin: 0; padding-left: 32px; border-left: 1px solid #414141; overflow-wrap: anywhere; }
.paticka-pravy strong { font-size: 18px; color: #fff; }
.paticka-pravy .white { margin-top: 16px; }
.paticka-obsah > .cleaner, .paticka-levy > .cleaner, .linka-vertikalni { display: none; }
.dodatek { grid-column: 1 / -1; width: auto; margin: 0; padding-top: 22px; border-top: 1px solid #414141; color: #aaa; text-align: left; font-size: 12px; }

@media (max-width: 1000px) {
    .stranka .hlavicka, .podstranka .hlavicka { grid-template-columns: 1fr; gap: 16px; }
    .logo-textove { grid-row: 1; }
    .kontakty { grid-column: 1; grid-row: 2; text-align: left; margin: 0; }
    ul.menu { grid-column: 1; justify-content: flex-start; margin-left: -13px; }
    .promo .promo-obsah, .podstranka .promo-obsah { padding-right: 160px; }
    .promo::after { left: calc(100% - 35px); }
    .novinky { gap: 16px; }
    .aktualita { padding: 20px; }
    .paticka-obsah { grid-template-columns: 1fr; gap: 32px; }
    .paticka-pravy { padding: 24px 0 0; border-left: 0; border-top: 1px solid #414141; }
}

@media (max-width: 640px) {
    .stranka .hlavicka, .podstranka .hlavicka,
    .promo .promo-obsah, .podstranka .promo-obsah,
    .tarify-obsah, .telo, .paticka-obsah { width: calc(100% - 36px); }
    .stranka .hlavicka, .podstranka .hlavicka { padding: 22px 0 18px; }
    .logo-textove a, .logo-textove a:hover { font-size: 34px; }
    .kontakty { max-width: 360px; }
    ul.menu { gap: 4px 0; margin-left: -9px; }
    ul.menu > li > a, ul.menu > li > button { padding: 9px; font-size: 14px; }
    .promo .promo-obsah, .podstranka .promo-obsah { padding: 42px 0; }
    .promo::after { display: none; }
    .promo h1 { letter-spacing: -.8px; }
    .tarify { padding: 24px 0; }
    .tarify-obsah, .novinky, .tarify-podrobne, .poznamky { grid-template-columns: 1fr; gap: 18px; }
    .tarify-obsah .tarif, .tarify-podrobne .tarif { padding: 24px; }
    .telo { padding: 40px 0 48px; }
    .telo .slogan, .telo center h1 { font-size: 26px; }
    p.large { font-size: 16px; }
    .telo p.large a.button { display: flex; width: fit-content; margin: 20px auto 0; }
    .postup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 20px; }
    .telo .postup strong { padding: 18px 4px; font-size: 18px; }
    .poznamky { gap: 0; }
    .poznamka { margin-top: 18px; text-align: left; }
    .paticka-levy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .paticka-obsah { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lightbox, .grid, .grid .grid-item { transition: none; }
}
