*, body {
    font-family: "DM Sans", sans-serif;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 56Px;
    border-radius: 0 0 16px 16px;
    gap: 35px;
}

.site-nav-logo img {
    display: block;
    height: 60px;
    width: auto;
    flex: 1;
}

.site-nav .site-nav-menu {
    justify-self: center;
    flex: 1;
}

.site-nav .site-nav-info-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
}

.site-nav-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav-info .site-nav-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: rgba(217, 217, 217, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4.1px);
    color: #ffe175;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.site-nav-info .site-nav-info-content span {
    font-size: 14px;
    line-height: 100%;
    color: rgba(255, 255, 255, 0.8);
}


.site-nav-info .site-nav-info-content p {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: white;
}


.site-btn.site-btn-with-icon {
   padding: 3px 3px 2px 25px;
    gap: 15px;
}
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 17px;
    line-height: 100%;
    color: white;
    padding: 16px 25px;
    background: #149bd7;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #004540;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: inherit;
}

.site-btn .site-btn-icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: #004540;
    color: #ffe175;
    border-radius: 100%;
    -webkit-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}


.site-btn .site-btn-icon-wrap .site-btn-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    transition: transform 0.3s ease;
}


.site-btn:hover {
    background: #149bd7;
    backdrop-filter: none;
}

.site-btn:hover::before {
    transform: scaleX(1);
}

.site-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.site-nav-menu ul li {
    display: inline-block;
    list-style: none;
}


.site-btn:hover .site-btn-icon-wrap{
    background: #149bd7;
}

.site-nav-menu ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    font-weight: 500;
    font-size: 17px;
    line-height: 167%;
    color: white;
    border-radius: 100px;
    gap: 5px;
    text-decoration: none;
}

body#hp .site-nav {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(14.75px);
    border-left: 1.5px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
}

body#hp .site-nav-menu ul li a {
    color: white;
}

body:not(#hp) header {
    background: #fff;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
    padding: 0 56px;
}

body:not(#hp) .site-nav {
    background: transparent;
    backdrop-filter: none;
    border: none;
}

body:not(#hp) .site-nav-menu ul li a {
    color: #111;
}

body:not(#hp) .site-nav-info-content span {
    color: rgba(0, 0, 0, 0.5);
}

body:not(#hp) .site-nav-info-content p,
body:not(#hp) .site-nav-info-content a {
    color: #111;
}

body:not(#hp) .nav-hamburger {
    background: rgba(0, 69, 64, 0.06);
    border-color: rgba(0, 69, 64, 0.12);
}

body:not(#hp) .nav-hamburger-line {
    background: #004540;
}

body#hp header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0 56px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                box-shadow 0.3s ease;
}

body:not(#hp) header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

header.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
    padding: 0 56px;
}

header.is-sticky .site-nav {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
}

header.is-sticky .site-nav-menu ul li a {
    color: #111 !important;
}

header.is-sticky .site-nav-info-content span {
    color: rgba(0, 0, 0, 0.5) !important;
}

header.is-sticky .site-nav-info-content p,
header.is-sticky .site-nav-info-content a {
    color: #111 !important;
}

header.is-hidden {
    transform: translateY(-110%) !important;
}

.site-nav-info-content a {
    color: white;
    text-decoration: none;
}


.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

body:not(#hp) .nav-hamburger {
    background: rgba(0, 69, 64, 0.06);
    border-color: rgba(0, 69, 64, 0.12);
}

header.is-sticky .nav-hamburger {
    background: rgba(0, 69, 64, 0.06) !important;
    border-color: rgba(0, 69, 64, 0.12) !important;
}

.nav-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

body:not(#hp) .nav-hamburger-line,
header.is-sticky .nav-hamburger-line {
    background: #004540;
}

.nav-hamburger.is-open .nav-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open .nav-hamburger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-hamburger.is-open .nav-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.nav-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: flex;
    flex-direction: column;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.nav-mobile-drawer.is-open {
    transform: translateX(0);
}

.nav-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 69, 64, 0.08);
}

.nav-mobile-drawer-header img {
    height: 42px;
    width: auto;
}

.nav-mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 69, 64, 0.06);
    border: 1.5px solid rgba(0, 69, 64, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #004540;
    padding: 0;
}

.nav-mobile-links {
    padding: 16px 24px;
    flex: 1;
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    color: #004540;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 69, 64, 0.06);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-mobile-link:hover {
    color: #149bd7;
    padding-left: 6px;
}

.nav-mobile-footer {
    padding: 24px;
    border-top: 1px solid rgba(0, 69, 64, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-mobile-login-btn {
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 1199px) {
    .nav-hamburger { display: flex; }

    body#hp header,
    header.is-sticky,
    body:not(#hp) header { padding: 0 20px; }

    .site-nav {
        padding: 12px 20px;
        justify-content: space-between;
        gap: 0;
    }

    .site-nav-logo img { height: 46px; }
}


@media (min-width: 1440px) and (max-width: 1919px) {
 .site-nav-menu ul li a {
    padding: 0 10px;
    font-size: 16px;
    line-height: normal;
    white-space: nowrap;
}

.site-nav-info-wrap .site-btn {
    font-size: 15px;
}

.site-nav-info .site-nav-info-content p {
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    color: white;
}
}


@media (min-width: 992px) and (max-width: 1439px) {
 .site-nav-menu ul li a {
    padding: 0 8px;
    font-size: 15px;
    line-height: normal;
    white-space: nowrap;
}


.site-nav {
    padding: 15px 25Px;
}


.site-nav-logo img {
    height: 50px;
}


.site-nav-info .site-nav-info-content p {
    font-size: 15px;
}

.site-nav-info-wrap .site-btn {
    font-size: 13px;
}

.site-btn .site-btn-icon-wrap {
    width: 40px;
    height: 40px;
}
}

@media (min-width: 992px) and (max-width: 1299px) {
.site-nav-info.d-none.d-xl-flex {
    display: none !important;
}
}

@media(min-width: 768px) and (max-width: 1439px) {
    .site-btn.site-btn-with-icon {
    padding: 6px 6px 6px 25px;
    font-size: 14px;
}

.site-nav-btn-wrap.d-none.d-xl-flex a.site-btn.site-btn-with-icon{
        padding: 3px 3px 2px 25px;
}
}


@media(max-width: 767px) {
    body#hp header, header.is-sticky, body:not(#hp) header {
        padding: 0 10px;
    }
}

@media (min-width: 993px) and (max-width: 1565px) {
    .site-nav-info-content {
        display: none;
    }
}

@media (min-width: 993px) and (max-width: 1440px) {

    .site-nav-menu ul li a {
        padding: 0 10px;
        font-size: 14px;
        line-height: normal;
        white-space: nowrap;
    }

    .site-nav-info .site-nav-info-content p {
        font-weight: 500;
        font-size: 12px;
        line-height: 100%;
        color: white;
    }

    div.site-nav-info-wrap .site-nav-info-wrap .site-btn {
        font-size: 10px;
        padding: 3px 3px 2px 18px;
    }

    div.site-nav-info-wrap .site-btn .site-btn-icon-wrap {
        width: 40px;
        height: 40px;
    }
}


/* ---------- Přepínač jazyků ---------- */

.lang-switch {
    position: relative;
}

.lang-switch-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 15px 0 9px;
    border: 1.5px solid rgba(0, 69, 64, 0.15);
    border-radius: 100px;
    background: #fff;
    color: #004540;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch-trigger:hover {
    border-color: rgba(0, 69, 64, 0.4);
}

.lang-switch-trigger:focus-visible,
.lang-switch.is-open .lang-switch-trigger {
    border-color: #149bd7;
    box-shadow: 0 0 0 4px rgba(20, 155, 215, 0.15);
    outline: none;
}

/* Na úvodní stránce je hlavička průhledná nad fotkou */
body#hp .lang-switch-trigger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(4px);
}

body#hp .lang-switch-trigger:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
}

body#hp .lang-switch-trigger:focus-visible,
body#hp .lang-switch.is-open .lang-switch-trigger {
    border-color: #149bd7;
    box-shadow: 0 0 0 4px rgba(20, 155, 215, 0.25);
}

.lang-switch-chevron {
    font-size: 10px;
    opacity: 0.75;
    transition: transform 0.25s ease;
}

.lang-switch.is-open .lang-switch-chevron {
    transform: rotate(180deg);
}

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 300;
    width: 250px;
    padding: 10px;
    border: 1px solid rgba(0, 69, 64, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 35, 32, 0.2), 0 4px 14px rgba(0, 35, 32, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

/* Šipka mířící na tlačítko */
.lang-switch-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 40px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(0, 69, 64, 0.08);
    border-left: 1px solid rgba(0, 69, 64, 0.08);
    border-radius: 3px 0 0 0;
    background: #fff;
    transform: rotate(45deg);
}

.lang-switch.is-open .lang-switch-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lang-switch-title {
    margin: 4px 10px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 69, 64, 0.5);
}

.lang-switch-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lang-switch-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #12302d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch-option:hover,
.lang-switch-option:focus-visible {
    background: #f1f6f6;
    color: #004540;
    outline: none;
}

.lang-switch-option.is-current {
    background: rgba(20, 155, 215, 0.1);
    color: #0b7db0;
    font-weight: 600;
}

.lang-switch-option:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(20, 155, 215, 0.5);
}

.lang-switch-check {
    margin-left: auto;
    font-size: 13px;
    color: #149bd7;
}

/* Výběr jazyka v mobilním menu – dlaždice 3 × 3 hned pod odkazy */
.nav-mobile-links {
    flex: none;
}

.nav-mobile-langs {
    padding: 20px 24px 24px;
}

.nav-mobile-langs-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 69, 64, 0.55);
}

.nav-mobile-langs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.nav-mobile-lang {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px 4px 10px;
    border: 1.5px solid rgba(0, 69, 64, 0.1);
    border-radius: 14px;
    background: #fff;
    color: #12302d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-mobile-lang:hover {
    border-color: rgba(0, 69, 64, 0.3);
}

.nav-mobile-lang:focus-visible {
    outline: 2px solid #149bd7;
    outline-offset: 2px;
}

.nav-mobile-lang.is-current {
    border-color: #149bd7;
    background: rgba(20, 155, 215, 0.07);
    color: #0b7db0;
    font-weight: 600;
}

.nav-mobile-footer {
    margin-top: auto;
}

.nav-mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 100px;
    background: #004540;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.nav-mobile-phone i {
    color: #ffe175;
}

/* Otevřené mobilní menu skryje cookie lištu, jinak by zakrývala výběr jazyka; po zavření menu se vrátí */
body.nav-drawer-open .cookie-root {
    display: none !important;
}
