@font-face {
    font-family: "Karla";
    src: url("./fonts/Karla-VariableFont_wght.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

@font-face {
    font-family: "Karla";
    src: url("./fonts/Karla-Italic-VariableFont_wght.woff2") format("woff2");
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: var(--color-bg-page);
    font-family: 'Karla', sans-serif;
    scroll-padding-top: 60px;
}

html.nav-open,
body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1 {
    font-weight: 300;
    font-size: clamp(32px, 5vw, 50px);
}

:root {
    --color-primary: #F2B100;
    --color-primary-border: #edbf41;
    --color-primary-light: #ffe9a8;
    --color-primary-soft: #f2b10088;
    --color-primary-strong-alpha: #f2b100c2;
    --color-primary-nav-hover-start: #f2b10072;
    --color-primary-nav-hover-end: #e6a90088;
    --color-bg-page: rgb(248, 248, 248);
    --color-bg-muted: #ebebeb;
    --color-text-nav: rgb(98, 98, 98);
    --color-footer-bg: rgb(32, 32, 32);
    --color-footer-text: #a8a8a8;
    --color-footer-link: #bbbbbb;

    --color-text: #1f1f1f;
    --color-card-bg: #ffffff;
    --color-card-border: rgba(0, 0, 0, 0.10);
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.12);
    --space-section: 70px;
}

/* HEADER
#ikona-header
.header-odkaz
.navigace
*/

header {
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: none;
    position: -webkit-sticky;
    position: sticky;
    overflow: visible;
    background: rgba(255, 255, 255, 0.72);
    z-index: 20;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.24s ease;
}

header a {
    text-decoration: none;
}

.navka {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

#ikona-header {
    width: 22px;
    height: 22px;
    margin-inline-end: 3px;
}

.header-odkaz {
    height: 60px;
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-odkaz .site-brand {
    margin: 0;
    font-size: 20px !important;
    line-height: 1;
    font-weight: 600 !important;
}

.header-odkaz a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text);
}

.header-odkaz a img {
    height: 20px;
    width: 20px;
}

header nav {
    margin-left: auto;
}

header ul {
    margin: 0px;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
}

header li {
    margin: 0 17px;
    padding: 10px 1px;
    display: block;
    position: relative;
    text-decoration: none;
}

header li a {
    font-size: 18px;
    /* bylo 21 */
    font-weight: 500;
    /* bylo 400 */
    color: var(--color-text-nav);
    padding: 4px 0;
    transition: color 0.3s ease;
}

header li:hover, header li:focus-within {
    cursor: pointer;
}

header ul li ul {
    background: rgba(255, 255, 255, 0.911);
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    top: 100%;
    left: 0;
    transition: all 0.5s ease;
    margin-top: 0;
    display: none;
    padding: 0;
    z-index: 5;
}

header ul li:hover>ul, header ul li:focus-within>ul, header ul li ul:hover, header ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
}

header ul li ul li {
    clear: both;
    margin: 0;
    padding: 10px 14px;
}

header ul li ul li a {
    display: inline-block;
    position: relative;
    /* aby ::after seděl na tento link */
}

/* ať underline nepřebíráš z hlavního nav nastavení blbě */
header ul li ul li a::after {
    left: 0;
    width: 100%;
    top: 100%;
    margin-top: 4px;
}

header nav ul li a:after {
    position: absolute;
    content: "";
    top: 75%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}

header nav ul li a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

header nav ul li a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
    transition: none;
}

header nav ul li a[aria-current="page"]:hover::after {
    transform: scaleX(1);
}

.nav-tel a {
    background: rgba(242, 177, 0, 0.14);
    border: 1px solid rgba(242, 177, 0, 0.28);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 500;
    color: #5a4a14;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-tel a:hover {
    background: rgba(242, 177, 0, 0.20);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.nav-tel a::after {
    display: none;
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

@media screen and (max-width: 980px) {
    .header-odkaz {
        height: 52px;
        margin-left: 0;
    }

    .header-odkaz .site-brand {
        font-size: 23px !important;
        margin: 11.5px 0;
    }

    .navka {
        position: relative;
        flex-wrap: nowrap;
        min-height: 52px;
    }

    .nav-toggle-label {
        display: grid;
        margin-left: auto;
        width: 44px;
        height: 44px;
        position: relative;
        cursor: pointer;
        border-radius: 10px;
        place-items: center;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 24px;
        height: 2px;
        background: rgb(75, 75, 75);
        transform: translateX(-50%);
        transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
    }

    .nav-toggle-label span {
        top: 50%;
        margin-top: -1px;
    }

    .nav-toggle-label span::before {
        transform: translate(-50%, -7px);
    }

    .nav-toggle-label span::after {
        transform: translate(-50%, 7px);
    }

    .nav-toggle:checked+.nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked+.nav-toggle-label span::before {
        transform: translate(-50%, 0) rotate(45deg);
    }

    .nav-toggle:checked+.nav-toggle-label span::after {
        transform: translate(-50%, 0) rotate(-45deg);
    }

    header nav {
        position: fixed;
        top: 52px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        overflow-x: hidden;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10);
        z-index: 30;
        transition: max-height 0.3s ease;
    }

    .nav-toggle:checked~nav {
        max-height: calc(100dvh - 52px);
        overflow-y: auto;
    }

    header ul {
        display: block;
        padding: 16px 22px 24px;
    }

    header li {
        margin: 0;
        padding: 10px 0;
    }

    header li a {
        font-size: 18px;
        font-weight: 500;
    }

    header nav ul li a:after {
        display: none;
    }

    header ul li ul {
        visibility: visible;
        opacity: 1;
        display: block;
        position: static;
        margin-top: 8px;
        padding-left: 15px;
        background: transparent;
    }

    header ul li ul li {
        padding: 6px 0;
    }

    .nav-tel a {
        display: inline-block;
        margin-top: 4px;
    }
}

@media screen and (max-width: 480px) {
    .navka {
        padding: 0 14px;
    }

    .header-odkaz .site-brand {
        font-size: 20px !important;
    }

    header ul {
        padding: 14px 18px 22px;
    }

    header li a {
        font-size: 16px;
    }
}

/* Horní section na HLAVNÍ stránce
#hlavni-sec
.box-s-textem
#kratky
.dole-hlavni
*/

#hlavni-sec {
    width: 100%;
    min-height: 64vh;
    background: url(../images/pozadi-uvod.webp) center/cover no-repeat;
    position: relative;
    border-bottom: none;
    box-shadow: inset 0 -1px 0 rgba(242, 177, 0, 0.55);
}

#hlavni-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 64vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 84px 20px 96px;
}

.box-s-textem {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.box-s-textem h1,
.box-s-textem h2 {
    margin: 0 0 18px 0;
    font-size: clamp(36px, 6.2vw, 72px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.box-s-textem p {
    margin: 0 auto 26px auto;
    max-width: 820px;
    font-weight: 400;
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #2b2305;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hlavni-text-dole {
    padding: 56px 16px;
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#dole-hlavni {
    width: min(920px, 100%);
    margin: 0 auto;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    padding: 28px 28px;
    box-sizing: border-box;
}

.section-eyebrow {
    margin: 0 0 10px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    opacity: 0.65;
}

.info-title {
    margin: 0 0 10px 0;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.info-lead {
    margin: 0 0 16px 0;
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.92;
}

.info-points {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: grid;
    gap: 10px;
}

.info-points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
    font-size: 16px;
}

.info-points i {
    color: var(--color-primary);
    margin-top: 2px;
}

.info-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-ghost-dark {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.14);
    color: var(--color-text);
}

.btn-ghost-dark:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* mobil */
@media (max-width: 480px) {
    #dole-hlavni {
        padding: 22px 18px;
    }
}

.homepage-sluzby {
    width: 100%;
    margin-top: -44px;
    padding: 0 clamp(8px, 2.2vw, 24px) 36px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.homepage-sluzby-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.homepage-sluzba-box {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 198px;
    padding: 18px 18px 16px;
    border-radius: 16px;
    border: 1px solid var(--color-card-border);
    background: var(--color-card-bg);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.homepage-sluzba-box h3 {
    margin: 0 0 9px 0;
    font-size: 25px;
    font-weight: 500;
    text-align: left;
}

.homepage-box-icon {
    position: absolute;
    right: 2px;
    bottom: 2px;
    font-size: 80px;
    color: rgba(242, 177, 0, 0.55);
    /* brand, ale jemně */
    pointer-events: none;
    transition: transform 0.22s ease, color 0.22s ease, opacity 0.22s ease;
    opacity: 0.9;
}

.homepage-sluzba-box:hover .homepage-box-icon {
    transform: translateY(-2px);
    color: rgba(242, 177, 0, 0.75);
}

.homepage-sluzba-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.homepage-sluzba-box li {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.homepage-sluzba-box li i {
    color: rgba(242, 177, 0, 0.85);
    margin-top: 2px;
}

.homepage-sluzba-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(242, 177, 0, 0.55);
}

@media screen and (max-width: 1600px) {

    #hlavni-sec,
    .hero-inner {
        min-height: 60vh;
    }

    .hero-inner {
        padding: 72px 20px 84px;
    }
}

@media screen and (max-width: 940px) {

    #hlavni-sec,
    .hero-inner {
        min-height: 56vh;
    }

    .hero-inner {
        padding: 66px 18px 54px;
    }

    .box-s-textem h1,
    .box-s-textem h2 {
        font-size: clamp(30px, 7vw, 52px);
        margin-bottom: 12px;
    }

    .box-s-textem p {
        width: 92%;
        font-size: clamp(15px, 2.4vw, 18px);
        margin-bottom: 18px;
    }

    #dole-hlavni {
        width: 90%;
        padding: 22px 18px;
    }

    .hlavni-text-dole {
        padding: 24px 12px;
    }

    .homepage-sluzby-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .homepage-sluzba-box {
        min-height: 170px;
        padding: 14px 14px 12px;
    }

    .homepage-sluzba-box h3 {
        font-size: 22px;
    }

    .homepage-sluzba-box li {
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .homepage-box-icon {
        font-size: 62px;
        right: -2px;
        bottom: -2px;
    }

    .info-title {
        font-size: clamp(20px, 3.2vw, 25px);
    }

    .info-lead {
        font-size: 16px;
        line-height: 1.5;
    }

    .info-points li {
        font-size: 15px;
        line-height: 1.45;
    }

    .info-actions {
        gap: 10px;
    }
}

@media screen and (max-width: 700px) {
    .hero-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-actions .btn {
        width: auto;
    }

    .homepage-sluzby {
        margin-top: -18px;
        padding: 0 10px 24px;
    }

    .homepage-sluzby-inner {
        grid-template-columns: 1fr;
    }

    #dole-hlavni {
        width: min(100%, 92vw);
    }
}

@media screen and (max-width: 480px) {
    #hlavni-sec {
        background: url(../images/pozadi-uvod-mobil.webp) center/cover no-repeat;
        min-height: 78vh;
    }

    .hero-inner {
        padding: 64px 14px 40px;
        min-height: 72vh;
    }

    .box-s-textem h1,
    .box-s-textem h2 {
        font-size: clamp(28px, 9vw, 42px);
        margin-bottom: 16px;
        letter-spacing: 0.02em;
    }

    .box-s-textem p {
        width: 100%;
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .btn {
        font-size: 15px;
        padding: 11px 14px;
        max-width: 100%;
    }

    .homepage-sluzby {
        margin-top: 0;
        padding: 15px 18px 15px;
    }

    .homepage-sluzby-inner {
        grid-template-columns: 1fr;
    }

    .homepage-sluzba-box {
        min-height: fit-content;
        border-radius: 14px;
        padding: 20px 25px;
    }

    .homepage-sluzba-box h3 {
        font-size: 21px;
    }

    .homepage-sluzba-box li {
        font-size: 16px;
    }

    .homepage-box-icon {
        font-size: 52px;
    }

    .hlavni-text-dole {
        padding: 16px;
    }

    #dole-hlavni {
        padding: 20px 25px;
        margin: 30px 0px;
        border-radius: 16px;
    }

    .section-eyebrow {
        font-size: 11px;
    }

    .info-title {
        font-size: 21px;
        line-height: 1.2;
    }

    .info-lead {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .info-points {
        gap: 8px;
        margin-bottom: 14px;
    }

    .info-points li {
        font-size: 15px;
    }
}

/* dolni část HLAVNÍ stránky
#dole
.slideshow-container
.mySlides
.slideNav
.dot
.next, .prev
.author
*/

#dole {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border-top: none;
    box-shadow: inset 0 1px 0 rgba(242, 177, 0, 0.35);
    padding: 28px 16px 40px;
    background: linear-gradient(180deg, #f6f6f4 0%, #f1f0eb 100%);
}

.slideshow-container {
    width: min(920px, 100%);
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mySlides {
    display: none;
    padding: 32px 44px 8px;
    text-align: center;
    height: auto;
    box-sizing: border-box;
}

.mySlides.is-active {
    animation: slideQuoteIn 420ms ease both;
}

@keyframes slideQuoteIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dot, .slideNav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slideNav button {
    font: inherit;
    line-height: 1;
}

.slideNav {
    margin: 4px auto 16px auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dot {
    height: 14px;
    width: 14px;
    background-color: rgb(235, 235, 235);
    border: solid 2px var(--color-primary);
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.next, .prev {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #6f6f6f;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.82);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.next:hover, .prev:hover {
    transform: translateY(-1px);
    background: #fff8e3;
    border-color: var(--color-primary);
}

.dot.active {
    background-color: var(--color-primary-soft);
    transform: scale(1.15);
}

#dole q {
    font-style: italic;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    display: inline;
    margin-bottom: 0;
}

.author {
    color: #666;
    font-size: 17px;
    font-weight: 300;
    margin: 16px 0 0;
}

.slide-more-btn {
    display: none;
    margin: 0 0 0 2px;
    border: 0;
    background: transparent;
    color: #454545;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    vertical-align: baseline;
}

.slide-more-btn.is-visible {
    display: inline;
}

.slide-more-btn.is-visible::before {
    content: "";
    color: #7a7a7a;
    text-decoration: none;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}

.quote-modal.is-open {
    display: block;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.quote-modal-content {
    position: relative;
    width: min(760px, calc(100% - 28px));
    max-height: calc(100vh - 70px);
    overflow: auto;
    margin: 40px auto;
    padding: 22px 22px 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.24);
}

.quote-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #626262;
    cursor: pointer;
}

.quote-modal-content h3 {
    margin: 0 24px 10px 0;
    font-size: 28px;
    font-weight: 400;
}

.quote-modal-text {
    margin: 0 0 16px 0;
    font-size: 23px;
    line-height: 1.55;
    font-style: italic;
    color: #2f2f2f;
}

.quote-modal-author {
    margin: 0;
    font-size: 17px;
    color: #666;
}

@media screen and (max-width: 940px) {
    .slideshow-container {
        width: 100%;
        border-radius: 16px;
    }

    .mySlides {
        padding: 24px 24px 8px;
    }

    #dole q {
        font-size: 18px;
        line-height: 1.45;
    }

    .author {
        font-size: 15px;
        margin-top: 12px;
    }
}

@media screen and (max-width: 480px) {
    #dole {
        padding: 14px 8px 12px;
    }

    .slideshow-container {
        border-radius: 14px;
    }

    .mySlides {
        padding: 18px 14px 8px;
    }

    #dole q {
        font-size: 1.22em;
        line-height: 1.4;
    }

    .slideNav {
        margin: 8px auto 12px auto;
        gap: 8px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .next, .prev {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slide-more-btn {
        font-size: 15px;
        margin-left: 3px;
    }

    .author {
        font-size: 1.1em;
        margin-top: 10px;
    }

    .quote-modal-content {
        width: calc(100% - 14px);
        max-height: calc(100dvh - 18px);
        margin: 9px auto;
        padding: 16px 14px 14px;
        border-radius: 12px;
    }

    .quote-modal-close {
        top: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .quote-modal-content h3 {
        font-size: 23px;
        margin: 0 36px 8px 0;
    }

    .quote-modal-text {
        font-size: 19px;
        line-height: 1.45;
    }

    .quote-modal-author {
        font-size: 16px;
    }
}

/*FOOTER

*/

.site-footer {
    background: #151515;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 16px 36px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 34px;
    justify-items: center;
    align-items: start;
}

.footer-brand-name {
    margin: 0 0 10px;
    font-size: clamp(21px, 2.2vw, 27px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
}

.footer-claim {
    margin: 0;
    max-width: 340px;
    line-height: 1.55;
    font-size: 15px;
}

.footer-title {
    margin: 0 0 12px 0;
    font-size: 13px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    line-height: 1.45;
}

.footer-contact i {
    color: rgba(242, 177, 0, 0.85);
    margin-top: 2px;
}

/* spodní část - žádný žlutý pruh, jen jemná linka */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 16px 16px 18px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
}

.pospi-link {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 2px;
}

.pospi-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.pospi-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width .35s ease;
}

.pospi-link:hover::before {
    width: 100%;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand-name {
        font-size: clamp(20px, 6vw, 24px);
    }

    .footer-claim {
        max-width: 100%;
        font-size: 16px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 15px;
        flex-direction: column;
        gap: 0;
    }

    .footer-bottom p {
        margin: 10px auto;
    }
}

/* O MNĚ
.page-hero
#omne-box-nahore
#omne-img
#omne-nahore
#moreText
#textButton
.background-uprostred
#boxy-sluzby
.sluzby
#zivotopis
*/

.page-hero {
    padding: 48px 16px 24px;
}

.page-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.page-hero-head {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.page-hero h1 {
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0;
    text-align: left;
    font-size: clamp(30px, 4.2vw, 40px);
    font-weight: 300;
}

.page-hero .lead {
    max-width: 70ch;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
    font-size: clamp(15.5px, 1.5vw, 17px);
    font-weight: 300;
}

.page-hero .hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    justify-content: flex-start;
}

.btn-link {
    background: transparent;
    border: none;
    padding: 6px 0;
    border-radius: 10px;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
}

.btn-ghost-omne {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #333;
}

.btn-ghost-omne:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

#omne-box-nahore {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

#omne-img img {
    height: 300px;
    width: auto;
    margin-right: 40px;
}

.section-eyebrow {
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    margin: 0 auto 5px;
}

#omne {
    border-radius: 18px;
}

#omne-nahore-text p {
    font-size: clamp(15px, 1.7vw, 19px);
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 14px;
    text-align: justify;
    line-height: 1.4;
}

#omne-nahore p strong, b {
    font-weight: 500;
}

#moreText {
    display: block;
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 300;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 0.38s ease, opacity 0.26s ease, transform 0.3s ease, margin 0.3s ease, padding 0.26s ease, border-color 0.26s ease;
    margin-top: 0;
}

#moreText.is-open {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 16px;
    padding: 18px 16px;
    border-color: rgba(0, 0, 0, 0.08);
}

#moreText ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

#moreText li {
    margin: 8px 0;
    line-height: 1.65;
}

#moreText strong {
    color: var(--color-primary);
}

#textButton {
    cursor: pointer;
    text-decoration: none;
    color: #3b3b3b;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

#textButton::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

#textButton:hover {
    color: #1f1f1f;
    transform: translateY(-1px);
}

#textButton:hover::after,
#textButton:focus-visible::after {
    transform: scaleX(1);
}

#textButton:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* ===== Stats band (místo boxů služeb) ===== */
.stats-band {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
    padding: 60px 16px;
}

.stats-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: rgba(197, 138, 0, 0.12);
    border: 1px solid rgba(197, 138, 0, 0.25);
    color: #c58a00;
    transition: all 0.4s;
}

.stat:hover .stat-icon {
    background: rgba(197, 138, 0, 0.16);
    border-color: rgba(197, 138, 0, 0.32);
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    margin-top: 4px;
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.35;
}

/* Hover (jemně, ať to není pouť) */
.stat:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* Responsivita */
@media (max-width: 980px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 28px;
    }
}


#zivotopis {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 40px;
    font-size: clamp(1.03rem, 1.15vw, 1.34rem);
    font-weight: 300;
    text-align: center;
}

#zivotopis p {
    line-height: 1.7;
    max-width: 80ch;
    margin: 0 auto;
    text-align: justify;
}

#zivotopis h3 {
    font-weight: 500;
    font-size: clamp(25px, 2.2vw, 29px);
}

#zivotopis h4 {
    font-size: clamp(19px, 1.7vw, 22px);
    margin-bottom: 0.4em;
    font-weight: 500;
}

#zivotopis b {
    color: var(--color-primary);
    font-weight: 400;
}

@media screen and (max-width: 1200px) {
    #omne-box-nahore {
        width: 90%;
    }

    .background-uprostred {
        height: 400px;
    }

    #boxy-sluzby {
        width: min(1000px, 95%);
        margin: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #boxy-sluzby .sluzby {
        height: 230px;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .page-hero {
        padding: 34px 14px 18px;
    }

    .page-hero h1 {
        text-align: center;
    }

    .page-hero .lead {
        line-height: 1.5;
        text-align: center;
    }

    .page-hero .hero-actions {
        justify-content: center;
    }

    #omne-box-nahore {
        flex-direction: column-reverse;
        padding: 16px;
        gap: 10px;
    }

    #omne-img {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #omne-img img {
        width: min(250px, 72vw);
        height: auto;
        margin: 0;
    }

    #omne-nahore-text p {
        line-height: 1.55;
        margin-bottom: 12px;
    }

    #moreText {
        line-height: 1.55;
    }

    #zivotopis {
        padding: 14px 14px 28px;
    }

    #zivotopis p {
        line-height: 1.62;
    }
}

@media screen and (max-width: 480px) {
    #omne-box-nahore {
        width: 98%;
        padding: 20px 25px;
    }

    #omne-nahore-text p {
        line-height: 1.5;
    }

    #omne-img img {
        width: min(210px, 68vw);
        height: auto;
        margin: 0;
    }

    .page-hero {
        padding: 28px 12px 16px;
    }

    .page-hero .lead {
        line-height: 1.45;
    }

    #moreText {
        width: auto;
        margin: 0 auto 40px auto;
        line-height: 1.5;
        text-align: left;
    }

    #zivotopis {
        margin: 20px auto 40px;
        padding: 8px 12px 24px;
    }

    #zivotopis h3 {
        margin-bottom: 8px;
    }
}

/*REFERENCE
#reference
#ref
.reference-1/2/3
.reference-boxy
.background-nahore-ref
*/

/* CONTAINER */
#reference {
    width: min(1300px, calc(100% - 40px));
    margin: 0 auto 80px;
}

/* Nadpis */
.nadpis-reference h1 {
    text-align: center;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 38px 0 10px;
}

/* Intro text */
.ref-intro {
    width: min(920px, calc(100% - 40px));
    margin: 10px auto 28px;
    text-align: center;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

/* 3 sloupce */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    /* víc prostoru mezi sloupci */
    align-items: start;
}

/* sloupec */
.ref-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
    align-items: center;
}

/* nadpis sloupce - udělej to jako "section header", ne jako box */
.ref-col-title {
    margin: 0;
    padding: 0 0 10px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 900;
    color: #1f1f1f;
}

/* Boxy */
.reference-boxy {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 18px 18px 16px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);

    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* visible animace */
.reference-boxy.visible {
    opacity: 1;
    transform: translateY(0);
}

/* hover */
.reference-boxy:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(242, 177, 0, 0.55);
}

/* Typografie uvnitř boxu */
.reference-boxy h2 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.25;
}

.reference-boxy p {
    margin: 0;
    color: #444;
    line-height: 1.7;
    font-size: 15.5px;
}

/* Trochu zklidnit strong, ať to neřve */
.reference-boxy p strong {
    color: #222;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px) {
    .ref-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
}

@media (max-width: 640px) {
    #reference {
        width: calc(100% - 26px);
        margin-bottom: 60px;
    }

    .ref-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ref-col {
        gap: 14px;
    }

    .background-nahore-ref {
        height: 160px;
    }
}


/*SLUŽBY
.nadpis-sluzby
.sluzba
.sluzba-photo
.supervize .vzdelavani .konzultace .audity
.sluzby-text
 */

.nadpis-sluzby h1 {
    text-align: center;
}

.sluzba {
    width: 1100px;
    margin: 60px auto;
}

.sluzba p {
    font-size: 17px;
    line-height: 1.5;
    color: #444;
}

.sluzba img {
    height: 200px;
    border-radius: 15px;
}

.sluzba a {
    display: flex;
    margin-top: 50px;
    padding: 20px 25px;
    flex-direction: row;
    justify-content: space-between;
    color: black;
    border-radius: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sluzba a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.supervize .sluzba-photo, .vzdelavani .sluzba-photo {
    margin-left: 40px;
}

.konzultace .sluzba-photo, .audity .sluzba-photo {
    margin-right: 40px;
}

.sluzby-text {
    width: 750px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sluzba h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #1f1f1f;
    transition: transform 0.25s ease;
}

.sluzba h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--color-primary);
    margin-top: 6px;
}

.sluzba a:hover h2 {

    transform: translateX(4px);
}

.vzdelavani {
    margin-bottom: 70px;
}

.sluzba-photo {
    transition-duration: .7s;
}

.sluzba a:hover>.sluzba-photo {
    transform: scale(1.02);
}

@media screen and (max-width: 1200px) {
    .sluzba {
        width: 90%;
    }
}

@media screen and (max-width: 600px) {

    .sluzba {
        width: 90%;
    }

    .sluzba img {
        width: 100%;
        height: auto;
    }

    .konzultace a, .audity a {
        flex-direction: column-reverse;
    }

    .supervize a, .vzdelavani a {
        flex-direction: column;
    }

    .sluzby-text {
        width: 100%;
    }

    .supervize .sluzba-photo, .vzdelavani .sluzba-photo {
        margin-left: 0;
    }

    .konzultace .sluzba-photo, .audity .sluzba-photo {
        margin-right: 0;
    }
}

/* Kontakt: container */
.kontakt-wrap {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto var(--space-section);
}

.nadpis-kontakt h1 {
    text-align: center;
    margin: 36px 0 18px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.kontakt-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 18px;
}

.kontakt-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
}

.kontakt-card-subtitle {
    margin: 0 0 14px;
    color: #555;
    line-height: 1.6;
    font-size: 15.5px;
}

.kontakt-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0;
    font-size: 18px;
}

.kontakt-row i {
    color: var(--color-primary);
    font-size: 18px;
    flex: 0 0 auto;
}

.kontakt-link {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.kontakt-link:hover {
    color: var(--color-primary);
}

.kontakt-email {
    word-break: break-word;
}

.kontakt-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* poznámka */
.kontakt-note {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto var(--space-section);
}

.kontakt-note-inner {
    background: rgba(242, 177, 0, 0.08);
    border: 1px solid rgba(242, 177, 0, 0.25);
    border-radius: 18px;
    padding: 16px 18px;
    text-align: center;
    color: #3a2f12;
}

.kontakt-note-inner p {
    margin: 6px 0;
    line-height: 1.6;
}

/* formulář */
.contact-form .field {
    margin: 0;
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(242, 177, 0, .7);
    box-shadow: 0 0 0 3px rgba(242, 177, 0, .18);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hint-row {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: #666;
}

.error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    min-height: 18px;
    font-size: 13px;
}

.field.checkbox {
    margin-top: 0px;
}

.checkline {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #333;
    line-height: 1.4;
}

.checkline input {
    width: auto;
    margin-top: 3px;
}

.form-actions {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.form-status {
    margin: 0;
    color: #444;
}

/* honeypot neviditelně */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* KONZULTACE, VZDĚLÁVÁNÍ, AUDITY, SUPERVIZE */

.sluzby-stranky {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto var(--space-section);
    line-height: 1.7;
}

.service-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 22px 22px 18px;
    margin: 22px 0 26px;
}

.service-lead {
    margin: 0 0 14px;
    font-size: 18px;
    color: #333;
}

.service-points {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.service-points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #444;
}

.service-points li::before {
    content: "\eed7" !important;
}

.service-points li i {
    color: var(--color-primary);
    margin-top: 3px;
}

.service-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Nadpis stránky */
.sluzby-stranky-nadpis h1 {
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 36px 0 10px;
}

/* Základní typografie uvnitř */
.sluzby-stranky p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: #333;
    margin: 0 0 14px;
}

/* Seznamy: necháme IcoFont ikonku, ale bez text-indent hacků */
.sluzby-stranky ul {
    margin: 10px 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.sluzby-stranky ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 17px;
    line-height: 1.55;
    color: #444;
}

/* IcoFont fajfka přes ::before */
.sluzby-stranky ul li::before {
    content: "\eed8";
    font-family: "IcoFont";
    color: var(--color-primary);
    margin-top: 2px;
    font-size: 16px;
    flex: 0 0 auto;
}

/* Obrázek: card styl + responsivní velikost */
.nad-obrazek {
    margin: 30px auto 70px;
    display: flex;
    justify-content: center;
}

.obrazek {
    width: min(600px, 100%);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 14px;
}

.obrazek img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Specificky #vzdel: udělej z toho grid, ať se to na mobilu nezlomí divně */
#vzdel {
    width: min(900px, 100%);
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

#vzdel img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* accordion */
.service-accordion {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.service-accordion summary {
    cursor: pointer;
    font-weight: 700;
    color: #1f1f1f;
    list-style: none;
}

.service-accordion summary::-webkit-details-marker {
    display: none;
}

.service-accordion summary::after {
    content: "＋";
    float: right;
    color: var(--color-primary);
    font-weight: 900;
}

.service-accordion[open] summary::after {
    content: "–";
}

.service-accordion ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.service-accordion li {
    margin: 6px 0;
}

/* jemná animace obsahu */
.service-accordion[open] ul {
    animation: accIn 220ms ease both;
}

.service-accordion summary:focus-visible {
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(242, 177, 0, .25);
}

@keyframes accIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* legislativní callout */
.service-note {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(242, 177, 0, 0.08);
    border: 1px solid rgba(242, 177, 0, 0.25);
    color: #3a2f12;
}

.audit-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.audit-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    align-items: start;
    position: relative;
    padding-left: 24px;
}

/* fajfka */
.audit-item::before {
    content: "\eed8";
    font-family: "IcoFont";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-primary);
}

/* levý sloupec */
.audit-title {
    font-weight: 600;
    color: #1f1f1f;
}

/* pravý sloupec */
.audit-text {
    color: #444;
    line-height: 1.6;
}

/* Mobil */
@media (max-width: 820px) {
    .sluzby-stranky {
        width: calc(100% - 26px);
        margin-bottom: 52px;
    }

    .service-hero {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .service-lead {
        font-size: 16px;
    }

    .sluzby-stranky p {
        font-size: 16px;
    }

    .sluzby-stranky ul li {
        font-size: 16px;
    }

    .obrazek {
        padding: 12px;
        border-radius: 16px;
    }
}

@media (max-width: 520px) {
    .sluzby-stranky {
        width: calc(100% - 26px);
    }

    .service-actions {
        gap: 8px;
    }

    .service-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .service-accordion {
        padding: 12px 14px;
    }

    .service-accordion ul {
        padding-left: 16px;
    }

    .service-note {
        padding: 12px 14px;
        border-radius: 14px;
    }

    #vzdel {
        grid-template-columns: 1fr;
    }

    .audit-item {
        grid-template-columns: 1fr;
    }

}

/* společný card wrapper (pro audit listy i vzdělávání) */
.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 14px 16px;
    margin: 12px 0 18px;
}

/* nadpisy sekcí */
h2.section-eyebrow {
    margin: 25px 0 5px !important;
    font-size: 14px !important;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.706);
}

/* dvousloupcový “audit list” (použij i na vzdělávání) */
.audit-grid {
    margin: 0;
}

.audit-row {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 18px;
    padding: 14px 6px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.audit-row:first-child {
    border-top: 0;
    padding-top: 6px;
}

.audit-row dt {
    margin: 0;
    font-weight: 700;
    color: #1f1f1f;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.audit-row dt::before {
    content: "\eed8";
    font-family: "IcoFont";
    color: var(--color-primary);
    margin-top: 2px;
    flex: 0 0 auto;
}

.audit-row dd {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* fotky pro vzdělávání */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 18px 0 22px;
}

.media-card {
    margin: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 12px;
}

.media-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* responsivně */
@media (max-width: 720px) {
    .audit-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* 404 */
.error404 {
    min-height: calc(100vh - 60px);
    padding: 34px 16px 56px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f9f9f9 0%, #f2f2f2 100%);
}

.error404-box {
    width: min(760px, 100%);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
}

.error404-code {
    margin: 0 0 8px;
    font-size: clamp(46px, 8vw, 82px);
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.error404 h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4.2vw, 38px);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.error404-text {
    margin: 0 auto;
    max-width: 62ch;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.6;
    color: #3f3f3f;
}

.error404-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .error404 {
        padding: 22px 12px 36px;
    }

    .error404-box {
        border-radius: 16px;
        padding: 22px 16px;
    }

    .error404-actions .btn {
        width: 100%;
    }
}
