@media (max-width: 1400px) {
    html {
        font-size: 90%;
    }

    .navbar {
        height: 7vh;
        padding: 0 30px;
    }

    .logo {
        height: 2.6rem;
    }

    .menu {
        gap: 20px;
    }

    .menu a {
        font-size: 18px;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 42px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    .tekst,
    .opis,
    .white {
        font-size: 20px;
    }

    .site-map a {
        font-size: 18px;
    }

    .cta {
        font-size: 19px;
        min-width: 180px;
        padding: 0.55rem 1.25rem;
    }

    .bike-badge {
        font-size: 28px;
    }

    .category {
        width: 300px;
        height: 235px;
    }

    .tyee-link,
    .hd6-link,
    .dread-link,
    .rage-link,
    .v10-link,
    .spindrift-link,
    .insurgent-link,
    .hugene-link,
    .reya-link,
    .trick-link,
    .faction-link,
    .terrel-link {
        width: 19vw;
        height: 13vw;
    }

    .mini-rower {
        width: 19vw;
        height: 13vw;
    }

    .contact-bike,
    .foty {
        width: 55vw;
    }

    .contakten,
    .info {
        width: 45vw;
    }

    .gorka {
        transform: scale(0.75);
        height: min(38vh, 18rem);
    }

    .mini-nav {
        gap: 0.75rem;
    }

    .mini-gravel,
    .mini-dirt,
    .mini-trail,
    .mini-freeride,
    .mini-enduro,
    .mini-downhill {
        font-size: 17px;
        padding: 0.4rem 1.5rem;
        min-width: auto;
    }


    .mini-rower img {
        transform: scale(0.8);
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 82%;
    }

    .navbar {
        height: 7vh;
        padding: 0 24px;
    }

    .logo {
        height: 2.3rem;
    }

    .menu {
        gap: 14px;
    }

    .menu a {
        font-size: 16px;
        padding: 6px 8px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }

    .tekst,
    .opis,
    .white {
        font-size: 18px;
    }

    .tekst {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .site-map a {
        font-size: 16px;
    }

    .cta {
        font-size: 17px;
        min-width: 160px;
        padding: 0.5rem 1.1rem;
    }

    .bike-badge {
        font-size: 24px;
    }

    .category {
        width: 260px;
        height: 210px;
    }

    .mini-nav-item {
        font-size: 17px;
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

    .tyee-link,
    .hd6-link,
    .dread-link,
    .rage-link,
    .v10-link,
    .spindrift-link,
    .insurgent-link,
    .hugene-link,
    .reya-link,
    .trick-link,
    .faction-link,
    .terrel-link {
        width: 17vw;
        height: 12vw;
    }

    .mini-rower {
        width: 17vw;
        height: 12vw;
    }

    .contact-bike,
    .foty {
        width: 52vw;
    }

    .contakten,
    .info {
        width: 48vw;
    }

    .gorka {
        transform: scale(0.6);
        height: min(30vh, 15rem);
        margin-top: -1rem;
    }

    .mini-nav {
        gap: 0.5rem;
    }

    .mini-gravel,
    .mini-dirt,
    .mini-trail,
    .mini-freeride,
    .mini-enduro,
    .mini-downhill {
        font-size: 14px;
        padding: 0.35rem 1rem;
        border-width: 1px;
        min-width: auto;
    }

    .mini2 {
        top: 50vh;
    }

    .pop-menu {
        height: 42vh;
    }
}

/* ==================== MOBILE / TELEFONY ==================== */

@media (max-width: 768px) {

    /* RESET MOBILE */

    body {
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
    }

    /* TYPOGRAFIA */

    h1,
    .tekst h1 {
        font-size: 32px;
        text-align: center;
        padding-top: 0.5em;
    }

    h2 {
        font-size: 30px;
        text-align: center;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    .tekst,
    .opis,
    .white,
    .grey,
    .dane,
    .order .tekst {
        font-size: 16px;
        line-height: 150%;
        margin-left: 0;
        margin-right: 0;
    }

    .cta {
        font-size: 16px;
        min-width: 160px;
        padding: 0.55rem 1.2rem;
    }

    /* NAVBAR / HAMBURGER */

    .navbar {
        height: 70px;
        padding: 0 20px;
    }

    .logo {
        height: 2rem;
    }

    .menu {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: black;
        border-radius: 3px;
        transition: 0.3s;
    }

    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;

        width: 100%;
        height: calc(100vh - 70px);

        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 2rem;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);

        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
        z-index: 1000;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu a {
        font-family: "SF Pro Display", sans-serif;
        font-size: 24px;
        font-weight: 600;
        text-decoration: none;
        color: black;
    }

    .mobile-menu a:hover {
        color: #CC2A33;
    }

    /* WYŁĄCZENIE DESKTOPOWEGO MENU ROWERÓW NA TELEFONIE */

    .pop-menu,
    .mini2,
    .pop-blur {
        display: none;
    }

    /* STRONA GŁÓWNA — HERO */

    .bike {
        height: 75vh;
        padding-top: 70px;
    }

    .bike img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .bike-badge {
        width: 90%;
        font-size: 22px;
        text-align: center;
        bottom: calc(2rem + 55px + 1.5rem);
    }

    .bike .cta {
        bottom: 2rem;
        font-size: 16px;
        min-width: 150px;
    }


    .about {
        flex-direction: column;
        height: auto;
    }

    .foty {
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    .foto {
        width: 100%;
        height: 45vh;
    }

    .foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .info {
        width: 100%;
        height: auto;
        padding: 3rem 1rem;
        border-left: none;
        border-top: 2px solid rgba(0, 0, 0, 0.15);
    }

    .info .tekst {
        padding: 1rem;
        text-align: center;
    }

    /* STRONA GŁÓWNA — KONTAKT */

    .contact {
        flex-direction: column-reverse;
        height: auto;
    }

    .contakten {
        width: 100%;
        height: auto;
        padding: 3rem 1rem;
        border-right: none;
        border-top: 2px solid rgba(0, 0, 0, 0.15);
    }

    .contact-bike {
        width: 100%;
        height: 50vh;
    }

    .contact-bike img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #myMap {
        width: min(90vw, 420px);
        aspect-ratio: 1 / 1;
        height: auto;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 24px;
        overflow: hidden;
        z-index: 1;
    }

    /* FOOTER */

    footer {
        height: auto;
        padding: 3rem 1rem;
    }

    footer h1 {
        font-size: 30px;
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .email-input {
        font-size: 16px;
    }

    .site-map {
        flex-direction: column;
        gap: 1rem;
    }

    .site-map a {
        font-size: 16px;
    }

    .disclaimer {
        font-size: 14px;
        text-align: center;
    }

    /* MARKI */

    .tlo {
        height: auto;
        min-height: 100vh;
        padding: 6rem 1rem 3rem;
    }

    .siatka {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .brand {
        width: 90vw;
        max-width: 330px;
        height: 200px;
    }

    .brand img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tlo .tekst {
        width: 100%;
        padding: 1rem;
        text-align: center;
    }

    .tekst a {
        display: inline-block;
    }

    /* DEMO */

    .survey {
        height: auto;
        flex-direction: column;
    }

    .order {
        width: 100%;
        height: auto;
        min-height: 90vh;
        padding: 5rem 1rem 3rem;
        border-right: none;
        border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    }

    .survey-bike {
        width: 100%;
        height: 50vh;
    }

    .survey-bike img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .test-ride-form {
        width: 100%;
        max-width: 400px;
    }

    .test-ride-form input,
    .test-ride-form select,
    input[type="text"],
    input[type="tel"],
    input[type="date"],
    .bike-dropdown,
    .bike-select {
        width: 100%;
    }

    .row {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .bike-options {
        max-height: 260px;
    }

    .bike-option {
        font-size: 15px;
    }

    .bike-option img {
        width: 65px;
        height: 40px;
    }

    /* PRODUKTY — PRODUCT.CSS / RAGE / TYEE / SPINDRIFT */

    .background {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 5rem 1rem 2rem;
    }

    .background-img {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .background-img img {
        width: 100%;
        height: auto;
        max-height: 45vh;
        object-fit: contain;
    }

    .product {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 2rem 1rem;
        border-left: none;
        border-top: 2px solid rgba(0, 0, 0, 0.15);
        text-align: center;
    }

    .brand-logo {
        width: 35%;
        max-width: 140px;
        margin-bottom: 1rem;
    }

    .brand-logo img {
        width: 100%;
        height: auto;
    }

    .nazwa-koloru {
        font-size: 20px;
        text-align: center;
    }

    .kolory-wrapper-p,
    .kolory-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .kolor-p,
    .kolor {
        width: 30px;
        height: 30px;
        margin-bottom: 1rem;
    }

    .staty {
        width: 100%;
        padding: 1rem 0;
    }

    .white {
        font-size: 16px;
        text-align: center;
    }

    .opis {
        font-size: 16px;
        text-align: center;
        padding: 0 0.5rem;
    }

    .product .cta {
        margin-top: 1rem;
        width: auto;
    }

    /* PRODUKTY — GALERIA / KARUZELA */

    .gallery-mosaic {
        width: 100%;
        overflow: hidden;
    }

    .carousel-track {
        gap: 1rem;
    }

    .carousel-track img {
        width: 85vw;
        height: 50vh;
        object-fit: cover;
        border-right: none;
        border-radius: 20px;
    }

    .gallery-mosaic .mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 50vh;
    }

    .gallery-mosaic .mosaic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ==================== BARDZO MAŁE TELEFONY ==================== */

@media (max-width: 480px) {

    h1,
    .tekst h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 26px;
    }

    .tekst,
    .opis,
    .white,
    .grey,
    .dane,
    .order .tekst {
        font-size: 15px;
    }

    .cta {
        font-size: 15px;
        min-width: 140px;
    }

    .bike {
        height: 70vh;
    }

    .bike-badge {
        font-size: 19px;
    }

    .foto {
        height: 40vh;
    }

    .contact-bike {
        height: 42vh;
    }

    .survey-bike {
        height: 42vh;
    }

    .brand {
        height: 180px;
    }

    .background-img img {
        max-height: 38vh;
    }

    .product {
        padding: 1.5rem 1rem;
    }

    .carousel-track img {
        width: 88vw;
        height: 42vh;
    }

    #myMap {
        width: 90vw;
    }
}