* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none !important;
}

@font-face {
    font-family: 'Play';
    src: url('/assets/fonts/play-bold.woff2') format('woff2')
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.25)), 1.8rem);
    line-height: 1.4;
    background-color: #e6e6e6;
    color: #222222;
}

small {
    font-size: 1.4rem;
    color: #999999;
}

button {
    all: unset;
}

.credits {
    padding: 24px;
    background-color: white;
}

.credits .author {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: #222222;
    gap: 8px;
}

.credits .author:hover {
    text-decoration: underline;
}

.credits .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.heading {
    font-family: 'Play', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 4px;
    background-color: #c21a0a;
    box-shadow: 0 8px 16px 0 rgba(194, 26, 10, 0.24);
    color: white;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
    font-family: 'Play', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    transition: 0.2s;
}

.btn:hover {
    background-color: #aa1609;
    box-shadow: 0 8px 16px 0 rgba(170, 22, 9, 0.48);
}

.btn-icon {
    color: white;
    width: 24px;
    order: -1;
}

.container {
    width: 100%;
    max-width: 1366px;
    margin: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    max-width: 590px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    padding: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    background-color: #333333;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 8px;
}

.card-icon {
    width: clamp(6.4rem, calc(6.4rem + ((1vw - 0.48rem) * 4)), 9.6rem);
    fill: #666666;
    order: -1;
}

.card .list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subheading {
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 0.5)), 2.4rem);
}

.keyword {
    font-size: 0.1rem;
}

.notice {
    text-align: left;
    padding: 24px;
    background-color: #e6e6e6;
}

.card .list-item {
    display: flex;
    padding-left: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.5)), 2rem);
    position: relative;
    color: #999999;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-proof .photos {
    display: flex;
}

.social-proof .caption {
    font-size: 1.2rem;
    color: #999;
}

.photos .photo {
    margin-right: -16px;
    border: 2px solid #e6e6e6;
    border-radius: 999px;
    min-width: 32px;
    min-height: 32px;
    max-height: 32px;
    max-width: 32px;
}

.card .list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(0.6rem, calc(0.6rem + ((1vw - 0.48rem) * 0.25)), 0.8rem);
    height: clamp(0.6rem, calc(0.6rem + ((1vw - 0.48rem) * 0.25)), 0.8rem);
    background-color: #8bc34a;
    border-radius: 999px;
}

.header {
    padding: 12px 24px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 8px;
    border-radius: 0 0 16px 16px;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    display: flex;
    width: clamp(13rem, calc(13rem + ((1vw - 0.48rem) * 3.75)), 16rem);
}

.header .nav {
    display: flex;
    align-items: center;
}

.header .list {
    display: flex;
    align-items: center;
    gap: 48px;
}

.header .list-item {
    display: flex;
}

.header .btn {
    padding: 12px 16px;
}

.header .link {
    display: flex;
    padding: 4px 0px;
    border-bottom: 2px solid transparent;
    color: #222;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Play', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: 0.2s;
}

.header .link:hover {
    border-color: #c21a0a;
}

.header .phone {
    display: none;
}

.hamburger {
    display: none;
}

.hero {
    padding: 160px 24px;
    background-image: url("/assets/images/pujcovna-dodavek-brno.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e6e6e6;
    color: #222222;
}

.hero .keyword {
    color: #e6e6e6;
    margin-bottom: clamp(-3.2rem, calc(-2.4rem + ((1vw - 0.48rem) * -1)), -2.4rem);
}

.hero .heading {
    font-size: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 3)), 5.6rem);
    line-height: 1.2;
}

.hero .subheading {
    color: #222222;
}

.hero .wrapper {
    display: flex;
    align-items: center;
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.cars {
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem) 24px;
}

.cars .container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.cars .container > .heading {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    margin: auto;
}

.cars .keyword {
    color: #e6e6e6;
    margin-bottom: -48px;
}

.cars .car {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.04);
    border-radius: 16px;
}

.car img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.car .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 1)), 2.4rem);
}

.cars .btn {
    margin: auto;
}

.car .details {
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.car .price {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.brands {
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem) 24px;
    background-color: #e6e6e6;
}

.brands .container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.brands .keyword {
    margin-bottom: -48px;
    color: white;
}

.brands .container > .heading {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    margin: auto;
}

.brands .grid {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.brands .logo {
    width: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 4)), 6.4rem);
}

.grid .heading {
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 0.5)), 2.4rem);
}

.card .icon {
    width: 32px;
    order: -1;
}

.pricing {
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem) 24px;
    background-color: #cccccc;
    background-image: url(/assets/images/carsservis-brno-ceny.webp);
    background-repeat: no-repeat;
    background-size: 40%;
}

.pricing .container {
    max-width: 840px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 48px;
}

.pricing h3 {
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.5)), 2rem);
    font-family: 'Play', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
}

.pricing .heading {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.pricing .keyword {
    color: #ccc;
    margin-bottom: -48px;
}

.pricing .list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing .list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 2px dotted #999999;
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.5)), 2rem);
}

.reviews {
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem) 24px;
    background-color: #e6e6e6;
    color:white;
    position: relative;
    overflow: hidden;
}

.reviews .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #222222;
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 2)), 6.4rem) clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 6)), 6.4rem);
    border-radius: 16px;
    gap: 48px;
}

.reviews .heading {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    z-index: 10;
}

.reviews .container .grid {
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 2)), 3.2rem);
}


.reviews .card {
    border-radius: 8px;
    background-color: #333333;
    text-align: left;
}

.reviews .card p {
    color: #999999;
}

.reviews .keyword {
    color: #222222;
    margin-bottom: -48px;
}

.review {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.review .photo {
    border-radius: 999px;
    width: 48px;
}

.review .caption {
    font-size: 1.4rem;
}

.google-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.google-reviews .link {
    color: #999999;
    text-decoration: underline;
}

.google-reviews .link:hover {
    text-decoration: none;
}

.score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
}

.contact {
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem) 24px;
}

.contact .container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.contact .content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact .heading {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.contact iframe {
    min-height: 400px;
    border-radius: 16px;
}

.contact .list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact .list-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact .link {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 0.5)), 2.4rem);
    color: #222222;
    font-weight: 700;
}

.contact .icon {
    display: flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    background-color: #c21a0a;
    box-shadow: 0 8px 16px 0 rgba(194, 26, 10, 0.24);
    border-radius: 4px;
    color: white;
    order: -1;
}

.billing .heading {
    font-size: 24px;
}

.contact .billing {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card small {
    text-align: center;
    margin: auto;
}

@media (max-width: 1024px) {

    .header .list {
        display: none;
    }

    .header .link {
        padding: 16px 24px;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        background-color: #e6e6e6;
        color: #222;
        border: none;
        border-radius: 4px;
    }

    .header .link:hover {
        background-color: #e6e6e6;
    }

    .header .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .header .phone {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #c21a0a;
        box-shadow: 0 8px 16px 0 rgba(194, 26, 10, 0.24);
        border-radius: 4px;
        color: white;
        width: 40px;
        height: 40px;
        margin: 0px 24px 0px auto;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        width: 32px;
        height: 16px;
        cursor: pointer;
    }
    
    .hamburger .bar {
        height: 2px;
        background-color: #222222;
        transition: all 0.2s;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .list.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 24px;
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 8px;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 9999;
    }

    .hero {
        padding-bottom: 48px;
        background-size: 80%;
        background-position: top right;
    }

    .hero .wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .hero .content {
        align-items: unset;
    }

    .brands .grid {
        grid-template-columns: repeat(6,1fr);
    }

    .pricing .list-item {
        flex-direction: column;
    }

    .contact .container {
        grid-template-columns: 1fr;
    }

    .credits .container {
        flex-direction: column;
        gap: 8px;
    }

}