* {
    margin: 0;
    padding: 0;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Mulish', sans-serif;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

html,
body {
    position: relative;
    overflow-x: hidden;
    background-color: var(--background);
}

::-webkit-scrollbar {
    background-color: var(--background);
    width: 2vh;
}

::-webkit-scrollbar-thumb {
    background-color: #b7b7b7;
    border-radius: 15px;
}

:root {
    --main: #353261;
    --secondary: #0197d5;
    --text: black;
    --background: #FFFF;
}

#main {
    color: var(--main);
}

#secondary {
    color: var(--secondary);
}

#light {
    font-weight: 300;
}

hr {
    width: 90%;
    height: 0.5px;
    align-self: center;
    background-color: rgb(237, 237, 237);
    border: none;
}

hr #hr-footer {
    margin-right: 10%;
}
/*-----------------------pop-up-window--------------------------*/

.overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9998; /* Place it above the popup */
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 99999;
}

.popup-content {
    background-color: #fff;
    width: 55%;
    height: auto;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-content .container .text {
    margin-left: 3vh;
}

.popup-content .container h1 {
    margin-bottom: 2vh;
    color: var(--main);
}

.popup-content .container p {
    margin-bottom: 4vh;
}

.popup-content .container a {
    align-self: center;
    text-decoration: none;
    padding: 1.5vh;
    background: transparent;
    width: max-content;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-size: var(--jr-fs-subtitle);
    border-radius: 2px;
    transition: 0.2s;
}

.popup-content .container a:hover {
    transition: 0.2s;
    background: var(--main);
    color: var(--background);
    border: transparent 1px solid;
}

.popup-content .container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.popup-content .image1 {
    background-image: url("/assets/img/limusina.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 50vh;
    width: 100%;
    margin-bottom: 5vh;
    margin-top: 5vh;
}

.close-button {
    position: absolute;
    right: 2vh;
    top: 1vh;
    font-size: var(--jr-fs-block-title);
    cursor: pointer;
}

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

@media screen and (max-width: 800px) {
    .popup-content {
        width: 80%;
    }

    .popup-content .container {
        flex-direction: column;
    }

    .popup-content .image1 {
        height: 30vh;
        width: 100%;
    }

    .popup-content .container .text {
        margin-bottom: 5vh;
        width: 100%;
        margin-left: 0vh;
    }
}
  

/*-----------------------------body----------------------------*/

/* Úvodní hero — max 80vh, jemné pozadí, vlevo text, vpravo autobazar (desktop) */
header.landing-hero {
    position: relative;
    margin-top: 0;
    max-height: 80vh;
    max-height: 80dvh;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #eceef5;
    background-image:
        linear-gradient(118deg, #f7f8fc 0%, #f1f3f9 42%, #e9ecf6 100%),
        radial-gradient(ellipse 75% 95% at 100% 45%, rgba(1, 151, 213, 0.11) 0%, transparent 55%),
        radial-gradient(ellipse 50% 65% at 8% 85%, rgba(53, 50, 97, 0.06) 0%, transparent 52%);
}

/* Hamburger menu */

.hamburger-menu {
    top: 0;
    display: none;
    z-index: 9999;
    background: var(--background);
    height: 65px;
    position: fixed;
    width: 100%;
    box-shadow:
        0px 0px 2.2px rgba(0, 0, 0, 0.006),
        0px 0px 5.3px rgba(0, 0, 0, 0.008),
        0px 0px 10px rgba(0, 0, 0, 0.01),
        0px 0px 17.9px rgba(0, 0, 0, 0.012),
        0px 0px 33.4px rgba(0, 0, 0, 0.014),
        0px 0px 80px rgba(0, 0, 0, 0.02);
    touch-action: none;
}

.hamburger-menu img {
    width: 50px;
    float: right;
    margin-top: 15px;
    margin-right: 3vh;
}

#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked+.menu__btn>span {
    transform: rotate(45deg);
}

#menu__toggle:checked+.menu__btn>span::before {
    top: 0;
    transform: rotate(0deg);
}

#menu__toggle:checked+.menu__btn>span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
    left: 0 !important;
}

.menu__btn {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main);
    border-radius: 1px;
    transition-duration: .25s;
}

.menu__btn>span::before {
    content: '';
    top: -8px;
}

.menu__btn>span::after {
    content: '';
    top: 8px;
}

.menu__box {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 350px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: var(--background);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
}

.menu__box li a i {
    font-size: var(--jr-fs-caption);
}

.menu__item {
    display: block;
    padding: 2vh 24px;
    color: var(--main);
    font-size: var(--jr-fs-lead);
    font-weight: 400;
    text-decoration: none;
    transition-duration: .25s;
}

.dropdown-content {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: 0;
    overflow: hidden;
}

.dropdown-content.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
}

.dropdown-content ul {
    padding: 0;
    margin: 0;
}

.dropdown-content ul li {
    list-style: none;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-left: 2vh;
}

.dropdown-content ul li a {
    font-size: var(--jr-fs-subtitle);
}

.dropdown-content.show ul li {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotateChevron {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

.dropbtn i {
    transition: transform 0.3s ease;
}

.dropbtn i.rotated {
    transform: rotate(180deg);
}

.dropbtn:hover i.rotated {
    animation: rotateChevron 0.3s forwards;
}

.menu__item:hover {
    background-color: var(--main);
    color: var(--background);
}

#kontakt {
    margin-top: 5vh;
    padding: 1.5vh;
    margin-left: 1.5vh;
    border-radius: 2px;
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(53,50,97,1) 32%, rgba(1,151,213,1) 100%);
    color: white;
    transition: 0.2s;
    cursor: pointer;
    border: 1px rgba(0, 0, 0, 0) solid;
    width: 300px;
}

#kontakt:hover {
    background: none;
    border: 1px solid var(--main);
    transition: 0.2s;
    color: var(--main);
}

#active-link {
    background-color: #ededed;
    color: var(--secondary);
}

@media screen and (max-width: 1100px) {
    .hamburger-menu {
        display: block;
    }
}

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    margin-top: 2vh;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: 9999;
}

.nav div.logo {
    float: left;
    padding-left: 10vw;
}

.nav div.main_list {
    height: 100%;
    float: right;
    margin-top: -3vh;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 5vw;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
    margin-top: 3vh;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: var(--background);
    line-height: 65px;
    font-size: var(--jr-fs-prose);
    transition: 0.2s;
}

.nav div.main_list ul li a:hover {
    transition: 0.2s;
    color: var(--main) !important;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 40px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width: 1100px) {
    .nav {
        background-color: var(--background);
        padding: 0;
        display: none;
    }

    .navTrigger {
        display: none;
    }

    .nav div.logo {
        margin-left: 15px;
    }

    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }

    .nav div.show_list {
        height: auto;
        display: none;
    }

    .nav div.main_list ul {
        display: none;
    }

    .nav div.main_list ul li {
        width: 100%;
        text-align: center;
        padding-top: 4vh;
    }

    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: var(--jr-fs-section-heading);
        padding: 20px;
    }

    .nav div.media_button {
        display: block;
    }
}

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: var(--main);
    border-radius: 0px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 5px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    height: 65px;
    padding-top: 20px;
    padding-bottom: 0;
    background-color: var(--background);
    box-shadow:
        0px 2.3px 1.9px rgba(0, 0, 0, 0.008),
        0px 5.4px 4.3px rgba(0, 0, 0, 0.011),
        0px 9.7px 7.7px rgba(0, 0, 0, 0.014),
        0px 16.1px 12.8px rgba(0, 0, 0, 0.016),
        0px 26.5px 21.2px rgba(0, 0, 0, 0.019),
        0px 46.2px 37px rgba(0, 0, 0, 0.022),
        0px 100px 80px rgba(0, 0, 0, 0.03);
}

#dropdown {
    margin-right: -4vh;
    margin-left: -4vh;
}

.doprava:hover .dropdown {
    transform: translateY(0%);
    transition: 0.2s all;
    opacity: 1;
}

.dropdown {
    display: flex;
    flex-direction: column;
    background: var(--background);
    padding: 1.5vh;
    transform: translateY(-15%);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none;
    box-shadow:
        0px 33.3px 5.3px rgba(0, 0, 0, 0.008),
        0px 111.7px 17.9px rgba(0, 0, 0, 0.012),
        0px 500px 80px rgba(0, 0, 0, 0.02);
    transition: 0.2s all;
    opacity: 0;
}

.dropdown .doprava a {
    color: var(--main);
}

.dropdown .doprava a:hover {
    color: var(--secondary) !important;
}

.button {
    padding: 1.5vh;
    border-radius: 2px;
    background: rgb(0, 0, 0);
    background: var(--secondary);
    color: white;
    transition: 0.2s;
    cursor: pointer;
    border: 1px rgba(0, 0, 0, 0) solid;
}

.button:hover {
    background: none;
    border: 1px solid var(--main);
    transition: 0.2s;
    color: var(--main);
}

.uvodni-text.landing-hero__shell {
    flex: 1;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: calc(var(--site-header-bar-h, 4.125rem) + 0.3rem) clamp(1rem, var(--site-header-pad-x, 1.35rem), 2.75rem) clamp(1.85rem, 5.5vh, 3.25rem);
    box-sizing: border-box;
    overflow-y: auto;
}

/* dva stejné sloupce (po mezeře efektivně 50 % / 50 %), obsah ve sloupci vycentrovaný */
.landing-hero__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3.5vw, 2.75rem);
    align-items: center;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

/* Prázdný autobazar — jen levý blok, vycentrovaný */
.landing-hero__layout--no-showcase {
    grid-template-columns: 1fr;
    justify-items: center;
}

.landing-hero__layout--no-showcase .landing-hero__panel {
    width: 100%;
    max-width: min(36rem, 100%);
}

.uvodni-text .left,
.uvodni-text .landing-hero__panel {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    text-align: center;
}

.uvodni-text .left img,
.uvodni-text .landing-hero__logo {
    width: min(200px, 48vw);
    margin-bottom: clamp(0.65rem, 2vh, 1.1rem);
    margin-top: 0;
    filter: drop-shadow(0 2px 12px rgba(53, 50, 97, 0.12));
}

.landing-hero__showcase {
    --landing-hero-showcase-col: min(18.5rem, 90%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.landing-hero__showcase-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(53, 50, 97, 0.5);
    text-align: left;
    align-self: center;
    width: 100%;
    max-width: var(--landing-hero-showcase-col);
    box-sizing: border-box;
}

/* placeholder přes celou šířku sloupce — kicker s kartou zarovnaný na levý okraj */
.landing-hero__showcase:has(.landing-hero__cards > .landing-hero__card--placeholder:only-child)
    .landing-hero__showcase-kicker {
    max-width: none;
    align-self: stretch;
}

.landing-hero__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: 100%;
    max-height: min(52vh, 440px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.2rem;
    -webkit-overflow-scrolling: touch;
}

/* jeden vůz v hero — větší karta, čtvercová fotka, bez vnitřního scrollu */
.landing-hero__cards:has(> .landing-hero__card:not(.landing-hero__card--placeholder):only-child) {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    max-width: var(--landing-hero-showcase-col);
    margin-inline: auto;
    width: 100%;
}

.landing-hero__cards:has(> .landing-hero__card:not(.landing-hero__card--placeholder):only-child)
    .landing-hero__slide-img-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.landing-hero__cards:has(> .landing-hero__card:not(.landing-hero__card--placeholder):only-child)
    .landing-hero__slide-meta {
    padding: 0.65rem 0.9rem 0.8rem;
    justify-content: flex-start;
    text-align: left;
}

.landing-hero__cards:has(> .landing-hero__card:not(.landing-hero__card--placeholder):only-child)
    .landing-hero__slide-name {
    font-size: 0.98rem;
    text-align: left;
}

.landing-hero__cards:has(> .landing-hero__card:not(.landing-hero__card--placeholder):only-child)
    .landing-hero__slide-price {
    margin-left: auto;
    font-size: 0.9375rem;
}

.landing-hero__card {
    margin: 0;
    min-width: 0;
}

.landing-hero__slide-link {
    display: flex;
    flex-direction: column;
    height: auto;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(53, 50, 97, 0.1);
    box-shadow:
        0 2px 8px rgba(53, 50, 97, 0.06),
        0 12px 40px rgba(53, 50, 97, 0.1);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.landing-hero__slide-link:hover {
    box-shadow:
        0 4px 16px rgba(53, 50, 97, 0.1),
        0 18px 48px rgba(1, 151, 213, 0.12);
    transform: translateY(-2px);
}

.landing-hero__slide-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    flex-shrink: 0;
    background: #e8eaf2;
    overflow: hidden;
}

.landing-hero__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.landing-hero__slide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    padding: 0.65rem 1rem 0.85rem;
    background: #fff;
}

.landing-hero__slide-name {
    flex: 1 1 100%;
    font-weight: 800;
    font-size: 1rem;
    color: var(--main);
    line-height: 1.25;
}

.landing-hero__slide-year {
    font-size: 0.875rem;
    color: rgba(53, 50, 97, 0.55);
}

.landing-hero__slide-price {
    margin-left: auto;
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--secondary);
}

.landing-hero__card--placeholder .landing-hero__slide-link {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    min-height: 5.5rem;
}

.landing-hero__slide-placeholder-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--main);
    margin-bottom: 0.35rem;
}

.landing-hero__slide-placeholder-text {
    display: block;
    font-size: 0.9rem;
    color: rgba(53, 50, 97, 0.6);
    max-width: 22ch;
}

.landing-hero__showcase-all {
    align-self: center;
    width: 100%;
    max-width: var(--landing-hero-showcase-col);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    margin-top: 0.15rem;
}

.landing-hero__showcase-all::after {
    content: '';
    flex-shrink: 0;
    width: 0.4em;
    height: 0.4em;
    margin-top: 0.04em;
    border-right: 0.14em solid currentColor;
    border-bottom: 0.14em solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.landing-hero__showcase:has(.landing-hero__cards > .landing-hero__card--placeholder:only-child)
    .landing-hero__showcase-all {
    max-width: none;
    width: auto;
    margin-inline: auto;
}

.landing-hero__showcase-all:hover {
    text-decoration: underline;
}

.landing-hero__showcase-all:hover::after {
    transform: rotate(-45deg) translate(0.1em, -0.1em);
}

.landing-hero__lead {
    margin: 0 auto clamp(1rem, 2.5vh, 1.5rem);
    max-width: 38ch;
    font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.0625rem);
    line-height: var(--jr-lh-prose);
    font-weight: 500;
    color: rgba(53, 50, 97, 0.78);
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 0.85rem;
    margin-bottom: 0;
}

.landing-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-size: var(--jr-fs-lead);
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.landing-hero__btn--primary {
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
}

.landing-hero__btn--primary:hover {
    background: #0180b8;
    border-color: #0180b8;
    color: #fff;
}

.landing-hero__btn--ghost {
    background: transparent;
    color: var(--main);
    border: 2px solid rgba(53, 50, 97, 0.35);
}

.landing-hero__btn--ghost:hover {
    background: rgba(53, 50, 97, 0.06);
    border-color: var(--main);
    color: var(--main);
}

.uvodni-text .left h2 {
    color: var(--secondary);
    text-align: center;
    margin-bottom: clamp(0.5rem, 1.5vh, 0.85rem);
    font-size: var(--jr-fs-hero-tagline);
    line-height: var(--jr-lh-snug);
    font-weight: 800;
    text-shadow: none;
}

.uvodni-text .left h3 {
    color: var(--main);
    text-align: center;
    margin-bottom: clamp(0.35rem, 1vh, 0.55rem);
    font-size: var(--jr-fs-hero-name);
    letter-spacing: 0.1em;
    font-style: italic;
    font-weight: 900;
    line-height: var(--jr-lh-heading);
    text-shadow: none;
}

.landing-hero .landing-hero__logo {
    width: min(132px, 38vw);
    margin-bottom: clamp(0.45rem, 1.4vh, 0.75rem);
}

.landing-hero .landing-hero__panel h2 {
    font-size: clamp(0.9rem, 0.78rem + 0.45vw, 1.05rem);
    margin-bottom: clamp(0.4rem, 1.2vh, 0.65rem);
}

.landing-hero .landing-hero__panel h3 {
    font-size: clamp(1.45rem, 1.15rem + 1vw, 1.85rem);
    margin-bottom: clamp(0.25rem, 0.8vh, 0.42rem);
    letter-spacing: 0.08em;
}

.uvodni-text .right {
    width: 50%;
}

@media screen and (max-width: 900px) {
    .landing-hero__layout {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .uvodni-text .left,
    .uvodni-text .landing-hero__panel {
        max-width: none;
        align-items: center;
        text-align: center;
    }

    .uvodni-text .left h2,
    .uvodni-text .left h3 {
        text-align: center;
    }

    .landing-hero__actions {
        justify-content: center;
    }

    .landing-hero__lead {
        max-width: 36ch;
    }

    /* autobazar v hero jen na širších obrazovkách */
    .landing-hero__showcase {
        display: none;
    }

    .uvodni-text .right {
        width: 0%;
    }
}

@media screen and (max-width: 430px) {
    .uvodni-text .left img,
    .uvodni-text .landing-hero__logo {
        width: min(180px, 52vw);
    }

    .landing-hero .landing-hero__logo {
        width: min(118px, 44vw);
    }

    .landing-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-hero__btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/*---------------------section2------------------------*/

/* Sekce pod hero — kompaktní výška */
#section2 {
    min-height: min(48vh, 28rem);
    height: auto;
    box-shadow:
        0px 0.3px 2.2px rgba(0, 0, 0, 0.006),
        0px 0.7px 5.3px rgba(0, 0, 0, 0.008),
        0px 1.3px 10px rgba(0, 0, 0, 0.01),
        0px 2.2px 17.9px rgba(0, 0, 0, 0.012),
        0px 4.2px 33.4px rgba(0, 0, 0, 0.014),
        0px 10px 80px rgba(0, 0, 0, 0.02);
    padding-block: 2vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

#section2 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    min-height: min(48vh, 28rem);
    height: auto;
}

#section2 .left-side h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25vh;
    font-size: var(--jr-fs-section-heading);
    font-weight: 800;
    font-style: italic;
    color: var(--main);
    line-height: var(--jr-lh-heading);
}

#section2 .left-side p {
    font-size: var(--jr-fs-prose);
    line-height: var(--jr-lh-prose);
    margin-left: 6vh;
    margin-right: 6vh;
    text-align: center;
}

#section2 .left-side a {
    align-self: center;
    text-decoration: none;
    margin-top: 2.25vh;
    padding: 1.5vh;
    background: transparent;
    width: max-content;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-size: var(--jr-fs-lead);
    border-radius: 2px;
    transition: 0.2s;
}

#section2 .left-side a:hover {
    transition: 0.2s;
    background: var(--main);
    color: var(--background);
    border: transparent 1px solid;
}

.image-section2 {
    background: url("/assets/img/IMG_7438.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    align-self: stretch;
    min-height: min(42vh, 24rem);
    height: auto;
    width: 45%;
    margin-right: 6vh;
}

@media screen and (max-width: 1100px) {
    #section2 {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
        padding-block: 2vh;
    }

    #section2 .left-side {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 5vh;
    }

    .image-section2 {
        height: 36vh;
        width: 90%;
        margin-right: 0vh;
        margin-bottom: 4vh;
    }
}

/*---------------------section3-------------------------*/

#section3 {
    min-height: min(48vh, 28rem);
    height: auto;
    padding-block: 2vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
}

#section3 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    min-height: min(48vh, 28rem);
    height: auto;
}

#section3 .left-side h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25vh;
    font-size: var(--jr-fs-section-heading);
    font-weight: 800;
    font-style: italic;
    color: var(--main);
    line-height: var(--jr-lh-heading);
}

#section3 .left-side p {
    font-size: var(--jr-fs-prose);
    line-height: var(--jr-lh-prose);
    margin-left: 6vh;
    margin-right: 6vh;
    text-align: center;
}

#section3 .left-side a {
    align-self: center;
    text-decoration: none;
    margin-top: 2.25vh;
    padding: 1.5vh;
    background: transparent;
    width: max-content;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-size: var(--jr-fs-lead);
    border-radius: 2px;
    transition: 0.2s;
}

#section3 .left-side a:hover {
    transition: 0.2s;
    background: var(--main);
    color: var(--background);
    border: transparent 1px solid;
}

.image-section3 {
    background: url("/assets/img/IMG_7455.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    align-self: stretch;
    min-height: min(42vh, 24rem);
    height: auto;
    width: 45%;
    margin-left: 6vh;
}

@media screen and (max-width: 1100px) {
    #section3 {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
        padding-block: 2vh;
    }

    #section3 .left-side {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 3vh;
    }

    .image-section3 {
        height: 28vh;
        width: 90%;
        margin-right: 0vh;
        margin-bottom: 4vh;
        margin-left: 0vh;
    }
}

/*---------------------section4-------------------------*/

#section4 {
    min-height: min(48vh, 28rem);
    height: auto;
    box-shadow:
        0px 0.3px 2.2px rgba(0, 0, 0, 0.006),
        0px 0.7px 5.3px rgba(0, 0, 0, 0.008),
        0px 1.3px 10px rgba(0, 0, 0, 0.01),
        0px 2.2px 17.9px rgba(0, 0, 0, 0.012),
        0px 4.2px 33.4px rgba(0, 0, 0, 0.014),
        0px 10px 80px rgba(0, 0, 0, 0.02);
    padding-block: 2vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

#section4 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    min-height: min(48vh, 28rem);
    height: auto;
}

#section4 .left-side h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25vh;
    font-size: var(--jr-fs-section-heading);
    font-weight: 800;
    font-style: italic;
    color: var(--main);
    line-height: var(--jr-lh-heading);
}

#section4 .left-side p {
    font-size: var(--jr-fs-prose);
    line-height: var(--jr-lh-prose);
    margin-left: 6vh;
    margin-right: 6vh;
    text-align: center;
}

#section4 .left-side a {
    align-self: center;
    text-decoration: none;
    margin-top: 2.25vh;
    padding: 1.5vh;
    background: transparent;
    width: max-content;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-size: var(--jr-fs-lead);
    border-radius: 2px;
    transition: 0.2s;
}

#section4 .left-side a:hover {
    transition: 0.2s;
    background: var(--main);
    color: var(--background);
    border: transparent 1px solid;
}

.image-section4 {
    background: url("/assets/img/IMG_7454.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    align-self: stretch;
    min-height: min(42vh, 24rem);
    height: auto;
    width: 45%;
    margin-right: 6vh;
}

@media screen and (max-width: 1100px) {
    #section4 {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
        padding-block: 2vh;
    }

    #section4 .left-side {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 3vh;
    }

    .image-section4 {
        height: 28vh;
        width: 90%;
        margin-right: 0vh;
        margin-bottom: 4vh;
    }
}

/*---------------------section5-------------------------*/

#section5 {
    min-height: min(48vh, 28rem);
    height: auto;
    padding-block: 2vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
}

#section5 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    min-height: min(48vh, 28rem);
    height: auto;
}

#section5 .left-side h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25vh;
    font-size: var(--jr-fs-section-heading);
    font-weight: 800;
    font-style: italic;
    color: var(--main);
    line-height: var(--jr-lh-heading);
}

#section5 .left-side p {
    font-size: var(--jr-fs-prose);
    line-height: var(--jr-lh-prose);
    margin-left: 6vh;
    margin-right: 6vh;
    text-align: center;
}

#section5 .left-side a {
    align-self: center;
    text-decoration: none;
    margin-top: 2.25vh;
    padding: 1.5vh;
    background: transparent;
    width: max-content;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-size: var(--jr-fs-lead);
    border-radius: 2px;
    transition: 0.2s;
}

#section5 .left-side a:hover {
    transition: 0.2s;
    background: var(--main);
    color: var(--background);
    border: transparent 1px solid;
}

.image-section5 {
    background: url("/assets/img/IMG_0555-2.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    align-self: stretch;
    min-height: min(42vh, 24rem);
    height: auto;
    width: 45%;
    margin-left: 6vh;
}

@media screen and (max-width: 1100px) {
    #section5 {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
        padding-block: 2vh;
    }

    #section5 .left-side {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 3vh;
    }

    .image-section5 {
        height: 28vh;
        width: 90%;
        margin-right: 0vh;
        margin-bottom: 4vh;
        margin-left: 0vh;
    }
}

@media screen and (max-width: 500px) {
    #section5 {
        padding-block: 3vh;
    }
}

/*------------------------hodnocení----------------------*/

#hodnoceni {
    text-align: center;
    padding-bottom: 10vh;
}

#hodnoceni h1 {
    margin-top: 10vh;
    color: var(--main);
    font-size: var(--jr-fs-section-lg);
    line-height: var(--jr-lh-heading);
}

/*----------------------footer--------------------------*/

footer {
    background: var(--background);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    width: 100%;
    height: auto;
    padding-bottom: 5vh;
}

.upper-footer {
    display: flex;
    flex-direction: row;
}

.left-side-footer {
    width: 50%;
    margin-top: 12vh;
    margin-left: 10%;
}

.adresa {
    display: flex;
    flex-direction: row;
    margin-bottom: 4vh;
}

.adresa h1 {
    margin-left: 2vh;
    color: var(--main);
}

.email {
    display: flex;
    margin-bottom: 4vh;
    margin-top: 4vh;
    color: var(--main);
}

.email img {
    padding-right: 2.5vh;
}

.email .email-text {
    display: flex;
    flex-direction: row;
    margin-top: 1vh;
}

.email .email-text h1 {
    margin-right: 2vh;
}

.email .email-text h2 a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.2s;
}

.email .email-text h2 a:hover {
    color: var(--main);
    transition: 0.2s;
}

.kontakt {
    display: flex;
    flex-direction: row;
    padding-top: 4vh;
}

.druhy-kontaktu {
    margin-left: 2vh;
    flex: 1;
    min-width: 0;
}

.right-side-footer {
    width: 50%;
    margin: 8vh 0vh 0vh 4vh;
}

.absolute-bottom h2 {
    color: var(--background);
}

.absolute-bottom h2 a {
    color: var(--background);
    text-decoration: none;
}

footer .steveosyka {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3vh;
    margin-bottom: -1vh;
    opacity: 0.8;
}

footer .steveosyka a {
    color: var(--secondary);
    text-decoration: none;
    transition: 0.2s;
}

footer .steveosyka a:hover {
    transition: 0.2s;
    color: var(--main);
    text-decoration: underline;
}

@media screen and (max-width: 1000px) {
    footer {
        height: auto;
        justify-content: center;
        align-items: center;
        background: var(--background);
        background-size: cover;
    }

    .upper-footer {
        flex-direction: column;
    }

    .left-side-footer {
        width: 100%;
        margin-bottom: 10vh;
        margin-top: 10vh;
        margin-left: 5%;
    }

    .adresa {
        margin-left: 5%;
        margin-right: 10%;
    }

    .email {
        margin-left: 5%;
    }

    .email .email-text {
        margin-top: 0;

    }

    .email .email-text {
        flex-direction: column;
    }

    .kontakt {
        margin-left: 5%;
        border-top: none;
    }

    .right-side-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        width: 100%;
        margin-bottom: 5vh;
    }
}