/* CityWeb — Dark City Theme */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/space-grotesk-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/space-grotesk-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('../fonts/space-grotesk-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/bebas-neue-400.woff2') format('woff2');
}

:root {
    --bg-deep: #070b12;
    --bg-main: #0c1220;
    --bg-card: #111827;
    --bg-card-hover: #161f33;
    --bg-elevated: #1a2438;

    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-amber: #f5a623;
    --accent-amber-hover: #e09515;
    --accent-cyan: #4ecdc4;
    --accent-cyan-dim: rgba(78, 205, 196, 0.15);

    --border: rgba(148, 163, 184, 0.12);
    --border-hover: rgba(245, 166, 35, 0.35);

    --glow-amber: rgba(245, 166, 35, 0.25);
    --glow-cyan: rgba(78, 205, 196, 0.2);

    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --header-height: 76px;
    --container: 1140px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* City night background */
.city-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(78, 205, 196, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(245, 166, 35, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #070b12 0%, #0c1220 40%, #0a0f1a 100%);
    pointer-events: none;
}

.city-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}

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

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--accent-amber); }

ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent-amber);
    color: var(--bg-deep);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.125rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p + p { margin-top: 1rem; }

.text-muted { color: var(--text-secondary); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-amber);
    border-radius: 2px;
}

.section-label--plain::before {
    display: none;
}

.section-label--plain {
    gap: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.625rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-amber);
    color: var(--bg-deep);
    border-color: var(--accent-amber);
    box-shadow: 0 4px 20px var(--glow-amber);
}

.btn-primary:hover {
    background: var(--accent-amber-hover);
    border-color: var(--accent-amber-hover);
    color: var(--bg-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px var(--glow-amber);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: var(--accent-cyan-dim);
}

.btn-nav {
    padding: 0.625rem 1.25rem !important;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo:hover { color: var(--text-primary); }

.logo-accent { color: var(--accent-amber); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a.btn-nav {
    margin-left: 0.5rem;
    background: var(--accent-amber);
    color: var(--bg-deep) !important;
    border: none;
}

.main-nav a.btn-nav:hover,
.main-nav a.btn-nav.active {
    background: var(--accent-amber-hover);
    color: var(--bg-deep) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

.nav-backdrop {
    display: none;
}

/* Hero */
.hero {
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

/* Immersive full-bleed hero (strona główna) */
.hero--immersive {
    min-height: clamp(560px, 88vh, 820px);
    padding: 0;
    display: flex;
    align-items: center;
    background-color: #0B0F17;
}

.hero--immersive::before {
    display: none;
}

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: translateZ(0);
    contain: layout style paint;
}

.hero-scene--neon {
    background: #060a10;
    overflow: hidden;
}

.hero-rain__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

.hero-neon__stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* —— Neon sign —— */
.hero-neon__sign {
    pointer-events: none;
}

.hero-neon__board {
    fill: rgba(10, 14, 20, 0.94);
    stroke: #1a2432;
    stroke-width: 1;
}

.hero-neon__tube-text {
    font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
    font-size: 62px;
    font-weight: 400;
    letter-spacing: 0.04em;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-neon__tube-text--off {
    stroke: #202c3c;
    stroke-width: 5;
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.hero-neon__tube-glow {
    stroke-width: 3.5;
    opacity: 0.55;
}

.hero-neon__tube-mid {
    stroke-width: 3.8;
    opacity: 1;
}

.hero-neon__tube-core {
    stroke-width: 2.2;
    stroke: #ffffff;
    opacity: 1;
}

.hero-neon__tube-group--cyan .hero-neon__tube-glow { stroke: #4ecdc4; }
.hero-neon__tube-group--cyan .hero-neon__tube-mid { stroke: #ecfffd; }
.hero-neon__tube-group--amber .hero-neon__tube-glow { stroke: #f5a623; }
.hero-neon__tube-group--amber .hero-neon__tube-mid { stroke: #fff4d6; }


.hero-neon__board-glow {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-scene--powered .hero-neon__board-glow {
    opacity: 1;
}

.hero-neon__tubes-on {
    opacity: 0;
}

.hero-scene--powered .hero-neon__tube-text--off {
    opacity: 0.06;
}

.hero-scene--powered .hero-neon__tubes-on {
    opacity: 1;
    animation: neonTubeBoot 1.6s ease forwards;
}

.hero-scene--powered .hero-neon__tube-group--cyan {
    animation: neonFlickerCyan 5s ease-in-out 1.6s infinite;
}

.hero-scene--powered .hero-neon__tube-group--amber {
    animation: neonFlickerAmber 5.5s ease-in-out 1.7s infinite;
}

/* —— Sznurek + skacząca postać —— */
.hero-cord,
.hero-jumper-wrap {
    pointer-events: none;
}

.hero-cord {
    transform-box: view-box;
    transform-origin: 1186px 0;
    transform: translate(1186px, 0);
}

.hero-cord__pull {
    transform-box: fill-box;
    transform-origin: 50% 0;
    transform: scaleY(1);
}

.hero-cord__string {
    transition: stroke 0.4s ease;
}

.hero-scene--pulling .hero-cord__pull {
    animation: cordTug 0.6s cubic-bezier(0.3, 0.9, 0.4, 1) forwards;
}

@keyframes cordTug {
    0%   { transform: scaleY(1); }
    45%  { transform: scaleY(1.075); }
    100% { transform: scaleY(1); }
}

.hero-scene--powered .hero-cord {
    animation: cordRetract 0.85s cubic-bezier(0.42, 0, 0.58, 1) 0.35s forwards;
}

@keyframes cordRetract {
    from { transform: translate(1186px, 0); }
    to   { transform: translate(1186px, -720px); }
}

@keyframes cordRetractMobile {
    from { transform: translate(1164px, 0); }
    to   { transform: translate(1164px, -720px); }
}

.hero-jumper-wrap {
    transform-box: view-box;
    transform-origin: 0 0;
    transform: translate(1150px, 560px) scale(3);
    opacity: 1;
}

.hero-jumper rect {
    shape-rendering: crispEdges;
}

.hero-scene--jumping .hero-jumper {
    animation: heroJump 1.15s cubic-bezier(0.4, 0, 0.3, 1) forwards;
}

@keyframes heroJump {
    0%   { transform: translateY(0); }
    10%  { transform: translateY(2px); }
    45%  { transform: translateY(-26px); }
    62%  { transform: translateY(-24px); }
    100% { transform: translateY(0); }
}

.hero-scene--powered .hero-jumper-wrap {
    animation: heroJumperExit 0.7s ease 0.95s forwards;
}

@keyframes heroJumperExit {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.hero-scene--jumping .hero-jumper__shadow {
    animation: heroJumpShadow 1.15s cubic-bezier(0.4, 0, 0.3, 1) forwards;
}

@keyframes heroJumpShadow {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    45%      { transform: scale(0.55); opacity: 0.2; }
}

.hero-jumper__shadow {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

@keyframes neonTubeBoot {
    0%, 6%, 12%, 18%, 24%, 32% { opacity: 0; }
    8%, 14%, 22%, 28% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes neonFlickerCyan {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.75; }
    94% { opacity: 1; }
    96% { opacity: 0.85; }
    97% { opacity: 1; }
}

@keyframes neonFlickerAmber {
    0%, 100% { opacity: 1; }
    88% { opacity: 1; }
    89% { opacity: 0.7; }
    90% { opacity: 1; }
    95% { opacity: 0.8; }
    96% { opacity: 1; }
}

/* —— Cable + plug scene —— */
.hero-neon__wire {
    opacity: 0.85;
    transition: stroke 0.4s ease;
}

.hero-scene--powered .hero-neon__wire {
    stroke: rgba(30, 45, 58, 0.9);
}

.hero-scene--powered .hero-neon__wire-inner {
    stroke: #3a4858;
}

.hero-scene-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(11, 15, 23, 0.96) 0%,
            rgba(11, 15, 23, 0.78) 32%,
            rgba(11, 15, 23, 0.35) 55%,
            rgba(11, 15, 23, 0.15) 100%),
        linear-gradient(180deg,
            rgba(11, 15, 23, 0.15) 0%,
            transparent 40%,
            transparent 65%,
            rgba(11, 15, 23, 0.75) 100%);
}

.hero-scene-overlay--rain {
    background:
        radial-gradient(ellipse 90% 60% at 50% 40%, transparent 30%, rgba(6, 10, 16, 0.35) 100%),
        linear-gradient(180deg,
            rgba(6, 10, 16, 0.55) 0%,
            transparent 28%,
            transparent 62%,
            rgba(6, 10, 16, 0.65) 100%);
}

/* Neon page — tekst sprzedażowy na środku ekranu; linki pojawiają się po zapaleniu neonu */
.hero--neon-page {
    justify-content: center;
    align-items: center;
}

/* blok tekstu — na desktopie delikatne tło; na mobile pojawia się po zapaleniu neonu */
.hero-neon__copy {
    position: relative;
    z-index: 4;
    max-width: 620px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    text-align: center;
    border-radius: 18px;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(11, 15, 23, 0.6) 0%, rgba(11, 15, 23, 0.34) 100%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(120, 140, 170, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: heroCopyIn 0.8s ease both;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

@keyframes heroCopyIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-neon__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-amber);
    margin-bottom: 0.85rem;
}

.hero-neon__headline {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #9fb0c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero-neon__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 auto 1.75rem;
    max-width: 46ch;
}

.hero-neon__nav {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
    pointer-events: none;
}

.hero-scene--powered ~ .hero-neon__nav,
.hero--neon-page.hero--powered .hero-neon__nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* zanim neon się zapali, przyciski są już czytelne w bloku (żeby CTA nie znikało zbyt długo) */
@media (prefers-reduced-motion: reduce) {
    .hero-neon__copy { animation: none; }
}

.hero-neon__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: rgba(11, 15, 23, 0.75);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.hero-neon__link:hover {
    border-color: var(--border-hover);
    background: rgba(20, 28, 42, 0.9);
    transform: translateY(-1px);
}

.hero-neon__link--primary {
    background: var(--accent-amber);
    color: var(--bg-deep);
    border-color: var(--accent-amber);
}

.hero-neon__link--primary:hover {
    background: var(--accent-amber-hover);
    border-color: var(--accent-amber-hover);
    color: var(--bg-deep);
}

.hero--immersive .hero-inner {
    display: block;
    position: relative;
    z-index: 2;
    padding: 7rem 1.25rem 4rem;
    max-width: 640px;
}

.hero--immersive .hero-content {
    position: relative;
}

.hero--immersive .hero-title {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero--immersive .hero-subtitle {
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
    max-width: 540px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--bg-deep));
    pointer-events: none;
    z-index: 3;
}

.hero--immersive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--bg-deep));
    pointer-events: none;
    z-index: 3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* City skyline visual */
/* Hero visual container */
.hero-visual {
    position: relative;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Page hero */
.page-hero {
    padding: 4.5rem 0 3rem;
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
    border-radius: 2px;
}

.page-hero h1 { margin-bottom: 1rem; }

.page-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* Dlaczego my — tekst + animacja serwerowni */
.intro-split {
    display: grid;
    grid-template-columns: 1fr min(400px, 42vw);
    gap: 2rem 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.section-header--left {
    text-align: left;
    max-width: none;
    margin: 0;
    padding-top: 0.25rem;
}

.intro-split__visual {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 0;
}

.datacenter-lottie {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 660 / 400;
    line-height: 0;
}

.datacenter-lottie svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 900px) {
    .intro-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-split__visual {
        justify-content: center;
        order: 2;
    }

    .intro-split__copy {
        order: 1;
    }

    .section-header--left {
        text-align: center;
    }

    .datacenter-lottie {
        max-width: min(360px, 88vw);
        margin: 0 auto;
    }
}

/* Cards */
.feature-card,
.package-card,
.portfolio-item,
.testimonial-card,
.contact-info-card,
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover,
.portfolio-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(78, 205, 196, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent-cyan);
}

.feature-icon svg {
    display: block;
    width: 1.625rem;
    height: 1.625rem;
}

.feature-card h3 {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Kafelki z emotką → tekst po scrollu (strona główna) */
.features-grid--reveal .feature-card--reveal {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card--reveal .feature-card__emoji {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 9vw, 4.25rem);
    line-height: 1;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.45s ease, transform 0.45s ease;
    visibility: visible;
    pointer-events: none;
    user-select: none;
}

.feature-card--reveal .feature-card__body {
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.feature-card--reveal .feature-card__body h3 {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.feature-card--reveal.is-revealed .feature-card__emoji {
    opacity: 0;
    transform: scale(0.7);
    visibility: hidden;
}

.feature-card--reveal.is-revealed .feature-card__body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.feature-card--reveal:nth-child(1).is-revealed .feature-card__body { transition-delay: 0.03s; }
.feature-card--reveal:nth-child(1).is-revealed .feature-card__emoji { transition-delay: 0s; }

.feature-card--reveal:nth-child(2).is-revealed .feature-card__body { transition-delay: 0.06s; }
.feature-card--reveal:nth-child(2).is-revealed .feature-card__emoji { transition-delay: 0.02s; }

.feature-card--reveal:nth-child(3).is-revealed .feature-card__body { transition-delay: 0.09s; }
.feature-card--reveal:nth-child(3).is-revealed .feature-card__emoji { transition-delay: 0.04s; }

@media (prefers-reduced-motion: reduce) {
    .feature-card--reveal .feature-card__emoji {
        display: none;
    }

    .feature-card--reveal .feature-card__body {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

.process-intro {
    max-width: 52rem;
    margin: 0.75rem auto 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Process */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    counter-reset: step;
    max-width: 46rem;
    margin: 0 auto;
}

.process-step {
    position: relative;
    display: block;
    padding: 0 0 0 clamp(3.75rem, 10vw, 4.5rem);
    text-align: left;
    background: none;
    border: none;
}

.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.1rem;
    display: block;
    color: var(--accent-amber);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1;
    letter-spacing: 0.04em;
}

.process-step h3 {
    font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.process-step p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Packages */
/* Packages comparison table */
.packages-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(17, 24, 39, 0.65);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.packages-compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.packages-compare thead th {
    vertical-align: bottom;
    padding: 1.25rem 1rem 1.125rem;
    border-bottom: 1px solid var(--border);
    background: rgba(12, 18, 28, 0.92);
}

.packages-compare__feature-col {
    width: 34%;
    min-width: 220px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.packages-compare__plan-col {
    width: 22%;
    text-align: center;
    border-left: 1px solid var(--border);
}

.packages-compare__plan-col.is-featured {
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.1) 0%, rgba(12, 18, 28, 0) 100%);
    box-shadow: inset 0 0 0 1px rgba(245, 166, 35, 0.28);
}

.packages-compare__badge {
    display: inline-block;
    margin-bottom: 0.625rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-amber);
    color: var(--bg-deep);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.packages-compare__plan-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.packages-compare__plan-price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-amber);
    line-height: 1.1;
}

.packages-compare__plan-net {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.packages-compare__plan-desc {
    display: block;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
    min-height: 2.5rem;
}

.packages-compare__cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
}

.packages-compare tbody th,
.packages-compare tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    vertical-align: middle;
}

.packages-compare tbody tr:last-child th,
.packages-compare tbody tr:last-child td {
    border-bottom: none;
}

.packages-compare__group th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    background: rgba(78, 205, 196, 0.06);
    border-bottom: 1px solid rgba(78, 205, 196, 0.12);
}

.packages-compare__feature {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(12, 18, 28, 0.35);
}

.packages-compare__cell {
    text-align: center;
    border-left: 1px solid rgba(148, 163, 184, 0.06);
}

.packages-compare__cell.is-featured {
    background: rgba(245, 166, 35, 0.03);
}

.packages-compare__yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.packages-compare__no {
    display: inline-block;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1;
}

.packages-compare__addon {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.28);
    color: #f5c26b;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.packages-compare__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.packages-compare__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.packages-compare__legend-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.packages-compare__legend-mark--yes {
    background: rgba(78, 205, 196, 0.15);
    color: #4ecdc4;
}

.packages-compare__legend-mark--addon {
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.28);
    color: #f5c26b;
}

.packages-compare__legend-mark--no {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
}

.packages-compare__value {
    display: block;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-secondary);
    max-width: 14rem;
    margin: 0 auto;
}

.packages-compare__empty {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.packages-compare-wrap--home {
    margin-top: 0.5rem;
}

.packages-compare-wrap--home .packages-compare {
    min-width: 640px;
}

.packages-compare-wrap--home .packages-compare__plan-desc {
    min-height: 0;
}

.offer-note {
    margin-top: 2rem;
    max-width: 720px;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(78, 205, 196, 0.22);
    background: rgba(78, 205, 196, 0.06);
}

.offer-note strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.offer-note p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.package-card__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.package-card--rich .package-card__body,
.package-card--summary .package-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
}

.package-card--rich {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(22, 30, 46, 0.95) 0%, rgba(14, 20, 32, 0.98) 100%);
}

.package-card--rich:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.24);
}

.package-card--rich.featured {
    border-color: rgba(245, 166, 35, 0.45);
    box-shadow:
        0 20px 50px rgba(245, 166, 35, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.package-card__ribbon {
    background: linear-gradient(90deg, #e86a2a 0%, #f5a623 100%);
    color: #0c1220;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
}

.package-card__intro {
    padding: 1.375rem 1.375rem 1.125rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
}

.package-card--rich.featured .package-card__intro {
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.07) 0%, transparent 100%);
}

.package-card__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.package-card--rich .package-name {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.package-card__scope {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
}

.package-card__scope-hint {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.package-card__scope-hint--extends {
    color: rgba(78, 205, 196, 0.88);
    font-weight: 500;
}

.package-card__price-block {
    margin-top: 1.125rem;
    padding-top: 1.125rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.package-card__price-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.125rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-amber);
}

.package-card__price-note {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.package-spec-list__intro {
    margin: 0;
    padding: 1rem 1.25rem 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(78, 205, 196, 0.88);
}

.package-spec-list {
    list-style: none;
    margin: 0;
    padding: 1rem 1.25rem;
    flex: 1;
}

.package-spec-list--continued {
    padding-top: 0.25rem;
}

.package-spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.42rem 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.package-spec-list li:last-child {
    border-bottom: none;
}

.package-spec-list__icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.package-card--rich .package-card__actions {
    padding: 0 1.25rem 1.25rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.package-card__details-link {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.package-card__details-link:hover {
    color: var(--accent-cyan);
}

.packages-common-note {
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(12, 18, 28, 0.5);
    text-align: center;
}

.packages-common-note__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.packages-common-note__link {
    margin: 0.75rem 0 0;
}

.packages-common-note__link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.packages-common-note__link a:hover {
    text-decoration: underline;
}

.packages-common-note__arrow {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.packages-common-note__link a:hover .packages-common-note__arrow {
    transform: translateY(2px);
}

.packages-spec-footer {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9375rem;
}

.packages-spec-footer a {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
}

.packages-spec-footer a:hover {
    text-decoration: underline;
}

.offer-pricing-intro {
    max-width: 42rem;
    margin: 0 auto 1.75rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.offer-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(22, 30, 46, 0.95) 0%, rgba(14, 20, 32, 0.98) 100%);
    overflow: hidden;
}

.offer-card--featured {
    border-color: rgba(245, 166, 35, 0.42);
    box-shadow:
        0 20px 50px rgba(245, 166, 35, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.offer-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(12, 18, 28, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.offer-card--featured .offer-card__badge {
    border-color: rgba(245, 166, 35, 0.35);
    color: #f5c26b;
}

.offer-card__head {
    padding: 1.5rem 1.375rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.offer-card--featured .offer-card__head {
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.07) 0%, transparent 100%);
}

.offer-card__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-primary);
}

.offer-card__audience {
    margin: 0 0 1.125rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.offer-card__cta {
    min-height: 3rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.offer-card__section {
    padding: 1.125rem 1.375rem 0.25rem;
}

.offer-card__section--optional {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    margin-top: 0.5rem;
}

.offer-card__section-label {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.offer-card__extends {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(245, 166, 35, 0.92);
}

.offer-card__extends--inline {
    margin: 0.75rem 0 0;
}

.offer-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offer-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.45rem 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.offer-card__list li:last-child {
    border-bottom: none;
}

.offer-card__list--optional li {
    color: var(--text-muted);
}

.offer-card__check {
    flex-shrink: 0;
    margin-top: 0.08rem;
}

.offer-card--dedicated {
    margin-top: 1.25rem;
    border-color: rgba(78, 205, 196, 0.22);
    background: linear-gradient(180deg, rgba(18, 28, 42, 0.96) 0%, rgba(12, 18, 28, 0.98) 100%);
}

.offer-card__dedicated-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.375rem 1.375rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.offer-card__dedicated-copy {
    flex: 1;
    min-width: 0;
}

.offer-card__dedicated-actions {
    flex-shrink: 0;
    text-align: right;
}

.offer-card__dedicated-note {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.offer-card__list--compact {
    padding: 0.75rem 1.375rem 1.125rem;
}

.packages-compare__plan-price--quote {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .offer-cards-grid {
        grid-template-columns: 1fr;
    }

    .offer-card__dedicated-inner {
        flex-direction: column;
    }

    .offer-card__dedicated-actions {
        width: 100%;
        text-align: left;
    }

    .offer-card__dedicated-actions .offer-card__cta {
        width: 100%;
    }
}

.package-card--summary .package-features {
    display: none;
}

.packages-grid--summary {
    align-items: stretch;
}

#porownanie-pakietow {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(165deg, rgba(26, 36, 56, 0.55) 0%, rgba(17, 24, 39, 0.98) 48%);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.package-card:hover {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-3px);
}

.package-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem 1.625rem 1.625rem;
}

.package-card.featured {
    border-color: rgba(245, 166, 35, 0.42);
    background:
        linear-gradient(165deg, rgba(245, 166, 35, 0.12) 0%, rgba(17, 24, 39, 0.98) 42%);
    box-shadow:
        0 16px 48px rgba(245, 166, 35, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.package-card.featured:hover {
    border-color: rgba(245, 166, 35, 0.55);
    box-shadow:
        0 18px 52px rgba(245, 166, 35, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.package-badge {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.4rem 0.875rem;
    background: var(--accent-amber);
    color: var(--bg-deep);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.package-card.featured .package-badge {
    margin-top: 1rem;
    margin-bottom: -0.25rem;
}

.package-card__head {
    margin-bottom: 1.125rem;
}

.package-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.package-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.package-price {
    font-family: var(--font-heading);
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-amber);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.package-price span {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.package-features {
    flex: 1;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.package-features li {
    position: relative;
    padding-left: 1.125rem;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.package-features li:last-child {
    margin-bottom: 0;
}

.package-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.45);
}

.package-card .btn {
    width: 100%;
    margin-top: auto;
}

@media (min-width: 1025px) {
    .package-card.featured {
        transform: translateY(-6px);
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.portfolio-item { overflow: hidden; }

.portfolio-image {
    aspect-ratio: 16 / 10;
    background: var(--bg-elevated);
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.03);
    opacity: 1;
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(7, 11, 18, 0.85);
    color: var(--accent-amber);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portfolio-content { padding: 1.5rem; }

.portfolio-content h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }

.portfolio-industry {
    font-size: 0.8125rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portfolio-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testimonial-card {
    padding: 1.25rem 1.125rem 1.125rem;
    background: linear-gradient(180deg, rgba(22, 30, 46, 0.96) 0%, rgba(14, 20, 32, 0.99) 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0 0 0.875rem;
    font-style: italic;
    line-height: 1.65;
    border-left: 2px solid var(--accent-amber);
    padding: 0 0 0 1rem;
}

.testimonial-card footer {
    padding-top: 0;
    border-top: none;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.1875rem;
}

.testimonial-company {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-amber);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
    padding-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* CTA — duży nagłówek + link, ciemne tło z odcięciem stopki */
.cta-section {
    padding: clamp(2.75rem, 6vw, 3.5rem) 0 clamp(2rem, 4.5vw, 2.5rem);
    position: relative;
    background: var(--bg-deep);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    text-align: center;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
}

.cta-section .section-label {
    justify-content: center;
}

.cta-section h2 {
    margin: 0 auto 0.625rem;
    max-width: 22rem;
    font-family: var(--font-heading);
    font-size: clamp(1.625rem, 6.5vw, 2.375rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.cta-section p {
    color: var(--text-secondary);
    max-width: 32rem;
    margin: 0 auto 0.875rem;
    font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
    line-height: 1.65;
}

.cta-section .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-amber);
    text-decoration: none;
    transition: color var(--transition);
}

.cta-section .btn-link:hover {
    color: var(--accent-amber-hover);
}

.cta-section .btn-link::after {
    content: '→';
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.about-text p + p {
    margin-top: 1.25rem;
}

.about-next {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-next__link {
    display: block;
    padding: 1.25rem 1.375rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.about-next__link:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.about-next__link strong {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
    font-size: 1.0625rem;
}

.about-next__link span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.about-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-amber);
    margin-bottom: 0.25rem;
}

.about-stat span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    align-items: start;
}

.contact-info-card,
.form-card {
    padding: 2rem;
}

.contact-booking-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.contact-booking-block h3 {
    margin-bottom: 0.375rem;
}

.contact-booking-block > .text-muted {
    margin-bottom: 1.25rem;
}

.contact-booking-block__package {
    margin: -0.75rem 0 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-booking-block__package strong {
    color: var(--text-primary);
}

.contact-booking-block__btn {
    width: 100%;
}

.contact-info-card__title {
    margin-bottom: 0.5rem;
}

.contact-form-intro {
    margin-bottom: 1.5rem;
}

.contact-form-legal {
    font-size: 0.8125rem;
    margin-top: 1rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-child { border-bottom: none; }

.contact-method--plain {
    gap: 0;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-method a,
.contact-method span {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.contact-social__link:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: var(--bg-card-hover);
}

.contact-social__link svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-channel-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition);
}

.contact-channel-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.contact-booking-cta {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.contact-booking-cta__btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.contact-booking-cta p {
    font-size: 0.875rem;
    margin: 0;
}

/* Forms */
.form-card {
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8125rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--text-primary);
    transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: rgba(78, 205, 196, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Cookie banner — centered modal */
.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cookie-banner:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 18, 0.72);
    backdrop-filter: blur(4px);
}

.cookie-banner__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 26rem);
    padding: 1.5rem 1.5rem 1.25rem;
    background: #f4f5f7;
    border-radius: 1rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    transform: translateY(0.5rem) scale(0.98);
    transition: transform 0.35s ease;
}

.cookie-banner:not([hidden]) .cookie-banner__dialog {
    transform: translateY(0) scale(1);
}

.cookie-banner__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.cookie-banner__text {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
}

.cookie-banner__link {
    color: var(--accent-amber);
    font-weight: 600;
    text-decoration: none;
}

.cookie-banner__link:hover {
    color: var(--accent-amber-hover);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.cookie-banner__reject,
.cookie-banner__accept {
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.cookie-banner__reject {
    background: #e5e7eb;
    color: #111827;
}

.cookie-banner__reject:hover {
    background: #d1d5db;
}

.cookie-banner__accept {
    background: var(--accent-amber);
    color: #111827;
    font-weight: 700;
}

.cookie-banner__accept:hover {
    background: var(--accent-amber-hover);
}

.cookie-banner__reject:active,
.cookie-banner__accept:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
        align-items: flex-end;
    }

    .cookie-banner__dialog {
        width: 100%;
        padding: 1.25rem 1.25rem 1rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .cookie-banner__actions {
        grid-template-columns: 1fr;
    }
}

/* Partner page */
.partner-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.partner-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.partner-step-num {
    width: 40px;
    height: 40px;
    background: var(--accent-amber);
    color: var(--bg-deep);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.commission-highlight {
    background: var(--bg-card);
    border: 1px solid var(--accent-amber);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 0 40px var(--glow-amber);
}

.commission-highlight strong {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    display: block;
    color: var(--accent-amber);
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    position: relative;
    background: #050910;
    border-top: none;
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}

.cta-section + .site-footer {
    margin-top: 0;
    padding-top: 3rem;
}

.footer-skyline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    transform: none;
    background: rgba(148, 163, 184, 0.32);
    border-radius: 0;
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 1;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.logo-footer .logo-text { color: var(--text-primary); }

.footer-desc {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-primary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links ul li,
.footer-contact ul li { margin-bottom: 0.625rem; }

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--accent-amber); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-partner-link { opacity: 0.45; }

/* Legal & 404 */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.85;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.error-page {
    text-align: center;
    padding: 6rem 0;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

/* ===== Hero neon plug ===== */

@media (prefers-reduced-motion: reduce) {
    .hero-neon__tubes-on {
        opacity: 1 !important;
        animation: none !important;
    }

    .hero-neon__copy {
        animation: none !important;
    }

    .hero-neon__nav {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    /* bez skoku; postać ukryta, sznurek schowany */
    .hero-jumper,
    .hero-cord__pull {
        animation: none !important;
    }

    .hero-cord__pull {
        transform: none !important;
    }

    .hero-jumper-wrap {
        opacity: 0 !important;
        animation: none !important;
    }

    .hero-cord {
        animation: none !important;
        transform: translate(1186px, -720px) !important;
        opacity: 0 !important;
    }
}

/* PC — delikatnie mniejsze odstępy pionowe między sekcjami */
@media (min-width: 769px) {
    .section {
        padding: 4rem 0;
    }

    .page-hero {
        padding: 3.75rem 0 2.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .intro-split {
        margin-bottom: 2.5rem;
    }

    .hero:not(.hero--immersive) {
        padding: 4rem 0 3.5rem;
    }

    .cta-section {
        padding: 3rem 0 2.25rem;
    }

    .cta-section + .site-footer {
        padding-top: 2.5rem;
    }

    .site-footer {
        padding: 3rem 0 1.75rem;
    }

    .footer-grid {
        margin-bottom: 2.5rem;
    }

    .footer-bottom {
        padding-top: 1.75rem;
    }

    .legal-content {
        padding: 2.5rem 0 4rem;
    }

    .error-page {
        padding: 5rem 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual { order: -1; }

    .features-grid,
    .packages-grid,
    .packages-compare-wrap--home,
    .testimonials-grid,
    .values-grid,
    .partner-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(7, 11, 18, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .main-nav a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .main-nav a.btn-nav {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }

    .logo {
        font-size: 1.625rem;
        letter-spacing: 0.01em;
    }

    .hero--immersive.hero--neon-page {
        --hero-mobile-peek: 1.75rem;
        --hero-mobile-copy-top: clamp(13.5rem, 35vw, 15rem);
        position: relative;
        display: block;
        /* tylko svh (stabilne) — dvh zmienia się razem z chowaniem paska adresu
           tuż po wejściu na stronę, co odpalało resize canvasu i wyglądało
           jak miganie miasta */
        min-height: calc(100svh - var(--header-height) - var(--hero-mobile-peek));
        padding: 0;
        margin-top: 0;
        overflow: hidden;
        background: #060a10;
    }

    .hero--neon-page + .section {
        padding-top: 0.625rem;
    }

    .hero--immersive:not(.hero--neon-page) {
        min-height: max(560px, 100svh);
        min-height: max(560px, 100dvh);
        padding: calc(var(--header-height) + 0.75rem) 0 1.5rem;
        align-items: center;
    }

    .hero--neon-page > .hero-scene {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .hero--neon-page > .hero-scene-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    /* neon mobile — wyśrodkowany względem kadru (viewBox 480–1440, środek 960) */
    .hero-scene--mobile .hero-neon__stage {
        z-index: 3;
    }

    .hero-scene--mobile .hero-neon__sign {
        /* transform-origin liczony od "fill-box" (własny bbox znaku), a nie
           od view-box — bo view-box jest zmieniany dynamicznie w JS i część
           przeglądarek nie przelicza wtedy poprawnie referencyjnego boxa,
           co przesuwało neon w prawo. Origin "center" jest niezależny od
           viewBoxa i zawsze centruje skalowanie na środku samego znaku. */
        transform: translate(960px, 188px) scale(1.15);
        transform-box: fill-box;
        transform-origin: center;
    }

    /* sznurek po prawej stronie neonu — bez ruszania kadru SVG */
    .hero-scene--mobile .hero-cord {
        transform-origin: 1164px 0;
        transform: translate(1164px, 0);
    }

    .hero-scene--mobile.hero-scene--powered .hero-cord {
        animation: cordRetractMobile 0.85s cubic-bezier(0.42, 0, 0.58, 1) 0.35s forwards;
    }

    .hero-scene--mobile .hero-jumper-wrap {
        /* y=588: stopy (y+21×2.65) wyrównane z chodnikiem canvas (groundY 80% × viewBox trim 100) */
        transform: translate(1128px, 588px) scale(2.65);
    }

    .hero-scene--mobile.hero-scene--powered .hero-neon__tubes-on {
        opacity: 1;
        animation: neonTubeBoot 0.85s ease forwards;
    }

    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-text--off {
        opacity: 0.03;
    }

    .hero-scene--mobile.hero-scene--powered .hero-neon__board-glow {
        opacity: 1;
    }

    .hero-scene--mobile .hero-neon__tube-glow {
        stroke-width: 6;
        opacity: 1;
    }

    .hero-scene--mobile .hero-neon__tube-mid {
        stroke-width: 4.5;
    }

    .hero-scene--mobile .hero-neon__tube-core {
        stroke-width: 2.8;
    }

    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-group--cyan .hero-neon__tube-glow,
    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-group--cyan .hero-neon__tube-mid {
        filter: drop-shadow(0 0 6px rgba(78, 205, 196, 1)) drop-shadow(0 0 18px rgba(78, 205, 196, 0.85));
    }

    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-group--amber .hero-neon__tube-glow,
    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-group--amber .hero-neon__tube-mid {
        filter: drop-shadow(0 0 6px rgba(245, 166, 35, 1)) drop-shadow(0 0 18px rgba(245, 166, 35, 0.8));
    }

    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-group--cyan,
    .hero-scene--mobile.hero-scene--powered .hero-neon__tube-group--amber {
        animation: none;
    }

    .hero-scene-overlay--rain {
        background: linear-gradient(
            180deg,
            rgba(6, 10, 16, 0.12) 0%,
            rgba(6, 10, 16, 0) 35%,
            rgba(6, 10, 16, 0.15) 100%
        );
        z-index: 2;
    }

    /* tekst tuż pod neonem — miasto widać przez tło */
    .hero-neon__copy {
        position: relative;
        z-index: 4;
        width: 100%;
        max-width: 100%;
        margin: var(--hero-mobile-copy-top) 0 0;
        padding: 0.25rem 1.25rem 1.25rem;
        border: none;
        border-radius: 0;
        background: linear-gradient(
            180deg,
            rgba(6, 10, 16, 0.82) 0%,
            rgba(6, 10, 16, 0.55) 45%,
            rgba(6, 10, 16, 0) 100%
        );
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        animation: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        pointer-events: none;
        transition:
            opacity 0.55s ease,
            transform 0.55s ease,
            visibility 0s linear 0.55s;
    }

    .hero--neon-page.hero--powered .hero-neon__copy {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition:
            opacity 0.55s ease 0.2s,
            transform 0.55s ease 0.2s,
            visibility 0s;
    }

    .hero-neon__headline {
        font-size: 1.375rem;
        line-height: 1.1;
        letter-spacing: -0.01em;
        margin-bottom: 0.5rem;
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: #ffffff;
        color: #ffffff;
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
    }

    .hero-neon__lead {
        font-size: 0.8125rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    }

    .hero-neon__eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 0.4rem;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
    }

    .hero-neon__nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 20rem;
        margin: 0 auto;
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        gap: 0.5rem;
        transition: opacity 0.45s ease 0.35s, transform 0.45s ease 0.35s;
    }

    .hero--neon-page.hero--powered .hero-neon__nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero-neon__link {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        min-height: 42px;
        padding: 0.65rem 0.75rem;
        font-size: 0.875rem;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: var(--header-height) 0 0;
        z-index: 999;
        background: rgba(4, 7, 12, 0.72);
        backdrop-filter: blur(2px);
    }

    .nav-backdrop[hidden] {
        display: none;
    }

    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .main-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .package-card--rich .package-name {
        font-size: 1.35rem;
    }

    .package-card__price-value {
        font-size: 1.875rem;
    }

    .package-card__intro {
        padding: 1.125rem 1rem 1rem;
    }

    .package-spec-list,
    .package-spec-list--continued {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .package-spec-list__intro {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .package-spec-list li {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .package-card--rich .package-card__actions {
        padding: 0 1rem 1rem;
    }

    .packages-common-note {
        padding: 0.875rem 1rem;
        text-align: left;
    }

    .packages-common-note__text,
    .packages-common-note__link a {
        font-size: 0.8125rem;
    }

    .packages-compare-wrap {
        border-radius: var(--radius-md);
    }

    .packages-compare-wrap::before {
        content: 'Przesuń w bok, aby porównać pakiety';
        display: block;
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-align: center;
        border-bottom: 1px solid var(--border);
        background: rgba(12, 18, 28, 0.92);
    }

    .packages-compare {
        min-width: 620px;
        font-size: 0.875rem;
    }

    .packages-compare thead th {
        padding: 1rem 0.75rem 0.875rem;
    }

    .packages-compare__plan-name {
        font-size: 1.0625rem;
    }

    .packages-compare__plan-price {
        font-size: 1.5rem;
    }

    .packages-compare tbody th,
    .packages-compare tbody td {
        padding: 0.75rem;
    }

    .packages-compare__feature {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .packages-compare__value {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .offer-note {
        font-size: 0.875rem;
    }

    .btn {
        min-height: 44px;
    }

    .hero--immersive .hero-inner {
        padding: 6rem 1rem 3rem;
        max-width: 100%;
    }

    .hero--immersive .hero-title {
        font-size: clamp(1.625rem, 6.5vw, 2rem);
    }

    .hero-inner {
        gap: 2rem;
    }

    .hero-visual {
        order: -1;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.625rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .features-grid,
    .packages-grid,
    .portfolio-grid,
    .testimonials-grid,
    .values-grid,
    .partner-steps {
        grid-template-columns: 1fr;
    }

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

    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 1.625rem;
        margin: 0;
        padding: 0.375rem 0.25rem 0.375rem 0;
        overflow: visible;
        border: none;
        background: none;
        box-shadow: none;
        counter-reset: feature;
    }

    .features-grid::before {
        display: none;
    }

    /* kafelki mobile — editorial: duży numer w tle, tekst z lewej */
    .features-grid--reveal .feature-card--reveal {
        position: relative;
        min-height: 0;
        padding: 0.25rem 0.75rem 0.25rem 0;
        display: block;
        border: none;
        border-radius: 0;
        background: none;
        box-shadow: none;
        overflow: visible;
    }

    .features-grid--reveal .feature-card--reveal::before {
        counter-increment: feature;
        content: '0' counter(feature);
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-54%);
        display: block;
        padding-right: 0.0625em;
        font-family: var(--font-heading);
        font-size: clamp(3.5rem, 16vw, 4.75rem);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.03em;
        color: rgba(78, 205, 196, 0.08);
        pointer-events: none;
        user-select: none;
    }

    .features-grid--reveal .feature-card--reveal:last-child {
        padding-bottom: 0.25rem;
    }

    .feature-card--reveal .feature-card__emoji {
        display: none;
    }

    .feature-card--reveal .feature-card__body {
        position: relative;
        z-index: 1;
        display: block;
        max-width: 88%;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .feature-card--reveal .feature-card__body h3 {
        font-size: 1.0625rem;
        line-height: 1.25;
        margin: 0 0 0.4375rem;
        letter-spacing: -0.02em;
    }

    .feature-card--reveal .feature-card__body h3::before {
        display: none;
    }

    .feature-card--reveal .feature-card__body p {
        font-size: 0.8125rem;
        line-height: 1.6;
        margin: 0;
        padding-left: 0;
        color: var(--text-secondary);
    }

    .feature-card:hover {
        transform: none;
        background: none;
        border-color: transparent;
    }

    .process-steps {
        gap: 1.625rem;
    }

    .testimonials-grid {
        display: flex;
        gap: 0.75rem;
        margin: 0 -1rem;
        padding: 0.25rem 1rem 0.625rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        padding: 1.25rem 1.125rem 1.125rem;
    }

    .testimonial-quote {
        font-size: 0.8125rem;
        line-height: 1.6;
        margin-bottom: 0.875rem;
        padding-left: 0.875rem;
    }

    .testimonial-author {
        font-size: 0.875rem;
    }

    .testimonial-company {
        font-size: 0.75rem;
    }

    .cta-section {
        padding: 2.5rem 0 2rem;
    }

    .cta-section h2 {
        font-size: clamp(1.375rem, 6.5vw, 1.625rem);
    }

    .cta-section p {
        font-size: 0.9375rem;
        margin-bottom: 1.375rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero:not(.hero--neon-page) { padding: 2.5rem 0 2rem; }

    .section { padding: 3rem 0; }

    .page-hero { padding: 3rem 0 2rem; }

    .form-card,
    .contact-info-card {
        padding: 1.25rem;
    }

    .package-price {
        font-size: 2rem;
    }

    .commission-highlight strong {
        font-size: 2rem;
    }

    .feature-card--reveal {
        min-height: 0;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 1.875rem);
    }

    .page-hero h1 {
        font-size: clamp(1.625rem, 7vw, 2rem);
    }
}

@media (max-width: 480px) {
    .hero--immersive.hero--neon-page {
        --hero-mobile-peek: 1.65rem;
        --hero-mobile-copy-top: clamp(13.25rem, 34vw, 14.5rem);
    }

    .logo {
        font-size: 1.5625rem;
    }

    .hero-scene--mobile .hero-neon__sign {
        transform: translate(960px, 188px) scale(1.08);
    }

    .hero-neon__headline {
        font-size: 1.25rem;
    }

    .package-card__ribbon {
        font-size: 0.625rem;
        letter-spacing: 0.08em;
    }
}

@media (hover: none) {
    .package-card--rich:hover,
    .package-card:hover,
    .feature-card:hover,
    .portfolio-item:hover {
        transform: none;
    }

    .hero-neon__link:hover {
        transform: none;
    }
}
