/*
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: #7a5050;
  --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;
}
.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; }
.about-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(230,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(230,0,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.about-grid { display: grid; grid-template-columns: 1fr; gap: 60px; position: relative; z-index: 1; }
.about-section .section-title { font-size: clamp(1.7rem, 3.5vw, 2.8rem); margin-bottom: 24px; }
.about-text p { font-size: 0.97rem; line-height: 1.85; color: rgba(245,238,238,0.78); margin-bottom: 18px; font-weight: 300; }
.about-text p strong { color: var(--text); font-weight: 600; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 40px 24px; text-align: center; position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: statLine 3s ease-in-out infinite;
}
.stat-card:nth-child(2)::before { animation-delay: 0.75s; background: linear-gradient(90deg, transparent, var(--secondary), transparent); }
.stat-card:nth-child(3)::before { animation-delay: 1.5s; background: linear-gradient(90deg, transparent, var(--secondary), transparent); }
.stat-card:nth-child(4)::before { animation-delay: 2.25s; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
@keyframes statLine { 0%,100% { opacity: 0.2; } 50% { opacity: 1; } }
.stat-card:hover { border-color: rgba(230,0,0,0.45); box-shadow: 0 0 24px rgba(230,0,0,0.14); }
.stat-num { font-family: 'Orbitron', sans-serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--primary); text-shadow: 0 0 20px rgba(230,0,0,0.55); line-height: 1; margin-bottom: 10px; display: block; }
.stat-card:nth-child(2) .stat-num { color: var(--secondary); text-shadow: 0 0 20px rgba(255,68,68,0.55); }
.stat-card:nth-child(3) .stat-num { color: var(--secondary); text-shadow: 0 0 20px rgba(255,68,68,0.55); }
.stat-card:nth-child(4) .stat-num { color: var(--accent); text-shadow: 0 0 20px rgba(255,119,0,0.55); }
.stat-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

/* ═══ 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: 24px; }
.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); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.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: default;
}
.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; }

/* ═══ 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;
  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); }
.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; }
.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); }

/* ═══ 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.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.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-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); }
}
@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; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .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; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 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"] .about-section::before {
  background-image: linear-gradient(rgba(200,0,0,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,0,0,0.05) 1px, transparent 1px);
}
[data-theme="light"] .services-section  { background: #ede4e4; }
[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); }

/* ═══ 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;
}
.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;
}

/* ═══ 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: 999;
}
.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); }
