:root {
    --burgundy: #9c1838;
    --burgundy-dark: #721126;
    --burgundy-light: #bb2a50;
    --white: #ffffff;
    --cream: #faf8f8;
    --light-gray: #f1eeee;
    --border: #ddd5d7;
    --text: #202020;
    --muted: #656065;
    --sidebar-width: 275px;
    --shadow: 0 18px 45px rgba(38, 18, 24, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}

/* LEWY PANEL */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--burgundy), var(--burgundy-dark));
    z-index: 1000;
    box-shadow: 9px 0 30px rgba(0, 0, 0, 0.18);
}

.logo-panel {
    position: relative;
    height: 190px;
    background: var(--white);
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
}

.logo-panel::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -20px;
    width: 115px;
    height: 70px;
    background: var(--burgundy);
    transform: skewX(-28deg);
}

.company-logo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 225px;
    object-fit: contain;
}

.menu {
    padding: 34px 14px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 62px;
    padding: 16px 18px;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
    border-radius: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.25s ease;
}

.menu-link i {
    width: 23px;
    text-align: center;
    font-size: 18px;
}

.menu-link:hover,
.menu-link.active {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(5px);
}

.sidebar-bottom {
    position: absolute;
    left: 28px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.34);
    font-weight: 900;
    letter-spacing: 1px;
}

.mobile-menu-button {
    display: none;
}

/* GŁÓWNA CZĘŚĆ */

.main-content {
    margin-left: var(--sidebar-width);
}

/* HERO */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-darkening {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 10, 12, 0.82) 0%, rgba(16, 10, 12, 0.56) 44%, rgba(16, 10, 12, 0.13) 100%),
        linear-gradient(0deg, rgba(16, 10, 12, 0.18), rgba(16, 10, 12, 0.05));
}

.diagonal-stripe {
    position: absolute;
    top: -30px;
    left: -78px;
    width: 145px;
    height: 720px;
    background: var(--burgundy);
    transform: skewX(-12deg);
    box-shadow: 15px 0 28px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 88%);
    padding: 70px 72px;
    color: var(--white);
}

.hero-label,
.section-label {
    text-transform: uppercase;
    color: var(--burgundy-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.hero-label {
    color: #f2d8df;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(58px, 7vw, 92px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero h2 {
    margin-top: 14px;
    font-size: clamp(22px, 2.8vw, 34px);
    text-transform: uppercase;
    font-weight: 700;
}

.hero-line,
.section-line,
.card-line {
    height: 4px;
    background: var(--burgundy);
}

.hero-line {
    width: 240px;
    margin: 25px 0;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.75;
}

.primary-button,
.outline-button,
.map-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: 0.25s ease;
}

.primary-button {
    padding: 16px 25px;
    color: var(--white);
    background: var(--burgundy);
    box-shadow: 0 10px 26px rgba(92, 12, 33, 0.28);
}

.primary-button:hover {
    background: var(--burgundy-light);
    transform: translateY(-3px);
}

/* KAFELKI */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.quick-card {
    min-width: 0;
    padding: 42px 30px;
    border-right: 1px solid var(--border);
    background: var(--white);
}

.quick-card:last-child {
    border-right: 0;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
}

.card-heading i {
    color: var(--burgundy);
    font-size: 28px;
}

.card-heading h2 {
    font-size: 22px;
    text-transform: uppercase;
}

.card-line {
    width: 76px;
    margin: 18px 0 24px;
}

.quick-card > p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.outline-button {
    margin-top: 12px;
    padding: 12px 0;
    color: var(--burgundy);
}

.outline-button:hover,
.map-button:hover {
    color: var(--burgundy-light);
    gap: 17px;
}

.mini-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

.mini-photo {
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1.25 / 1;
}

.mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.mini-photo:hover img {
    transform: scale(1.07);
}

.person {
    display: grid;
    gap: 7px;
    margin-bottom: 21px;
}

.person span {
    color: var(--burgundy);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.person strong {
    font-size: 18px;
}

.person a,
.contact-row a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.person a:hover,
.contact-row a:hover {
    color: var(--burgundy);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 17px;
    line-height: 1.55;
}

.contact-row i {
    width: 18px;
    color: var(--burgundy);
    margin-top: 3px;
}

.map-wrapper {
    height: 250px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-button {
    margin-top: 19px;
    color: var(--burgundy);
}

/* O NAS */

.about-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 560px;
    background: var(--cream);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 8%;
}

.about-text h2,
.section-heading h2 {
    margin-top: 10px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    text-transform: uppercase;
}

.section-line {
    width: 110px;
    margin: 24px 0 28px;
}

.about-text p:not(.section-label) {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

/* GALERIA */

.gallery-section {
    padding: 85px 5.5% 100px;
    background: var(--white);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 40px;
}

.section-heading > p:last-child {
    color: var(--muted);
    line-height: 1.7;
}

.full-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery-photo {
    position: relative;
    padding: 0;
    border: 0;
    background: var(--light-gray);
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1.25 / 1;
    border-radius: 4px;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.gallery-photo::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 28px;
    background: rgba(114, 17, 38, 0.58);
    opacity: 0;
    transition: 0.25s ease;
}

.gallery-photo:hover img {
    transform: scale(1.06);
}

.gallery-photo:hover::after {
    opacity: 1;
}

/* STOPKA */

.footer {
    padding: 28px 30px;
    color: var(--white);
    background: var(--burgundy-dark);
    text-align: center;
    font-size: 14px;
}

.footer-divider {
    margin: 0 10px;
    opacity: 0.55;
}

/* MODAL */

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 85px;
    background: rgba(10, 7, 8, 0.94);
}

.image-modal.open {
    display: flex;
}

.image-modal img {
    max-width: min(1200px, 90vw);
    max-height: 84vh;
    object-fit: contain;
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.45);
}

.modal-close,
.modal-arrow {
    position: absolute;
    border: 0;
    color: var(--white);
    background: rgba(156, 24, 56, 0.78);
    cursor: pointer;
    transition: 0.2s ease;
}

.modal-close:hover,
.modal-arrow:hover {
    background: var(--burgundy-light);
}

.modal-close {
    top: 24px;
    right: 27px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
}

.modal-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 70px;
    font-size: 21px;
}

.modal-previous {
    left: 22px;
}

.modal-next {
    right: 22px;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 1280px) {
    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-card:nth-child(2) {
        border-right: 0;
    }

    .quick-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .full-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        width: 285px;
        transform: translateX(-110%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-button {
        position: fixed;
        top: 18px;
        right: 18px;
        z-index: 2000;
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        border: 0;
        border-radius: 50%;
        color: var(--white);
        background: var(--burgundy);
        box-shadow: var(--shadow);
        cursor: pointer;
        font-size: 20px;
    }

    .diagonal-stripe {
        left: -95px;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-photo {
        min-height: 390px;
    }

    .full-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .hero {
        min-height: 650px;
        background-position: 62% center;
    }

    .hero-content {
        width: 100%;
        padding: 80px 24px 45px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero-description {
        font-size: 16px;
    }

    .diagonal-stripe {
        display: none;
    }

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

    .quick-card {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .about-text {
        padding: 55px 24px;
    }

    .gallery-section {
        padding: 65px 20px 80px;
    }

    .full-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-photo {
        aspect-ratio: 1.45 / 1;
    }

    .image-modal {
        padding: 70px 15px;
    }

    .modal-arrow {
        width: 42px;
        height: 58px;
    }

    .modal-previous {
        left: 5px;
    }

    .modal-next {
        right: 5px;
    }
}


/* PŁYWAJĄCE PRZYCISKI */

.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 2200;
    display: grid;
    gap: 10px;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    padding: 14px 18px;
    border-radius: 999px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 12px 30px rgba(46, 13, 22, 0.25);
    transition: 0.25s ease;
}

.floating-phone {
    background: var(--burgundy);
}

.floating-email {
    background: var(--burgundy-dark);
}

.floating-button:hover {
    transform: translateY(-3px);
    background: var(--burgundy-light);
}

@media (max-width: 650px) {
    .slider-arrow {
        width: 42px;
        height: 56px;
    }

    .slider-prev {
        left: 5px;
    }

    .slider-next {
        right: 5px;
    }

    .floating-contact {
        right: 12px;
        bottom: 14px;
        grid-template-columns: repeat(2, auto);
    }

    .floating-button {
        min-width: 0;
        width: 54px;
        height: 54px;
        padding: 0;
        border-radius: 50%;
        font-size: 18px;
    }

    .floating-button span {
        display: none;
    }
}


/* DLACZEGO MIKTRANS */

.why-section {
    padding: 90px 5.5%;
    background: var(--cream);
}

.centered-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.centered-heading .section-line {
    margin-left: auto;
    margin-right: auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 42px;
}

.advantage-card {
    padding: 34px 27px;
    background: var(--white);
    border-top: 5px solid var(--burgundy);
    border-radius: 7px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-7px);
}

.advantage-card i {
    color: var(--burgundy);
    font-size: 34px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 13px;
    font-size: 20px;
    text-transform: uppercase;
}

.advantage-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ANIMACJE PRZEWIJANIA */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ROZBUDOWANA STOPKA */

.footer {
    padding: 0;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 40px;
    padding: 58px 5.5%;
    background: var(--burgundy-dark);
}

.footer-grid h3 {
    margin-bottom: 17px;
    text-transform: uppercase;
    font-size: 15px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    line-height: 1.65;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-logo {
    width: 190px;
    margin-bottom: 18px;
    padding: 10px;
    background: var(--white);
    border-radius: 4px;
}

.footer-bottom {
    padding: 20px 5.5%;
    background: #59101f;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .why-section {
        padding: 65px 20px;
    }

    .advantages-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .image-banner {
        min-height: 360px;
        background-attachment: scroll;
    }

    .footer-grid {
        padding: 48px 24px;
    }
}


/* PASEK NAD STOPKĄ */

.closing-strip {
    padding: 22px 5.5%;
    background: var(--burgundy);
    color: var(--white);
    text-align: center;
}

.closing-strip p {
    margin: 0;
    font-size: clamp(15px, 1.7vw, 20px);
    font-weight: 800;
    letter-spacing: 0.4px;
}

@media (prefers-reduced-motion: reduce) {
    .hero::after {
        animation: none;
        display: none;
    }
}

@media (max-width: 650px) {.closing-strip {
        padding: 18px 20px;
    }
}


/* KLIKALNE ZDJĘCIE W SEKCJI O NAS */

.about-photo {
    overflow: hidden;
}

.about-photo-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

.about-photo-button img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.about-photo-button:hover img,
.about-photo-button:focus-visible img {
    transform: scale(1.045);
    filter: brightness(0.92);
}

.about-photo-icon {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(156, 24, 56, 0.88);
    font-size: 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.about-photo-button:hover .about-photo-icon,
.about-photo-button:focus-visible .about-photo-icon {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .about-photo-button,
    .about-photo-button img {
        min-height: 390px;
    }
}









/* MAPA EUROPY – DOKŁADNE GRANICE PAŃSTW */

.europe-section {
    display: grid;
    grid-template-columns: minmax(290px, .72fr) minmax(560px, 1.28fr);
    gap: 46px;
    align-items: center;
    padding: 90px 5.5%;
    background:
        radial-gradient(circle at 82% 24%, rgba(156, 24, 56, .06), transparent 34%),
        var(--cream);
}

.europe-copy h2 {
    margin-top: 10px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    text-transform: uppercase;
}

.europe-copy > p:not(.section-label) {
    margin-bottom: 28px;
    color: var(--muted);
    line-height: 1.8;
}

.country-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.country-list button {
    position: relative;
    min-height: 46px;
    padding: 12px 14px 12px 39px;
    border: 1px solid var(--burgundy-dark);
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    text-align: left;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(80, 13, 31, .18);
    transition: .22s ease;
}

.country-list button::before {
    content: "\f3c5";
    position: absolute;
    left: 15px;
    top: 50%;
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transform: translateY(-50%);
}

.country-list button:hover,
.country-list button:focus-visible,
.country-list button.active {
    color: var(--text);
    background: #e5e5e5;
    border-color: #c9c9c9;
    transform: translateY(-3px);
    box-shadow: 0 12px 27px rgba(40, 27, 31, .15);
    outline: none;
}

.country-list button:hover::before,
.country-list button:focus-visible::before,
.country-list button.active::before {
    color: var(--burgundy);
}

.europe-map-card {
    padding: 17px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(114, 17, 38, .10);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.accurate-europe-map {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.map-background {
    fill: #fcfbfb;
}

.europe-country {
    fill: #f2f0f1;
    stroke: #aaa1a4;
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
    transition: fill .23s ease, filter .23s ease, transform .23s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.europe-country.is-served {
    fill: #9c1838;
    stroke: #721126;
    stroke-width: 1.8;
    filter: url(#mapCountryShadow);
    cursor: pointer;
}

.europe-country.is-served:hover,
.europe-country.is-served.active {
    fill: #d9d9d9;
    stroke: #b5b5b5;
    transform: scale(1.02);
}

.map-route {
    fill: none;
    stroke: rgba(156, 24, 56, .64);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 8 8;
    vector-effect: non-scaling-stroke;
    animation: accurateRoute 2.7s linear infinite;
    transition: stroke .22s ease, stroke-width .22s ease, opacity .22s ease;
}

.map-route.active {
    stroke: #e34e73;
    stroke-width: 4;
    opacity: 1;
}

@keyframes accurateRoute {
    to { stroke-dashoffset: -32; }
}

.map-point .point-ring {
    fill: #9c1838;
    opacity: .9;
    transition: .22s ease;
}

.map-point .point-core {
    fill: #fff;
}

.map-point.active .point-ring {
    fill: #ddd;
    r: 12;
    filter: drop-shadow(0 0 7px rgba(156, 24, 56, .75));
}

.map-point.active .point-core {
    fill: #9c1838;
}

.map-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 12px 4px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.map-hint i {
    color: var(--burgundy);
    font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
    .map-route { animation: none; }
    .animated-map-truck { display: none; }
}

@media (max-width: 1180px) {
    .europe-section { grid-template-columns: 1fr; }
    .europe-copy { max-width: 760px; }
}

@media (max-width: 650px) {
    .europe-section { padding: 65px 20px; }
    .country-list { grid-template-columns: 1fr; }
    .europe-map-card { padding: 7px; }
}

/* GALERIA PREMIUM */

.image-modal {
    flex-direction: column;
    gap: 12px;
}

.image-modal img {
    transition: transform 0.22s ease;
    transform-origin: center center;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.image-modal.zoomed img {
    cursor: grab;
}

.modal-toolbar {
    position: absolute;
    top: 24px;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.modal-toolbar button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(156, 24, 56, 0.82);
    cursor: pointer;
}

.modal-toolbar button:hover {
    background: var(--burgundy-light);
}

.modal-thumbnails {
    position: absolute;
    left: 50%;
    bottom: 44px;
    display: flex;
    gap: 7px;
    max-width: min(780px, 72vw);
    padding: 8px;
    overflow-x: auto;
    transform: translateX(-50%);
    background: rgba(10, 7, 8, 0.62);
    border-radius: 10px;
}

.modal-thumbnail {
    flex: 0 0 68px;
    width: 68px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    background: none;
    cursor: pointer;
}

.modal-thumbnail.active {
    border-color: var(--burgundy-light);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
}

.modal-counter {
    bottom: 14px;
}

@media (max-width: 1000px) {
    .europe-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .europe-section {
        padding: 65px 20px;
    }

    .modal-toolbar {
        top: 14px;
    }

    .modal-thumbnails {
        bottom: 48px;
        max-width: 88vw;
    }

    .modal-thumbnail {
        flex-basis: 56px;
        width: 56px;
        height: 40px;
    }
}


/* Truck on map faces forward */
.map-truck,
.map img.truck,
.truck-on-map{
    transform: none !important;
}


/* PARALLAX HERO */
.hero {
    background-attachment: fixed;
}
@media (max-width: 900px) {
    .hero { background-attachment: scroll; }
}

/* FLOTA */
.fleet-section {
    padding: 88px 5.5%;
    background: var(--white);
}
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}
.fleet-card {
    padding: 34px 28px;
    border-top: 5px solid var(--burgundy);
    border-radius: 9px;
    background: var(--cream);
    box-shadow: var(--shadow);
    transition: transform .28s ease, box-shadow .28s ease;
}
.fleet-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(38, 18, 24, .17);
}
.fleet-card i {
    margin-bottom: 18px;
    color: var(--burgundy);
    font-size: 34px;
}
.fleet-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
    text-transform: uppercase;
}
.fleet-card p {
    color: var(--muted);
    line-height: 1.72;
}

/* FILMY */
.films-section {
    position: relative;
    clear: both;
    padding: 88px 5.5% 96px;
    background: var(--cream);
}
.films-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: min(1180px, 100%);
    margin: 0 auto;
}


.film-card-last {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
}

@media (max-width: 900px) {
    .fleet-grid { grid-template-columns: 1fr; }
    .films-grid { grid-template-columns: 1fr; }
    .film-card-last {
        grid-column: auto;
        width: 100%;
    }
}
@media (max-width: 650px) {
    .fleet-section,
    .films-section {
        padding: 64px 20px;
    }
}


/* FILMY – PIONOWE WIDEO Z ROZMYTYM TŁEM ZAMIAST CZARNYCH BOKÓW */
.film-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
    box-shadow: 0 18px 42px rgba(38, 18, 24, .16);
    isolation: isolate;
}

.film-bg {
    position: absolute;
    inset: -10%;
    z-index: 0;
    width: 120%;
    height: 120%;
    object-fit: cover;
    filter: blur(30px) brightness(.52) saturate(.9);
    transform: scale(1.08);
    pointer-events: none;
}

.film-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .10);
    pointer-events: none;
}

.film-main {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    height: 420px;
    max-width: 100%;
    object-fit: contain;
    background: transparent;
}

@media (max-width: 900px) {
    .film-card {
        min-height: 360px;
    }

    .film-main {
        height: 360px;
    }
}

@media (max-width: 560px) {
    .film-card {
        min-height: 300px;
    }

    .film-main {
        height: 300px;
    }
}

.contact-highlight-target.contact-flash{animation:contactFlash 1.35s ease}
@keyframes contactFlash{
0%{background-color:inherit;box-shadow:inherit}
30%{background-color:#ececec;box-shadow:0 0 0 5px rgba(159,21,53,.13),0 16px 34px rgba(0,0,0,.08)}
65%{background-color:#f4f4f4;box-shadow:0 0 0 3px rgba(159,21,53,.08)}
100%{background-color:inherit;box-shadow:inherit}
}


/* DOKŁADNE PODŚWIETLENIE WYBRANYCH KAFELKÓW I SEKCJI */
.flash-target {
    transition: box-shadow .2s ease, filter .2s ease;
}

.flash-target.exact-flash {
    animation: exactFlashAnimation 1.25s ease;
}

@keyframes exactFlashAnimation {
    0% {
        box-shadow: inherit;
        filter: brightness(1);
    }
    30% {
        box-shadow:
            inset 0 0 0 9999px rgba(224, 224, 224, .66),
            0 0 0 5px rgba(156, 24, 56, .16);
        filter: brightness(1.02);
    }
    68% {
        box-shadow:
            inset 0 0 0 9999px rgba(238, 238, 238, .35),
            0 0 0 3px rgba(156, 24, 56, .09);
        filter: brightness(1.01);
    }
    100% {
        box-shadow: inherit;
        filter: brightness(1);
    }
}
