/* PRGW Południe – V1 Engineered theme CSS (extracted v6.3.0) */
/* ====================================================================
   V1 INDUSTRIAL AUTHORITY – paleta z brand booka PRGW
   Architecture: granat dominant + gold accent + grafit ink, massive type
   ==================================================================== */
:root {
    --ink: #222628;             /* graphite – brand book */
    --ink-soft: #2E343A;
    --ink-mid: #4A5260;
    --paper: #F5F2EA;
    --paper-deep: #E8E4D8;
    --line: rgba(34,38,40,0.14);
    --line-strong: rgba(34,38,40,0.4);
    --navy: #0B4571;            /* navy primary brand book */
    --navy-deep: #08334F;
    --navy-bright: #5B87BB;     /* light blue brand book */
    --safety: #D0AC47;          /* gold bright brand book (slogan) */
    --safety-deep: #B69153;     /* gold dark brand book */
    --concrete: #525861;
    --steel: #222628;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gutter: clamp(20px, 4vw, 48px);
    --container: 1320px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Raleway', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--safety); color: var(--ink); }

.v1-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.v1-display { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92; }
.v1-mono { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600; font-feature-settings: 'tnum'; }
/* Eyebrow: navy zamiast gold dla wysokiego kontrastu na cream (WCAG AA) */
.v1-eyebrow { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.v1-eyebrow--gold { color: var(--safety); }   /* override gdy potrzebny na dark BG */

/* Reveal */
html.fn-anim-ready [data-fn-anim]:not(.is-visible) { opacity: 0; transform: translateY(20px); }
[data-fn-anim] { transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
[data-fn-anim].is-visible { opacity: 1; transform: translateY(0); }

/* ============ HEADER ============ */
.v1-topbar {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(208, 172, 71,0.18);
}
.v1-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.v1-topbar a { color: rgba(255,255,255,0.85); transition: color 200ms; }
.v1-topbar a:hover { color: var(--safety); }
.v1-topbar__group { display: flex; gap: 24px; align-items: center; }

.v1-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 14px 0;
    min-height: 96px;
    transition: padding 250ms;
}
.v1-header.is-scrolled { padding: 8px 0; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.v1-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.v1-brand { display: flex; align-items: center; gap: 14px; }
.v1-brand__mark {
    width: 48px; height: 48px;
    background: var(--ink);
    color: var(--safety);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--safety);
}
.v1-brand__name { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; }
.v1-brand__sub { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600; font-size: 0.66rem; color: var(--ink-mid); letter-spacing: 0.18em; text-transform: uppercase; }
.v1-nav { display: none; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .v1-nav { display: flex; } }
.v1-nav__list { display: flex; gap: 28px; }
.v1-nav__list a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    transition: color 200ms;
}
/* Stary underline usunięty – corner brackets definiowane w v1-shell-open.php / wariant-engineered.php */
.v1-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--safety);
    color: var(--ink);
    padding: 12px 22px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    transition: all 200ms var(--ease);
}
.v1-cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }

/* ============ MOBILE MENU (hamburger + overlay) ============ */
.v1-burger {
    display: none;
    width: 44px; height: 44px;
    background: var(--safety);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
    transition: all 200ms;
    flex-shrink: 0;
}
.v1-burger span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    transition: all 250ms var(--ease);
}
.v1-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v1-burger.is-open span:nth-child(2) { opacity: 0; }
.v1-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.v1-mobile {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 110;
    transform: translateY(-100%);
    transition: transform 420ms var(--ease);
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}
.v1-mobile.is-open { transform: translateY(0); visibility: visible; }
.v1-mobile__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(208, 172, 71,0.18);
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 2;
}
.v1-mobile__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.v1-mobile__brand-mark {
    width: 36px; height: 36px;
    background: var(--safety);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--safety);
    flex-shrink: 0;
}
.v1-mobile__brand-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    line-height: 1;
}
.v1-mobile__close {
    width: 44px; height: 44px;
    background: var(--safety);
    border: 2px solid var(--safety);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms;
    flex-shrink: 0;
}
.v1-mobile__close:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--ink);
    background: #fff;
}
.v1-mobile__close:active {
    transform: translate(0, 0);
    box-shadow: 1px 1px 0 var(--ink);
    transition-duration: 80ms;
}
.v1-mobile__inner {
    padding: 24px 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.v1-mobile__list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0; padding: 0;
    flex: 1;
}
.v1-mobile__list li:first-child {
    border-top: 1px solid rgba(208, 172, 71,0.18);
}
.v1-mobile__list li {
    border-bottom: 1px solid rgba(208, 172, 71,0.18);
}
.v1-mobile__list a {
    display: grid;
    grid-template-columns: 40px 1fr 24px;
    gap: 14px;
    align-items: center;
    padding: 20px 0;
    color: #fff;
    transition: color 220ms var(--ease), padding 220ms var(--ease);
    min-height: 56px;
}
.v1-mobile__num {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--safety);
    font-weight: 600;
    text-align: left;
}
.v1-mobile__label {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.1875rem;
    line-height: 1.1;
}
.v1-mobile__arrow {
    color: var(--safety);
    font-size: 1.25rem;
    line-height: 1;
    text-align: right;
    transition: transform 220ms var(--ease);
}
.v1-mobile__list a:hover,
.v1-mobile__list a:active { color: var(--safety); padding-left: 8px; padding-right: 8px; }
.v1-mobile__list a:hover .v1-mobile__arrow,
.v1-mobile__list a:active .v1-mobile__arrow { transform: translateX(6px); }
.v1-mobile__cta {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    background: var(--safety);
    color: var(--ink);
    border: 2px solid var(--safety);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 56px;
    box-shadow: 4px 4px 0 #000;
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.v1-mobile__cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000; }
.v1-mobile__contact {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(208, 172, 71,0.18);
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.55);
}
.v1-mobile__contact a { color: #fff; font-weight: 600; }
.v1-mobile__contact a:hover { color: var(--safety); }

@media (max-width: 1023px) {
    .v1-nav { display: none; }
    .v1-burger { display: flex; }
}

/* ============ HERO ============ */
.v1-hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    min-height: 90vh;
    display: block;
}
.v1-hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url('<?php echo esc_url($photos . '/hero-b.jpg'); ?>');
    background-size: cover;
    background-position: center;
    filter: grayscale(0.4) contrast(1.18) brightness(0.55);
    animation: v1HeroZoom 24s var(--ease) infinite alternate;
}
@keyframes v1HeroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.v1-hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(34,38,40,0.5) 0%, transparent 30%, rgba(34,38,40,0.9) 100%),
        linear-gradient(90deg, rgba(34,38,40,0.6) 0%, transparent 60%);
}
.v1-hero__noise {
    position: absolute; inset: 0; z-index: -1;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 4px);
    pointer-events: none;
    mix-blend-mode: overlay;
}
.v1-hero__top {
    padding: 56px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.v1-hero__top-mark { color: var(--safety); display: flex; align-items: center; gap: 10px; }
.v1-hero__top-mark::before { content: ''; width: 8px; height: 8px; background: var(--safety); border-radius: 50%; box-shadow: 0 0 10px var(--safety); animation: v1pulse 2s ease-in-out infinite; }
@keyframes v1pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }

.v1-hero__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 3vh, 32px) 0 clamp(56px, 9vh, 96px);
    min-height: calc(90vh - 200px);
}
.v1-hero__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 1.4rem + 5.2vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: 0.005em;
    color: #fff;
    margin-bottom: clamp(20px, 3vh, 32px);
    text-wrap: balance;
    max-width: 14ch;
}
.v1-hero__title-accent {
    display: inline-block;
    background: var(--safety);
    color: var(--ink);
    padding: 0.04em 0.18em;
    letter-spacing: 0.005em;
}
.v1-hero__sub {
    font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
    max-width: 76ch;
    margin-bottom: clamp(28px, 5vh, 48px);
}
.v1-hero__actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.v1-hero__phone {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff;
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 12px 4px;
    border-bottom: 2px solid var(--safety);
    transition: gap 200ms;
}
.v1-hero__phone:hover { gap: 14px; }
.v1-hero__strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--safety);
    color: var(--ink);
    border-top: 4px solid var(--ink);
}
@media (max-width: 720px) { .v1-hero__strip { grid-template-columns: repeat(2, 1fr); } }
.v1-hero__stat {
    padding: 28px 24px;
    border-left: 2px solid var(--ink);
    display: flex; flex-direction: column; gap: 4px;
}
.v1-hero__stat:first-child { border-left: 0; }
.v1-hero__stat-val { font-family: 'Raleway', sans-serif; font-size: clamp(1.75rem, 1rem + 1.8vw, 2.625rem); font-weight: 700; line-height: 1; }
.v1-hero__stat-key { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; opacity: 0.85; }

/* ============ MARQUEE BAR ============ */
.v1-marquee {
    background: var(--ink);
    color: var(--safety);
    padding: 18px 0;
    overflow: hidden;
    border-bottom: 2px solid var(--safety);
}
.v1-marquee__track {
    display: flex;
    gap: 56px;
    animation: v1Marquee 26s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
@keyframes v1Marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.v1-marquee__item {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1.0625rem;
    display: inline-flex;
    align-items: center;
    gap: 24px;
}
.v1-marquee__item::after { content: '◆'; color: rgba(208, 172, 71,0.5); }

/* ============ SECTIONS ============ */
.v1-section { padding: clamp(72px, 9vw, 112px) 0; }  /* spójne z .pp-section */
.v1-section--dark { background: var(--ink); color: #fff; }
.v1-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: clamp(40px, 5vw, 64px);   /* klient: spójnie 64 max */
}
@media (min-width: 900px) { .v1-section-head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }
.v1-section-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: 0.005em;
    max-width: 16ch;
}
.v1-section-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-mid);
    max-width: 72ch;
}
.v1-section--dark .v1-section-lead { color: rgba(255,255,255,0.78); }

/* ============ TECHNOLOGIE ============ */
.v1-tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 2px solid var(--ink);
    border-left: 2px solid var(--ink);
}
@media (min-width: 720px) { .v1-tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .v1-tech-grid { grid-template-columns: repeat(4, 1fr); } }
.v1-tech {
    position: relative;
    padding: 32px 28px;
    background: var(--paper);
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transition: background 300ms var(--ease);
    overflow: hidden;
    isolation: isolate;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}
.v1-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(100%);
    transition: transform 400ms var(--ease);
    z-index: -1;
}
.v1-tech:hover { color: #fff; }
.v1-tech:hover::before { transform: translateY(0); }
.v1-tech__num {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--safety-deep);
    margin-bottom: 16px;
}
.v1-tech:hover .v1-tech__num { color: var(--safety); }
.v1-tech__icon {
    width: 56px; height: 56px;
    background: var(--ink);
    color: var(--safety);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: all 300ms;
}
.v1-tech:hover .v1-tech__icon { background: var(--safety); color: var(--ink); }
.v1-tech__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 14px;
    flex: 1;
}
.v1-tech__desc {
    font-size: 0.92rem;
    color: var(--ink-mid);
    line-height: 1.55;
    margin-bottom: 20px;
}
.v1-tech:hover .v1-tech__desc { color: rgba(255,255,255,0.7); }
.v1-tech__link {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 200ms;
}
.v1-tech__link::after { content: '→'; transition: transform 200ms; }
.v1-tech:hover .v1-tech__link { gap: 14px; color: var(--safety); }

/* Tech card with photo background – premium variant */
.v1-tech--photo {
    padding: 0;
    background: var(--ink);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    min-height: 420px;
}
.v1-tech--photo::before { display: none; }
.v1-tech--photo .v1-tech__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.6) contrast(1.05) brightness(0.55);
    transition: filter 600ms var(--ease), transform 800ms var(--ease);
}
.v1-tech--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(34,38,40,0.3) 0%, rgba(34,38,40,0.85) 70%, rgba(34,38,40,0.95) 100%);
    pointer-events: none;
}
.v1-tech--photo:hover .v1-tech__bg {
    filter: grayscale(0.3) contrast(1.1) brightness(0.6);
    transform: scale(1.04);
}
.v1-tech--photo .v1-tech__content {
    position: relative;
    z-index: 1;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: inherit;
}
.v1-tech--photo .v1-tech__num { color: var(--safety); margin-bottom: 16px; }
.v1-tech--photo .v1-tech__title { color: #fff; }
.v1-tech--photo .v1-tech__desc { color: rgba(255,255,255,0.78); }
.v1-tech--photo .v1-tech__link { color: var(--safety); }
.v1-tech--photo:hover .v1-tech__link { color: #fff; }

/* ============ NUMBERS / SPECS ============ */
.v1-specs {
    background: var(--ink);
    color: #fff;
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.v1-specs::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(208, 172, 71,0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(208, 172, 71,0.06) 0%, transparent 55%),
        linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    z-index: -2;
    pointer-events: none;
}
.v1-specs::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('<?php echo esc_url($photos . '/fn-budowa-2024.jpg'); ?>') no-repeat center / cover;
    opacity: 0.07;
    z-index: -3;
    filter: grayscale(1) contrast(1.2);
    pointer-events: none;
}
.v1-specs__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, rgba(208, 172, 71,0.04) 0 1px, transparent 1px 80px),
        linear-gradient(90deg, rgba(208, 172, 71,0.04) 0 1px, transparent 1px 80px);
    background-size: 80px 80px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
}
.v1-specs__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 72px);
    gap: 32px;
    flex-wrap: wrap;
}
.v1-specs__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: 0.005em;
    max-width: 22ch;
}
.v1-specs__title em { font-style: normal; color: var(--safety); }
.v1-specs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 900px) { .v1-specs__grid { grid-template-columns: repeat(4, 1fr); } }
.v1-spec {
    background: var(--ink);
    padding: 40px 28px;
    transition: background 300ms;
}
.v1-spec:hover { background: rgba(208, 172, 71,0.04); }
.v1-spec__val {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 1.5rem + 2.5vw, 4rem);
    line-height: 1;
    color: var(--safety);
    margin-bottom: 12px;
}
.v1-spec__val sub, .v1-spec__val sup {
    font-size: 0.4em;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-left: 6px;
    vertical-align: baseline;
}
.v1-spec__key {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 6px;
}
.v1-spec__desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* ============ PARK MASZYNOWY ============ */
.v1-park-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 900px) { .v1-park-grid { grid-template-columns: repeat(3, 1fr); } }
.v1-machine {
    background: #fff;
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.v1-machine:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.v1-machine__photo {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--paper-deep);
    position: relative;
    border-bottom: 2px solid var(--ink);
}
.v1-machine__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); filter: grayscale(0.2) contrast(1.05); }
.v1-machine:hover .v1-machine__photo img { transform: scale(1.06); }
.v1-machine__badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--safety);
    color: var(--ink);
    padding: 6px 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--ink);
}
.v1-machine__body { padding: 24px; }
.v1-machine__num {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mid);
    margin-bottom: 12px;
}
.v1-machine__name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.375rem;
    line-height: 1.05;
    margin-bottom: 14px;
}
.v1-machine__desc { font-size: 0.92rem; line-height: 1.55; color: var(--ink-mid); }

/* ============ REALIZACJE ============ */
.v1-real-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
/* Bazowe komponenty (używane w galerii – wszystkie hovers są na .v1-real-grid--photos) */
.v1-real { align-items: center; }
.v1-real__num { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 2rem; color: var(--navy); }
.v1-real__title { font-family: 'Raleway', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; letter-spacing: 0.005em; }
.v1-real__photo { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-deep); }
.v1-real__photo img { width: 100%; height: 100%; object-fit: cover; }
.v1-real__meta { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mid); }

/* ============ REALIZACJE – galeria fotograficzna (v6.2.0+) ============ */
/* Hover strategy: JEDEN spójny efekt – subtelne uniesienie karty + powolny zoom zdjęcia. Bez padding-shift, bez color shift. */
.v1-real-grid--photos { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .v1-real-grid--photos { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1200px) { .v1-real-grid--photos { grid-template-columns: 1fr 1fr 1fr; gap: 40px; } }
.v1-real-grid--photos .v1-real {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.025);
    align-items: stretch;
    overflow: hidden;
    will-change: transform;
    transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 360ms cubic-bezier(0.4, 0, 0.2, 1);
}
.v1-real-grid--photos .v1-real:hover {
    transform: translateY(-4px);
    border-color: rgba(208, 172, 71, 0.42);
}
.v1-real-grid--photos .v1-real__photo {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}
.v1-real-grid--photos .v1-real--portrait .v1-real__photo { aspect-ratio: 3/4; }
.v1-real-grid--photos .v1-real__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: scale(1);
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.v1-real-grid--photos .v1-real:hover .v1-real__photo img {
    transform: scale(1.04);
}
.v1-real-grid--photos .v1-real__num {
    position: absolute; top: 14px; left: 14px;
    background: var(--safety); color: var(--ink);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.95rem;
    z-index: 2;
}
.v1-real-grid--photos .v1-real__count {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(0,0,0,0.7); color: rgba(255,255,255,0.92);
    padding: 6px 12px;
    font-family: 'Raleway', sans-serif; font-weight: 500; font-size: 0.74rem;
    letter-spacing: 0.06em; text-transform: uppercase;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.v1-real-grid--photos .v1-real__body {
    padding: 24px 24px 28px;
    display: flex; flex-direction: column;
    flex: 1;
}
.v1-real-grid--photos .v1-real__title {
    font-family: 'Raleway', sans-serif; font-weight: 600;
    font-size: 1.1rem; line-height: 1.25;
    text-transform: none; letter-spacing: 0;
    color: #fff; margin-top: 10px;
}
.v1-real-grid--photos .v1-real__meta {
    font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.74rem;
    letter-spacing: 0.14em; text-transform: uppercase;
}

/* ============ CTA (3-step process layout) ============ */
.v1-cta-section {
    background: var(--safety);
    color: var(--ink);
    padding: clamp(80px, 11vw, 128px) 0;
    position: relative;
    overflow: hidden;
}
.v1-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, transparent 0 32px, rgba(34,38,40,0.04) 32px 33px);
    pointer-events: none;
}
.v1-cta__head {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(48px, 6vw, 80px);
    padding-bottom: 32px;
    border-bottom: 2px solid var(--ink);
}
.v1-cta__eyebrow {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 18px;
    color: var(--ink);
}
.v1-cta__title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: 0.005em;
    max-width: 18ch;
    margin: 0;
}
.v1-cta__title-em {
    display: inline-block;
    background: var(--ink);
    color: var(--safety);
    padding: 0.04em 0.18em;
}
.v1-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
    margin-bottom: clamp(48px, 6vw, 72px);
}
@media (min-width: 720px) { .v1-cta__grid { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.v1-cta__col {
    padding: 0 32px 0 0;
    border-left: 2px solid var(--ink);
    padding-left: 28px;
}
.v1-cta__col:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 719px) {
    .v1-cta__col { padding-left: 0; border-left: 0; padding-top: 28px; border-top: 2px solid var(--ink); }
    .v1-cta__col:first-child { padding-top: 0; border-top: 0; }
}
.v1-cta__col-num {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--ink);
    display: block;
    margin-bottom: 16px;
}
.v1-cta__col-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: 0.005em;
    margin-bottom: 12px;
    max-width: 14ch;
}
.v1-cta__col-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(34,38,40,0.76);
}

.v1-cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 2px solid var(--ink);
}
.v1-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--ink);
    color: var(--safety);
    padding: 22px 36px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 3px solid var(--ink);
    transition: all 250ms var(--ease);
}
.v1-cta__btn:hover { background: transparent; color: var(--ink); }
.v1-cta__btn-arrow { transition: transform 250ms var(--ease); font-size: 1.2em; }
.v1-cta__btn:hover .v1-cta__btn-arrow { transform: translateX(6px); }
.v1-cta__phone {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    color: var(--ink);
    border-left: 2px solid var(--ink);
    padding-left: 24px;
    transition: color 200ms;
}
.v1-cta__phone:hover { color: rgba(34,38,40,0.6); }
.v1-cta__phone-label {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7;
}
.v1-cta__phone-num {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.005em;
}
.v1-cta__meta {
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 18px;
    color: rgba(34,38,40,0.6);
}

/* ============ FOOTER ============ */
.v1-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.78);
    padding: clamp(40px, 5vw, 60px) 0 32px;   /* klient: top 60 wystarczy */
}
.v1-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 64px;
}
@media (min-width: 720px) { .v1-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .v1-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.v1-footer__brand-mark { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; color: var(--safety); margin-bottom: 16px; }
.v1-footer h4 { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; color: #fff; font-size: 0.92rem; letter-spacing: 0.12em; margin-bottom: 18px; }
.v1-footer__list li { margin-bottom: 10px; }
.v1-footer__list a { font-size: 0.92rem; color: #fff; transition: color 200ms; }
.v1-footer__list a:hover { color: var(--safety); }
/* Logo: czyste, bez ramki, tło ze stopką jednolite – klient nie chce odrębnego tła */
/* === FOOTER – komponenty stopki (template-parts/v1-footer.php – single source of truth) === */
.v1-footer__logo-plate {
    background: #fff;
    padding: 10px 14px;            /* dostosowane do mniejszego logo (32px) */
    display: inline-block;
    margin: 0 0 4px;
    border-radius: 2px;
}
.v1-footer__desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.62);
    max-width: 34ch;
    margin-top: 18px;
}
.v1-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    line-height: 1.5;
}
.v1-footer__contact-label {
    display: block;
    color: #fff;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}
.v1-footer__contact-link {
    color: var(--safety, #D0AC47);
    transition: opacity 200ms;
}
.v1-footer__contact-link:hover { opacity: 0.8; }
.v1-footer__bottom-links {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.74rem;
}
/* Separator pionowy między elementami (zamiast gap) */
.v1-footer__bottom-links > * { padding: 0 16px; position: relative; }
.v1-footer__bottom-links > *:first-child { padding-left: 0; }
.v1-footer__bottom-links > *:last-child { padding-right: 0; }
.v1-footer__bottom-links > * + *::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 11px;
    background: rgba(255,255,255,0.2);
}
.v1-footer__bottom-links a {
    color: rgba(255,255,255,0.55);
    transition: color 200ms;
}
.v1-footer__bottom-links a:hover { color: var(--safety, #D0AC47); }

.v1-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
}

/* ============ VER SWITCHER ============ */
.fn-ver-switch {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: auto;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(34,38,40,0.95);
    border: 2px solid var(--safety);
    padding: 8px;
    font-family: 'Raleway', sans-serif;
    opacity: 0.85;
    transition: opacity 200ms ease;
}
.fn-ver-switch:hover { opacity: 1; }
.fn-ver-switch__label { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600; font-size: 0.62rem; color: var(--safety); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; padding: 4px 8px 2px; }
.fn-ver-switch__btn { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: rgba(255,255,255,0.78); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid rgba(255,255,255,0.1); transition: all 200ms; }
.fn-ver-switch__btn:hover { color: #fff; border-color: var(--safety); }
.fn-ver-switch__btn.is-active { background: var(--safety); color: var(--ink); border-color: var(--safety); }
.fn-ver-switch__num { font-family: 'Raleway', sans-serif; font-feature-settings: 'tnum'; font-weight: 600; font-size: 0.68rem; opacity: 0.7; }

/* Mobile responsive – V1 final touch */
@media (max-width: 720px) {
    .fn-ver-switch { display: none; }     /* Hidden na mobile */
    /* Hero adjustments */
    .v1-hero { min-height: auto; padding-bottom: 0; }
    .v1-hero__top { padding-top: 32px; font-size: 0.62rem; gap: 12px; flex-wrap: wrap; }
    .v1-hero__title { font-size: clamp(2.5rem, 12vw, 4.5rem); }
    .v1-hero__title-accent { padding: 0 0.12em; }
    .v1-hero__strip { grid-template-columns: 1fr 1fr; }
    .v1-hero__stat { padding: 18px 16px; }
    /* Sections */
    .v1-section { padding: 64px 0; }
    .v1-section-head { gap: 16px; margin-bottom: 40px; }
    .v1-section-title { font-size: clamp(2rem, 9vw, 3rem); }
    /* Tech cards */
    .v1-tech { min-height: 320px; padding: 24px 22px; }
    /* Park */
    .v1-park-grid { gap: 24px; }
    /* Realizacje stacked */
    .v1-real { gap: 16px; padding: 28px 0; }
    .v1-real:hover { padding-left: 8px; padding-right: 8px; }
    .v1-real__photo { aspect-ratio: 16/9; }
    /* CTA */
    .v1-cta-section { padding: 64px 0; }
    .v1-cta__title { font-size: clamp(2rem, 9vw, 3rem); }
    /* Header */
    .v1-header { padding: 12px 0; }
    .v1-header.is-scrolled { padding: 8px 0; }
    .v1-brand__name { font-size: 0.95rem; }
    .v1-brand__sub { font-size: 0.58rem; letter-spacing: 0.14em; }
    .v1-brand__mark { width: 40px; height: 40px; font-size: 1rem; }
    /* Touch targets */
    .v1-mobile__list a, .v1-mobile__cta { min-height: 48px; }
}
/* Topbar mobile polish – bez kram w wąskim wyświetlaczu */
@media (max-width: 900px) {
    .v1-topbar__addr { display: none; }
    .v1-topbar__group { gap: 12px; }
}
@media (max-width: 640px) {
    .v1-topbar { padding: 7px 0; font-size: 0.68rem; }
    .v1-topbar__inner { gap: 10px; justify-content: space-between; flex-wrap: nowrap; }
    .v1-topbar__group { gap: 10px; }
    .v1-topbar__hrs { display: none; }
    .v1-topbar__sep:last-of-type { display: none; }
}
@media (max-width: 480px) {
    .v1-topbar { padding: 6px 0; font-size: 0.65rem; }
    .v1-topbar__group { gap: 8px; }
    .v1-topbar__inner { gap: 10px; flex-direction: row; align-items: center; }
    .v1-topbar__sep { display: none; }
    .v1-brand__sub { display: none; }
    .v1-brand__mark { width: 36px; height: 36px; font-size: 0.95rem; }
    .v1-brand__name { font-size: 0.95rem; }
}

/* ===================================================================
   PERFORMANCE + SMOOTHNESS POLISH (final pass)
   =================================================================== */

/* GPU acceleration hints for hover-heavy elements */
.v1-cta, .v1-nav__list a, .v1-tech, .v1-machine, .v1-real,
.v1-tech--photo .v1-tech__bg, .v1-machine__photo img, .v1-real__photo img {
    will-change: transform;
}

/* Skip will-change on smaller devices (cheaper) */
@media (max-width: 720px) {
    .v1-cta, .v1-nav__list a, .v1-tech, .v1-machine, .v1-real,
    .v1-tech--photo .v1-tech__bg, .v1-machine__photo img, .v1-real__photo img {
        will-change: auto;
    }
}

/* Smooth scroll + scroll snap on long pages */
html { scroll-padding-top: 100px; }
@supports (scroll-behavior: smooth) {
    html { scroll-behavior: smooth; }
}

/* Image dimensions + smooth loading */
img {
    height: auto;
    background: rgba(208, 172, 71,0.03);
}
img[loading="lazy"] {
    transition: opacity 600ms var(--ease);
}

/* Reveal anim - smoother + reduced motion */
html.fn-anim-ready [data-fn-anim]:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}
[data-fn-anim] {
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
[data-fn-anim].is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-fn-anim] { opacity: 1 !important; transform: none !important; }
    .v1-hero__bg, .v1-marquee__track { animation: none !important; }
}

/* ===================================================================
   V1 PREMIUM POLISH – selection, touch, print, tap highlights
   =================================================================== */

/* Brand-colored selection (premium agency touch) */
::selection { background: var(--safety); color: var(--ink); text-shadow: none; }
::-moz-selection { background: var(--safety); color: var(--ink); text-shadow: none; }

/* Touch-action: manipulation = no 300ms tap delay on mobile */
.v1-burger, .v1-cta, .v1-cta-section__btn, .v1-mobile__list a, .v1-mobile__cta,
.v1-mobile__close, .v1-nav__list a, .v1-tech, .v1-machine, .v1-real,
.v1-topbar a, .v1-mobile__contact a, .v1-hero__phone,
button, a[role="button"], input[type="submit"], input[type="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(208, 172, 71, 0.25);
}

/* Custom cursor on interactive elements (premium) */
.v1-tech, .v1-machine, .v1-real, .v1-cta, .v1-cta-section__btn { cursor: pointer; }

/* iOS button reset */
button { -webkit-appearance: none; appearance: none; }

/* Print styles – premium engineer-grade spec sheet output */
@media print {
    *, *::before, *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }
    .v1-burger, .v1-mobile, .v1-topbar, .fn-ver-switch,
    .v1-cta, .v1-hero__bg, .v1-hero__overlay { display: none !important; }
    .v1-header { position: static; border-bottom: 2px solid #000; }
    a { color: #000 !important; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555 !important; }
    .v1-section, .v1-cta-section, .v1-specs { page-break-inside: avoid; padding: 24pt 0 !important; }
    h1, h2, h3 { page-break-after: avoid; color: #000 !important; }
    img { max-width: 100% !important; page-break-inside: avoid; }
    .v1-marquee { display: none; }
}

/* Section optimization – content-visibility for offscreen rendering */
.v1-section, .v1-specs, .v1-cta-section, .v1-footer {
    contain-intrinsic-size: auto 600px;
}
@supports (content-visibility: auto) {
    .v1-section:not(:first-of-type), .v1-specs, .v1-cta-section, .v1-footer {
        content-visibility: auto;
    }
}

/* Smooth focus for keyboard nav */
*:focus-visible {
    outline: 3px solid var(--safety);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Hover smoothness – premium silk transitions (Apple/iOS feel) */
:root {
    --v1-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --v1-ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
    --v1-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
.v1-cta, .v1-nav__list a, .v1-tech, .v1-machine, .v1-real,
.v1-tech__link, .v1-real__arrow, .v1-real__num,
.v1-cta__btn, .v1-cta__phone, .v1-hero__phone,
.v1-tech--photo .v1-tech__bg, .v1-machine__photo img, .v1-real__photo img,
.v1-burger, .v1-nav__cta, .v1-machine .v1-tech__link, .wb-back {
    transition-timing-function: var(--v1-ease-out);
    transition-duration: 520ms;
}

/* Photo zoom hovers – slow cinematic */
.v1-tech--photo .v1-tech__bg { transition-duration: 1200ms; }
.v1-machine__photo img, .v1-real__photo img { transition-duration: 900ms; }

/* Box-shadow + transform need to animate together smoothly */
.v1-cta, .v1-machine, .v1-cta__btn {
    transition-property: transform, box-shadow, background-color, color, border-color;
}

/* Tech cards – deeper lift + softer shadow */
.v1-tech {
    transition-property: transform, box-shadow, background-color, color, border-color;
}
.v1-tech::before {
    transition-duration: 620ms;
    transition-timing-function: var(--v1-ease-out);
}

/* Machine cards – smoother offset shadow */
.v1-machine {
    transition-duration: 520ms;
}
.v1-machine:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--ink);
}

/* Tap state – quick snap back */
.v1-cta:active, .v1-cta__btn:active, .v1-machine:active, .v1-burger:active {
    transition-duration: 120ms !important;
    transition-timing-function: var(--v1-ease-soft) !important;
}

/* Real rows – smoother yellow tint */
.v1-real {
    transition-property: background, padding-left, padding-right;
    transition-duration: 480ms;
}
.v1-real__arrow {
    transition-duration: 520ms;
}

/* Nav underline usunięty – corner brackets w v1-shell-open.php */

/* Hero phone underline */
.v1-hero__phone {
    transition-property: gap, color, border-color;
    transition-duration: 480ms;
}

/* Switcher btn – smooth bg change */
.fn-ver-switch__btn {
    transition-duration: 360ms;
    transition-timing-function: var(--v1-ease-out);
}

/* Buttons: lift + smooth scale on hover */
.v1-cta {
    transform: translateZ(0);
}
.v1-cta:hover {
    transform: translate(-2px, -2px) translateZ(0);
}
.v1-cta:active {
    transform: translate(0, 0) translateZ(0);
    transition-duration: 80ms;
}

/* Tap targets ≥48px on touch (Apple HIG / Material) */
@media (hover: none) and (pointer: coarse) {
    .v1-nav__list a, .v1-cta, .v1-tech__link, .v1-real,
    .v1-cta__btn, .v1-cta__phone, .v1-hero__phone,
    .v1-mobile__list a, .v1-mobile__cta, .v1-burger {
        min-height: 48px;
    }
}

/* Hamburger menu – smooth transitions */
.v1-burger {
    transition: background 280ms var(--ease), transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.v1-burger:active { transform: scale(0.92); }
.v1-burger span {
    transition: transform 320ms var(--ease), opacity 200ms var(--ease), background 280ms var(--ease);
}
.v1-mobile {
    transition: transform 450ms cubic-bezier(0.32, 0.72, 0, 1);
}
.v1-mobile.is-open .v1-mobile__list li {
    animation: v1MobileItemIn 500ms var(--ease) both;
}
.v1-mobile.is-open .v1-mobile__list li:nth-child(1) { animation-delay: 100ms; }
.v1-mobile.is-open .v1-mobile__list li:nth-child(2) { animation-delay: 150ms; }
.v1-mobile.is-open .v1-mobile__list li:nth-child(3) { animation-delay: 200ms; }
.v1-mobile.is-open .v1-mobile__list li:nth-child(4) { animation-delay: 250ms; }
.v1-mobile.is-open .v1-mobile__list li:nth-child(5) { animation-delay: 300ms; }
@keyframes v1MobileItemIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile improvements – comprehensive */
@media (max-width: 720px) {
    /* Hero strip - 2x2 grid mobile */
    .v1-hero__strip { grid-template-columns: repeat(2, 1fr); border-top: 3px solid var(--ink); }
    .v1-hero__stat { padding: 22px 18px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
    .v1-hero__stat:nth-child(odd) { border-left: 0; }
    .v1-hero__stat:nth-child(3), .v1-hero__stat:nth-child(4) { border-bottom: 0; }
    .v1-hero__stat-val { font-size: 1.5rem; }

    /* Hero spacing */
    .v1-hero { min-height: auto; }
    .v1-hero__main { min-height: auto; padding: clamp(20px, 4vh, 40px) 0 clamp(40px, 7vh, 64px); }
    .v1-hero__top { padding-top: 32px; font-size: 0.66rem; gap: 12px; flex-wrap: wrap; }
    .v1-hero__title { font-size: clamp(2.25rem, 11vw, 4rem); line-height: 1.04; }
    .v1-hero__sub { font-size: 1rem; }
    .v1-hero__actions { gap: 16px; }

    /* Marquee mobile – szybsza animacja (engineer feel) */
    .v1-marquee { padding: 12px 0; }
    .v1-marquee__item { font-size: 0.9rem; }
    .v1-marquee__track { gap: 28px; animation-duration: 16s; }

    /* Sections padding reduced */
    .v1-section { padding: 64px 0; }
    .v1-section-head { gap: 16px; margin-bottom: 36px; }
    .v1-section-title { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.1; max-width: 18ch; }
    .v1-section-lead { font-size: 0.98rem; max-width: 100%; }

    /* Specs - 2x2 grid */
    .v1-specs { padding: 64px 0; }
    .v1-specs__title { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.1; }
    .v1-specs__head { margin-bottom: 36px; }
    .v1-specs__grid { grid-template-columns: 1fr 1fr; }
    .v1-spec { padding: 28px 22px; }
    .v1-spec__val { font-size: clamp(2rem, 8vw, 2.75rem); }

    /* Tech cards mobile */
    .v1-tech { min-height: 320px; padding: 24px 22px; }
    .v1-tech--photo { min-height: 360px; }
    .v1-tech--photo .v1-tech__content { padding: 24px 22px; }
    .v1-tech__title { font-size: 1.1rem; }

    /* Machine cards */
    .v1-machine { box-shadow: 4px 4px 0 var(--ink); }
    .v1-machine:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }

    /* Realizacje stack vertical */
    .v1-real { gap: 14px; padding: 24px 0; grid-template-columns: 60px 1fr 60px; grid-template-areas: "num title arrow" "photo photo photo" "meta meta meta"; }
    .v1-real__num { grid-area: num; font-size: 1.5rem; }
    .v1-real__title { grid-area: title; font-size: 1.1rem; }
    .v1-real__photo { grid-area: photo; aspect-ratio: 16/9; margin-top: 8px; }
    .v1-real__meta { grid-area: meta; font-size: 0.7rem; }
    .v1-real__arrow { grid-area: arrow; font-size: 1.25rem; align-self: start; justify-self: end; }
    .v1-real:hover { padding-left: 8px; padding-right: 8px; }

    /* CTA mobile */
    .v1-cta-section { padding: 56px 0; }
    .v1-cta__head { margin-bottom: 32px; padding-bottom: 24px; }
    .v1-cta__title { font-size: clamp(1.875rem, 9vw, 2.75rem); line-height: 1.05; max-width: 16ch; }
    .v1-cta__title-em { padding: 0.02em 0.14em; }
    .v1-cta__grid { gap: 0; margin-bottom: 36px; }
    .v1-cta__col-num { font-size: 1.75rem; margin-bottom: 12px; }
    .v1-cta__col-title { font-size: 1.05rem; }
    .v1-cta__col-desc { font-size: 0.88rem; }
    .v1-cta__actions { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 24px; }
    .v1-cta__btn { width: 100%; justify-content: center; padding: 18px 24px; }
    .v1-cta__phone { border-left: 0; border-top: 2px solid var(--ink); padding-left: 0; padding-top: 16px; }
    .v1-cta__phone-num { font-size: 1.3rem; }

    /* Footer mobile */
    .v1-footer { padding: 56px 0 24px; }
    .v1-footer__grid { gap: 32px; margin-bottom: 32px; }
    .v1-footer__bottom { font-size: 0.66rem; gap: 16px; }

    /* Switcher minimized mobile */
    .fn-ver-switch { bottom: 8px; right: 8px; left: auto; padding: 4px; gap: 2px; }
    .fn-ver-switch__label { font-size: 0.54rem; padding: 4px 8px 2px; }
    .fn-ver-switch__btn { padding: 6px 10px; font-size: 0.6rem; gap: 6px; }
    .fn-ver-switch__num { font-size: 0.56rem; }

    /* Header mobile */
    .v1-header { padding: 10px 0; }
    .v1-header__inner { gap: 12px; }
    .v1-brand__sub { font-size: 0.58rem; letter-spacing: 0.14em; }
}

@media (max-width: 480px) {
    .v1-hero__title { font-size: clamp(2rem, 10vw, 3rem); }
    .v1-hero__title-accent { padding: 0.02em 0.12em; }
    .v1-hero__stat-val { font-size: 1.25rem; }
    .v1-hero__stat-key { font-size: 0.62rem; }
    .v1-section-title, .v1-specs__title, .v1-cta__title { font-size: clamp(1.5rem, 7vw, 2rem); }
    .v1-real__title { font-size: 1rem; }
    .v1-tech__title, .v1-machine__name { font-size: 1rem; }
}