        /* General styles */
        html {
            font-size: 100%;
            /* Ta sama szerokość co na długiej stronie głównej: miejsce na pasek przewijania,
               żeby treść nie „poszerzała się” bez scrollbara na krótkich podstronach. */
            scrollbar-gutter: stable;
        }
        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            color: #333;
            line-height: 1.6;
            background-color: #ffffff;
        }
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        section {
            min-height: 100vh;
            padding: 120px 0 36px;
            overflow: hidden;
            box-sizing: border-box;
        }
        section:not(#home) {
            background: linear-gradient(rgba(10,35,64,0.7), rgba(10,35,64,0.7)), url('grafika/hero-bg-dark.jpg') no-repeat center center/cover;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* Treść podstron jak SKO — tuż pod belką (w każdej szerokości przedefiniowano poniżej w @media przez padding section). */
        #about,
        #services,
        #clients,
        #zguba,
        #trainings,
        #contact,
        #skoheron,
        #praca {
            padding-top: 0;
            border-top: none;
        }

        #about h2,
        #services h2,
        #clients h2,
        #zguba h2,
        #trainings h2,
        #contact h2,
        #skoheron h2,
        #praca h2 {
            margin-top: 0;
            margin-bottom: 28px;
        }

        #about .content-block,
        #contact .content-block,
        #zguba .content-block,
        #trainings .content-block,
        #skoheron .content-block,
        #praca .content-block {
            margin-top: 0;
        }

        #about .content-block,
        #contact .content-block {
            gap: 34px;
            align-items: center;
        }
        #about .content-text p {
            margin-bottom: 12px;
            font-size: 17px;
        }
        #about .content-text .cta-button {
            margin-top: 8px;
        }
        #about .content-image img,
        #contact .content-image img {
            display: block;
            width: auto;
            max-width: 100%;
            max-height: 46vh;
            margin: 0 auto;
            object-fit: contain;
        }
        h1, h2, h3 {
            color: #0a2340; /* Dark Blue */
            font-weight: 700;
            line-height: 1.2;
        }
        h1 {
            font-size: 56px;
            text-align: center;
            margin-bottom: 25px;
        }
        h2 {
            font-size: 44px;
            text-align: center;
            margin-bottom: 70px;
        }
        h3 {
            font-size: 32px;
            margin-bottom: 20px;
        }
        p {
            font-size: 18px;
            margin-bottom: 20px;
            color: #555;
        }
        section:not(#home) p {
            color: #ffffff;
        }
        .cta-button {
            background-color: #ffcc00; /* Gold/Yellow */
            color: #0a2340;
            padding: 15px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            display: inline-block;
            font-size: 18px;
            border: 2px solid transparent;
        }
        .cta-button:hover {
            background-color: #e6b800;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
        .section-text-center p {
            text-align: center;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Header */
        header {
            background-color: #0a2340; /* Dark Blue */
            color: white;
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            overflow: visible;
        }
        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-left: 160px;
        }
        .logo {
            position: absolute;
            left: 0;
            top: -40px;
            width: 240px;
            height: 240px;
            text-decoration: none;
            z-index: 2;
        }
        .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }
        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
        }
        nav ul li {
            margin-left: 40px;
        }
        /* Desktop: pełna szerokość paska — wtedy margin-left: auto na „Praca”
           nie ściska linków; stałe odstępy jak w linii menu */
        header .site-nav {
            flex: 1 1 auto;
            min-width: 0;
        }
        header .site-nav ul {
            width: 100%;
            box-sizing: border-box;
            padding-left: 40px;
            column-gap: 40px;
            flex-wrap: nowrap;
            align-items: center;
        }
        header .site-nav ul li {
            margin-left: 0;
        }
        .site-nav ul li.nav-item-praca {
            margin-left: auto;
        }
        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 17px;
            transition: color 0.3s ease;
        }
        header .site-nav ul li a {
            white-space: nowrap;
        }
        nav ul li a:hover {
            color: #ffcc00; /* Gold/Yellow */
        }
        .header-cta {
            background-color: transparent;
            color: #ffcc00;
            border-color: #ffcc00;
            padding: 10px 25px;
            font-size: 16px;
        }
        .header-cta:hover {
            background-color: #ffcc00;
            color: #0a2340;
            transform: translateY(-1px);
            box-shadow: none;
        }
        .site-nav ul li.nav-item-praca a.header-cta {
            color: #ffcc00;
        }
        .site-nav ul li.nav-item-praca a.header-cta:hover {
            color: #0a2340;
        }
        .header-end {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
        }
        .nav-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            padding: 0;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: #ffffff;
            cursor: pointer;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        .nav-toggle:focus-visible {
            outline: 2px solid #ffcc00;
            outline-offset: 2px;
        }
        .nav-toggle-bars {
            display: block;
            position: relative;
            width: 24px;
            height: 2px;
            background: currentColor;
            border-radius: 1px;
            transition: background 0.2s ease;
        }
        .nav-toggle-bars::before,
        .nav-toggle-bars::after {
            content: "";
            position: absolute;
            left: 0;
            width: 100%;
            height: 2px;
            background: currentColor;
            border-radius: 1px;
            transition: transform 0.25s ease, top 0.25s ease;
        }
        .nav-toggle-bars::before {
            top: -8px;
        }
        .nav-toggle-bars::after {
            top: 8px;
        }
        body.nav-open .nav-toggle-bars {
            background: transparent;
        }
        body.nav-open .nav-toggle-bars::before {
            top: 0;
            transform: rotate(45deg);
        }
        body.nav-open .nav-toggle-bars::after {
            top: 0;
            transform: rotate(-45deg);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(10,35,64,0.7), rgba(10,35,64,0.7)), url('grafika/hero-bg-dark.jpg') no-repeat center center/cover;
            color: white;
            text-align: center;
            padding: 120px 20px 36px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        .hero-copy {
            position: absolute;
            top: 64px;
            left: 50%;
            transform: translateX(-50%);
            width: min(92%, 980px);
        }
        .hero-copy h1,
        .hero-copy p {
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }
        .hero-copy h1 {
            max-width: 980px;
        }
        .hero-logos {
            margin-top: 100px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 24px 30px;
            max-width: 1080px;
            padding: 0 12px;
        }
        .hero-logos img {
            height: 56px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            background: rgba(255, 255, 255, 0.92);
            border-radius: 12px;
            padding: 6px 10px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            transform-origin: center;
            position: relative;
            z-index: 1;
        }
        .hero-logos img:hover {
            transform: scale(2.15);
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
            z-index: 15;
        }
        .hero-logos img.logo-przykawie {
            background: #ffffff;
            border: 1px solid rgba(10, 35, 64, 0.2);
            padding: 7px 12px;
        }
        .hero p {
            font-size: 24px;
            max-width: 900px;
            margin-bottom: 50px;
            opacity: 0.9;
            color: white;
        }
        .hero > .cta-button {
            margin-top: 40px;
        }

        /* Content Blocks (About, Products, Trainings) */
        .content-block {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 70px;
            justify-content: center;
        }
        .content-block-reverse {
            flex-direction: row-reverse;
        }
        .content-text {
            flex: 1;
            min-width: 320px;
            max-width: 500px;
        }
        .content-image {
            flex: 1;
            min-width: 320px;
            max-width: 550px;
        }
        .content-image img {
            width: 100%;
            height: auto;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }
        .flip-card {
            width: 100%;
            perspective: 1200px;
        }
        .flip-card-inner {
            position: relative;
            width: 100%;
            transition: transform 0.65s ease;
            transform-style: preserve-3d;
        }
        .flip-card:hover .flip-card-inner {
            transform: rotateY(180deg);
        }
        .flip-card-front,
        .flip-card-back {
            width: 100%;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }
        .flip-card-back {
            position: absolute;
            inset: 0;
            transform: rotateY(180deg);
        }
        /* SKO — karta 3D: obrót przy najechaniu (desktop), na dotyk — klasa .sko-flip-card--tapped */
        #skoheron .sko-flip-card {
            outline: none;
            cursor: default;
        }
        @media (hover: none) {
            #skoheron .sko-flip-card {
                cursor: pointer;
            }
        }
        #skoheron .sko-flip-card .flip-card-inner {
            transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
        }
        #skoheron .sko-flip-card:hover .flip-card-inner,
        #skoheron .sko-flip-card:focus-within .flip-card-inner {
            transform: rotateY(180deg);
        }
        #skoheron .sko-flip-card:focus-visible {
            outline: 3px solid #0a2340;
            outline-offset: 4px;
            border-radius: 12px;
        }
        @media (hover: none) {
            #skoheron .sko-flip-card:hover .flip-card-inner {
                transform: none;
            }
            #skoheron .sko-flip-card:focus-within .flip-card-inner {
                transform: none;
            }
            #skoheron .sko-flip-card.sko-flip-card--tapped .flip-card-inner {
                transform: rotateY(180deg);
            }
        }
        @media (prefers-reduced-motion: reduce) {
            #skoheron .sko-flip-card .flip-card-inner {
                transition: none;
            }
            #skoheron .sko-flip-card:hover .flip-card-inner,
            #skoheron .sko-flip-card:focus-within .flip-card-inner,
            #skoheron .sko-flip-card.sko-flip-card--tapped .flip-card-inner {
                transform: none;
            }
        }
        .flip-card.flip-card--stack {
            perspective: none;
        }
        .flip-card.flip-card--stack .flip-card-inner {
            transform-style: flat;
            transition: none;
        }
        .flip-card.flip-card--stack:hover .flip-card-inner,
        .flip-card.flip-card--stack:focus-within .flip-card-inner {
            transform: none;
        }
        .flip-card.flip-card--stack .flip-card-front,
        .flip-card.flip-card--stack .flip-card-back {
            backface-visibility: visible;
            -webkit-backface-visibility: visible;
        }
        .flip-card.flip-card--stack .flip-card-back {
            transform: none !important;
            margin: 0 auto;
            pointer-events: none;
        }
        #skoheron .flip-card.flip-card--stack img {
            transform: none !important;
            -webkit-transform: none !important;
        }
        #skoheron .flip-card.flip-card--stack .flip-card-front,
        #skoheron .flip-card.flip-card--stack .flip-card-back {
            transition: opacity 0.65s ease;
        }
        #skoheron .flip-card.flip-card--stack .flip-card-front {
            opacity: 1;
        }
        #skoheron .flip-card.flip-card--stack .flip-card-back {
            opacity: 0;
        }
        @media (prefers-reduced-motion: reduce) {
            #skoheron .flip-card.flip-card--stack .flip-card-front,
            #skoheron .flip-card.flip-card--stack .flip-card-back {
                transition: none;
            }
        }
        /* SKO — odstępy wewnątrz bloku grafiki/treści */
        #skoheron .content-block {
            gap: 48px;
        }
        #skoheron .content-text {
            max-width: 540px;
        }
        #skoheron .content-text p,
        #skoheron .content-text ul li {
            font-size: 18px;
        }
        #skoheron .content-image {
            max-width: 680px;
        }
        #skoheron .flip-card-front,
        #skoheron .flip-card-back {
            width: 100%;
            max-width: 100%;
        }
        #skoheron .sko-flip-face-img {
            display: block;
            max-width: 100%;
            width: auto;
            height: auto;
            max-height: min(74vh, 720px);
            object-fit: contain;
            margin: 0 auto;
        }
        #zguba .content-block {
            gap: 44px;
            align-items: center;
        }
        #zguba .content-text {
            max-width: 500px;
        }
        #zguba .content-text p {
            margin-bottom: 12px;
            font-size: 17px;
        }
        #zguba .content-text ul {
            margin-top: 14px;
            margin-bottom: 14px;
        }
        #zguba .content-text ul li {
            font-size: 16px;
            margin-bottom: 8px;
        }
        #zguba .content-text .cta-button {
            margin-top: 8px;
        }
        #zguba .content-block {
            gap: 30px;
        }
        #zguba .content-image img {
            display: block;
            width: auto;
            max-width: 100%;
            max-height: 38vh;
            margin: 0 auto;
            object-fit: contain;
        }
        .content-text ul {
            list-style: none;
            padding: 0;
            margin-top: 30px;
        }
        .content-text ul li {
            font-size: 18px;
            margin-bottom: 15px;
            position: relative;
            padding-left: 35px;
            color: #ffffff;
        }
        .content-text ul li::before {
            content: '\2713'; /* Checkmark */
            color: #ffcc00;
            position: absolute;
            left: 0;
            font-weight: bold;
            font-size: 22px;
            top: -2px;
        }

        /* Services Grid */
        #services .section-text-center {
            margin-top: -12px;
            margin-bottom: 28px;
        }
        #services .container {
            max-width: 1480px;
            height: calc(100vh - 115px);
            display: flex;
            flex-direction: column;
        }
        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
            flex: 1;
            min-height: 0;
        }
        .service-card {
            background-color: #fcfcfc;
            padding: 28px 28px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            min-height: 0;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid #eee;
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }
        .service-card img {
            max-width: 68px;
            margin-bottom: 20px;
        }
        .service-card h3 {
            font-size: 20px;
            margin-top: 0;
            margin-bottom: 12px;
            color: #0a2340;
        }
        #services .service-card p {
            font-size: 16px;
            color: #2f3e4e;
            margin: 0;
            overflow-y: scroll;
            overflow-x: hidden;
            flex: 1;
            min-height: 0;
            padding-right: 6px;
        }
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(10, 35, 64, 0.75);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 3000;
            padding: 20px;
        }
        .modal-overlay.is-open {
            display: flex;
        }
        .modal-content {
            position: relative;
            display: flex;
            flex-direction: column;
            width: min(1420px, 92vw);
            height: min(860px, 88vh);
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        }
        .modal-toolbar {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 14px;
            background: #0a2340;
            color: #ffffff;
        }
        .modal-toolbar-title {
            font-size: 15px;
            font-weight: 600;
            margin: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .modal-close {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
        }
        .modal-close:hover {
            background: rgba(255, 255, 255, 0.28);
        }
        .modal-frame-shell {
            flex: 1;
            min-height: 0;
            position: relative;
            background: #f5f5f5;
        }
        .modal-frame-shell iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        .modal-link-button {
            background: none;
            border: 0;
            padding: 0;
            margin: 0;
            font: inherit;
            color: #0a2340;
            text-decoration: underline;
            cursor: pointer;
        }

        /* Clients Section */
        .client-logos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 40px;
            justify-items: center;
            align-items: center;
            margin-top: 32px;
        }
        .client-logos-grid img {
            max-height: 70px;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s ease;
        }
        .client-logos-grid img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.08);
        }

        /* Contact Section */
        .contact-layout {
            display: flex;
            flex-wrap: wrap;
            gap: 60px;
            justify-content: center;
            align-items: flex-start;
        }
        .contact-details, .contact-form-block {
            flex: 1 1 0;
            min-width: 0;
            max-width: 500px;
            background-color: white;
            padding: 45px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            box-sizing: border-box;
            overflow-wrap: break-word;
        }
        .contact-details h3 {
            margin-bottom: 25px;
            color: #0a2340;
            line-height: 1.25;
        }
        /* Wyższa specyficzność niż section:not(#home) p — inaczej tekst na białej karcie jest biały i „znika”. */
        #contact .contact-details {
            text-align: left;
            padding-top: 12px;
            padding-bottom: 12px;
        }
        /* Ta sama szerokość co lewa karta: flex 1 1 0 + ta sama max-width, odstęp tylko z .contact-layout gap */
        #contact .contact-form-block {
            align-self: flex-start;
            padding-top: 12px;
            padding-bottom: 12px;
        }
        #contact .contact-details > h3:first-child,
        #contact .contact-form-block > h3:first-child {
            margin-top: 0;
        }
        #contact .contact-details p {
            margin-bottom: 15px;
            font-size: 17px;
            color: #2f3e4e;
            line-height: 1.35;
        }
        /* Jedna linia = jeden <p> — „interlinia” to głównie margin, nie line-height. */
        #contact .contact-details .contact-address-block .contact-line {
            margin-bottom: 0.12em;
            line-height: 1.15;
        }
        #contact .contact-details .contact-address-block .contact-line:last-child {
            margin-bottom: 0;
        }
        #contact .contact-details .contact-address-block {
            margin-bottom: 0;
        }
        #contact .contact-details .contact-address-block:not(:first-child) {
            border-top: 2px solid rgba(10, 35, 64, 0.35);
            margin-top: 0.55em;
            padding-top: 0.55em;
        }
        #contact .contact-details .contact-address-block:last-of-type {
            margin-bottom: 0;
        }
        #contact .contact-form-block > h3 {
            font-size: 17px;
            font-weight: 700;
            line-height: 1.15;
            margin-bottom: 14px;
            color: #0a2340;
        }
        .contact-details strong {
            color: #0a2340;
        }
        .contact-form-block input,
        .contact-form-block textarea {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            font-size: 17px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
        }
        .contact-form-block textarea {
            resize: vertical;
            min-height: 160px;
        }
        .contact-form-block button {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            background-color: #0a2340;
            color: white;
            padding: 16px 0;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 20px;
            font-weight: 700;
            transition: background-color 0.3s ease;
        }
        .contact-form-block button:hover {
            background-color: #1a3b5c;
        }
        .map-container {
            margin-top: 70px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }
        .map-container iframe {
            width: 100%;
            height: 500px;
            border: 0;
        }

        /* Footer */
        footer {
            background-color: #0a2340;
            color: white;
            padding: 60px 0;
            text-align: center;
            box-sizing: border-box;
        }
        footer .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 920px;
        }
        footer nav ul {
            margin-bottom: 30px;
            flex-wrap: wrap;
            justify-content: center;
        }
        footer nav ul li {
            margin: 0 18px;
        }
        footer nav ul li a {
            font-weight: 500;
            opacity: 0.8;
            font-size: 17px;
        }
        footer nav ul li a:hover {
            opacity: 1;
            color: #ffcc00;
        }
        .social-media {
            margin-bottom: 30px;
        }
        .social-media a {
            color: white;
            font-size: 28px;
            margin: 0 15px;
            opacity: 0.7;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        .social-media a:hover {
            opacity: 1;
            transform: translateY(-5px);
        }
        footer p {
            font-size: 16px;
            color: #ffffff;
            opacity: 0.92;
            margin-bottom: 0;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            header .container {
                /* Logo jest absolute ~208px — potrzeba wolnej przestrzeni, inaczej „O Nas” / „Usługi” trafiają pod klikalny logotyp */
                padding-left: 228px;
            }
            .logo {
                width: 208px;
                height: 208px;
                top: -34px;
            }
            h1 { font-size: 48px; }
            h2 { font-size: 38px; }
            h3 { font-size: 28px; }
            section { padding: 110px 0 30px; }
            .hero { padding: 110px 20px 30px; min-height: 100vh; }
            .hero-copy { top: 44px; }
            .hero-logos {
                margin-top: 84px;
                gap: 18px 24px;
            }
            .hero-logos img {
                height: 48px;
                max-width: 160px;
            }
            .hero p { font-size: 20px; }
            .content-block { gap: 50px; }
            .content-text, .content-image { min-width: unset; max-width: 100%; text-align: center; }
            .content-text ul { text-align: left; }
            .content-text ul li { padding-left: 30px; }
            .content-text ul li::before { left: 5px; }
            .services-grid {
                grid-template-columns: 1fr;
                flex: none;
                gap: 24px;
            }
            #services .container {
                height: auto;
                min-height: 0;
            }
            .service-card {
                padding: 30px;
                height: auto;
                min-height: auto;
            }
            #services .service-card p {
                overflow-y: visible;
                flex: none;
                max-height: none;
            }
            @media (hover: none) {
                .service-card:hover {
                    transform: none;
                }
            }
            .client-logos-grid { grid-template-columns: repeat(2, 1fr); }
            .contact-details, .contact-form-block { min-width: unset; max-width: 100%; }
            .map-container iframe { height: 350px; }
            #about,
            #services,
            #clients,
            #zguba,
            #trainings,
            #contact,
            #skoheron,
            #praca { padding-top: 0; border-top: none; }
            #about h2,
            #services h2,
            #clients h2,
            #zguba h2,
            #trainings h2,
            #contact h2,
            #skoheron h2,
            #praca h2 { margin-top: 0; margin-bottom: 24px; }
            #about .content-block,
            #contact .content-block,
            #zguba .content-block,
            #trainings .content-block,
            #skoheron .content-block,
            #praca .content-block { margin-top: 0; }
            #skoheron .content-block { gap: 40px; }
        }

        /* Wąski desktop / tablet: jedna linia menu bez zawijania „Praca” */
        @media (max-width: 992px) and (min-width: 769px) {
            header .site-nav ul {
                column-gap: 18px;
                padding-left: 16px;
            }
            header .site-nav ul li a {
                font-size: 15px;
            }
            .site-nav ul li.nav-item-praca a.header-cta {
                padding: 8px 16px;
                font-size: 15px;
            }
        }

        @media (max-width: 768px) {
            html {
                scroll-padding-top: 200px;
            }
            header {
                padding: max(8px, env(safe-area-inset-top, 0px)) 0 8px;
                position: sticky;
                top: 0;
                z-index: 1100;
            }
            header .container {
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                justify-content: flex-start;
                text-align: left;
                padding-left: 16px;
                padding-right: 12px;
            }
            /* Logo mobilne: z powrotem duże (jak wcześniej); panel menu fixed + padding-top z JS. */
            .logo {
                position: static;
                width: clamp(170px, 48vw, 240px);
                height: clamp(170px, 48vw, 240px);
                max-width: calc(100% - 64px);
                max-height: min(240px, 52vw);
                margin: 0;
                z-index: 1;
                order: 1;
                flex: 0 1 auto;
                display: flex;
                align-items: center;
            }
            .logo img {
                width: 100%;
                height: 100%;
                max-height: 100%;
                object-fit: contain;
            }
            /* Po otwarciu menu: niska belka — pierwszy link nie „wpada” w 1/3 wysokości ekranu */
            body.nav-open .logo {
                width: auto;
                height: 40px;
                max-height: 42px;
                max-width: min(120px, 36vw);
            }
            body.nav-open .logo img {
                width: auto;
                height: 100%;
                max-height: 42px;
                max-width: 100%;
            }
            .header-end {
                order: 2;
                margin-left: auto;
                align-self: center;
            }
            .nav-toggle {
                display: inline-flex;
            }
            .site-nav {
                order: 3;
                flex: 0 1 100%;
                width: 100%;
                min-height: 0;
                position: relative;
                z-index: 2;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.25s ease;
                margin-top: 0;
                pointer-events: none;
                border: 0;
                box-sizing: border-box;
            }
            header .site-nav ul {
                flex-direction: column;
                flex-wrap: nowrap;
                justify-content: flex-start;
                align-items: stretch;
                margin-top: 0;
                padding: 0 0 8px;
                padding-left: 0;
                width: 100%;
                column-gap: 0;
                row-gap: 0;
            }
            /* Pełnoekranowy panel listy — belka logo+hamburger zostaje na wierzchu */
            body.nav-open .site-nav {
                position: fixed;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                width: 100%;
                max-height: none;
                height: auto;
                min-height: 100vh;
                min-height: 100dvh;
                overflow-x: hidden;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                overscroll-behavior: contain;
                margin-top: 0;
                padding-left: max(16px, env(safe-area-inset-left, 0px));
                padding-right: max(16px, env(safe-area-inset-right, 0px));
                padding-bottom: max(120px, calc(env(safe-area-inset-bottom, 0px) + 88px));
                pointer-events: auto;
                z-index: 1005;
                background-color: #0a2340;
                box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
                transition: none;
                flex: none;
                /* padding-top: doro-nav.js — wysokość belki */
            }
            body.nav-open header .site-nav ul {
                flex-direction: column;
                flex-wrap: nowrap;
                justify-content: flex-start;
                align-items: stretch;
                margin-top: 0;
                margin-left: auto;
                margin-right: auto;
                padding: 0 0 64px;
                padding-left: 0;
                width: 100%;
                max-width: 520px;
                column-gap: 0;
                row-gap: 0;
                box-sizing: border-box;
            }
            header .site-nav ul li {
                margin: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.14);
            }
            .site-nav ul li:last-child:not(.nav-item-praca) {
                border-bottom: none;
            }
            /* „Praca”: kompaktowy przycisk w żółtej obwódce (nie na całą szerokość) */
            header .site-nav ul li.nav-item-praca {
                margin: 0;
                padding: 0;
                border-top: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.14);
            }
            body.nav-open header .site-nav ul li.nav-item-praca:last-child {
                border-bottom: none;
            }
            .site-nav ul li.nav-item-praca a {
                border-bottom: none;
            }
            header .site-nav ul li a {
                display: block;
                padding: 14px 6px;
                white-space: normal;
            }
            header .site-nav ul li.nav-item-praca a.header-cta {
                width: auto;
                max-width: 100%;
                display: inline-block;
                text-align: center;
                padding: 10px 24px;
                margin: 4px 0 6px;
                background-color: transparent;
                color: #ffcc00;
                border: 2px solid #ffcc00;
                border-radius: 50px;
                box-sizing: border-box;
                font-size: 16px;
                font-weight: 700;
                text-decoration: none;
            }
            header .site-nav ul li.nav-item-praca a.header-cta:hover {
                background-color: #ffcc00;
                color: #0a2340;
                transform: translateY(-1px);
                box-shadow: none;
            }
            .header-cta {
                margin-top: 0;
            }
            body.nav-open {
                overflow: hidden;
            }
            h1 { font-size: 40px; }
            h2 { font-size: 32px; margin-bottom: 50px; }
            h3 { font-size: 24px; }
            section { padding: 96px 0 24px; }
            section#home {
                min-height: 0;
                overflow: visible;
                padding-bottom: 24px;
            }
            .hero {
                justify-content: flex-start;
                padding: 12px 20px 16px;
                min-height: 0;
            }
            .hero > .cta-button {
                margin-top: 16px;
                margin-bottom: 0;
            }
            .hero-copy {
                position: static;
                transform: none;
                width: auto;
                margin-top: 0;
            }
            .hero-logos {
                margin-top: 0;
                gap: 14px 16px;
            }
            .hero-logos img {
                height: 40px;
                max-width: 132px;
                border-radius: 10px;
                padding: 5px 8px;
            }
            .hero p { font-size: 18px; margin-bottom: 24px; }
            p { font-size: 16px; }
            .cta-button { padding: 12px 25px; font-size: 16px; }
            .content-block { flex-direction: column; gap: 40px; }
            .content-block-reverse { flex-direction: column; }
            .client-logos-grid { grid-template-columns: 1fr; }
            .contact-layout { flex-direction: column; align-items: center; gap: 40px; }
            .contact-details, .contact-form-block { padding: 30px; }
            #contact .contact-details,
            #contact .contact-form-block {
                padding-top: 10px;
                padding-bottom: 10px;
            }
            .map-container { margin-top: 50px; }
            .map-container iframe { height: 300px; }
            footer nav ul { flex-wrap: wrap; justify-content: center; }
            footer nav ul li { margin: 8px 15px; }
            #about,
            #services,
            #clients,
            #zguba,
            #trainings,
            #contact,
            #skoheron,
            #praca { padding-top: 0; border-top: none; }
            #about h2,
            #services h2,
            #clients h2,
            #zguba h2,
            #trainings h2,
            #contact h2,
            #skoheron h2,
            #praca h2 { margin-top: 0; margin-bottom: 20px; }
            #about .content-block,
            #contact .content-block,
            #zguba .content-block,
            #trainings .content-block,
            #skoheron .content-block,
            #praca .content-block { margin-top: 0; }
            #skoheron .content-block { gap: 28px; }
            #services .container {
                height: auto;
                min-height: 0;
            }
            #praca .praca-panel {
                font-size: 1.2rem;
                padding: 26px 22px;
                max-height: calc(100dvh - 12rem);
            }
        }

        @media (max-width: 480px) {
            h1 { font-size: 32px; }
            h2 { font-size: 28px; }
            h3 { font-size: 22px; }
            section { padding: 84px 0 20px; }
            section#home {
                min-height: 0;
                overflow: visible;
                padding-bottom: 20px;
            }
            .hero {
                justify-content: flex-start;
                padding: 10px 15px 14px;
                min-height: 0;
            }
            .hero > .cta-button {
                margin-top: 14px;
                margin-bottom: 0;
            }
            .hero-copy {
                position: static;
                transform: none;
                width: auto;
                margin-top: 0;
            }
            .hero-logos img {
                height: 34px;
                max-width: 112px;
                border-radius: 8px;
                padding: 4px 6px;
            }
            .hero p { font-size: 16px; }
            .logo {
                width: clamp(150px, 50vw, 220px);
                height: clamp(150px, 50vw, 220px);
                max-width: calc(100% - 64px);
                max-height: min(220px, 54vw);
                margin: 0;
                z-index: 1;
            }
            .logo img {
                width: 100%;
                height: 100%;
                max-height: 100%;
            }
            #about,
            #services,
            #clients,
            #zguba,
            #trainings,
            #contact,
            #skoheron,
            #praca { padding-top: 0; border-top: none; }
            #about h2,
            #services h2,
            #clients h2,
            #zguba h2,
            #trainings h2,
            #contact h2,
            #skoheron h2,
            #praca h2 { margin-top: 0; margin-bottom: 16px; }
            #about .content-block,
            #contact .content-block,
            #zguba .content-block,
            #trainings .content-block,
            #skoheron .content-block,
            #praca .content-block { margin-top: 0; }
            #skoheron .content-block { gap: 22px; }
            #praca .praca-panel {
                font-size: 1.1rem;
                padding: 20px 16px;
                max-height: calc(100dvh - 11rem);
            }
        }

        html.doro-page-scale-80 {
            overflow-x: hidden;
            overscroll-behavior-y: none;
        }
        html.doro-page-scale-80 body {
            overscroll-behavior-y: none;
        }
        /*
         * Skala 80%: zoom (nie transform:scale), żeby wysokość dokumentu odpowiadała wizualnej
         * treści — przy samym scale() układ wciąż zajmuje „nieskalowaną” przestrzeń i powstaje
         * pusty scroll pod stopką; zoom skaluje też bounding box w przewijaniu (jak na stronie Start).
         */
        html.doro-page-scale-80 .doro-page-scale-root {
            zoom: 0.8;
            box-sizing: border-box;
        }
        /*
         * SKO / U1+U2: zoom na root zmniejsza też grafiki — trzeba podnieść limity layoutu (~÷0.8),
         * żeby po skali były podobnej wielkości jak na stronie Start (pełny rozmiar, bez zoom).
         */
        html.doro-page-scale-80 #skoheron .content-image {
            max-width: min(calc(760px / 0.8), 100%);
        }
        html.doro-page-scale-80 #skoheron .sko-flip-face-img {
            max-height: min(calc(78vh / 0.8), calc(800px / 0.8));
        }

        #praca .content-block.praca-content-row {
            justify-content: center;
            width: 100%;
        }
        #praca .praca-panel {
            flex: 0 1 auto;
            width: 100%;
            max-width: min(920px, 100%);
            margin: 0 auto;
            padding: 32px 36px;
            background: #ffffff;
            color: #222;
            font-size: 1.375rem;
            line-height: 1.65;
            border-radius: 16px;
            box-shadow: 0 14px 44px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(10, 35, 64, 0.1);
            box-sizing: border-box;
            max-height: calc(100dvh - 15rem);
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }
        /* Wyższa specyficzność niż section:not(#home) p (biały tekst) — inaczej treść .md „znika” na białym tle. */
        #praca .praca-panel .praca-content-out,
        #praca .praca-panel .praca-content-out p,
        #praca .praca-panel .praca-content-out li,
        #praca .praca-panel .praca-content-out td,
        #praca .praca-panel .praca-content-out th {
            color: #222;
        }
        #praca .praca-panel.praca-dynamic-body {
            white-space: pre-wrap;
        }
        #praca .praca-txt-frame {
            width: 100%;
            min-height: 240px;
            border: 0;
            display: block;
            background: #fff;
            border-radius: 8px;
        }
        #praca .praca-txt-host.is-direct .praca-txt-frame {
            display: none;
        }
        #praca .praca-content-out {
            margin: 0;
            font: inherit;
        }
        #praca .praca-content-out.praca-md-body--plain {
            white-space: pre-wrap;
            word-break: break-word;
        }
        #praca .praca-md-body > *:first-child {
            margin-top: 0;
        }
        #praca .praca-md-body > *:last-child {
            margin-bottom: 0;
        }
        #praca .praca-md-body h1,
        #praca .praca-md-body h2,
        #praca .praca-md-body h3 {
            color: #0a2340;
            font-weight: 700;
            line-height: 1.25;
            margin: 1.1em 0 0.5em;
        }
        #praca .praca-md-body h1 { font-size: 1.65rem; }
        #praca .praca-md-body h2 { font-size: 1.45rem; }
        #praca .praca-md-body h3 { font-size: 1.25rem; }
        #praca .praca-md-body p {
            margin: 0 0 0.85em;
        }
        #praca .praca-md-body ul,
        #praca .praca-md-body ol {
            margin: 0 0 0.85em;
            padding-left: 1.35em;
        }
        #praca .praca-md-body li {
            margin-bottom: 0.35em;
        }
        #praca .praca-md-body a {
            color: #0a2340;
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        #praca .praca-md-body a:hover {
            text-decoration-thickness: 2px;
        }
        #praca .praca-md-body code {
            font-family: ui-monospace, Consolas, monospace;
            font-size: 0.92em;
            background: rgba(10, 35, 64, 0.07);
            padding: 0.12em 0.35em;
            border-radius: 4px;
        }
        #praca .praca-md-body pre {
            margin: 0 0 0.9em;
            padding: 14px 16px;
            overflow-x: auto;
            font-size: 0.95em;
            line-height: 1.45;
            background: rgba(10, 35, 64, 0.06);
            border-radius: 8px;
            border: 1px solid rgba(10, 35, 64, 0.1);
        }
        #praca .praca-md-body pre code {
            background: none;
            padding: 0;
            font-size: inherit;
        }
        #praca .praca-md-body blockquote {
            margin: 0 0 0.9em;
            padding: 0.4em 0 0.4em 1em;
            border-left: 4px solid #0a2340;
            color: #333;
        }
