:root {
    --red: #b71c1c;
    color: #212529;
    font: 14px/1.5 Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { max-width: 100%; }
.wrap, .site-section-inner { width: min(1170px, calc(100% - 30px)); margin-inline: auto; }
.masthead { position: relative; z-index: 2; }
.top { position: relative; height: 47px; color: #fff; background: #323232 url('krajs-assets/images/gofast/bg01.jpg') 49.2% center no-repeat; }
.top-links { display: flex; align-items: center; height: 100%; font-size: 13px; }
.top-links a { position: absolute; display: grid; place-items: center; height: 100%; }
.top-links a:first-child { right: calc(50.8% + 26px); white-space: nowrap; }
.top-links a:last-child { left: calc(49.2% + 15px); width: 24px; font-size: 0; }
.top-links a:last-child::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='M5.85 14V7.64H8L8.33 5.1H5.85V3.47c0-.73.2-1.23 1.25-1.23h1.33V0H6.49C4.34 0 2.87 1.32 2.87 3.74V5.1H1v2.54h1.87V14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.top-links a:last-child:is(:hover, :focus-visible) { color: var(--red); }
.top a, .header a, footer a { text-decoration: none; }
.header { height: 67px; background: #fff url('krajs-assets/images/gofast/bg02.jpg') 49.4% center no-repeat; }
.header-inner { position: relative; display: flex; justify-content: flex-end; height: 100%; padding-right: 95px; }
.brand { position: absolute; left: 0; top: -11px; }
.brand img { display: block; width: 241px; height: auto; }
.header nav { display: flex; }
.header nav a { color: #fff; padding-inline: 25px; border-right: 1px solid #2d2d2d; font: 500 14px/67px Poppins, Roboto, sans-serif; text-transform: uppercase; white-space: nowrap; }
.header nav a:is(:hover, :focus-visible) { color: var(--red); }
.small-menu { display: none; }
.hero { position: relative; aspect-ratio: 1920 / 780; color: white; background: #323232; }
.slide { position: absolute; inset: 0; background: center / 100% 100% no-repeat; }
.slide-first { background-image: url('krajs-assets/images/slide/slide1.jpg'); }
.slide-second { background-image: url('krajs-assets/images/slide/slide2.jpg'); }
.slide-third { background-image: url('krajs-assets/images/slide/slide3.jpg'); }
.slide-current { z-index: 1; }
.slide-arrows, .slide-dots { z-index: 2; }
.slide-arrows button { z-index: 2; }
.slide .wrap { position: absolute; top: 47%; left: 0; width: 100%; transform: translateY(-50%); text-align: center; text-shadow: 0 1px 2px #333; }
.hero h1, .hero h2 { font: 600 60px/1.2 Montserrat, Arial, sans-serif; margin: 0; }
.hero p { font-size: 20px; line-height: 30px; width: min(95%, max(50%, 640px)); margin: 20px auto 30px; }
.slide-arrows button { position: absolute; top: 50%; transform: translateY(-50%); border: 0; border-radius: 3px; padding: 0; width: 50px; height: 50px; background: rgba(200, 200, 200, .6); color: white; font: 700 32px/1 Arial, sans-serif; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slide-arrows button:first-child { left: 30px; }
.slide-arrows button:last-child { right: 30px; }
.hero:hover .slide-arrows button, .hero:focus-within .slide-arrows button { opacity: 1; }
.slide-dots { position: absolute; display: flex; justify-content: center; gap: 10px; left: 0; right: 0; bottom: 41px; }
.slide-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #ddd; cursor: pointer; box-shadow: 0 0 2px #222; }
.slide-dots button[aria-pressed=true] { background: #ffab00; }
.title { color: white; background: #323232 url('krajs-assets/images/gofast/bg-01.jpg') center / cover no-repeat; padding: 54px 0; text-transform: uppercase; }
.title.about-title { padding: 100px 0; text-align: center; }
.about-title h1 { font: 600 32px/1.2 Quicksand, Arial, sans-serif; }
.about-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); width: min(1170px, 100%); margin-inline: auto; padding-block: 50px; overflow-x: clip; }
.about-copy, .about-photo { padding-inline: 15px; }
.about-copy .site-section { padding: 0; }
.about-copy .site-section-inner { width: 100%; }
.about-copy p { margin: 0 0 16px; font: 400 14px/21px Roboto, Arial, sans-serif; color: #212529; text-align: left !important; }
.about-photo img { display: block; width: 100%; height: auto; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); width: min(1170px, 100%); margin-inline: auto; padding-top: 50px; }
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 80px; }
.contact-info section, .contact-photo { padding-inline: 15px; }
.contact-info { color: #939393; font: 400 20px/26px Quicksand, Arial, sans-serif; }
.contact-info h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 20px; color: var(--red); font: 700 20px/24px Quicksand, Arial, sans-serif; }
.contact-info svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-info p { margin: 0; text-align: left !important; }
.contact-info .contact-identifiers { margin-top: 26px; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--red); }
.contact-photo img { display: block; width: 100%; height: auto; }
.contact-map { display: block; width: 100%; height: 500px; border: 0; margin-bottom: 22px; }
.services-page { color: #212529; font: 14px/30px Roboto, Arial, sans-serif; }
.services-intro, .services-layout { width: min(1170px, 100%); margin-inline: auto; }
.services-intro { padding: 50px 15px 10px; }
.services-page p { margin: 0 0 16px; }
.services-intro p { text-align: left !important; }
.services-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 30px; }
.services-copy, .services-photo { padding-inline: 15px; }
.services-copy ul { margin: 0 0 16px; padding-left: 40px; }
.services-copy ul ul { margin: 0 0 0 15px; }
.services-photo img { display: block; width: 100%; height: auto; }
.services-page .home-partner h2 { font-size: 32px; text-transform: none; }
.fleet-page { overflow-x: clip; color: #212529; font: 14px/30px Roboto, Arial, sans-serif; }
.fleet-intro, .fleet-grid { width: min(1140px, calc(100% - 30px)); margin-inline: auto; }
.fleet-intro { padding-block: 50px 10px; }
.fleet-intro p { margin: 0 0 16px; text-align: left !important; }
.fleet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 30px; padding-block: 20px 35px; }
.fleet-card { min-height: 160px; padding: 10px; border: 1px solid #676464; border-radius: 20px; }
.fleet-card h2 { margin: 0 0 16px; font: 700 14px/30px Roboto, Arial, sans-serif; text-transform: uppercase; }
.fleet-card ul { margin: 0; padding: 0; list-style: none; }
.fleet-card li { display: flex; align-items: center; gap: 8px; }
.fleet-card svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (min-width: 781px) and (max-width: 1199px) {
    .about-layout, .services-layout, .services-intro { width: min(960px, 100%); }
    .contact-layout { width: min(960px, 100%); }
    .fleet-intro, .fleet-grid { width: min(930px, calc(100% - 30px)); }
}
@media (max-width: 780px) {
    .title.about-title { padding: 60px 0; }
    .about-layout { grid-template-columns: 1fr; gap: 12px; padding-block: 32px; }
    .services-layout { grid-template-columns: 1fr; gap: 12px; }
    .fleet-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
    .contact-info { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px 0; padding-left: 0; }
    .contact-photo img { width: min(100%, 240px); margin-inline: auto; }
}
.site-section { padding: 44px 0; }
.hero + .site-section { background: #fff url('krajs-assets/images/strona/bg-intro.jpg') center top / cover no-repeat; }
.site-layout-grid { display: flex; flex-wrap: wrap; }
.site-col { flex: 1; min-width: 0; }
.site-button { display: inline-block; margin-block: 6px; padding: 8px 14px; background: var(--red); color: white; }
footer { background: #222; color: white; }
.footer { display: grid; grid-template-columns: 3fr 4fr 5fr; width: min(1200px, 100%); padding-block: 60px 30px; }
.footer > div { min-height: 284px; padding-inline: 15px; }
.footer-about img { display: block; width: 237px; height: auto; }
.footer-about p { margin: 24px 0 0; }
.footer-contact { padding-left: min(6vw, 75px) !important; }
.footer-contact h2 { font-size: 18px; line-height: 22px; margin: 0 0 22px; }
.footer-contact ul { padding-left: 0; list-style: none; line-height: 1.75; }
.footer-contact img { max-width: min(196px, 100%); height: auto; margin-left: min(35px, 8%); }
.footer-facebook h2 { font-size: 20px; font-weight: 600; line-height: 24px; margin: 0 0 20px; }
.footer-facebook iframe { display: block; max-width: 100%; border: 0; }
.copyright {
    --copyright-inset: max(15px, calc((100% - 1170px) / 2));
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: start;
    min-height: 75px;
    padding-top: 20px;
    background: #fff;
    color: #565656;
    text-transform: uppercase;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
}
.copyright::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #1b1b1b;
    clip-path: polygon(0 0, calc(100% - var(--copyright-inset) - 475px) 0, calc(100% - var(--copyright-inset) - 435px) 100%, 0 100%);
}
.copyright .wrap { padding-right: 45px; }
.copyright a { color: var(--red); }
.scroll-up { position: fixed; z-index: 4; right: 30px; bottom: 30px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 3px; background: #292929; color: white; }
.scroll-up:hover { background: var(--red); }
.scroll-up svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 4; }
@media (max-width: 900px) {
    .copyright .wrap { padding-inline: 0 45px; }
    .scroll-up { right: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
    .copyright::before { display: none; }
}
@media (max-width: 1199px) {
    .header-inner { padding-right: 0; }
    .header nav a { padding-inline: 14px; }
    .brand img { width: clamp(155px, calc(49vw - 316px), 241px); }
    .hero h1, .hero h2 { font-size: clamp(24px, 4.7vw, 60px); }
    .slide-dots { bottom: 25px; }
}
@media (max-width: 940px) {
    .top { background: linear-gradient(90deg, #b71c1c 200px, #323232 200px); }
    .top-links a:first-child { left: 0; right: auto; width: 200px; max-width: 75%; }
    .top-links a:last-child { left: min(215px, 80%); }
    .header { background: linear-gradient(60deg, white 65%, #111 65%); }
    .brand { top: 9px; }
    .brand img { width: min(241px, 54vw); }
    .large-menu { display: none; }
    .small-menu { display: block; color: #fff; align-self: center; }
    .small-menu summary { font-size: 24px; cursor: pointer; list-style: none; }
    .small-menu nav { position: absolute; right: 0; top: 100%; display: grid; background: #111; }
    .small-menu nav a { line-height: 44px; }
}
@media (max-width: 780px) {
    .hero h1, .hero h2 { font-size: clamp(12px, 4.3vw, 32px); }
    .hero p { width: 86%; font-size: clamp(10px, 2.4vw, 17px); line-height: 1.3; margin: 6px auto 12px; }
    .slide-dots { bottom: 0; gap: 0; pointer-events: none; }
    .slide-dots button { position: relative; width: 44px; height: 44px; background: transparent; box-shadow: none; pointer-events: auto; }
    .slide-dots button[aria-pressed=true] { background: transparent; }
    .slide-dots button::after { content: ''; position: absolute; left: 18px; bottom: 10px; width: 8px; height: 8px; border-radius: 50%; background: #ddd; box-shadow: 0 0 2px #222; }
    .slide-dots button[aria-pressed=true]::after { background: #ffab00; }
    .slide-arrows { display: none; }
    .footer { grid-template-columns: 1fr; gap: 28px; padding-top: 38px; }
    .footer > div { min-height: 0; }
    .footer-contact { padding-inline: 15px !important; }
}
.header nav a { padding-inline: 24.3px; }
.site-search { display: none; position: absolute; top: 0; right: 0; width: 95px; color: white; }
.site-search summary { display: grid; place-items: center; height: 67px; cursor: pointer; list-style: none; }
.site-search svg { width: 15px; height: 15px; }
.search-content { position: absolute; right: 0; top: 100%; background: #111; padding: 12px; }
.site-search nav { display: grid; }
.site-search nav a { line-height: 38px; }
.home-content { font-family: 'Roboto Slab', Georgia, serif; }
.home-intro { background: #fafafa url('krajs-assets/images/strona/bg-intro.jpg') center top / cover no-repeat; padding: 90px 0 100px; min-height: 386px; text-align: center; }
.home-intro .wrap { width: min(1100px, calc(100% - 40px)); }
.home-intro h3, .home-services h3, .home-partner h2 { margin: 0 0 8px; font: 700 35px/1.2 Montserrat, Arial, sans-serif; color: #222; text-transform: uppercase; }
.home-intro p, .home-services p { margin: 0 0 16px; color: #767676; }
.home-intro .eyebrow { text-transform: uppercase; color: #212529; }
.home-intro .eyebrow p { text-align: center !important; }
.home-services { padding: 50px 0 14px; background: radial-gradient(#eae4e4 74%, #ada3a3 100%); text-align: center; }
.home-services .wrap { width: min(1140px, calc(100% - 30px)); }
.home-services .wrap > p { text-align: center !important; font-style: italic; }
.home-service-list { padding-top: 50px; }
.home-service {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 160px;
    margin-bottom: 30px;
    padding: 34px 35px 0 100px;
    background: #f8f8f8;
    text-align: left;
    transition: background-color .3s ease-in-out;
}
.home-service img { position: absolute; top: 25%; left: 20px; width: 80px; height: 60px; object-fit: contain; }
.home-service h3 { margin: 8px 0; color: #1c1c1c; font-size: 20px; text-transform: none; }
.home-service p { margin-bottom: 30px; color: #7a7a7a; text-align: left !important; font: 14px/21px Roboto, Arial, sans-serif; }
.home-service :is(h3, p) { transition: color .3s ease-in-out; }
.home-service:is(:hover, :focus-within) { background: #323232; }
.home-service:is(:hover, :focus-within) :is(h3, p) { color: #fff; }
@media (min-width: 781px) and (max-width: 1199px) {
    .home-services .wrap { width: min(930px, calc(100% - 40px)); }
}
.home-map { display: block; width: 100%; height: 400px; border: 0; }
.home-partner { padding: 107px 0 111px; text-align: center; }
.home-partner img { display: block; margin: 38px auto 0; width: min(652px, 100%); }
.home-partner p { margin: 8px 0 0; color: #606060; font: 600 16px/1.5 Montserrat, Arial, sans-serif; }
@media (prefers-reduced-motion: no-preference) {
    .slide-current { animation: krajs-fade-in .6s both; }
    .slide-leaving { animation: krajs-fade-out .6s both; }
    .slide-current :is(h1, h2) { animation: krajs-fade-down 1.8s ease-in-out both; }
    .slide-current p { animation: krajs-fade-down 1.5s ease-in-out both; }
    .home-partner.section-animate h2 { animation: krajs-fade-down .4s .9s both; }
    .home-partner.section-animate p { animation: krajs-fade-down .5s .9s both; }
    .home-partner.section-animate img { animation: krajs-zoom-in .5s .9s both; }
    .about-layout.section-animate .about-copy { animation: krajs-zoom-right .5s .5s both; }
    .about-layout.section-animate .about-photo { animation: krajs-fade-in .5s .5s both; }
    .services-intro.section-animate { animation: krajs-fade-in .3s .5s both; }
    .services-copy.section-animate { animation: krajs-fade-in .5s .5s both; }
    .services-photo.section-animate { animation: krajs-fade-in .3s .4s both; }
    .fleet-intro.section-animate { animation: krajs-fleet-bounce .3s .5s both; }
    .fleet-card.section-animate { animation: krajs-fleet-bounce .499s .5s both; }
    .fleet-from-left { --fleet-start: -100%; --fleet-over: 20px; --fleet-back: -8px; }
}
@keyframes krajs-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes krajs-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes krajs-fade-down { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes krajs-zoom-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes krajs-zoom-right {
    from { opacity: 0; transform: translateX(100%) scale(.1); }
    60% { opacity: 1; transform: translateX(-10px) scale(.475); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes krajs-fleet-bounce {
    from { opacity: 0; transform: translateX(var(--fleet-start, 100%)); }
    60% { opacity: 1; transform: translateX(var(--fleet-over, -20px)); }
    80% { transform: translateX(var(--fleet-back, 8px)); }
    to { opacity: 1; transform: translateX(0); }
}
.document-library { padding-block: 40px 64px; }
.document-library > p { margin: 0 0 24px; color: #555; }
.document-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dedede; }
.document-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 12px 4px; border-bottom: 1px solid #dedede; }
.document-format { background: #f6e9e9; color: var(--red); padding: 3px 8px; font-weight: 700; }
.document-card h2 { margin: 0; overflow-wrap: anywhere; font: 600 16px/1.35 Montserrat, Arial, sans-serif; }
.document-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.document-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--red); color: var(--red); font-weight: 700; text-decoration: none; }
.document-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.document-actions a:first-child { background: var(--red); color: white; }
.document-actions a:hover { box-shadow: inset 0 0 0 1px currentColor; }
.document-preview { width: min(1050px, calc(100% - 24px)); max-height: 90dvh; padding: 0; border: 1px solid #dedede; color: #222; }
.document-preview::backdrop { background: #0009; }
.document-preview > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; }
.document-preview h2 { margin: 0; font-size: 16px; }
.document-preview button { min-width: 36px; min-height: 36px; font-size: 24px; cursor: pointer; }
.document-preview-pages { height: 68dvh; overflow: auto; padding: 12px; background: #eee; }
.document-preview-pages canvas { display: block; max-width: 100%; height: auto; margin: 0 auto 12px; background: white; }
.document-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; }
.document-preview-toolbar p { margin: 0; }
.document-preview-toolbar button { font-size: 14px; }
@media print {
    body:has(.document-preview[open]) > :not(main),
    main:has(.document-preview[open]) > :not(.document-library),
    .document-library:has(.document-preview[open]) > :not(.document-preview),
    .document-preview[open] > :not(.document-preview-pages) { display: none !important; }
    .document-preview[open] { position: static; width: 100%; max-width: none; max-height: none; margin: 0; border: 0; }
    .document-preview::backdrop { background: transparent; }
    .document-preview-pages { height: auto; overflow: visible; padding: 0; background: white; }
    .document-preview-pages canvas { width: 100%; max-height: 255mm; object-fit: contain; margin: 0; break-inside: avoid; break-after: page; }
    .document-preview-pages canvas:last-child { break-after: auto; }
}
@media (max-width: 650px) {
    .document-card { gap: 8px; }
    .document-card h2 { font-size: 13px; }
    .document-actions { flex-direction: column; gap: 4px; }
    .document-actions a { min-height: 44px; padding: 5px; font-size: 12px; }
    .document-preview button { min-width: 44px; min-height: 44px; }
}
@media (max-width: 480px) {
    .home-intro p { text-align: center !important; }
}
@media (max-width: 1199px) { .site-search { display: none; } }
@media (max-width: 780px) {
    .home-intro { min-height: 0; padding: 50px 0; }
    .home-intro h3, .home-services h3, .home-partner h2 { font-size: 28px; }
    .home-service h3 { font-size: 19px; }
    .home-service-list { padding: 24px 0 0; }
    .home-service { min-height: 0; padding: 16px 16px 4px 78px; }
    .home-service img { top: 18px; left: 12px; width: 56px; height: 42px; }
}
