body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-bg {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}
.glass {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}
.neon-text {
  text-shadow: 0 0 20px rgba(103, 232, 249, 0.4);
}
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgb(103 232 249 / 0.15);
}
/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #1e1e2f;
  border-radius: 5px;
  border: 2px solid #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
  background: #22d3ee;
}
/* Zwiększ jasność szarych tekstów */
.text-zinc-400 {
  color: #a1a1aa !important;
}
.text-zinc-500 {
  color: #a1a1aa !important;
}
.contact-anchor { scroll-margin-top: 4.25rem; }
.footer-wordmark { display:inline-block; background:none !important; background-image:none !important; color:#f8fafc; text-decoration:none; -webkit-text-fill-color:currentColor; }
#realizacje, #kalkulator, #uslugi, #dlaczego-my, #pozycjonowanie, #kompendium-bydgoszcz { scroll-margin-top: 4.25rem; }
@media (max-width:639px) {
  .contact-anchor, #realizacje, #kalkulator, #uslugi, #dlaczego-my, #pozycjonowanie, #kompendium-bydgoszcz { scroll-margin-top: 3.5rem; }
}
.project-card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.project-card.is-centered { border-color: rgba(34,211,238,.28); box-shadow: 0 20px 48px -28px rgba(34,211,238,.22); }
.project-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); box-shadow: 0 24px 60px -32px rgba(34,211,238,.28); }
.project-carousel { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.project-carousel::-webkit-scrollbar { display: none; }
.project-slide { flex: 0 0 100%; }
.project-carousel-controls { display:inline-flex; align-items:center; gap:12px; padding:6px 14px; border-radius:999px; border:1px solid rgba(34,211,238,.2); background:rgba(15,23,42,.65); backdrop-filter:blur(12px); box-shadow:0 12px 32px -12px rgba(34,211,238,.22); transition:gap .3s cubic-bezier(.34,1.56,.64,1), border-color .3s ease, box-shadow .3s ease; }
.project-carousel-controls:hover { gap:22px; border-color:rgba(34,211,238,.45); box-shadow:0 14px 36px -10px rgba(34,211,238,.36); }
.project-carousel-divider { display:inline-flex; align-items:center; justify-content:center; width:24px; height:8px; position:relative; }
.project-carousel-dot { width:7px; height:7px; border-radius:999px; background:#22d3ee; box-shadow:0 0 12px rgba(34,211,238,.9); animation:project-dot-pulse 2s ease-in-out infinite; }
.project-carousel-control { display:inline-flex; width:46px; height:40px; align-items:center; justify-content:center; border-radius:999px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); color:#22d3ee; cursor:pointer; transition:color .25s ease,transform .25s cubic-bezier(.34,1.56,.64,1),background-color .25s ease,border-color .25s ease,filter .25s ease; }
.project-carousel-control svg { width:26px; height:19px; fill:none; stroke:currentColor; stroke-width:1.85; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s ease; }
.project-carousel-control--prev svg { animation:project-arrow-spread-left 2.2s ease-in-out infinite; }
.project-carousel-control--next svg { animation:project-arrow-spread-right 2.2s ease-in-out infinite; }
.project-carousel-control:hover { color:#fff; background:rgba(34,211,238,.18); border-color:rgba(34,211,238,.5); filter:drop-shadow(0 0 8px rgba(34,211,238,.48)); }
.project-carousel-control--prev:hover { transform:translateX(-6px) scale(1.06); }
.project-carousel-control--next:hover { transform:translateX(6px) scale(1.06); }
.project-carousel-control--prev:active { transform:translateX(-10px) scale(.95); }
.project-carousel-control--next:active { transform:translateX(10px) scale(.95); }
@keyframes project-arrow-spread-left { 0%,100% { transform:translateX(0); } 50% { transform:translateX(-5px); } }
@keyframes project-arrow-spread-right { 0%,100% { transform:translateX(0); } 50% { transform:translateX(5px); } }
@keyframes project-dot-pulse { 0%,100% { transform:scale(1); opacity:.75; } 50% { transform:scale(1.35); opacity:1; } }
.project-swipe-cue.is-visible .project-swipe-cue-icon { animation:project-cue-shift 1.2s ease-in-out infinite; }
@keyframes project-cue-shift { 0%,100% { transform:translateX(0); } 25% { transform:translateX(5px); } 50% { transform:translateX(0); } 75% { transform:translateX(-3px); } }
html[data-theme="light"] .project-carousel-controls { background:rgba(255,255,255,.88); border-color:rgba(14,116,144,.22); box-shadow:0 12px 30px -16px rgba(14,116,144,.25); }
html[data-theme="light"] .project-carousel-control { color:#0e7490; background:rgba(14,116,144,.06); border-color:rgba(14,116,144,.15); }
html[data-theme="light"] .project-carousel-control:hover { color:#fff; background:#0891b2; border-color:#0891b2; }
html[data-theme="light"] .project-card.is-centered { border-color:rgba(8,145,178,.32); box-shadow:0 20px 48px -28px rgba(8,145,178,.22); }
.project-card--crypto { --project-accent:#9a8bff; }
.project-preview--crypto { --project-accent:#9a8bff; min-height:250px; padding:1.1rem; overflow:hidden; position:relative; background:radial-gradient(ellipse at 75% 14%,rgba(139,124,255,.22),transparent 50%),linear-gradient(145deg,#101327,#0b1020 65%,#11172a); }
.crypto-preview-shot { position:absolute; top:12%; left:12%; width:78%; height:78%; object-fit:cover; border:1px solid rgba(196,181,253,.38); border-radius:14px; box-shadow:0 25px 45px rgba(0,0,0,.44),0 0 28px rgba(139,124,255,.16); transform:perspective(900px) rotateY(-13deg) rotateX(2deg) rotateZ(-3deg); animation:crypto-float 9s ease-in-out infinite; }
.crypto-preview-badge { position:absolute; z-index:2; top:13px; right:13px; display:inline-flex; align-items:center; gap:7px; padding:7px 9px; border:1px solid rgba(196,181,253,.26); border-radius:999px; background:rgba(13,16,34,.88); color:#ddd6fe; font-size:8px; font-weight:700; letter-spacing:.12em; box-shadow:0 8px 24px rgba(0,0,0,.22); }
.crypto-preview-badge::before { content:""; width:6px; height:6px; border-radius:50%; background:#a78bfa; box-shadow:0 0 10px rgba(167,139,250,.85); }
.crypto-feature { position:relative; isolation:isolate; overflow:hidden; background:radial-gradient(ellipse at 80% 15%,rgba(139,124,255,.13),transparent 42%),linear-gradient(120deg,rgba(15,23,42,.86),rgba(18,23,43,.72)); animation:crypto-glow 9s ease-in-out infinite; }
.crypto-feature::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(112deg,transparent 15%,rgba(167,139,250,.045) 48%,transparent 78%); background-size:220% 100%; animation:crypto-sheen 12s ease-in-out infinite; pointer-events:none; }
.crypto-feature::after { content:""; position:absolute; z-index:1; top:0; left:-36%; width:34%; height:1px; background:linear-gradient(90deg,transparent,rgba(196,181,253,.9),transparent); filter:drop-shadow(0 0 5px rgba(167,139,250,.75)); animation:crypto-edge 8s ease-in-out infinite; pointer-events:none; }
.crypto-feature-visual { position:relative; min-height:320px; display:flex; align-items:center; justify-content:center; perspective:1300px; }
.crypto-feature-screen { position:absolute; display:block; width:min(100%,420px); aspect-ratio:1000 / 853; overflow:hidden; border:1px solid rgba(196,181,253,.36); border-radius:18px; background:#0c1020; box-shadow:0 28px 70px rgba(0,0,0,.42),0 0 48px rgba(139,124,255,.12); transform-style:preserve-3d; }
.crypto-feature-screen img { display:block; width:100%; height:100%; object-fit:contain; border-radius:inherit; }
.crypto-feature-screen--back { left:0; bottom:0; width:min(72%,310px); transform:perspective(1000px) rotateY(17deg) rotateX(1deg) rotateZ(4deg); opacity:.82; box-shadow:0 20px 50px rgba(0,0,0,.38),0 0 30px rgba(139,124,255,.12); }
.crypto-feature-screen--front { right:0; top:0; transform:perspective(1100px) rotateY(-12deg) rotateX(2deg) rotateZ(-3deg); animation:crypto-float 9s ease-in-out infinite; }
.crypto-feature-status { display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid rgba(167,139,250,.28); border-radius:999px; background:rgba(139,92,246,.09); color:#c4b5fd; font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.crypto-feature-status::before { content:""; width:7px; height:7px; border-radius:50%; background:#a78bfa; box-shadow:0 0 12px rgba(167,139,250,.85); }
.crypto-chip { border:1px solid rgba(196,181,253,.18); background:rgba(139,92,246,.07); color:#ddd6fe; }
@keyframes crypto-float { 0%,100% { translate:0 0; } 50% { translate:0 -5px; } }
@keyframes crypto-glow { 0%,100% { box-shadow:0 18px 58px -48px rgba(139,92,246,.2); } 50% { box-shadow:0 22px 68px -42px rgba(139,92,246,.34); } }
@keyframes crypto-sheen { 0%,100% { background-position:120% 0; opacity:.4; } 50% { background-position:-20% 0; opacity:.85; } }
@keyframes crypto-edge { 0%,12% { left:-36%; opacity:0; } 28%,70% { opacity:.8; } 100% { left:102%; opacity:0; } }
html[data-theme="light"] .glass.crypto-feature { background:radial-gradient(ellipse at 80% 15%,rgba(139,124,255,.12),transparent 42%),linear-gradient(120deg,rgba(255,255,255,.94),rgba(243,246,252,.94)); }
html[data-theme="light"] .crypto-preview-badge { background:rgba(20,24,45,.9); }
html[data-theme="light"] .crypto-chip { border-color:rgba(124,99,230,.2); background:rgba(139,92,246,.07); color:#5b4aa8; }
@media (prefers-reduced-motion:reduce) { .crypto-preview-shot, .crypto-feature-screen--front, .crypto-feature, .crypto-feature::before, .crypto-feature::after, .project-swipe-cue-icon, .project-carousel-control--prev svg, .project-carousel-control--next svg, .project-carousel-dot { animation:none !important; } }
.project-preview { --project-accent:#22d3ee; min-height:250px; padding:1.1rem; overflow:hidden; position:relative; background:radial-gradient(ellipse at 85% 10%, color-mix(in srgb,var(--project-accent) 20%,transparent),transparent 48%),#0d101a; }
.project-preview::after { content:""; position:absolute; inset:auto -12% -55% 30%; height:170px; border-radius:50%; background:var(--project-accent); filter:blur(90px); opacity:.13; pointer-events:none; }
.project-preview--aifleet { --project-accent:#22d3ee; }
.project-preview--jakapozycja { --project-accent:#38bdf8; }
.project-preview--steel { --project-accent:#f59e0b; }
.project-preview--lapkurs { --project-accent:#38bdf8; }
.project-preview--radar { --project-accent:#a78bfa; }
.project-preview--ruch { --project-accent:#34d399; }
.project-window { position:relative; z-index:1; min-height:216px; border:1px solid rgba(255,255,255,.12); border-radius:15px; background:rgba(9,12,20,.9); box-shadow:0 22px 50px rgba(0,0,0,.32); overflow:hidden; }
.project-window-bar { min-height:37px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 12px; border-bottom:1px solid rgba(255,255,255,.08); color:#f4f4f5; font-size:10px; font-weight:700; letter-spacing:.04em; }
.project-window-bar span:first-child { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.project-window-bar i { color:var(--project-accent); }
.project-window-label { color:#a1a1aa; font-size:8px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.project-shot-tabs { display:inline-flex; align-items:center; gap:4px; flex-wrap:wrap; justify-content:flex-end; }
.project-shot-tab { padding:3px 7px; border-radius:999px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); color:#a1a1aa; font-size:8px; font-weight:600; letter-spacing:.04em; transition:all .2s ease; cursor:pointer; }
.project-shot-tab:hover { color:#f4f4f5; border-color:rgba(255,255,255,.22); }
.project-shot-tab.is-active { background:color-mix(in srgb,var(--project-accent) 22%,rgba(15,23,42,.9)); border-color:color-mix(in srgb,var(--project-accent) 55%,transparent); color:#fff; }
.project-shot-frame { position:relative; display:block; width:100%; height:192px; padding:0; border:0; background:#090c14; cursor:zoom-in; overflow:hidden; text-align:left; }
.project-shot-img { display:block; width:100%; height:100%; object-fit:cover; object-position:top center; transition:transform .35s ease; }
.project-shot-frame:hover .project-shot-img { transform:scale(1.03); }
.project-shot-zoom { position:absolute; right:10px; bottom:9px; display:inline-flex; align-items:center; gap:5px; padding:4px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background:rgba(9,12,20,.82); backdrop-filter:blur(6px); color:#f4f4f5; font-size:8px; font-weight:600; letter-spacing:.05em; opacity:.88; transition:opacity .2s ease, border-color .2s ease; }
.project-shot-frame:hover .project-shot-zoom { opacity:1; border-color:var(--project-accent); }
.project-screen { padding:13px; }
.project-screen-kicker { color:#a1a1aa; font-size:8px; letter-spacing:.12em; text-transform:uppercase; }
.project-screen-title { color:#f4f4f5; font-size:13px; font-weight:700; margin-top:3px; }
.project-screen-note { color:#a1a1aa; font-size:9px; margin-top:4px; }
.project-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:18px; }
.project-flow-step { min-height:61px; padding:9px 8px; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:rgba(255,255,255,.035); color:#e4e4e7; font-size:9px; font-weight:600; }
.project-flow-step i { display:block; color:var(--project-accent); font-size:12px; margin-bottom:7px; }
.project-flow-arrow { color:#71717a; font-size:8px; margin-left:4px; }
.project-map { height:145px; margin-top:11px; position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:10px; background-color:#101b2a; background-image:linear-gradient(28deg,transparent 46%,rgba(148,163,184,.14) 47%,rgba(148,163,184,.14) 49%,transparent 50%),linear-gradient(145deg,transparent 38%,rgba(148,163,184,.12) 39%,rgba(148,163,184,.12) 41%,transparent 42%),linear-gradient(90deg,transparent 54%,rgba(148,163,184,.1) 55%,rgba(148,163,184,.1) 56%,transparent 57%); }
.project-map-route { position:absolute; width:66%; height:58%; left:13%; top:18%; border:2px solid var(--project-accent); border-color:var(--project-accent) transparent transparent var(--project-accent); border-radius:55% 0 0 0; transform:rotate(-12deg); filter:drop-shadow(0 0 5px var(--project-accent)); }
.project-map-pin { position:absolute; top:40%; right:25%; width:13px; height:13px; border:3px solid #dbeafe; border-radius:50%; background:var(--project-accent); box-shadow:0 0 0 7px color-mix(in srgb,var(--project-accent) 22%,transparent); }
.project-map-tag { position:absolute; left:10px; bottom:9px; padding:5px 7px; border:1px solid rgba(255,255,255,.1); border-radius:6px; background:rgba(9,12,20,.8); color:#f4f4f5; font-size:8px; font-weight:700; letter-spacing:.08em; }
.project-screen-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
.project-screen-tile { min-height:52px; padding:8px 9px; border:1px solid rgba(255,255,255,.09); border-radius:9px; background:rgba(255,255,255,.035); }
.project-screen-tile span { display:block; color:#a1a1aa; font-size:8px; }
.project-screen-tile strong { display:block; color:#f4f4f5; font-size:10px; margin-top:5px; }
.project-domain-line { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; padding:8px 9px; border:1px solid rgba(255,255,255,.08); border-radius:8px; color:#d4d4d8; font-size:8px; }
.project-domain-line i { color:var(--project-accent); font-size:7px; }
.project-sale-card { display:grid; grid-template-columns:1fr 116px; gap:12px; align-items:center; margin-top:13px; }
.project-domain-preview { min-height:110px; display:flex; flex-direction:column; justify-content:center; padding:12px; border:1px solid rgba(255,255,255,.1); border-radius:10px; background:linear-gradient(145deg,rgba(52,211,153,.14),rgba(255,255,255,.025)); }
.project-domain-preview small { color:#a1a1aa; font-size:8px; letter-spacing:.1em; text-transform:uppercase; }
.project-domain-preview strong { color:#f4f4f5; font-size:13px; margin-top:6px; }
.project-domain-preview span { color:#d4d4d8; font-size:8px; margin-top:6px; }
.project-mini-bars { height:72px; display:flex; align-items:flex-end; justify-content:space-around; gap:5px; padding:8px; border:1px solid rgba(255,255,255,.08); border-radius:9px; background:rgba(255,255,255,.035); }
.project-mini-bars i { display:block; width:12%; border-radius:4px 4px 1px 1px; background:linear-gradient(to top,color-mix(in srgb,var(--project-accent) 45%,#111827),var(--project-accent)); opacity:.8; }
@media (min-width:640px) { .project-slide { flex-basis:calc(50% - 10px); } }
@media (min-width:1280px) { .project-slide { flex-basis:calc((100% - 2.5rem) / 3); } }
@media (max-width:639px) { .project-preview { min-height:220px; padding:.8rem; } .project-window { min-height:205px; } .project-shot-frame { height:172px; } .project-map { height:125px; } .project-sale-card { grid-template-columns:1fr 96px; } .crypto-feature-visual { min-height:245px; } .crypto-feature-screen--back { width:68%; } }

/* Układ ma pozostać czytelny także wtedy, gdy telefon wymusza widok desktopowy. */
@media (max-width:1023px) {
  body .hero-bg { min-height:auto !important; align-items:flex-start !important; }
  .hero-bg > .max-w-7xl { width:100%; gap:clamp(1.5rem,4vw,2.5rem); padding-inline:clamp(1rem,4vw,1.5rem); }
  .contact-section > .max-w-6xl { width:100%; max-width:72rem; padding-inline:clamp(1rem,4vw,1.5rem); }
  .contact-section > .max-w-6xl > * { min-width:0; }
  #contact-form { width:100%; min-width:0; }
  #contact-form input, #contact-form textarea { width:100%; min-width:0; max-width:100%; }
  footer > .max-w-7xl { width:100%; padding-inline:clamp(1rem,4vw,1.5rem); }
  footer .grid > * { min-width:0; }
}

/* Jasny motyw domyślny; ciemny zachowuje dotychczasową paletę strony. */
html[data-theme="light"] { color-scheme:light; }
html[data-theme="dark"] { color-scheme:dark; }
html[data-theme="light"] body { background:#f8fafc !important; color:#172033 !important; }
html[data-theme="light"] .bg-zinc-950 { background-color:#f8fafc !important; }
html[data-theme="light"] .bg-black { background-color:#eef2f7 !important; }
html[data-theme="light"] .bg-zinc-900,
html[data-theme="light"] [class*="bg-zinc-900/"] { background-color:#f1f5f9 !important; }
html[data-theme="light"] .glass { background:rgba(255,255,255,.82); border-color:rgba(15,23,42,.09); box-shadow:0 18px 48px -36px rgba(15,23,42,.28); }
html[data-theme="light"] .hero-bg { background:linear-gradient(135deg,#f8fafc 0%,#eef6ff 52%,#f2efff 100%); }
html[data-theme="light"] .neon-text { text-shadow:none; }
html[data-theme="light"] .hero-highlight { background-image:linear-gradient(95deg,#0284c7 0%,#2563eb 52%,#7c3aed 100%) !important; }
html[data-theme="light"] .hero-btn-primary { color:#ffffff !important; box-shadow:0 14px 32px -12px rgba(2,132,199,.45); }
html[data-theme="light"] .hero-btn-secondary { background:rgba(255,255,255,.78) !important; border-color:rgba(15,23,42,.15) !important; color:#0f172a !important; box-shadow:0 10px 24px -18px rgba(15,23,42,.22); }
html[data-theme="light"] .hero-btn-secondary:hover { background:#ffffff !important; border-color:rgba(8,145,178,.4) !important; }
html[data-theme="light"] .hero-stat-card { background:rgba(255,255,255,.78) !important; border-color:rgba(15,23,42,.09) !important; }
html[data-theme="light"] .text-white { color:#172033 !important; }
html[data-theme="light"] .text-zinc-300 { color:#475569 !important; }
html[data-theme="light"] .text-zinc-400,
html[data-theme="light"] .text-zinc-500 { color:#64748b !important; }
html[data-theme="light"] .text-cyan-400,
html[data-theme="light"] .text-cyan-300 { color:#0e7490 !important; }
html[data-theme="light"] .text-sky-300 { color:#0369a1 !important; }
html[data-theme="light"] .text-amber-300 { color:#b45309 !important; }
html[data-theme="light"] .text-violet-300 { color:#6d28d9 !important; }
html[data-theme="light"] .text-violet-200 { color:#6d28d9 !important; }
html[data-theme="light"] .text-emerald-300 { color:#047857 !important; }
html[data-theme="light"] .text-emerald-400 { color:#047857 !important; }
html[data-theme="light"] .crypto-feature-status { color:#5b4acb; border-color:rgba(91,74,203,.24); background:rgba(139,92,246,.06); }
html[data-theme="light"] .crypto-feature a { color:#5b4acb !important; }
html[data-theme="light"] .crypto-feature a:hover { color:#4338ca !important; }
html[data-theme="light"] .bg-gradient-to-br.text-white { color:#fff !important; }
html[data-theme="light"] [class~="hover:text-white"]:hover { color:#fff !important; }
html[data-theme="light"] [class*="border-white"] { border-color:rgba(15,23,42,.11) !important; }
html[data-theme="light"] [class*="bg-white/"] { background-color:rgba(15,23,42,.045) !important; }
html[data-theme="light"] .brand-wordmark.bg-clip-text { background-image:linear-gradient(to right,#0f172a,#475569); }
html[data-theme="light"] .footer-wordmark { color:#172033; }
html[data-theme="light"] .project-preview .text-white { color:#f4f4f5 !important; }
html[data-theme="light"] .project-preview .text-zinc-300 { color:#d4d4d8 !important; }
html[data-theme="light"] .project-preview .text-zinc-400,
html[data-theme="light"] .project-preview .text-zinc-500 { color:#a1a1aa !important; }
html[data-theme="light"] .project-card:hover { border-color:rgba(15,23,42,.2); box-shadow:0 24px 60px -32px rgba(34,211,238,.28); }
html[data-theme="light"] .calc-result { background:linear-gradient(145deg,#ecfeff 0%,#f8fafc 54%,#eff6ff 100%) !important; border-color:rgba(8,145,178,.2); box-shadow:0 20px 48px -38px rgba(8,145,178,.42); }
html[data-theme="light"] ::-webkit-scrollbar-track { background:#e2e8f0; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background:#94a3b8; border-color:#e2e8f0; }

.seo-table-wrap { overflow-x:auto; border:1px solid rgba(255,255,255,.09); border-radius:1.25rem; background:rgba(15,23,42,.45); }
.seo-table { width:100%; border-collapse:collapse; font-size:.875rem; text-align:left; }
.seo-table th, .seo-table td { padding:.9rem 1.05rem; border-bottom:1px solid rgba(255,255,255,.07); vertical-align:top; line-height:1.55; }
.seo-table th { background:rgba(34,211,238,.08); color:#f8fafc; font-weight:700; font-size:.8125rem; letter-spacing:.02em; }
.seo-table td { color:#cbd5e1; }
.seo-table td strong { color:#f8fafc; }
.seo-table tr:last-child td { border-bottom:0; }

html[data-theme="light"] .seo-table-wrap { border-color:rgba(15,23,42,.1); background:rgba(255,255,255,.92); }
html[data-theme="light"] .seo-table th, html[data-theme="light"] .seo-table td { border-bottom-color:rgba(15,23,42,.08); }
html[data-theme="light"] .seo-table th { background:rgba(8,145,178,.08); color:#0f172a; }
html[data-theme="light"] .seo-table td { color:#475569; }
html[data-theme="light"] .seo-table td strong { color:#0f172a; }

/* ==========================================================================
   Sekcja Hero — wspólne style komponentów + responsywna wersja mobilna (< 768px)
   Układ desktopowy (>= 768px, max-w-7xl / 80rem) znajduje się w assets/hero-desktop.css
   ========================================================================== */
html, body { overflow-x:clip; max-width:100%; }
section, nav, footer { overflow-x:clip; max-width:100%; }

#hero-mini-slider .hero-mini-viewport { overflow:hidden !important; width:100% !important; border-radius:1.15rem; }
#hero-mini-slider .hero-mini-track { display:flex !important; flex-wrap:nowrap !important; width:100% !important; transition:transform .42s cubic-bezier(.22,1,.36,1); will-change:transform; }
#hero-mini-slider .hero-mini-page { flex:0 0 100% !important; width:100% !important; min-width:100% !important; display:flex !important; flex-direction:column !important; gap:.55rem !important; box-sizing:border-box; }
#hero-mini-slider .hero-mini-row { display:flex !important; flex-direction:row !important; align-items:center !important; gap:.5rem !important; width:100%; box-sizing:border-box; border-radius:1rem; border:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.035); padding:.55rem .65rem; transition:border-color .22s ease, background-color .22s ease; }
#hero-mini-slider .hero-mini-row:hover { border-color:rgba(34,211,238,.32); background:rgba(255,255,255,.07); }
#hero-mini-slider .hero-mini-row--featured { border-color:rgba(56,189,248,.24); background:rgba(56,189,248,.07); }
#hero-mini-slider .hero-mini-row--crypto { border-color:rgba(167,139,250,.18); background:rgba(139,92,246,.05); }
#hero-mini-slider .hero-mini-row--action { width:100%; text-align:left; cursor:pointer; border-style:dashed; border-color:rgba(34,211,238,.28); background:rgba(34,211,238,.06); }
#hero-mini-slider .hero-mini-row--action:hover { border-color:rgba(34,211,238,.55); background:rgba(34,211,238,.12); }
#hero-mini-slider .hero-mini-row-link { display:flex !important; flex-direction:row !important; align-items:center !important; gap:.75rem !important; min-width:0 !important; flex:1 1 0% !important; overflow:hidden; text-decoration:none; color:inherit; }
#hero-mini-slider .hero-mini-eye { flex-shrink:0 !important; width:2.05rem; height:2.05rem; display:inline-flex !important; align-items:center !important; justify-content:center !important; border-radius:.65rem; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05); color:#94a3b8; font-size:.75rem; cursor:pointer; transition:color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
#hero-mini-slider .hero-mini-eye:hover { color:#22d3ee; background:rgba(34,211,238,.15); border-color:rgba(34,211,238,.45); transform:scale(1.06); }
#hero-mini-slider .hero-mini-ctrl { width:1.95rem; height:1.95rem; display:inline-flex !important; align-items:center !important; justify-content:center !important; border-radius:999px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.05); color:#cbd5e1; font-size:.7rem; cursor:pointer; transition:all .2s ease; }
#hero-mini-slider .hero-mini-ctrl:hover { color:#fff; background:rgba(34,211,238,.22); border-color:rgba(34,211,238,.5); }
#hero-mini-slider .hero-mini-dot { width:.48rem; height:.48rem; border-radius:999px; background:rgba(255,255,255,.25); border:0; padding:0; cursor:pointer; transition:width .22s ease, background-color .22s ease; }
#hero-mini-slider .hero-mini-dot.is-active { width:1.3rem; background:#22d3ee; }
.hero-badge-new { display:inline-flex !important; align-items:center !important; flex-shrink:0; padding:.14rem .45rem; border-radius:999px; border:1px solid rgba(56,189,248,.35); background:rgba(56,189,248,.16); color:#7dd3fc; font-size:9px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; line-height:1.2; }

#hero-master-slider .hero-nav-pill { display:inline-flex !important; align-items:center !important; flex-shrink:0; gap:.35rem; padding:.4rem .74rem; border-radius:999px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); color:#cbd5e1; font-size:.75rem; font-weight:600; white-space:nowrap; cursor:pointer; transition:all .2s ease; }
#hero-master-slider .hero-nav-pill:hover { color:#fff; border-color:rgba(34,211,238,.42); background:rgba(34,211,238,.12); }
#hero-master-slider .hero-nav-pill.is-active { color:#090d16; border-color:transparent; background:linear-gradient(135deg,#22d3ee,#3b82f6); box-shadow:0 6px 20px -6px rgba(34,211,238,.55); }
#hero-master-slider .hero-master-arrow { width:2.3rem; height:2.3rem; flex-shrink:0 !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; border-radius:999px; border:1px solid rgba(34,211,238,.25); background:rgba(34,211,238,.08); color:#22d3ee; cursor:pointer; transition:all .22s ease; }
#hero-master-slider .hero-master-arrow:hover { color:#fff; background:rgba(34,211,238,.24); border-color:rgba(34,211,238,.55); transform:scale(1.06); }
#hero-master-slider .hero-slide-status { font-size:.72rem; font-weight:600; color:#94a3b8; white-space:nowrap; }
#hero-master-slider .hero-project-stage--crypto .project-shot-img { object-fit:contain; background:#0c1020; }

/* Responsywna wersja mobilna dopasowana ściśle do małych ekranów (< 768px) — zero przewijania na boki */
@media (max-width: 767px) {
  .hero-btn-primary, .hero-btn-secondary { padding:.78rem .65rem !important; font-size:.8125rem !important; white-space:normal !important; text-align:center; }

  #hero-master-slider { width:100%; max-width:100%; overflow-x:clip; box-sizing:border-box; }
  #hero-master-slider .hero-master-stage { display:block; width:100%; max-width:100%; min-width:0; }
  #hero-master-slider .hero-master-panel { display:none !important; grid-template-columns:minmax(0,1fr) !important; gap:1.15rem !important; width:100% !important; max-width:100% !important; min-width:0 !important; box-sizing:border-box; }
  #hero-master-slider .hero-master-panel.is-active { display:grid !important; animation:hero-mobile-in .28s ease; }
  #hero-master-slider .hero-master-panel > * { min-width:0 !important; max-width:100% !important; }
  #hero-master-slider .hero-master-panel[data-hero-panel^="project-"] {
    padding:.95rem;
    border-radius:1.5rem;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(15,23,42,.72);
    backdrop-filter:blur(16px);
    box-shadow:0 22px 48px -28px rgba(34,211,238,.25);
  }
  html[data-theme="light"] #hero-master-slider .hero-master-panel[data-hero-panel^="project-"] {
    border-color:rgba(15,23,42,.1);
    background:rgba(255,255,255,.88);
    box-shadow:0 20px 44px -28px rgba(15,23,42,.22);
  }
  #hero-master-slider .hero-master-panel[data-hero-panel^="project-"] .hero-project-stage {
    order:-1;
    width:100%;
    max-width:100%;
    min-width:0;
    padding:0;
    border:0;
    border-radius:1.1rem;
    background:transparent;
    box-shadow:none;
  }
  #hero-master-slider .hero-project-stage .project-preview { min-height:0; border-radius:1.1rem; padding:.55rem; }
  #hero-master-slider .hero-project-stage .project-window { min-height:195px; }
  #hero-master-slider .hero-project-stage .project-window-bar { flex-wrap:wrap !important; overflow-x:visible !important; padding:7px 9px; gap:6px; }
  #hero-master-slider .hero-project-stage .project-shot-tabs { flex-wrap:wrap !important; justify-content:flex-start; }
  #hero-master-slider .hero-project-stage .project-shot-frame { height:168px; }
  #hero-master-slider .hero-project-stage .project-map { height:125px; }
  #hero-master-slider .hero-master-panel[data-hero-panel^="project-"] h2 { font-size:1.3rem; line-height:1.22; }
  #hero-master-slider .hero-master-panel[data-hero-panel^="project-"] p { font-size:.83rem; line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  #hero-master-slider .hero-project-pills { display:flex; flex-wrap:wrap !important; overflow-x:visible !important; gap:.35rem; padding-bottom:2px; }
  #hero-master-slider .hero-project-pills > span { flex-shrink:0; font-size:11px; padding:.26rem .62rem; }
  #hero-master-slider .hero-project-actions { display:grid !important; grid-template-columns:1fr 1fr; gap:.48rem; align-items:center; }
  #hero-master-slider .hero-project-actions > a:first-child,
  #hero-master-slider .hero-project-actions > button { width:100%; padding:.68rem .65rem; font-size:.76rem; border-radius:.9rem; text-align:center; justify-content:center; white-space:normal !important; line-height:1.25; }
  #hero-master-slider .hero-project-actions > a:last-child { grid-column:1 / -1; text-align:center; font-size:.75rem; padding:.15rem 0 0; }

  /* Szary kafelek w Hero na mobile: pionowa lista wszystkich 7 projektów bez poziomego slajdera */
  #hero-mini-slider { width:100%; max-width:100%; min-width:0; overflow:hidden; box-sizing:border-box; padding:1.1rem; border-radius:1.75rem; }
  #hero-mini-slider .hero-mini-ctrl,
  #hero-mini-slider .hero-mini-dots-wrap,
  #hero-mini-slider .hero-mini-row--action,
  #hero-master-slider .hero-master-bar { display:none !important; }
  #hero-mini-slider .hero-mini-track { display:flex !important; flex-direction:column !important; gap:.48rem !important; transform:none !important; }
  #hero-mini-slider .hero-mini-page { flex:0 0 auto !important; min-width:0 !important; width:100% !important; }
  #hero-mini-slider .hero-mini-row { padding:.45rem .52rem; border-radius:.9rem; gap:.4rem !important; }
  #hero-mini-slider .hero-mini-row-link { gap:.6rem !important; }
  #hero-mini-slider .hero-mini-eye { width:1.85rem; height:1.85rem; font-size:.7rem; }

  /* Sekcja Portfolio na mobile: pionowa siatka kart zamiast poziomej karuzeli */
  #projects-carousel {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:1.15rem !important;
    overflow-x:visible !important;
    padding-bottom:0 !important;
  }
  #projects-carousel .project-slide {
    flex:none !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  #projects-carousel .project-slide[data-clone="true"] { display:none !important; }
  .project-carousel-controls, #project-swipe-cue { display:none !important; }
  .project-window-bar { flex-wrap:wrap; padding:7px 10px; gap:6px; }
  .project-shot-tabs { flex-wrap:wrap; justify-content:flex-start; }
  .project-sale-card { grid-template-columns:minmax(0,1fr) 82px; gap:8px; }

  /* Tabele SEO na mobile: pionowe karty zamiast przewijania na boki */
  .seo-table-wrap { overflow-x:visible !important; border:0 !important; background:transparent !important; border-radius:0; }
  .seo-table, .seo-table tbody, .seo-table tr, .seo-table td { display:block; width:100%; box-sizing:border-box; }
  .seo-table thead { display:none; }
  .seo-table tr {
    margin-bottom:.75rem;
    border:1px solid rgba(255,255,255,.09);
    border-radius:1.1rem;
    background:rgba(15,23,42,.5);
    padding:.75rem .95rem;
  }
  .seo-table tr:last-child { margin-bottom:0; }
  .seo-table td { padding:.28rem 0; border-bottom:0; font-size:.84rem; line-height:1.5; }
  .seo-table td:first-child {
    padding-bottom:.4rem;
    margin-bottom:.25rem;
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:.92rem;
  }
  html[data-theme="light"] .seo-table tr { border-color:rgba(15,23,42,.1); background:rgba(255,255,255,.92); }
  html[data-theme="light"] .seo-table td:first-child { border-bottom-color:rgba(15,23,42,.08); }
}
@keyframes hero-mobile-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) {
  #hero-mini-slider .hero-mini-track, #hero-master-slider .hero-master-panel { transition:none !important; animation:none !important; }
}

/* Jasny motyw — wspólne elementy Hero */
html[data-theme="light"] #hero-mini-slider .hero-mini-row { border-color:rgba(15,23,42,.08); background:rgba(15,23,42,.03); }
html[data-theme="light"] #hero-mini-slider .hero-mini-row:hover { border-color:rgba(8,145,178,.35); background:rgba(14,116,144,.06); }
html[data-theme="light"] #hero-mini-slider .hero-mini-row--featured { border-color:rgba(2,132,199,.25); background:rgba(2,132,199,.06); }
html[data-theme="light"] #hero-mini-slider .hero-mini-row--crypto { border-color:rgba(109,40,217,.18); background:rgba(139,92,246,.05); }
html[data-theme="light"] #hero-mini-slider .hero-mini-row--action { border-color:rgba(8,145,178,.32); background:rgba(8,145,178,.06); }
html[data-theme="light"] #hero-mini-slider .hero-mini-row--action:hover { border-color:rgba(8,145,178,.55); background:rgba(8,145,178,.11); }
html[data-theme="light"] #hero-mini-slider .hero-mini-eye { border-color:rgba(15,23,42,.12); background:rgba(255,255,255,.85); color:#475569; }
html[data-theme="light"] #hero-mini-slider .hero-mini-eye:hover { color:#0e7490; background:rgba(8,145,178,.12); border-color:rgba(8,145,178,.42); }
html[data-theme="light"] #hero-mini-slider .hero-mini-ctrl { border-color:rgba(15,23,42,.12); background:rgba(255,255,255,.85); color:#334155; }
html[data-theme="light"] #hero-mini-slider .hero-mini-ctrl:hover { color:#fff; background:#0891b2; border-color:#0891b2; }
html[data-theme="light"] #hero-mini-slider .hero-mini-dot { background:rgba(15,23,42,.2); }
html[data-theme="light"] #hero-mini-slider .hero-mini-dot.is-active { background:#0891b2; }
html[data-theme="light"] .hero-badge-new { border-color:rgba(2,132,199,.28); background:rgba(2,132,199,.1); color:#0369a1; }
html[data-theme="light"] #hero-master-slider .hero-nav-pill { border-color:rgba(15,23,42,.11); background:rgba(15,23,42,.04); color:#334155; }
html[data-theme="light"] #hero-master-slider .hero-nav-pill:hover { color:#0e7490; border-color:rgba(8,145,178,.42); background:rgba(8,145,178,.09); }
html[data-theme="light"] #hero-master-slider .hero-nav-pill.is-active { color:#ffffff; background:linear-gradient(135deg,#0891b2,#2563eb); border-color:transparent; box-shadow:0 8px 22px -10px rgba(2,132,199,.5); }
html[data-theme="light"] #hero-master-slider .hero-master-arrow { border-color:rgba(14,116,144,.22); background:rgba(14,116,144,.07); color:#0e7490; }
html[data-theme="light"] #hero-master-slider .hero-master-arrow:hover { color:#fff; background:#0891b2; border-color:#0891b2; }
html[data-theme="light"] #hero-master-slider .hero-slide-status { color:#475569; }
