/* ==========================================================================
   Sitesnap — style.css
   ========================================================================== */

@font-face {
    font-family: 'Supreme';
    src: url('fonts/Supreme-Variable.woff2') format('woff2'),
         url('fonts/Supreme-Variable.woff') format('woff');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: 1.6rem;
    background: #000;
    color: #fff;
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -ms-overflow-style: none;
    scrollbar-width: none;
    min-height: 100vh;
}
.layout-header-wrapper {
    height: 100vh;
    height: 100svh;
    width: 100vw;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
    pointer-events: none;
}
.inner {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    pointer-events: none;
}
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    z-index: 1000;
    background: transparent;
    pointer-events: auto;
    padding: 1rem 2rem;
}
.main-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}
.main-list .main-list-item {
    display: flex;
    padding: 0 .25rem;
    transform-origin: 0 0;
}
.btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    padding: 0.4rem 1.15rem;
    transition: all 0.3s ease;
    border-radius: 0;
    white-space: nowrap;
}
.btn:hover {
    background: #fff;
    color: #000;
}
.router-link-active {
    font-weight: 600;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.animated-logo {
    font-family: 'Supreme', system-ui, sans-serif;
    font-weight: 750;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   Intro startowe (strona główna): sitesnap / design and development
   ========================================================================== */
.intro {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
}
.intro.hide {
    opacity: 0;
    pointer-events: none;
}
.intro-title {
    font-family: 'Supreme', system-ui, sans-serif;
    font-weight: 750;
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 1;
    color: #000;
    user-select: none;
}
.intro-sub {
    font-family: 'Supreme', system-ui, sans-serif;
    font-weight: 500;
    font-size: clamp(0.9rem, 2.4vw, 1.5rem);
    letter-spacing: 0.22em;
    color: #000;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    user-select: none;
}
.intro.sub-in .intro-sub {
    opacity: 1;
    transform: none;
}
.intro .letter {
    display: inline-block;
    will-change: transform;
}
body.intro-lock {
    overflow: hidden;
}
/* Po intro sekcja hero wjeżdża od dołu jak pozostałe sekcje */
body.has-intro .inner {
    opacity: 0;
    transform: translateY(14vh);
}
body.has-intro.intro-done .inner {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Hero: wideo w tle --- */
.hero-video {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* przyciemnienie dla czytelności napisu */
}
/* footer strony głównej musi zakrywać fixed wideo pod spodem */
body.page-home .site-footer {
    background: #000;
}

/* --- Hero: magnetyczny napis --- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
.magnetic-text {
    font-family: inherit;
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    user-select: none;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    white-space: nowrap;
    max-width: 100vw;
}
.magnetic-text .letter {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-origin: center;
    will-change: transform;
}
.magnetic-text .letter:hover {
    color: #ff6b6b;
    text-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}
.info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    text-align: center;
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ==========================================================================
   Menu usług — pełnoekranowy biały overlay (styl zdjęcie 3)
   ========================================================================== */
.services-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    color: #111;
    z-index: 1200;
    display: none;
    overflow: hidden;
    padding: 4.5rem 0 0;
}
.services-overlay.open {
    display: block;
}
body.menu-open {
    overflow: hidden;
}
body.menu-open .main-nav {
    z-index: 1300;
}
body.menu-open .main-nav .btn {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}
body.menu-open .main-nav .btn:hover,
body.menu-open .main-nav .btn.router-link-active {
    background: #111;
    color: #fff;
}
body.menu-open .animated-logo {
    color: #111;
}
.services-group-label {
    background: #ececec;
    color: #111;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 2rem;
    margin-top: 0.75rem;
}
.services-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem 2rem;
}
.service-link {
    display: inline-block;
    background: #ececec;
    color: #111;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    transition: background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.service-link strong {
    font-weight: 700;
}
.service-link em {
    font-style: normal;
    color: #555;
    transition: color 0.25s ease;
}
.service-link:hover {
    background: #111;
    color: #fff;
}
.service-link:hover em {
    color: #bbb;
}
.overlay-letters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.overlay-letters .letter {
    position: absolute;
    display: inline-block;
    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 900;
    color: #111;
    user-select: none;
    will-change: transform;
    line-height: 1;
}

/* ==========================================================================
   Strona główna — scrollytelling (pinned sekcje)
   ========================================================================== */
.story {
    position: relative;
    z-index: 1;
}
.hero-spacer {
    height: 100vh;
    height: 100svh;
}
.panel {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    will-change: transform, filter;
}
.panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.panel-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55); /* przyciemnienie dla czytelności tekstu */
}
/* Sekcje z wideo: bez gradientu i świecącego bloba starego tła */
.panel[data-theme] .panel-bg.panel-bg-video {
    background: #000;
}
.panel[data-theme] .panel-bg.panel-bg-video::after {
    display: none;
}
.panel-bg::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70vmax;
    height: 70vmax;
    border-radius: 50%;
    background: var(--blob, rgba(255, 255, 255, 0.2));
    filter: blur(90px);
    opacity: 0.55;
    animation: blobFloat 14s ease-in-out infinite alternate;
}
@keyframes blobFloat {
    from { transform: translate(-62%, -58%) scale(1); }
    to   { transform: translate(-38%, -42%) scale(1.15); }
}
.panel[data-theme="web"]  { --blob: rgba(93, 63, 255, 0.45); }
.panel[data-theme="web"] .panel-bg {
    background: radial-gradient(70% 90% at 75% 25%, rgba(64, 80, 255, 0.35), transparent 60%), #06060d;
}
.panel[data-theme="ai"]   { --blob: rgba(0, 220, 160, 0.35); }
.panel[data-theme="ai"] .panel-bg {
    background: radial-gradient(70% 90% at 25% 30%, rgba(0, 160, 130, 0.3), transparent 60%), #04100c;
}
.panel[data-theme="ecommerce"] { --blob: rgba(255, 120, 40, 0.4); }
.panel[data-theme="ecommerce"] .panel-bg {
    background: radial-gradient(70% 90% at 70% 70%, rgba(255, 90, 30, 0.28), transparent 60%), #120804;
}
.panel[data-theme="marketing"] { --blob: rgba(255, 60, 160, 0.38); }
.panel[data-theme="marketing"] .panel-bg {
    background: radial-gradient(70% 90% at 30% 70%, rgba(200, 40, 140, 0.3), transparent 60%), #12040c;
}
.panel[data-theme="data"] { --blob: rgba(0, 180, 255, 0.4); }
.panel[data-theme="data"] .panel-bg {
    background: radial-gradient(70% 90% at 70% 30%, rgba(0, 140, 220, 0.3), transparent 60%), #04101a;
}
.panel-index {
    position: absolute;
    top: 4rem;
    right: 3rem;
    z-index: 1;
    font-size: clamp(6rem, 18vw, 15rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
    user-select: none;
    pointer-events: none;
}
.panel-content {
    position: relative;
    z-index: 1;
    padding: 0 4rem 5.5rem;
    max-width: 980px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.panel.visible .panel-content {
    opacity: 1;
    transform: none;
}
.panel-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}
.panel-title {
    font-size: clamp(2rem, 5.5vw, 4.6rem);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 1.1rem;
}
.panel-copy {
    max-width: 48ch;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.6rem;
}
.panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* Sekcja z napisem na środku (dasz się poznać?) */
.panel-center {
    align-items: center;
    justify-content: center;
}
.panel-center .panel-content {
    padding: 0 2rem;
    text-align: center;
    max-width: none;
}
.panel-center .panel-title {
    font-size: clamp(2.6rem, 8vw, 6.5rem);
    margin-bottom: 0;
}
.panel-links .btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.35rem;
    background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Podstrony usług
   ========================================================================== */
.bg-letters {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-letters .letter {
    position: absolute;
    display: inline-block;
    font-size: clamp(6rem, 16vw, 14rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    user-select: none;
    will-change: transform;
    line-height: 1;
}
.service-main {
    position: relative;
    z-index: 2;
}
.service-hero {
    min-height: 88vh;
    min-height: 88svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 4rem 4rem;
}
.service-eyebrow,
.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.service-title {
    font-size: clamp(2.6rem, 9vw, 7.2rem);
    font-weight: 700;
    line-height: 1.02;
    margin: 0.6rem 0 1.6rem;
    user-select: none;
}
.word {
    display: inline-block;
    white-space: nowrap;
}
.service-title .letter,
.cta-title .letter,
.about-word .letter {
    display: inline-block;
    will-change: transform;
    transform-origin: center;
}
.service-lead {
    max-width: 54ch;
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}
.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 0.9rem 1.9rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    font-family: inherit;
}
.btn-primary:hover {
    background: transparent;
    color: #fff;
}
.service-section {
    padding: 5rem 4rem;
}
.section-label {
    display: block;
    margin-bottom: 2rem;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.offer-card {
    background: rgba(255, 255, 255, 0.06);
    padding: 1.6rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
.offer-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}
.offer-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.offer-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}
.step {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 1.2rem;
}
.step-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    margin-bottom: 0.6rem;
}
.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}
.service-cta {
    padding: 7rem 4rem 8rem;
}
.cta-title {
    font-size: clamp(2.4rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    user-select: none;
}
.service-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 48ch;
    line-height: 1.6;
}

/* ==========================================================================
   About (styl zdjęcie 6)
   ========================================================================== */
body.page-about {
    background: #2213ff;
}
.about-main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 5rem;
    overflow: hidden;
}
.about-word {
    font-size: clamp(4rem, 16vw, 15rem);
    font-weight: 700;
    line-height: 0.95;
    padding: 0 2rem;
    user-select: none;
    white-space: nowrap;
}
.about-word-bottom {
    text-align: right;
    margin-bottom: 0.03em;
}
.about-copy .letter {
    position: relative;
    display: inline-block;
    transform-origin: center;
    transition: transform 0.18s ease-out;
    will-change: transform;
}
.about-copy {
    text-align: justify;
    text-justify: inter-word;
    font-size: clamp(0.95rem, 1.6vw, 1.3rem);
    line-height: 2.1;
    word-spacing: 1.1em;
    padding: 4rem;
    max-width: 1600px;
}

/* ==========================================================================
   Contact (styl zdjęcie 5)
   ========================================================================== */
.contact-main {
    position: relative;
    z-index: 2;
    padding-top: 4.5rem;
}
.contact-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    /* wyrównanie do przycisków menu głównego: padding nav (2rem) + padding li (0.25rem) */
    padding: 0 2.25rem;
}
.contact-quick .btn {
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}
.contact-stage {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}
.face-svg {
    display: block;
    width: min(72vw, 720px);
    height: auto;
    margin: 0 auto;
}
.face-svg .face-smile,
.face-svg .face-surprised {
    transition: opacity 0.25s ease;
}
.face-svg .face-surprised {
    opacity: 0;
}
.face-svg .eye {
    transition: transform 0.25s ease;
    transform-box: fill-box;
    transform-origin: center;
}
.face-svg:hover .face-smile {
    opacity: 0;
}
.face-svg:hover .face-surprised {
    opacity: 1;
}
.face-svg:hover .eye {
    transform: scale(1.35);
}
.glow-field {
    position: relative;
    display: block;
    overflow: hidden;
    width: min(340px, 84vw);
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.glow-field::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    left: -80px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    filter: blur(6px);
    animation: glowSweep 3.4s linear infinite;
    pointer-events: none;
}
@keyframes glowSweep {
    to { left: 110%; }
}
.glow-field input,
.glow-field textarea {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.95rem 1.1rem;
    resize: vertical;
}
.glow-field input::placeholder,
.glow-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
.field-email {
    position: absolute;
    left: 2rem;
    top: 52%;
}
.field-message {
    position: absolute;
    right: 2rem;
    top: 36%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: flex-start;
}
.send-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.send-btn:hover {
    background: #fff;
    color: #000;
}
.send-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.form-status {
    font-size: 0.9rem;
    min-height: 1.3em;
    color: rgba(255, 255, 255, 0.85);
}
.form-status.err {
    color: #ff6b6b;
}
/* Zdziwiona mina po udanej wysyłce */
.contact-stage.sent-pop .face-smile {
    opacity: 0;
}
.contact-stage.sent-pop .face-surprised {
    opacity: 1;
}
.contact-stage.sent-pop .eye {
    transform: scale(1.35);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
    text-align: center;
}
.person h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.person p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.35rem;
}
.person a {
    color: #fff;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   Wspólne: reveal, footer
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.site-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
body.page-about .site-footer {
    color: rgba(255, 255, 255, 0.75);
}
/* Duży napis w stopce strony głównej — szablon, w który składają się litery hero */
.site-footer .footer-claim {
    font-size: clamp(1.44rem, 4vw, 2.88rem);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
body.page-home .site-footer {
    align-items: center;
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1400px) {
    .magnetic-text {
        font-size: clamp(2.5rem, 8vw, 7rem);
        padding: 0 1rem;
    }
}
@media (max-width: 1200px) {
    .magnetic-text {
        font-size: clamp(2rem, 7vw, 5.5rem);
        padding: 0 0.8rem;
    }
}
@media (max-width: 992px) {
    .magnetic-text {
        font-size: clamp(1.5rem, 6vw, 4.5rem);
        padding: 0 0.6rem;
    }
}
@media (max-width: 900px) {
    .field-email,
    .field-message {
        margin: 1rem auto 0;
        align-items: stretch;
    }
    .field-email {
        position: relative;
        left: auto;
        top: auto;
    }
    .field-message {
        position: static;
    }
    .contact-stage {
        display: flex;
        flex-direction: column;
    }
    .glow-field {
        width: min(440px, 90vw);
        margin: 0 auto;
    }
    .send-btn {
        align-self: center;
    }
}
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }
    .inner {
        gap: 0.5rem;
    }
    .main-list {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .magnetic-text {
        font-size: clamp(1.2rem, 7vw, 4rem);
        padding: 0 0.5rem;
    }
    .main-nav {
        padding: 1.1rem 1rem 0.5rem;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .main-list {
        gap: 0.15rem;
    }
    .animated-logo {
        font-size: 1.2rem;
        margin-left: 0.5rem;
        white-space: nowrap;
    }
    .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    .panel-content {
        padding: 0 1.5rem 4rem;
    }
    .panel-index {
        top: 3.5rem;
        right: 1.5rem;
    }
    .service-hero,
    .service-section,
    .service-cta {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .about-copy {
        padding: 2rem 1.5rem;
        word-spacing: 0.6em;
        line-height: 1.9;
    }
    .services-group-label,
    .services-list {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .service-link {
        white-space: normal;
    }
    .contact-main {
        padding-top: 3.5rem;
    }
    .contact-quick {
        padding: 0 1.25rem;
    }
}
@media (max-width: 480px) {
    .header {
        padding: 0.25rem 0.5rem;
    }
    .main-nav {
        gap: 0.25rem;
        padding: 1rem 0.5rem 0.25rem;
    }
    .main-list {
        gap: 0.08rem;
    }
    .magnetic-text {
        font-size: clamp(1rem, 8vw, 3rem);
        padding: 0 0.25rem;
    }
    .animated-logo {
        font-size: 1rem;
        margin-left: 0.3rem;
    }
    .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    .contact-main {
        padding-top: 3rem;
    }
    .contact-quick {
        padding: 0 0.75rem;
    }
}
@media (max-width: 320px) {
    .btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }
}

/* --- Dostępność: ograniczony ruch --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
