/*
Theme Name: MasterMedia
Theme URI: https://mastermedia.pl
Author: MasterMedia IT
Description: Motyw firmowy MasterMedia IT - technologia i bezpieczeństwo
Version: 1.0
Text Domain: mastermedia
*/


/* ═══ ROOT & RESET ═══ */
:root {
  --bg: #090505;
  --primary: #e60000;
  --secondary: #ff4444;
  --accent: #ff7700;
  --text: #f5eeee;
  --muted: #a87f7f;
  --card-bg: #130808;
  --border: rgba(230,0,0,0.18);
  --nav-h: 80px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Exo 2', sans-serif; overflow-x: clip; }

/* ═══ NAVBAR ═══ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 72px;
  background: rgba(9,5,5,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
  /* Safari: wymusza własną warstwę kompozytora, inaczej animowane transformem
     sekcje (np. karuzela partnerów) potrafią malować się nad fixed navbarem */
  transform: translateZ(0);
}
.topnav.scrolled { background: rgba(9,5,5,0.97); box-shadow: 0 2px 24px rgba(230,0,0,0.08); }
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 28px; width: auto; display: block; }
.nav-logo-light { display: none; }
[data-theme="light"] .nav-logo-dark  { display: none; }
[data-theme="light"] .nav-logo-light { display: block; }
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; margin: 0 0 0 auto; padding: 0; }
.nav-links li a {
  font-family: 'Exo 2', sans-serif; font-size: 0.78rem; font-weight: 600;
  color: var(--muted); text-decoration: none; letter-spacing: 0.13em;
  text-transform: uppercase; transition: color 0.3s;
  position: relative; padding-bottom: 8px;
}
.nav-links li a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--primary); }
.nav-links li a:hover::after,
.nav-links li a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 8px 22px; border: 1px solid var(--primary); border-radius: 3px;
  color: var(--primary) !important; transition: background 0.3s, box-shadow 0.3s !important;
  line-height: 1; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: rgba(230,0,0,0.1) !important; box-shadow: 0 0 18px rgba(230,0,0,0.3) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px 8px 4px 4px; z-index: 10; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--muted); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-lang-item { display: none; list-style: none; }
.nav-lang-opt { font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .18s; }
.nav-lang-opt:hover, .nav-lang-opt.current { color: var(--primary); }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-block; padding: 15px 44px;
  font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--primary); border-radius: 3px;
  box-shadow: 0 0 24px rgba(230,0,0,0.5), 0 0 48px rgba(230,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(230,0,0,0.8), 0 0 72px rgba(230,0,0,0.3); }
.btn-outline {
  display: inline-block; padding: 15px 44px;
  font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: var(--primary); border: 1px solid var(--primary); border-radius: 3px;
  transition: all 0.3s; background: transparent;
}
.btn-outline:hover { background: rgba(230,0,0,0.08); box-shadow: 0 0 20px rgba(230,0,0,0.35); transform: translateY(-2px); }

/* ═══ SHARED COMPONENTS ═══ */
section { padding: 100px 48px; }
.section { padding: 90px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: 'Exo 2', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.42em; text-transform: uppercase;
  margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 1px; flex-shrink: 0; background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.section-title {
  font-family: 'Orbitron', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(230,0,0,0.2);
}
.section-header { margin-bottom: 60px; }
.section-header .section-label { justify-content: center; }
.section-header .section-label::before { display: none; }
.section-header .section-label::after { content: ''; display: block; width: 28px; height: 1px; background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.section-header .section-title { text-align: center; }
.section-sub { font-size: 0.95rem; color: var(--muted); text-align: center; }
.hi-b { color: var(--primary); }
.hi-g { color: var(--secondary); }
.hi-o { color: var(--accent); }

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.from-left { transform: translateX(-40px); opacity: 0; }
.reveal.from-right { transform: translateX(40px); opacity: 0; }
.reveal.visible.from-left, .reveal.visible.from-right { transform: translateX(0); opacity: 1; }

/* ═══ NEURAL GRID / PAGE HERO ═══ */
.neural-bg { position: absolute; inset: 0; z-index: 0; }
.neural-bg svg { width: 100%; height: 100%; opacity: 0.18; }
.g-line { stroke: var(--primary); stroke-width: 0.5; animation: gAppear 2s ease both; }
@keyframes gAppear { from { opacity: 0; } to { opacity: 1; } }
.g-node { fill: var(--primary); animation: gPulse 2.2s ease-in-out infinite alternate; }
@keyframes gPulse { from { opacity: 0.3; } to { opacity: 1; } }

.page-hero {
  position: relative; height: 52vh; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: var(--nav-h);
  background: var(--bg);
}
.scroll-scene-wrapper::before,
.packages-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--secondary) 50%, var(--primary) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(230,0,0,0.6);
  z-index: 10;
}
.page-hero-content { position: relative; z-index: 10; text-align: center; padding: 0 24px; animation: heroIn 1s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.page-hero-label {
  font-family: 'Exo 2', sans-serif; font-size: 10px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 12px;
}
.page-hero-label::before, .page-hero-label::after { content: ''; display: block; width: 24px; height: 1px; background: var(--primary); box-shadow: 0 0 4px var(--primary); }
.page-hero-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.8rem, 4.5vw, 3.6rem); font-weight: 900; line-height: 1.1; margin-bottom: 18px; text-shadow: 0 0 40px rgba(230,0,0,0.35); }
.page-hero-title span { color: var(--primary); }
.page-hero-sub { font-size: clamp(0.85rem, 1.6vw, 1.05rem); font-weight: 300; color: var(--muted); letter-spacing: 0.1em; }

/* ═══ HOME: HERO ═══ */
/* hero-wrapper: overflow:visible - fan items float above the next section */
.hero-wrapper {
  position: relative; overflow: visible; z-index: 1;
}
.hero-wrapper::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--secondary) 50%, var(--primary) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(230,0,0,0.6);
  z-index: 10;
}
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  background: radial-gradient(ellipse at 50% 60%, #1c0808 0%, var(--bg) 70%);
}
/* keep neural grid svg contained to hero bounds */
.neural-bg { overflow: hidden; }

/* ═══ DEVICE FAN ═══ */
.fan-container {
  position: absolute; bottom: 0; left: 0; right: 0; height: 0;
  z-index: 20; pointer-events: none;
}
/* GSAP animates the wrapper's x/y; CSS handles rotation + perspective on the img */
.fan-scroll-wrap {
  position: absolute; bottom: 0; left: 50%;
  transform-origin: bottom center;
  will-change: transform;
}
.fan-scroll-wrap:nth-child(1), .fan-scroll-wrap:nth-child(6) { z-index: 1; }
.fan-scroll-wrap:nth-child(2), .fan-scroll-wrap:nth-child(5) { z-index: 2; }
.fan-scroll-wrap:nth-child(3), .fan-scroll-wrap:nth-child(4) { z-index: 4; }

.fan-item {
  display: block;
  height: clamp(130px, 19vh, 260px); width: auto; max-width: 400px;
  object-fit: contain; transform-origin: bottom center;
  transform:
    perspective(900px)
    translateX(calc(-50% + var(--bx, 0px)))
    translateY(var(--by, 0px))
    rotate(var(--br, 0deg))
    rotateX(-9deg);
  filter:
    drop-shadow(0 38px 16px rgba(0,0,0,0.88))
    drop-shadow(0 6px 5px rgba(0,0,0,0.65))
    drop-shadow(0 0 44px rgba(230,0,0,0.08));
}
@media (max-width: 900px)  { .fan-item { height: clamp(88px, 14vh, 180px); } }
@media (max-width: 480px)  { .fan-container { display: none; } }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 24px; animation: heroFadeIn 1.2s ease both; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-logo-img {
  max-height: 120px; max-width: 360px; width: 90%; height: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 24px rgba(230,0,0,0.45)) drop-shadow(0 0 60px rgba(230,0,0,0.18));
  display: block; animation: heroFadeIn 1.2s 0.1s ease both;
}
.hero-logo-light { display: none; }
[data-theme="light"] .hero-logo-dark  { display: none; }
[data-theme="light"] .hero-logo-light { display: block; }
.hero-tagline {
  font-family: 'Quantico', sans-serif; font-size: clamp(0.9rem, 2vw, 1.3rem); font-weight: 400;
  color: rgba(255,255,255,0.82); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 52px; animation: heroFadeIn 1.2s 0.3s ease both;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
[data-theme="light"] .hero-tagline {
  color: #e60000;
  text-shadow: none;
}
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; animation: heroFadeIn 1.2s 0.5s ease both; }
.fp {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--primary); opacity: 0;
  animation: fpAnim var(--d,9s) var(--dl,0s) linear infinite;
}
@keyframes fpAnim {
  0%   { transform: translateY(100vh); opacity: 0; }
  8%   { opacity: 0.6; }
  92%  { opacity: 0.6; }
  100% { transform: translateY(-20px) translateX(var(--x,10px)); opacity: 0; }
}
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--muted); letter-spacing: 0.32em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: heroFadeIn 1.2s 0.9s ease both;
}
.scroll-arrow {
  width: 16px; height: 16px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%      { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ═══ HOME: O NAS ═══ */
.about-section { background: var(--bg); position: relative; z-index: 2; overflow: hidden; padding: 120px 48px; }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 7vw, 110px); align-items: start;
  position: relative; z-index: 1;
}
.about-section .section-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 36px;
  letter-spacing: -0.015em; text-shadow: none;
}
.about-text p { font-size: 0.99rem; line-height: 1.9; color: rgba(245,238,238,0.7); margin-bottom: 20px; font-weight: 300; max-width: 62ch; }
.about-text p strong { color: var(--text); font-weight: 600; }

/* stats - editorial hairline stack, sticky on desktop */
.stats-grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  position: sticky; top: calc(var(--nav-h) + 48px);
}
.stat-card {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 34px 2px; text-align: left;
  background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0;
  position: relative;
}
.stat-card:last-child { border-bottom: 1px solid var(--border); }
.stat-card::before {
  content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 100%;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22, 0.68, 0, 1);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-num {
  font-family: 'Orbitron', sans-serif; font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 700; color: var(--text); line-height: 1; display: block;
  transition: color 0.35s;
}
.stat-card:hover .stat-num { color: var(--primary); }
.stat-label { font-size: 0.66rem; font-weight: 600; color: var(--muted); letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .stats-grid { position: static; }
  .stat-card { padding: 26px 2px; }
}

/* ═══ HOME: SERVICES PREVIEW ═══ */
.services-section { background: #0e0505; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-header .section-label::after { content: ''; display: block; width: 28px; height: 1px; background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.services-header .section-title { font-size: clamp(1.7rem, 3.5vw, 2.8rem); margin-bottom: 8px; }
.services-subtitle { font-size: 0.97rem; color: var(--muted); margin-top: 10px; }
.services-subtitle a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
.services-subtitle a:hover { color: var(--secondary); }

/* ── 3-kolumnowy układ oferty ── */
.services-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.svc-col {
  padding: 40px 36px 36px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.svc-col:last-child { border-right: none; }
.svc-col:hover { background: rgba(230,0,0,0.03); }
.svc-col::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.svc-col:hover::before { opacity: 1; }

.svc-col-icon { margin-bottom: 20px; }
.svc-col-icon svg { display: block; }
.svc-col-name {
  font-family: 'Orbitron', sans-serif; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--text); margin-bottom: 8px;
}
.svc-col-sub {
  font-size: 0.82rem; color: var(--muted); font-weight: 300; line-height: 1.6;
  margin-bottom: 28px;
}
.svc-col-divider {
  height: 1px; background: var(--border); margin-bottom: 24px;
}
.svc-col-list {
  list-style: none; padding: 0; margin: 0 0 32px; flex: 1;
}
.svc-col-list li { margin-bottom: 13px; }
.svc-col-list li a {
  color: var(--muted); text-decoration: none; font-size: 0.87rem;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.25s, gap 0.25s;
}
.svc-col-list li a::before {
  content: '→'; color: var(--primary); font-size: 0.85rem;
  flex-shrink: 0; transition: transform 0.25s;
}
.svc-col-list li a:hover { color: var(--text); gap: 14px; }
.svc-col-list li a:hover::before { transform: translateX(3px); }

.svc-col-btn {
  display: inline-block; padding: 11px 26px;
  font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--primary); border: 1px solid var(--primary); border-radius: 3px;
  text-align: center; transition: background 0.3s, box-shadow 0.3s;
}
.svc-col-btn:hover {
  background: rgba(230,0,0,0.08);
  box-shadow: 0 0 18px rgba(230,0,0,0.25);
}

/* svc-card - zachowane dla ewentualnego użycia na innych stronach */
.svc-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 32px 26px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; cursor: pointer;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(230,0,0,0.12); border-color: rgba(230,0,0,0.4); }
.svc-card:hover::after { opacity: 1; }
.svc-card svg { display: block; margin-bottom: 20px; }
.svc-card-title { font-family: 'Orbitron', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 10px; color: var(--text); }
.svc-card-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

[data-theme="light"] .services-cols { background: #fff; }
[data-theme="light"] .svc-col:hover { background: rgba(200,0,0,0.03); }

@media (max-width: 900px) {
  .services-cols { grid-template-columns: 1fr; border-radius: 8px; }
  .svc-col { border-right: none; border-bottom: 1px solid var(--border); }
  .svc-col:last-child { border-bottom: none; }
}

/* ═══ HOME: CTA BANNER ═══ */
.cta-banner { position: relative; z-index: 2; overflow: hidden; text-align: center; padding: 100px 48px; background: radial-gradient(ellipse at 50% 50%, #1a0505 0%, var(--bg) 60%); }
.hex-bg-banner { position: absolute; inset: 0; overflow: hidden; opacity: 0.05; z-index: 0; pointer-events: none; }
.cta-banner-content { position: relative; z-index: 10; }
.cta-banner-label { justify-content: center; margin-bottom: 18px; }
.cta-banner-label::before { display: none; }
.cta-banner-label::after { content: ''; display: block; width: 28px; height: 1px; background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.cta-banner-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.5rem, 3.2vw, 2.6rem); font-weight: 900; margin-bottom: 12px; text-shadow: 0 0 40px rgba(230,0,0,0.35); }
.cta-banner-title span { color: var(--primary); }
.cta-banner-sub { font-size: 0.97rem; color: var(--muted); margin-bottom: 44px; font-weight: 300; }
.cta-note { margin-top: 18px; font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }
.cta-note a { color: var(--primary); text-decoration: none; }

/* ═══ HOME: KONTAKT ═══ */
.kontakt-section { background: #060303; border-top: 1px solid var(--border); position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.contact-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-item:hover { border-color: rgba(230,0,0,0.45); box-shadow: 0 0 24px rgba(230,0,0,0.1); }
.contact-item svg { display: block; margin: 0 auto 16px; }
.contact-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 6px; }
.contact-val { font-size: 0.92rem; color: var(--text); }
.contact-val a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
.contact-val a:hover { color: var(--secondary); }

.contact-phones {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
}
.contact-phones li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.contact-phones li:last-child { border-bottom: none; }
.contact-phones li span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-phones li a {
  margin-left: auto;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}
.contact-phones li a + a { margin-left: 10px; }
.contact-phones li a:hover { color: var(--secondary); }
.map-placeholder {
  width: 100%; height: 340px;
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; margin-bottom: 48px; position: relative;
}
.map-placeholder iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ═══ OFERTA: SERVICE SECTIONS ═══ */
.svc-section { padding: 90px 48px; position: relative; overflow: hidden; }
.svc-section:nth-child(even) { background: var(--bg); }
.svc-section:nth-child(odd)  { background: #0e0505; }
.svc-section + .svc-section  { border-top: 1px solid var(--border); }
.svc-inner { max-width: 1200px; margin: 0 auto; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.svc-grid.reverse { direction: rtl; }
.svc-grid.reverse > * { direction: ltr; }
.svc-desc { font-size: 0.97rem; line-height: 1.82; color: rgba(245,238,238,0.78); margin-bottom: 28px; font-weight: 300; }
.features-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.features-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: rgba(245,238,238,0.82); line-height: 1.5; }
.features-list li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); flex-shrink: 0; margin-top: 7px; }
.svc-section:nth-child(3) .features-list li::before { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }
.svc-section:nth-child(4) .features-list li::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.svc-section:nth-child(6) .features-list li::before { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }
.svc-section:nth-child(7) .features-list li::before { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }
.svc-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.racks { display: flex; gap: 16px; align-items: flex-start; }
.rack { width: 54px; background: linear-gradient(180deg, #1f0d0d, #090505); border: 1px solid rgba(230,0,0,0.2); border-radius: 4px; padding: 7px 5px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 0 20px rgba(230,0,0,0.08), inset 0 0 8px rgba(0,0,0,0.5); }
.su { height: 11px; background: linear-gradient(90deg, #1a0808, #3a1a1a); border: 1px solid rgba(230,0,0,0.1); border-radius: 2px; position: relative; overflow: hidden; }
.su::before { content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: #ff4444; box-shadow: 0 0 4px #ff4444; animation: led 2s ease-in-out infinite; animation-delay: var(--ld, 0s); }
@keyframes led { 0%,100%{opacity:1;} 50%{opacity:0.15;} }
.su::after { content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%; background: linear-gradient(90deg, transparent, rgba(230,0,0,0.18), transparent); animation: scan 3.2s linear infinite; animation-delay: var(--sd, 0s); }
@keyframes scan { 0%{left:-100%;} 100%{left:200%;} }
.dual-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.dual-svc-divider { width: 1px; height: 140px; align-self: center; background: linear-gradient(to bottom, transparent, var(--primary), transparent); box-shadow: 0 0 8px var(--primary); display: block; }

/* ═══ BOTTOM CTA ═══ */
.bottom-cta {
  background: radial-gradient(ellipse at 50% 50%, #1a0505 0%, var(--bg) 60%);
  padding: 100px 48px; text-align: center;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.bottom-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg width='70' height='60' viewBox='0 0 70 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='35,3 67,21 67,57 35,75 3,57 3,21' fill='none' stroke='%23e60000' stroke-width='1'/%3E%3C/svg%3E"); background-size: 70px 60px; }
.bottom-cta-inner { position: relative; z-index: 1; }
.bottom-cta h2 { font-family: 'Orbitron', sans-serif; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 12px; text-shadow: 0 0 40px rgba(230,0,0,0.35); }
.bottom-cta h2 span { color: var(--primary); }
.bottom-cta p { font-size: 0.97rem; color: var(--muted); margin-bottom: 40px; font-weight: 300; }

/* ═══ CENNIK: PACKAGES ═══ */
.packages-section { background: var(--bg); border-bottom: 1px solid var(--border); position: relative; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pkg-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 40px 32px; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.pkg-card:hover { transform: translateY(-4px); }
.pkg-card.featured { border-color: var(--primary); box-shadow: 0 0 30px rgba(230,0,0,0.18), 0 0 60px rgba(230,0,0,0.07); background: linear-gradient(135deg, #1c0808 0%, #220a0a 100%); }
.pkg-card.featured:hover { box-shadow: 0 0 44px rgba(230,0,0,0.28), 0 0 80px rgba(230,0,0,0.12); }
.pkg-badge { position: absolute; top: 20px; right: -30px; background: var(--primary); color: #fff; font-family: 'Orbitron', sans-serif; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 40px; transform: rotate(35deg); }
.pkg-glow { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); animation: pkgGlow 3s ease-in-out infinite; }
@keyframes pkgGlow { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.pkg-label { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 10px; }
.pkg-name { font-family: 'Orbitron', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.pkg-card.featured .pkg-name { color: var(--primary); }
.pkg-price-wrap { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pkg-price { font-family: 'Orbitron', sans-serif; font-size: 2.6rem; font-weight: 900; color: var(--text); line-height: 1; }
.pkg-card.featured .pkg-price { color: var(--primary); text-shadow: 0 0 20px rgba(230,0,0,0.55); }
.pkg-price sup { font-size: 1rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.pkg-price span { font-size: 1rem; font-weight: 300; color: var(--muted); }
.pkg-period { font-size: 0.78rem; color: var(--muted); margin-top: 4px; letter-spacing: 0.1em; }
.pkg-custom-price { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--secondary); text-shadow: 0 0 16px rgba(255,68,68,0.4); padding: 8px 0; }
.pkg-features { list-style: none; flex: 1; margin-bottom: 32px; }
.pkg-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: rgba(245,238,238,0.8); line-height: 1.5; padding: 7px 0; border-bottom: 1px solid rgba(230,0,0,0.06); }
.pkg-features li:last-child { border-bottom: none; }
.pkg-features li.pkg-includes { font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); padding-bottom: 10px; }
.check { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(230,0,0,0.12); border: 1px solid rgba(230,0,0,0.4); }
.check svg { width: 9px; height: 9px; }
.pkg-btn { display: block; width: 100%; padding: 14px; font-family: 'Orbitron', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center; border-radius: 4px; transition: all 0.3s; }
.pkg-btn-outline { border: 1px solid var(--border); color: var(--muted); }
.pkg-btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(230,0,0,0.06); }
.pkg-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 0 20px rgba(230,0,0,0.4); position: relative; overflow: hidden; }
.pkg-btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.pkg-btn-primary:hover::before { left: 100%; }
.pkg-btn-primary:hover { box-shadow: 0 0 32px rgba(230,0,0,0.7); transform: translateY(-1px); }
.pkg-btn-secondary { border: 1px solid var(--secondary); color: var(--secondary); }
.pkg-btn-secondary:hover { background: rgba(255,68,68,0.08); box-shadow: 0 0 16px rgba(255,68,68,0.25); }

/* ═══ CENNIK: ONE-TIME ═══ */
.onetime-section { background: #0e0505; border-bottom: 1px solid var(--border); }
.onetime-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ot-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 24px 20px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; overflow: hidden; }
.ot-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0; transition: opacity 0.3s; }
.ot-card:hover { transform: translateY(-4px); border-color: rgba(230,0,0,0.35); box-shadow: 0 8px 24px rgba(230,0,0,0.1); }
.ot-card:hover::before { opacity: 1; }
.ot-card-name { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.ot-card-price { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.ot-card-price.custom { color: var(--secondary); font-size: 0.85rem; }
.ot-card-note { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }

/* ═══ CENNIK: INFO ═══ */
.info-section { background: var(--bg); border-bottom: 1px solid var(--border); }
.info-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px 40px; display: flex; align-items: flex-start; gap: 20px; }
.info-icon { flex-shrink: 0; }
.info-text { font-size: 0.92rem; color: rgba(245,238,238,0.78); line-height: 1.75; font-weight: 300; }
.info-text strong { color: var(--text); font-weight: 600; }
.info-text a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
.info-text a:hover { color: var(--secondary); }

/* ═══ CENNIK: DUO CARDS / POPULAR SERVICES ═══ */
.popular-section { background: var(--bg); border-bottom: 1px solid var(--border); }
.popular-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin: 40px 0 24px;
  display: flex; align-items: center; gap: 14px;
}
.popular-subtitle::before,
.popular-subtitle::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.popular-cta { text-align: center; margin-top: 48px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 32px 28px; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; overflow: hidden; }
.duo-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0; transition: opacity 0.3s; }
.duo-card:hover { transform: translateY(-4px); border-color: rgba(230,0,0,0.4); box-shadow: 0 10px 32px rgba(230,0,0,0.12); }
.duo-card:hover::before { opacity: 1; }
.duo-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.duo-card-name { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); letter-spacing: 0.04em; }
.duo-card-price { font-family: 'Orbitron', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--primary); line-height: 1; }
.duo-card-price sup { font-size: 0.55em; font-weight: 400; color: var(--muted); margin-right: 4px; vertical-align: middle; }
.duo-card-price span { font-size: 0.5em; font-weight: 400; color: var(--muted); margin-left: 4px; }
.duo-card-price em { font-style: normal; font-size: 0.45em; font-weight: 400; color: var(--muted); margin-left: 6px; }
.duo-features { list-style: none; flex: 1; margin-bottom: 24px; }
.duo-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: rgba(245,238,238,0.82); line-height: 1.5; padding: 7px 0; border-bottom: 1px solid rgba(230,0,0,0.06); }
.duo-features li:last-child { border-bottom: none; }
.duo-btn { display: inline-block; width: 100%; padding: 13px; font-family: 'Orbitron', sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid var(--primary); color: var(--primary); border-radius: 4px; transition: all 0.3s; }
.duo-btn:hover { background: rgba(230,0,0,0.08); box-shadow: 0 0 18px rgba(230,0,0,0.3); }

/* ═══ CENNIK: INFRA SECTION (Backup / Servers / Workplace) ═══ */
.infra-section { background: var(--bg); border-bottom: 1px solid var(--border); }
.infra-group { margin-bottom: 56px; }
.infra-group:last-child { margin-bottom: 0; }
.infra-group-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.infra-group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.workplace-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 32px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center; transition: border-color 0.3s, box-shadow 0.3s; }
.workplace-card:hover { border-color: rgba(230,0,0,0.4); box-shadow: 0 8px 24px rgba(230,0,0,0.1); }
.workplace-name { font-family: 'Orbitron', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.workplace-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.workplace-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(245,238,238,0.82); }
.workplace-price-box { text-align: center; padding: 24px; border-left: 1px solid var(--border); }
.workplace-price { font-family: 'Orbitron', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.workplace-price span { font-size: 0.4em; font-weight: 400; color: var(--muted); margin-left: 6px; }
.workplace-note { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 18px; }

/* ═══ CENNIK: REPAIR CONFIGURATOR ═══ */
.repair-section { background: #0e0505; border-bottom: 1px solid var(--border); }
.repair-config { max-width: 880px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.repair-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.repair-tab {
  background: none; border: none; cursor: pointer;
  padding: 14px 24px;
  font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: -1px;
}
.repair-tab:hover { color: var(--text); }
.repair-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.repair-panels { display: grid; margin-bottom: 24px; }
.repair-panel { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 4px; visibility: hidden; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.repair-panel.active { visibility: visible; opacity: 1; pointer-events: auto; }
.repair-item {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 6px;
  cursor: pointer; transition: background 0.2s;
  border: 1px solid transparent;
}
.repair-item:hover { background: rgba(230,0,0,0.04); }
.repair-item input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border); border-radius: 4px;
  background: rgba(230,0,0,0.04);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.repair-item input[type="checkbox"]:hover { border-color: var(--primary); }
.repair-item input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); }
.repair-item input[type="checkbox"]:checked::after {
  content: ''; position: absolute;
  left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.repair-item input[type="checkbox"]:checked ~ .repair-item-name { color: var(--text); }
.repair-item:has(input:checked) { background: rgba(230,0,0,0.06); border-color: rgba(230,0,0,0.2); }
.repair-item-name { font-size: 0.92rem; color: rgba(245,238,238,0.82); line-height: 1.4; }
.repair-item-price { font-family: 'Orbitron', sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.repair-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px; margin-top: 4px; background: rgba(230,0,0,0.04); border: 1px solid rgba(230,0,0,0.2); border-radius: 8px; }
.repair-summary-left { display: flex; flex-direction: column; gap: 4px; }
.repair-summary-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }
.repair-summary-total { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.repair-from { font-size: 0.5em; font-weight: 400; color: var(--muted); }
.repair-unit { font-size: 0.5em; font-weight: 400; color: var(--muted); }
.repair-summary-note { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ═══ CENNIK: SHOP (Sprzęt IT) ═══ */
.shop-section { background: var(--bg); border-bottom: 1px solid var(--border); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.shop-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 32px 24px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.shop-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0; transition: opacity 0.3s; }
.shop-card:hover { transform: translateY(-4px); border-color: rgba(230,0,0,0.4); box-shadow: 0 12px 32px rgba(230,0,0,0.14); }
.shop-card:hover::before { opacity: 1; }
.shop-card-icon { width: 64px; height: 64px; color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.shop-card-icon svg { width: 100%; height: 100%; }
.shop-card-name { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); letter-spacing: 0.04em; }
.shop-card-price { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.shop-card-price span { font-size: 0.55em; font-weight: 400; color: var(--muted); margin-left: 4px; }
.shop-card-cta { font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.3s; margin-top: 6px; }
.shop-card:hover .shop-card-cta { color: var(--primary); }
.shop-cta-wrap { text-align: center; }

/* ═══ CENNIK: WEBDEV CTA (Strony / Sklepy / Aplikacje) ═══ */
.webdev-cta-section { background: #0e0505; border-bottom: 1px solid var(--border); }
.webdev-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px 56px; align-items: stretch; }
.webdev-grid .webdev-text { grid-column: 1; grid-row: 1; }
.webdev-grid .webdev-terminal { grid-column: 2; grid-row: 1 / span 2; }
.webdev-grid .popular-cta { grid-column: 1; grid-row: 2; margin-top: 0; }
.webdev-text .section-sub { text-align: left; }
@media (min-width: 861px) {
  .webdev-text .section-title { margin-top: 18px; margin-bottom: 32px; }
  .webdev-text .section-sub { margin-bottom: 16px; }
}
.webdev-terminal { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 8px; background: rgba(0,0,0,0.55); text-align: left; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.webdev-terminal-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.webdev-terminal-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245,238,238,0.18); }
.webdev-terminal-bar i:first-child { background: rgba(230,0,0,0.7); }
.webdev-terminal-body { flex: 1; padding: 16px 18px; font-family: 'Courier New', monospace; font-size: 0.85rem; line-height: 1.55; color: rgba(245,238,238,0.85); min-height: 52px; }
.webdev-terminal-body .prompt { color: var(--primary); margin-right: 8px; }
.webdev-term-out { margin-top: 6px; white-space: pre-wrap; word-break: break-word; color: rgba(245,238,238,0.7); }
.webdev-term-out b { color: #f5eeee; font-weight: 700; }
.webdev-term-out i { font-style: normal; font-weight: 700; color: var(--primary); }
.webdev-caret { display: inline-block; width: 3px; height: 1em; margin-left: 2px; background: var(--primary); vertical-align: -0.12em; animation: webdevBlink 0.9s step-end infinite; box-shadow: 0 0 8px rgba(230,0,0,0.8); }
@keyframes webdevBlink { 50% { opacity: 0; } }
@media (max-width: 860px) {
  .webdev-grid { grid-template-columns: 1fr; gap: 36px; }
  .webdev-grid .webdev-text { grid-column: 1; grid-row: 1; }
  .webdev-grid .webdev-terminal { grid-column: 1; grid-row: 2; }
  .webdev-grid .popular-cta { grid-column: 1; grid-row: 3; }
  .webdev-terminal-body { min-height: 422px; }
}

/* ═══ FOOTER ═══ */
.site-footer { background: #060303; border-top: 1px solid var(--border); position: relative; z-index: 2; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px 48px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 1.7fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-light { display: none; }
[data-theme="light"] .footer-logo-dark  { display: none; }
[data-theme="light"] .footer-logo-light { display: block; }
.footer-logo { max-height: 46px; max-width: 180px; width: auto; height: auto; filter: drop-shadow(0 0 12px rgba(230,0,0,0.25)); }
.footer-tagline { font-size: 12px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.footer-col-title {
  font-family: 'Exo 2', sans-serif; font-size: 10px; font-weight: 700;
  color: var(--primary); letter-spacing: 0.4em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 1px; color: var(--primary); }
.footer-contact-item a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--text); }

.footer-phones-wrap {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 12px;
}
.footer-phones-wrap > svg {
  flex-shrink: 0; color: var(--primary); margin-top: 4px;
}
.footer-phones { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; flex: 1; }
.footer-phones li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
.footer-phones li > .footer-phone-label { width: 100%; }
.footer-phone-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 9.5px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.7;
}
.footer-phone-num {
  font-size: 13px; color: var(--muted); text-decoration: none;
  font-weight: 500; transition: color 0.3s;
}
.footer-phone-num:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 20px 0; font-size: 11px; color: var(--muted); letter-spacing: 0.08em;
}
.footer-bottom strong { color: var(--text); }
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--primary); }
.footer-credit {
  text-align: center; font-size: 12px; color: var(--muted);
  letter-spacing: 0.1em; padding: 10px 0 20px; opacity: 0.6;
}
.footer-credit a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
.footer-credit a:hover { color: var(--secondary); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .onetime-grid { grid-template-columns: repeat(2,1fr); }
  .shop-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 40px; }
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; gap: 50px; }
  .svc-grid.reverse { direction: ltr; }
  .topnav { padding: 0 36px; }
  .lang-sw { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(9,5,5,0.97); backdrop-filter: blur(14px);
    flex-direction: column; padding: 24px 20px; gap: 20px;
    border-bottom: 1px solid var(--border);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  .nav-links.open { clip-path: inset(0 0 -2px 0); pointer-events: auto; }
  .nav-links li {
    opacity: 0; transform: translateX(-14px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .nav-links.open li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.10s; }
  .nav-links.open li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.16s; }
  .nav-links.open li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.22s; }
  .nav-links.open li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.28s; }
  .nav-links.open li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.34s; }
  .nav-links.open li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
  .nav-lang-item { display: flex; gap: 12px; align-items: center; padding: 4px 0; border-top: 1px solid var(--border); margin-top: 4px; }
}
@media (max-width: 768px) {
  .topnav { padding: 0 24px; }
  .nav-logo { height: 20px; }
  section { padding: 70px 20px; }
  .section { padding: 60px 20px; }
  .svc-section { padding: 60px 20px; }
  .bottom-cta { padding: 70px 20px; }
  .cta-banner { padding: 70px 20px; }
  .footer-inner { padding: 40px 20px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-phones { gap: 12px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-tagline { letter-spacing: 0.08em; word-break: break-word; overflow-wrap: break-word; }
  .racks { display: none; }
  .dual-svc { grid-template-columns: 1fr; }
  .dual-svc-divider { display: none; }
  .onetime-grid { grid-template-columns: 1fr 1fr; }
  .info-box { flex-direction: column; }
  .duo-grid { grid-template-columns: 1fr; }
  .workplace-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .workplace-price-box { border-left: none; border-top: 1px solid var(--border); padding: 20px 0 0; }
  .workplace-features { grid-template-columns: 1fr; }
  .repair-config { padding: 22px; }
  .repair-panels { display: block; }
  .repair-panel { display: none; }
  .repair-panel.active { display: flex; }
  .repair-item { grid-template-columns: 22px 1fr; }
  .repair-item-price { grid-column: 2; padding-left: 0; font-size: 0.78rem; }
  .repair-summary { flex-direction: column; align-items: stretch; text-align: center; }
  .repair-summary .btn-primary { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .onetime-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══ THEME TRANSITION ═══ */
body,
.topnav, .nav-links,
.hero, .about-section, .services-section, .cta-banner, .kontakt-section,
.site-footer, .page-hero, .svc-section, .bottom-cta, .onetime-section, .info-section,
.stat-card, .svc-card, .contact-item, .pkg-card, .ot-card, .info-box {
  transition: background 0.4s ease, background-color 0.4s ease,
              color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ═══ LIGHT THEME ═══ */
[data-theme="light"] {
  --bg: #f7f0f0;
  --primary: #c80000;
  --secondary: #d43030;
  --accent: #b85000;
  --text: #150303;
  --muted: #906060;
  --card-bg: #ffffff;
  --border: rgba(200,0,0,0.18);
}
[data-theme="light"] .topnav {
  background: rgba(247,240,240,0.92);
}
[data-theme="light"] .topnav.scrolled {
  background: rgba(247,240,240,0.98);
  box-shadow: 0 2px 24px rgba(200,0,0,0.08);
}
[data-theme="light"] .nav-links {
  background: rgba(247,240,240,0.98);
}
[data-theme="light"] .hero {
  background: radial-gradient(ellipse at 50% 60%, #f0cccc 0%, var(--bg) 70%);
}
[data-theme="light"] .neural-bg svg { opacity: 0.1; }
[data-theme="light"] .hero-logo-img {
  filter: drop-shadow(0 0 16px rgba(200,0,0,0.3)) drop-shadow(0 0 40px rgba(200,0,0,0.12));
}
[data-theme="light"] .services-section  { background: #ede4e4; }
[data-theme="light"] .dist-card-desc        { color: rgba(21,3,3,0.68); }
[data-theme="light"] .cta-banner        { background: radial-gradient(ellipse at 50% 50%, #f0c8c8 0%, var(--bg) 60%); }
[data-theme="light"] .kontakt-section   { background: #ede4e4; }
[data-theme="light"] .site-footer       { background: #e8dddd; }
[data-theme="light"] .page-hero         { background: radial-gradient(ellipse at 50% 60%, #f0cccc 0%, var(--bg) 70%); }
[data-theme="light"] .svc-section:nth-child(even) { background: var(--bg); }
[data-theme="light"] .svc-section:nth-child(odd)  { background: #ede4e4; }
[data-theme="light"] .bottom-cta  { background: radial-gradient(ellipse at 50% 50%, #f0c8c8 0%, var(--bg) 60%); }
[data-theme="light"] .onetime-section { background: #ede4e4; }

/* hardcoded light-text overrides */
[data-theme="light"] .about-text p { color: rgba(21,3,3,0.72); }
[data-theme="light"] .about-text p strong { color: var(--text); }
[data-theme="light"] .svc-desc { color: rgba(21,3,3,0.72); }
[data-theme="light"] .features-list li { color: rgba(21,3,3,0.78); }
[data-theme="light"] .pkg-features li { color: rgba(21,3,3,0.78); }
[data-theme="light"] .pkg-card.featured,
[data-theme="light"] .pkg-card.featured .pkg-name,
[data-theme="light"] .pkg-card.featured .pkg-period,
[data-theme="light"] .pkg-card.featured .pkg-desc,
[data-theme="light"] .pkg-card.featured .pkg-features li { color: #fff; }
[data-theme="light"] .info-text { color: rgba(21,3,3,0.72); }
[data-theme="light"] .info-text strong { color: var(--text); }
[data-theme="light"] .cyber-section { background: #ede4e4; }
[data-theme="light"] .repair-section { background: #ede4e4; }
[data-theme="light"] .webdev-cta-section { background: #ede4e4; }
[data-theme="light"] .webdev-terminal { background: rgba(0,0,0,0.55); border-color: rgba(21,3,3,0.2); }
[data-theme="light"] .duo-features li { color: rgba(21,3,3,0.78); }
[data-theme="light"] .workplace-features li { color: rgba(21,3,3,0.78); }
[data-theme="light"] .repair-item-name { color: rgba(21,3,3,0.78); }

/* ═══ PAGE LOADER ═══ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: all;
}
.loader-panel {
  position: absolute;
  left: 0; right: 0;
  background: #090505;
  z-index: 2;
}
.loader-panel-top { display: none; }
.loader-panel-bot { top: 0; bottom: 0; }
.loader-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  gap: 0;
}
.loader-logo {
  max-height: 72px;
  max-width: 260px;
  width: auto; height: auto;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 22px rgba(230,0,0,0.5)) drop-shadow(0 0 60px rgba(230,0,0,0.18));
}
.loader-bar-track {
  width: 200px;
  height: 1px;
  background: rgba(230,0,0,0.18);
  position: relative;
}
.loader-bar-fill {
  position: absolute;
  left: 0; top: 0;
  width: 0%;
  height: 1px;
  background: #e60000;
  box-shadow: 0 0 8px rgba(230,0,0,0.9), 0 0 20px rgba(230,0,0,0.4);
}
.loader-label {
  margin-top: 18px;
  font-family: 'Exo 2', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: rgba(230,0,0,0.45);
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

/* ═══ HERO BG IMAGE ═══ */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9,5,5,0.50) 0%,
    rgba(9,5,5,0.20) 45%,
    rgba(9,5,5,0.72) 100%
  );
}
[data-theme="light"] .hero-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.0)  45%,
    rgba(255,255,255,0.55) 100%
  );
}

/* ═══ HERO SCAN LINE ═══ */
.hero-scan-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 15;
  contain: paint;
}
.hero-scan-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(230,0,0,0.6) 25%,
    rgba(255,140,140,1) 50%,
    rgba(230,0,0,0.6) 75%,
    transparent 100%);
  box-shadow: 0 0 18px rgba(230,0,0,0.7), 0 0 40px rgba(230,0,0,0.35), 0 8px 24px rgba(230,0,0,0.15);
  opacity: 0;
  will-change: transform, opacity;
}

/* ═══ THEME TOGGLE BUTTON ═══ */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28), 0 0 0 0 rgba(230,0,0,0);
  outline: none;
  padding: 0;
}
.theme-toggle:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.32), 0 0 0 3px rgba(230,0,0,0.15);
}
.theme-toggle svg {
  color: var(--text);
  display: block;
  flex-shrink: 0;
  transition: color 0.3s;
}
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ═══ HOME: PARTNERZY ═══ */
.partners-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.partners-section::before { top: 0; }
.partners-section::after  { bottom: 0; }

.partners-header {
  text-align: center;
  padding: 0 48px;
  margin-bottom: 52px;
}
.partners-header .section-label {
  justify-content: center;
}
.partners-header .section-label::before { display: none; }
.partners-header .section-label::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}
.partners-header .section-title { text-align: center; }

.partners-track-wrap {
  position: relative;
  overflow: hidden;
}
.partners-track-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(230,0,0,0.13) 0%, transparent 70%);
}
.partners-fade {
  position: absolute; top: 0; bottom: 0; width: 180px; z-index: 2; pointer-events: none;
}
.partners-fade--left  { left: 0;  background: linear-gradient(to right, #0c0202, transparent); }
.partners-fade--right { right: 0; background: linear-gradient(to left,  #0c0202, transparent); }

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 42s linear infinite;
  padding: 10px 0;
}
.partners-track:hover { animation-play-state: paused; }

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-card {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: default;
}

.partner-card img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(0.4) opacity(0.55);
  transition: filter 0.35s;
  user-select: none; pointer-events: none;
  display: block;
}
.partner-card:hover img {
  filter: grayscale(0) opacity(1);
}

[data-theme="light"] .partners-fade--left     { background: linear-gradient(to right, var(--bg), transparent); }
[data-theme="light"] .partners-fade--right    { background: linear-gradient(to left,  var(--bg), transparent); }

/* ═══ CO NAS WYRÓŻNIA - editorial index ═══ */
.distinguishes-section {
  background: transparent;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; z-index: 2;
  padding: 0;
}

/* Full-width: left column with sticky title, right column with the list */
.distinguishes-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 560px;
}

/* Left col - label + title, left-aligned, sticky */
.distinguishes-left {
  padding: 100px 48px 100px 64px;
  border-right: 1px solid var(--border);
}
.distinguishes-left .section-label { margin-bottom: 18px; justify-content: flex-start; }
.distinguishes-sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
.distinguishes-left .section-title {
  margin-bottom: 0; font-size: clamp(2rem, 3.6vw, 3.4rem);
  text-align: left; line-height: 1.1; letter-spacing: -0.015em; text-shadow: none;
}

/* Right col - list rows */
.distinguishes-right { padding: 0; display: block; }
.distinguishes-grid { display: block; }

/* Row */
.dist-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 0;
  border-radius: 0;
  opacity: 0;
  transform: translateY(28px);
  transition: background 0.35s, opacity 0.55s ease, transform 0.55s ease;
}
.dist-card + .dist-card { border-top: 1px solid var(--border); }
.dist-card.dist-visible {
  opacity: 1;
  transform: none;
}
.dist-card:hover { background: color-mix(in srgb, var(--primary) 4%, var(--bg)); }

/* Row inner - index · title · desc on one baseline */
.dist-card-inner {
  padding: 42px 64px 42px 48px;
  display: grid;
  grid-template-columns: 56px minmax(0, 200px) 1fr;
  gap: 28px; align-items: baseline;
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0, 1);
}
.dist-card:hover .dist-card-inner { transform: translateX(10px); }

/* Small red index */
.dist-num {
  font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--primary); line-height: 1;
}

.dist-vline { display: none; }
.dist-icon  { display: none; }

/* Title + desc become grid cells */
.dist-card-body { display: contents; }

/* Title */
.dist-card-title {
  font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 0;
  line-height: 1.5;
}

/* Desc */
.dist-card-desc {
  font-size: 0.88rem; color: var(--muted); line-height: 1.75; font-weight: 300;
  max-width: 52ch;
}

/* Left accent bar */
.dist-bar {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; height: auto;
  background: var(--primary);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0, 1);
}
.dist-card:hover .dist-bar { transform: scaleY(1); }

/* ── Icon animations ── */
@keyframes dnBlink { 0%,100%{opacity:0.2} 50%{opacity:1; filter:drop-shadow(0 0 5px #e60000)} }
.di-n1 { animation: dnBlink 3s 0s    ease-in-out infinite; }
.di-n2 { animation: dnBlink 3s 0.6s  ease-in-out infinite; }
.di-n3 { animation: dnBlink 3s 1.2s  ease-in-out infinite; }
.di-n4 { animation: dnBlink 3s 1.8s  ease-in-out infinite; }
.di-n5 { animation: dnBlink 3s 2.4s  ease-in-out infinite; }
@keyframes drExpand { 0%{transform:scale(0.35);opacity:0.75} 100%{transform:scale(1.9);opacity:0} }
.di-r1 { transform-box:fill-box; transform-origin:center; animation: drExpand 3s 0s   ease-out infinite; }
.di-r2 { transform-box:fill-box; transform-origin:center; animation: drExpand 3s 1.5s ease-out infinite; }
@keyframes signalFlow { from{stroke-dashoffset:220} to{stroke-dashoffset:0} }
.di-sig { stroke-dasharray: 18 200; animation: signalFlow 3s linear infinite; }
@keyframes radarSweep { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.di-sweep { transform-origin: 32px 32px; animation: radarSweep 4s linear infinite; }
@keyframes distPing { 0%,100%{opacity:0} 40%,60%{opacity:1; filter:drop-shadow(0 0 4px #e60000)} }
.di-p1 { animation: distPing 3s 0s   ease-in-out infinite; }
.di-p2 { animation: distPing 3s 1.5s ease-in-out infinite; }
@keyframes arcPulse { 0%,100%{opacity:0.07} 50%{opacity:0.9} }
.di-a1 { animation: arcPulse 1.8s 0s   ease-in-out infinite; }
.di-a2 { animation: arcPulse 1.8s 0.4s ease-in-out infinite; }
.di-a3 { animation: arcPulse 1.8s 0.8s ease-in-out infinite; }

/* Responsive */
@media (max-width: 1024px) {
  .distinguishes-inner { grid-template-columns: 1fr; min-height: auto; }
  .distinguishes-left { padding: 64px 24px 40px; border-right: 0; border-bottom: 1px solid var(--border); }
  .distinguishes-sticky { position: static; }
  .distinguishes-left .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .dist-card-inner { padding: 32px 24px; grid-template-columns: 44px 1fr; row-gap: 12px; }
  .dist-card-desc { grid-column: 2; }
  .dist-card:hover .dist-card-inner { transform: none; }
}

/* ═══ SERVICE CARD MORE ═══ */
.svc-card-more { display: inline-block; margin-top: 12px; font-size: 0.73rem; color: var(--primary); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.3s; }
.svc-card:hover .svc-card-more { opacity: 1; }

/* ═══ MODAL ═══ */
.svc-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(9,5,5,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 24px;
}
.svc-modal-overlay.active { display: flex; }
.svc-modal {
  background: var(--card-bg); border: 1px solid rgba(230,0,0,0.35); border-radius: 12px;
  padding: 44px 40px; max-width: 680px; width: 100%;
  position: relative; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 0 80px rgba(230,0,0,0.18); animation: modalIn 0.28s ease;
}
@keyframes modalIn { from { opacity:0; transform: scale(0.95) translateY(20px); } to { opacity:1; transform:none; } }
.svc-modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.7rem; line-height: 1; transition: color 0.2s; padding: 4px; }
.svc-modal-close:hover { color: var(--primary); }
.svc-modal-title { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; letter-spacing: 0.06em; padding-right: 40px; }
.svc-modal-body { font-size: 0.9rem; color: rgba(245,238,238,0.82); line-height: 1.85; font-weight: 300; }
.svc-modal-body p { margin-bottom: 14px; }
.svc-modal-body p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .svc-modal { padding: 32px 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   SPLIT PANELS - theme-aware via CSS custom properties
   ─────────────────────────────────────────────────────────────
   Dark mode:  dark (#0e0404) → burgundy (#7a0000) → warm-white (#f7f0f0)
   Light mode: white (#ffffff) → brand-red (#c80000) → very-dark (#0e0404)
   SVG art uses currentColor - adapts automatically.
   ═══════════════════════════════════════════════════════════════ */

.sp-section {
  --sp-ease: cubic-bezier(.4, 0, .2, 1);
  --sp-dur:  0.55s;
  display: flex; height: 67vh; min-height: 380px;
  padding: 0;
  margin: 0;
  position: relative; z-index: 2; overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* ── DARK MODE: dark → dark+red hint → dark+more red ── */
.sp-panel:nth-child(1) {
  --sp-bg:   #0a0303;   /* deepest, near-black */
  --sp-fg:   rgba(245,238,238,0.85);
  --sp-dim:  rgba(245,238,238,0.55);
  --sp-idx:  rgba(245,238,238,0.14);
  --sp-idxh: rgba(245,238,238,0.36);
  --sp-sep:  rgba(255,255,255,0.07);
  --sp-ln:   rgba(245,238,238,0.24);
  --sp-lnh:  rgba(245,238,238,0.66);
  --sp-div:  rgba(255,255,255,0.05);
}
.sp-panel:nth-child(2) {
  --sp-bg:   #1c0707;   /* dark with subtle red tint */
  --sp-fg:   rgba(248,232,232,0.88);
  --sp-dim:  rgba(248,232,232,0.56);
  --sp-idx:  rgba(248,232,232,0.16);
  --sp-idxh: rgba(248,232,232,0.40);
  --sp-sep:  rgba(255,230,230,0.08);
  --sp-ln:   rgba(248,232,232,0.26);
  --sp-lnh:  rgba(248,232,232,0.68);
  --sp-div:  rgba(255,230,230,0.06);
}
.sp-panel:nth-child(3) {
  --sp-bg:   #2e0a0a;   /* even lighter dark, stronger red */
  --sp-fg:   rgba(252,228,228,0.90);
  --sp-dim:  rgba(252,228,228,0.58);
  --sp-idx:  rgba(252,228,228,0.18);
  --sp-idxh: rgba(252,228,228,0.44);
  --sp-sep:  rgba(255,220,220,0.09);
  --sp-ln:   rgba(252,228,228,0.28);
  --sp-lnh:  rgba(252,228,228,0.72);
  --sp-div:  rgba(255,220,220,0.07);
}

/* ── LIGHT MODE: light → light+red hint → light+strong red wash ── */
[data-theme="light"] .sp-panel:nth-child(1) {
  --sp-bg:   #fdf8f8;   /* near-white, faintest warm tint */
  --sp-fg:   rgba(21,3,3,0.84);
  --sp-dim:  rgba(21,3,3,0.52);
  --sp-idx:  rgba(21,3,3,0.12);
  --sp-idxh: rgba(21,3,3,0.30);
  --sp-sep:  rgba(21,3,3,0.07);
  --sp-ln:   rgba(21,3,3,0.18);
  --sp-lnh:  rgba(21,3,3,0.50);
  --sp-div:  rgba(21,3,3,0.06);
}
[data-theme="light"] .sp-panel:nth-child(2) {
  --sp-bg:   #f6e6e6;   /* light with red touch */
  --sp-fg:   rgba(35,8,8,0.85);
  --sp-dim:  rgba(35,8,8,0.54);
  --sp-idx:  rgba(35,8,8,0.14);
  --sp-idxh: rgba(35,8,8,0.34);
  --sp-sep:  rgba(35,8,8,0.08);
  --sp-ln:   rgba(35,8,8,0.20);
  --sp-lnh:  rgba(35,8,8,0.54);
  --sp-div:  rgba(35,8,8,0.07);
}
[data-theme="light"] .sp-panel:nth-child(3) {
  --sp-bg:   #efc8c8;   /* light with much stronger red wash */
  --sp-fg:   rgba(50,10,10,0.88);
  --sp-dim:  rgba(50,10,10,0.58);
  --sp-idx:  rgba(50,10,10,0.16);
  --sp-idxh: rgba(50,10,10,0.40);
  --sp-sep:  rgba(50,10,10,0.10);
  --sp-ln:   rgba(50,10,10,0.24);
  --sp-lnh:  rgba(50,10,10,0.62);
  --sp-div:  rgba(50,10,10,0.09);
}

/* ── Panel base ── */
.sp-panel {
  flex: 1; position: relative; overflow: hidden; cursor: default;
  background: var(--sp-bg);
  transition: flex var(--sp-dur) var(--sp-ease), background 0.4s;
}
@media (hover: none) {
  .sp-panel { cursor: pointer; }
}
.sp-section:has(.sp-panel:hover) .sp-panel:not(:hover) { flex: 0.28; }
.sp-panel:hover { flex: 2.44; }
.sp-section.sp-touched .sp-panel:not(.sp-active) { flex: 0.28; }
.sp-panel.sp-active { flex: 2.44; }

.sp-panel:nth-child(1)::after,
.sp-panel:nth-child(2)::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0;
  width: 1px; background: var(--sp-div); z-index: 5; pointer-events: none;
}

/* Red hairline along the top of the expanded panel */
.sp-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--primary); z-index: 6; pointer-events: none;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--sp-ease);
}
.sp-panel:hover::before,
.sp-panel.sp-active::before { transform: scaleX(1); }

/* ── Art - SVG uses currentColor, colour set via CSS ── */
.sp-art {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  color: var(--sp-fg);
}
.sp-art svg {
  position: absolute; right: -5%; top: 50%;
  transform: translateY(-50%);
  width: 62%; height: auto; opacity: 0.045;
  transition: opacity var(--sp-dur) var(--sp-ease),
              transform var(--sp-dur) var(--sp-ease);
  will-change: transform, opacity;
}
.sp-panel:hover .sp-art svg,
.sp-panel.sp-active .sp-art svg { opacity: 0.09; transform: translateY(-50%) scale(1.07); }

/* ── Vertical name ── */
.sp-label {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; align-items: center; padding-left: 40px;
  z-index: 3; pointer-events: none;
}
.sp-name-v {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 1.8vh, 1.9rem); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: var(--sp-fg); white-space: nowrap;
  transition: opacity 0.26s ease, transform 0.52s var(--sp-ease);
}
.sp-panel:hover .sp-name-v,
.sp-panel.sp-active .sp-name-v { opacity: 0; transform: rotate(90deg); }

/* ── Horizontal name ── */
.sp-name-h {
  position: absolute; top: 76px; left: 48px; right: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.8rem); font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1;
  color: var(--sp-fg); opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s 0.1s ease, transform 0.48s 0.06s var(--sp-ease);
  pointer-events: none; z-index: 3;
}
.sp-panel:hover .sp-name-h,
.sp-panel.sp-active .sp-name-h { opacity: 1; transform: translateY(0) rotate(0deg); }

/* ── Expanded body ── */
.sp-body {
  position: absolute; left: 48px; right: 48px; bottom: 56px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.3s 0.16s ease, transform 0.44s 0.1s var(--sp-ease);
  pointer-events: none; z-index: 3;
}
.sp-panel:hover .sp-body,
.sp-panel.sp-active .sp-body { opacity: 1; transform: translateY(0); pointer-events: auto; }

.sp-sub {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sp-dim); margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.sp-sub::before {
  content: ''; display: block; width: 22px; height: 1px;
  flex-shrink: 0; background: var(--primary);
}

/* Copy - positioned right under the title */
.sp-copy {
  position: absolute;
  top: 200px; left: 48px; right: 48px;
  max-width: 44ch;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.92rem; font-weight: 300;
  color: var(--sp-fg);
  line-height: 1.65;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s 0.16s ease, transform 0.4s 0.12s var(--sp-ease);
  pointer-events: none;
  z-index: 3;
}
.sp-panel:hover .sp-copy,
.sp-panel.sp-active .sp-copy { opacity: 0.82; transform: translateY(0); }

.sp-list { list-style: none; padding: 0; margin: 0 0 34px; }
.sp-list li {
  font-family: 'Exo 2', sans-serif; font-size: 0.84rem; font-weight: 300;
  color: var(--sp-dim); padding: 9px 0;
  border-bottom: 1px solid var(--sp-sep);
  display: flex; align-items: center; gap: 14px;
  transition: color 0.22s, gap 0.22s;
}
.sp-list li:last-child { border-bottom: none; }
.sp-list li::before {
  content: ''; display: block; flex-shrink: 0;
  width: 18px; height: 1px; background: var(--sp-ln);
  transition: width 0.28s, background 0.22s;
}
.sp-list li:hover { color: var(--sp-fg); gap: 20px; }
.sp-list li:hover::before { width: 26px; background: var(--sp-lnh); }
.sp-list li a { color: inherit; text-decoration: none; display: block; flex: 1; cursor: pointer; }
.sp-list li a:hover { color: inherit; }

.sp-cta {
  display: inline-block;
  font-family: 'Orbitron', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--sp-fg); border: 1px solid var(--sp-ln);
  padding: 12px 30px; border-radius: 0;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.sp-cta:hover { border-color: var(--primary); color: var(--primary); background: transparent; }

/* ── Mobile - content in natural flow, tight spacing ── */
@media (max-width: 768px) {
  .sp-section { flex-direction: column; height: auto; overflow: visible; }
  .sp-panel {
    flex: none !important; height: auto; min-height: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 56px 32px 48px;
  }
  .sp-panel:nth-child(1)::after,
  .sp-panel:nth-child(2)::after { display: none; }
  .sp-panel + .sp-panel { border-top: 1px solid var(--sp-div); }
  .sp-name-v { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .sp-name-h { position: static; font-size: clamp(1.5rem, 5vw, 2.2rem); margin: 0 0 14px; }
  .sp-copy   { position: static; font-size: 0.88rem; margin: 0 0 26px; }
  .sp-body   { position: static; }
  .sp-list   { margin-bottom: 26px; }
  .sp-label  { padding-left: 32px; }
}

/* ═══ POBIERANIE ═══ */
.page-hero--compact { height: 42vh; min-height: 340px; }

.dl-section { position: relative; }
.dl-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--secondary) 50%, var(--primary) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(230,0,0,0.6);
}
.dl-empty { color: var(--muted); text-align: center; padding: 40px 0; letter-spacing: 0.08em; }

.dl-search {
  position: relative;
  max-width: 420px;
  margin: 0 auto 36px;
  color: var(--muted);
}
.dl-search svg {
  position: absolute; left: 14px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}
.dl-search-input {
  width: 100%;
  font-family: 'Exo 2', sans-serif; font-size: 0.92rem;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px 12px 40px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.dl-search-input::placeholder { color: var(--muted); }
.dl-search-input:focus { border-color: var(--primary); box-shadow: 0 0 14px rgba(230,0,0,0.2); }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .dl-grid { grid-template-columns: 1fr; } }

.dl-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.7s ease;
  isolation: isolate;
}
.dl-card:hover {
  border-color: rgba(230,0,0,0.45);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 28px rgba(230,0,0,0.12);
  transform: translateY(-4px);
}
.dl-card-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 85% -10%, rgba(230,0,0,0.14) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.dl-card:hover .dl-card-glow { opacity: 1; }

.dl-card-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: 26px 26px 24px;
  min-height: 100%;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.dl-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

.dl-icon {
  width: 58px; height: 58px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(230,0,0,0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
}
.dl-icon svg { width: 26px; height: 26px; }
.dl-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; padding: 6px; }

.dl-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.dl-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(230,0,0,0.09);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 9px;
  line-height: 1;
}
.dl-badge svg { width: 11px; height: 11px; }
.dl-badge-size { color: var(--muted); background: transparent; }

.dl-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: 0.03em; line-height: 1.35;
  margin-bottom: 10px;
}
.dl-desc {
  font-size: 0.86rem; font-weight: 300;
  color: rgba(245,238,238,0.68);
  line-height: 1.65;
  margin-bottom: 22px;
}
.dl-actions { margin-top: auto; }

.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(135deg, rgba(230,0,0,0.92), rgba(180,0,0,0.92));
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 12px 22px;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s, opacity 0.2s;
  line-height: 1;
}
.dl-btn svg { width: 15px; height: 15px; }
.dl-btn:hover { box-shadow: 0 0 22px rgba(230,0,0,0.45); transform: translateY(-1px); }
.dl-btn:disabled { opacity: 0.55; cursor: wait; transform: none; }
.dl-btn-ghost {
  background: transparent;
  color: var(--primary);
}
.dl-btn-ghost:hover { background: rgba(230,0,0,0.1); }

/* ── Zablokowane kafelki ── */
.dl-card.is-asking .dl-card-body {
  filter: blur(7px) saturate(0.6);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.dl-lock-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(9,5,5,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.dl-card.is-asking .dl-lock-overlay { opacity: 1; pointer-events: auto; }

.dl-pass-form { width: 100%; max-width: 260px; }
.dl-pass-label {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px; text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.dl-pass-row { display: flex; gap: 8px; }
.dl-pass-input {
  flex: 1; min-width: 0;
  font-family: 'Exo 2', sans-serif; font-size: 0.9rem;
  color: var(--text);
  background: rgba(9,5,5,0.85);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.dl-pass-input:focus { border-color: var(--primary); box-shadow: 0 0 14px rgba(230,0,0,0.25); }
.dl-pass-row .dl-btn { padding: 11px 15px; }
.dl-pass-error {
  min-height: 18px;
  font-size: 0.74rem; font-weight: 600;
  color: var(--secondary);
  margin-top: 8px; text-align: center;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.dl-shake { animation: dlShake 0.45s ease; }
@keyframes dlShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ── Light theme ── */
[data-theme="light"] .dl-desc { color: rgba(30,10,10,0.7); }
[data-theme="light"] .dl-lock-overlay { background: rgba(247,240,240,0.35); }
[data-theme="light"] .dl-pass-input { background: rgba(255,255,255,0.9); color: #1c0a0a; }
[data-theme="light"] .dl-pass-label,
[data-theme="light"] .dl-pass-error { text-shadow: none; }

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  max-width: 400px;
  padding: 22px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.68, 0, 1);
}
.cookie-banner.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner-title {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
  margin-bottom: 10px;
}
.cookie-banner-title svg { color: var(--primary); }
.cookie-banner-text { font-size: 0.84rem; color: var(--muted); line-height: 1.65; font-weight: 300; margin-bottom: 18px; }
.cookie-banner-text a { color: var(--secondary); text-decoration: underline; }
.cookie-banner-text a:hover { color: var(--primary); }
.cookie-banner-btns { display: flex; gap: 12px; }
.cookie-btn {
  flex: 1; padding: 11px 14px; cursor: pointer;
  font-family: 'Orbitron', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
  border-radius: 4px; transition: all 0.3s;
}
.cookie-btn-accept {
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  box-shadow: 0 0 20px rgba(230,0,0,0.4);
}
.cookie-btn-accept:hover { box-shadow: 0 0 32px rgba(230,0,0,0.7); transform: translateY(-1px); }
.cookie-btn-reject { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.cookie-btn-reject:hover { border-color: var(--primary); color: var(--primary); background: rgba(230,0,0,0.06); }
[data-theme="light"] .cookie-banner { box-shadow: 0 10px 40px rgba(0,0,0,0.18); }
@media (max-width: 560px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ── Cookie prefs (manage) ── */
.cookie-prefs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; padding-top: 4px; }
.cookie-pref { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.cookie-pref-label { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cookie-pref-name {
  font-family: 'Orbitron', sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.cookie-pref-desc { font-size: 0.76rem; color: var(--muted); font-weight: 300; }
.cookie-pref input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-switch {
  flex-shrink: 0; width: 38px; height: 20px; border-radius: 10px;
  background: rgba(230,0,0,0.1); border: 1px solid var(--border);
  position: relative; transition: background 0.25s, border-color 0.25s;
}
.cookie-switch::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--muted); transition: transform 0.25s, background 0.25s;
}
.cookie-pref input:checked + .cookie-switch { background: rgba(230,0,0,0.35); border-color: var(--primary); }
.cookie-pref input:checked + .cookie-switch::after { transform: translateX(18px); background: var(--primary); }
.cookie-pref input:disabled + .cookie-switch { opacity: 0.55; cursor: not-allowed; }
.cookie-pref input:disabled + .cookie-switch::after { background: var(--text); }
.cookie-manage-link {
  display: block; margin: 14px auto 0; padding: 0;
  background: none; border: none; cursor: pointer;
  font-family: 'Exo 2', sans-serif; font-size: 0.76rem; font-weight: 400;
  color: var(--muted); text-decoration: underline; letter-spacing: 0.04em;
  transition: color 0.25s;
}
.cookie-manage-link:hover { color: var(--primary); }
.cookie-btn-save { width: 100%; margin-top: 0; }
.cookie-banner-btns[hidden], .cookie-btn-save[hidden], .cookie-manage-link[hidden] { display: none; }

/* ── Cookie floating icon ── */
.cookie-fab {
  position: fixed; bottom: 86px; left: 24px; z-index: 299;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--card-bg); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--muted); padding: 0; outline: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
  transition: color 0.25s, box-shadow 0.25s;
}
.cookie-fab:hover { color: var(--primary); box-shadow: 0 6px 28px rgba(0,0,0,0.32), 0 0 0 3px rgba(230,0,0,0.15); }
.cookie-fab[hidden] { display: none; }
