* { box-sizing: border-box; }

:root {
    --ink: #2c2c2a;
    --muted: #888780;
    --line: #dcdad4;
    --radius: 2px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.25;
}

a { color: var(--ink); }

.bar {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.top .strip {
    background: var(--ink);
    color: #efeee9;
    font-size: 16px;
}

.top .strip .bar {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.strip-contact a {
    color: #efeee9;
    text-decoration: none;
    cursor: pointer;
}

.strip-contact i {
    margin-right: 7px;
    font-size: 14px;
    color: #a5a39c;
}

.strip-contact a + a { margin-left: 18px; }

.strip-contact a:hover { color: #fff; }

.strip-contact a:hover i { color: #fff; }

.top .main {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.top .main .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 76px;
}

.logo {
    display: block;
    font-size: 25px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.logo:hover { color: var(--muted); }

.nav ul {
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav a {
    display: block;
    padding: 6px 0;
    color: #4a4944;
    text-decoration: none;
    cursor: pointer;
}

.nav a:hover { color: var(--muted); }

.nav a i { display: none; }

.nav a.active {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--ink);
}

.nav a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.menu-toggle,
.menu-button { display: none; }

.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-slide.on { opacity: 1; }

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 26, 0.66);
}

.hero .bar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 560px;
    padding-top: 60px;
    padding-bottom: 56px;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 44px;
    max-width: 15em;
}

.hero-maly .bar {
    min-height: 280px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 46px;
    padding-bottom: 46px;
}

.hero-maly h1 {
    margin: 0 0 10px;
    font-size: 36px;
    max-width: none;
}

.hero-maly h1:last-child { margin-bottom: 0; }

.hero.hero-maly p { max-width: 60em; }

.hero-maly .hero-dots {
    right: 20px;
    bottom: 16px;
}

.hero p {
    margin: 0;
    max-width: 34em;
    font-size: 19px;
    color: #e6e4de;
}

.hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 0;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    background: #fff;
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.btn:hover { background: #e6e4de; }

.btn-tmavy {
    background: var(--ink);
    color: #fff;
}

.btn-tmavy:hover { background: #45443f; }

.btn-light {
    background: none;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.btn-light:hover { background: rgba(255, 255, 255, .14); }

.btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: var(--radius);
    background: none;
    cursor: pointer;
}

.hero-dot.on { background: #fff; }

.hero-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

@media (max-width: 800px) {
    .hero-maly .bar {
        min-height: 200px;
        padding-top: 30px;
        padding-bottom: 34px;
    }

    .hero-maly h1 { font-size: 26px; }

    .hero .bar {
        min-height: 380px;
        padding-bottom: 56px;
        align-items: center;
        text-align: center;
    }

    .hero h1 { font-size: 30px; }
    .hero p { font-size: 17px; }
    .hero .hero-actions { margin-top: 24px; justify-content: center; }
    .hero-dots {
        left: 0;
        right: 0;
        bottom: 16px;
        justify-content: center;
    }
}

.about .bar {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    padding-top: 64px;
}

.about-text { flex: 1 1 0; }

.about h2 {
    margin: 0 0 18px;
    font-size: 30px;
}

.about p {
    margin: 0 0 14px;
    max-width: 38em;
}

.about p:last-child { margin-bottom: 0; }

.about-photo {
    flex: 0 0 380px;
    width: 380px;
    height: 290px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(28, 28, 26, .18);
}

@media (max-width: 800px) {
    .about .bar {
        flex-direction: column;
        gap: 26px;
        padding-top: 40px;
    }

    .about h2 { font-size: 25px; }

    .about-photo {
        flex: none;
        width: 100%;
        height: 220px;
        order: -1;
    }
}

.stranka .bar { padding: 48px 24px 0; }

.stranka h1 {
    margin: 0 0 16px;
    font-size: 36px;
    text-align: center;
}

.stranka h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.stranka .cenik + h2 { margin-top: 38px; }

.stranka .uvod + h2 { margin-top: 40px; }

.sluzba .bar {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-top: 48px;
}

.sluzba:nth-child(even) .bar { flex-direction: row-reverse; }

.sluzba-text { flex: 1 1 0; }

.sluzba img {
    flex: 0 0 400px;
    width: 400px;
    height: 270px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(28, 28, 26, .18);
}

.stranka p {
    margin: 0;
    max-width: 42em;
    color: #3d3c37;
}

.stranka .uvod {
    max-width: 46em;
    margin: 0 auto;
    font-size: 19px;
    color: var(--ink);
    text-align: center;
}

.stranka h2 + .cenik { margin-top: 6px; }

.stranka-cenik h2 { text-align: center; }

.stranka-cenik .cenik {
    margin-left: auto;
    margin-right: auto;
}

.cenik {
    width: 100%;
    max-width: 760px;
    margin: 34px 0 0;
    border-collapse: collapse;
}

.cenik th,
.cenik td {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 400;
    text-align: left;
    vertical-align: baseline;
}

.cenik th { padding-right: 20px; }

.cenik td {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    font-weight: 600;
}

.chybova { text-align: center; }

.chybova p { margin-left: auto; margin-right: auto; }

.chybova .btn { margin-top: 10px; }

.stranka .dotaz { margin-top: 40px; }

.area .bar { padding-top: 64px; }

.area h2 {
    margin: 0 0 14px;
    font-size: 30px;
}

.area > .bar > p {
    margin: 0 0 26px;
    max-width: 40em;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 40px;
    margin-bottom: 44px;
}

.kontakt-polozka {
    position: relative;
    padding-left: 30px;
    color: #3d3c37;
}

.kontakt-polozka i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--muted);
}

.kontakt-nazev {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--ink);
}

.kontakt #mapa-kontakt,
#mapa-kontakt { height: 400px; }

.pin {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #b8391a;
    text-shadow: 0 2px 4px rgba(28, 28, 26, .45);
}

.mapa {
    height: 440px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(28, 28, 26, .12);
}

.zony {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.zony li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.zona-barva {
    width: 15px;
    height: 15px;
    border-radius: var(--radius);
    opacity: .55;
}

.zona-mimo {
    background: none;
    box-shadow: inset 0 0 0 1px var(--muted);
    opacity: 1;
}

.obce {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.obce li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 16px;
}

.obce .z1 {
    background: #fbf1e5;
    border-color: #e2c19a;
}

.obce .z1 i { color: #d1791f; }

.obce .z2 { background: #f3f2ef; }

.obce .z-mimo { border-style: dashed; }

.obce i {
    font-size: 14px;
    color: var(--muted);
}

.obec-km { color: var(--muted); }

@media (max-width: 800px) {
    .stranka .bar { padding-top: 36px; }

    .stranka h1 { font-size: 28px; }

    .stranka h2 { font-size: 20px; }

    .cenik th,
    .cenik td { padding: 12px 0; }



    .sluzba .bar,
    .sluzba:nth-child(even) .bar {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding-top: 34px;
    }

    .sluzba img {
        flex: none;
        width: 100%;
        height: 210px;
    }

    .area .bar { padding-top: 40px; }

    .area h2 { font-size: 25px; }

    .mapa { height: 320px; }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 32px;
    }

    #mapa-kontakt { height: 300px; }
}

main { flex: 1 0 auto; }

.bottom {
    margin-top: 64px;
    padding: 28px 0;
    background: var(--ink);
    color: #b3b1aa;
    font-size: 15px;
}

.bottom .bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.bottom p { margin: 0; }

@media (max-width: 800px) {
    .top .strip { font-size: 13px; }

    .top .strip .bar {
        justify-content: center;
        padding-left: 12px;
        padding-right: 12px;
    }

    .strip-contact {
        display: flex;
        justify-content: center;
        gap: 14px;
        white-space: nowrap;
    }

    .strip-contact a + a { margin-left: 0; }

    .strip-contact i {
        margin-right: 5px;
        font-size: 12px;
    }

    .top .main .bar {
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
        align-content: flex-start;
    }

    .top .main .logo { line-height: 42px; }

    .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 40px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        cursor: pointer;
    }

    .menu-button:hover { background: #f3f2ef; }

    .menu-button i { font-size: 19px; }

    .menu-button .fa-xmark { display: none; }

    .menu-toggle:checked ~ .menu-button .fa-bars { display: none; }

    .menu-toggle:checked ~ .menu-button .fa-xmark { display: inline-block; }

    .menu-toggle:focus-visible ~ .menu-button {
        outline: 2px solid var(--ink);
        outline-offset: 2px;
    }

    .top .main { position: relative; }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 5;
        padding: 16px 24px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 16px rgba(28, 28, 26, .18);
    }

    .menu-toggle:checked ~ .nav { display: block; }

    .nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .nav a i {
        display: block;
        width: 100%;
        margin-bottom: 9px;
        font-size: 20px;
        text-align: center;
    }

    .nav a {
        padding: 18px 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: 0 2px 5px rgba(28, 28, 26, .12);
        text-align: center;
        font-size: 17px;
    }

    .nav a.active {
        color: #fff;
        background: var(--ink);
        border-color: var(--ink);
        box-shadow: 0 2px 5px rgba(28, 28, 26, .22);
    }
}
