/* ============================================================
   Volton Install - Redesign strony głównej (2026)
   Koncepcja: "Centrum dowodzenia domem"
   Ciemny, technologiczny layout. Akcent: elektryczny cyan #25D3FE.
   ============================================================ */

:root {
  --bg: #0d1117;
  --bg-2: #0e1420;
  --surface: #131a28;
  --surface-2: #1a1a2e;
  --surface-3: #1c2438;
  --line: rgba(37, 211, 254, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --cyan: #25d3fe;
  --cyan-dk: #0aabcf;
  --cyan-soft: rgba(37, 211, 254, 0.1);
  --cyan-glow: rgba(37, 211, 254, 0.35);
  --text: #eef3f9;
  --body: #a8b4c6;
  --muted: #76839a;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1220px;
  --header-h: 76px;
  --font: 'Inter', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }
svg { display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease; }
p, ul, h1, h2, h3, h4 { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--cyan-glow); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--cyan); color: #06222b; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Typografia pomocnicza ---------- */

section[id], footer[id] { scroll-margin-top: 90px; }
/* aliasy kotwic z poprzedniej wersji strony (#formularz, #callback) - niewidoczne, tylko cel przewijania */
.contact .container[id] { scroll-margin-top: 90px; }
.callback-box[id] { scroll-margin-top: 90px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 2px;
}

.section { padding: 110px 0; position: relative; }
.section-tight { padding: 84px 0; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 18px 0 16px;
}
.section-head p { font-size: 1.06rem; max-width: 640px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered p { margin: 0 auto; }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3fdcff, var(--cyan) 45%, var(--cyan-dk));
  color: #052531;
  box-shadow: 0 0 0 1px rgba(37, 211, 254, 0.4), 0 10px 34px -8px var(--cyan-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(37, 211, 254, 0.6), 0 16px 44px -8px var(--cyan-glow); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-soft);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--line); background: var(--cyan-soft); color: var(--cyan); }

.btn svg { width: 18px; height: 18px; }

/* ---------- Nagłówek ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.7);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 15px; height: 15px; background: var(--cyan); border-radius: 3px; transform: rotate(45deg); box-shadow: 0 0 14px var(--cyan-glow); flex-shrink: 0; }
.logo-text { font-size: 1.22rem; letter-spacing: -0.02em; color: var(--text); }
.logo-text strong { font-weight: 800; }
.logo-text span { font-weight: 300; color: var(--body); }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
}
.site-nav a:hover { color: var(--cyan); background: var(--cyan-soft); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.92rem;
  flex-shrink: 0;
}
.header-phone:hover { background: var(--cyan-soft); box-shadow: 0 0 22px -4px var(--cyan-glow); }
.header-phone svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { height: 100%; object-fit: cover; opacity: 0.34; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.75) 0%, rgba(13, 17, 23, 0.55) 45%, var(--bg) 100%),
    linear-gradient(100deg, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0.4) 60%, rgba(13, 17, 23, 0.65) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(37, 211, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 211, 254, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 254, 0.16) 0%, transparent 65%);
  top: -180px;
  right: -120px;
  filter: blur(10px);
  animation: heroGlowFloat 9s ease-in-out infinite alternate;
}
@keyframes heroGlowFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 50px) scale(1.12); }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(37, 211, 254, 0.07);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, #8fe9ff, var(--cyan) 55%, var(--cyan-dk));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { font-size: 1.13rem; max-width: 560px; margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 46px; }
.hero-note strong { color: var(--body); font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}
.hero-stats strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.hero-stats strong em { font-style: normal; color: var(--cyan); }
.hero-stats span { font-size: 0.8rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* Panel sterowania (makieta UI w hero) */

.hero-panel-wrap { position: relative; }

.hero-panel {
  position: relative;
  background: linear-gradient(165deg, rgba(28, 36, 56, 0.92), rgba(19, 26, 40, 0.94));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 60px -18px var(--cyan-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  animation: panelFloat 7s ease-in-out infinite alternate;
}
@keyframes panelFloat {
  from { transform: translateY(0) rotate(-0.4deg); }
  to { transform: translateY(-14px) rotate(0.4deg); }
}

.hero-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 18px;
}
.hero-panel-head .win { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hero-panel-head .win:first-child { background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); }
.hero-panel-head .panel-title { margin-left: 8px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-panel-head .panel-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.hero-panel-head .panel-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan); animation: pulseDot 1.8s ease-in-out infinite;
}

.panel-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.panel-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 15px 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.panel-tile:hover { border-color: var(--line); background: var(--cyan-soft); }
.panel-tile .tile-label { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.panel-tile .tile-label svg { width: 15px; height: 15px; color: var(--cyan); }
.panel-tile .tile-value { font-size: 1.45rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.panel-tile .tile-value small { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-left: 3px; }
.panel-tile .tile-sub { font-size: 0.74rem; color: var(--muted); margin-top: 2px; }

.panel-energy {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.panel-energy .energy-info { flex: 1; min-width: 0; }
.panel-energy .tile-value { color: var(--cyan); }
.energy-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; }
.energy-bars i {
  width: 7px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(37, 211, 254, 0.15));
  animation: barPulse 2.6s ease-in-out infinite;
  transform-origin: bottom;
}
.energy-bars i:nth-child(1) { height: 34%; animation-delay: 0s; }
.energy-bars i:nth-child(2) { height: 58%; animation-delay: 0.15s; }
.energy-bars i:nth-child(3) { height: 44%; animation-delay: 0.3s; }
.energy-bars i:nth-child(4) { height: 76%; animation-delay: 0.45s; }
.energy-bars i:nth-child(5) { height: 62%; animation-delay: 0.6s; }
.energy-bars i:nth-child(6) { height: 92%; animation-delay: 0.75s; }
.energy-bars i:nth-child(7) { height: 70%; animation-delay: 0.9s; }
.energy-bars i:nth-child(8) { height: 100%; animation-delay: 1.05s; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.72); opacity: 0.7; }
}

.hero-panel-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 14px;
  background: rgba(19, 26, 40, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
}
.hero-panel-chip svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-panel-chip small { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 500; }
.chip-top { top: -22px; right: 34px; animation: chipFloat 6s ease-in-out infinite alternate; }
.chip-bottom { bottom: -20px; left: -18px; animation: chipFloat 7s 0.8s ease-in-out infinite alternate-reverse; }
@keyframes chipFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

/* ---------- Pasek marquee ---------- */

.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tickerScroll 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
  opacity: 0.6;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Manifest ---------- */

.manifest { background: var(--bg); }
.manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 70px;
  align-items: start;
}
.manifest-statement {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.manifest-statement .hl { color: var(--cyan); }
.manifest-statement .dim { color: var(--muted); }
.manifest-copy { margin-top: 26px; font-size: 1.05rem; max-width: 520px; }

.pillars { display: grid; gap: 14px; }
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.pillar:hover {
  border-color: var(--line);
  transform: translateX(6px);
  box-shadow: 0 20px 46px -22px rgba(0, 0, 0, 0.8);
}
.pillar-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 11px;
  flex-shrink: 0;
  background: var(--cyan-soft);
  font-variant-numeric: tabular-nums;
}
.pillar h3 { font-size: 1.08rem; font-weight: 700; color: var(--text); margin-bottom: 5px; letter-spacing: -0.01em; }
.pillar p { font-size: 0.92rem; line-height: 1.6; }

/* ---------- Oferta: siatka bento ---------- */

.offer { background: var(--bg-2); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 211, 254, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: var(--line);
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.85);
}

.bento-feature { grid-column: span 7; grid-row: span 2; }
.bento-media { grid-column: span 5; }
.bento-small { grid-column: span 4; }

.bento-media--promo { border-color: rgba(37, 211, 254, 0.28); }
.bento-media--promo:hover {
  border-color: rgba(37, 211, 254, 0.55);
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.85), 0 0 44px -16px rgba(37, 211, 254, 0.45);
}

.bento-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 26px;
  align-items: center;
  padding: 36px;
  flex: 1;
}
.bento-feature .feature-img {
  border-radius: 14px;
  overflow: hidden;
  border: 0;
  background: #0d1117;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  transform: none;
  transition: transform 0.4s var(--ease);
}
.bento-feature:hover .feature-img img { transform: scale(1.05); }
.bento-feature .feature-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; aspect-ratio: 4 / 4.6; transition: transform 0.55s var(--ease); }

.bento-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; z-index: 2; }
.bento-feature .bento-body { padding: 0; }

.bento-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line);
  background: var(--cyan-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

.bento-card h3 { font-size: 1.22rem; font-weight: 700; color: var(--text); letter-spacing: -0.015em; }
.bento-feature h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.2; }
.bento-card p { font-size: 0.92rem; line-height: 1.65; }
.bento-feature p { font-size: 1rem; }

.bento-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 8.2; }
.bento-photo img { height: 100%; object-fit: cover; transition: transform 0.55s var(--ease), filter 0.55s ease; filter: saturate(0.9) brightness(0.92); }
.bento-card:hover .bento-photo img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.bento-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 26, 40, 0.9) 100%);
}

.bento-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  padding-top: 8px;
}
.bento-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.bento-card:hover .bento-link svg { transform: translateX(5px); }

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
  margin-bottom: 4px;
}
.bento-icon svg { width: 23px; height: 23px; }

/* ---------- Proces ---------- */

.process { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.step:hover { border-color: var(--line); transform: translateY(-5px); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(160deg, var(--cyan), rgba(37, 211, 254, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -16px;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 9px; letter-spacing: -0.01em; }
.step p { font-size: 0.9rem; line-height: 1.62; }

/* ---------- Spotlight: inteligentny dom ---------- */

.spotlight {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(37, 211, 254, 0.07), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 66px;
  align-items: center;
}

.spotlight h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 18px 0 18px;
}
.spotlight-copy > p { font-size: 1.04rem; margin-bottom: 28px; max-width: 520px; }

.feature-list { display: grid; gap: 16px; margin-bottom: 34px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list svg { width: 21px; height: 21px; color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.feature-list strong { display: block; color: var(--text); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.feature-list span { font-size: 0.9rem; }

.spotlight-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.spotlight-media { position: relative; }
.spotlight-media .frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 50px -20px var(--cyan-glow);

}
/* Proporcja MUSI siedzieć na ramce, nie na <img>: obrazy mają atrybuty width/height,
   a przy globalnym `img { width: 100% }` bez `height` atrybut wygrywa i ustawia wysokość
   na sztywno - `aspect-ratio` na samym <img> jest wtedy ignorowane. Zdjęcie 947x1906
   rozpychało sekcję do 2130 px. Ten sam wzorzec co `.bento-photo`. (2026-07-21) */
/* Ramka wysoka i wąska - decyzja właściciela 2026-07-21. Grafika bilansu energii jest
   projektowana pod DOKŁADNIE te wymiary (549x604 px), z pasem 58 px wolnym na dole
   pod etykietę "-38%". Zmiana tej proporcji wymaga przerobienia grafiki. */
.spotlight-media .frame { aspect-ratio: 549 / 604; }
/* Kadr od dołu: góra zrzutu to "Dzisiejsze zużycie 0,0 kWh / produkcja 0,0 kWh" - zera
   w sekcji o spłacaniu się na rachunkach. Dół pokazuje 1180 kWh zużycia wobec 5415 kWh
   produkcji rocznie. Docelowo zrzut do wymiany (patrz tracker #19). */
.spotlight-media .frame img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: bottom; }
/* Etykieta nachodzi na lewy dolny róg grafiki - grafika bilansu energii jest zaprojektowana
   z pustą strefą w tym miejscu, żeby nic nie zasłaniać. Patrz `_zrodla-zdjec/grafika-energia-k3.html`. */
.spotlight-media .float-stat {
  position: absolute;
  left: -26px;
  /* Etykieta ma 88 px wysokości, a pas wolny na dole grafiki 56 px: przy `bottom: -30px`
     nachodzi dokładnie na ten pas i nie zasłania żadnej liczby. */
  bottom: -30px;
  background: rgba(19, 26, 40, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  animation: chipFloat 6.5s ease-in-out infinite alternate;
}
.spotlight-media .float-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--cyan); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spotlight-media .float-stat span { font-size: 0.76rem; color: var(--muted); }

/* ---------- Realizacje ---------- */

.projects { background: var(--bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.project-card:hover {
  border-color: var(--line);
  transform: translateY(-6px);
  box-shadow: 0 34px 66px -28px rgba(0, 0, 0, 0.9);
}
.project-photo { overflow: hidden; aspect-ratio: 4 / 3.4; }
.project-photo img { height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); filter: brightness(0.92); }
.project-card:hover .project-photo img { transform: scale(1.07); filter: brightness(1.02); }
.project-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-loc { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.project-body h3 { font-size: 1.04rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.project-body p { font-size: 0.86rem; line-height: 1.6; }

/* ---------- Dlaczego Volton ---------- */

.why { background: var(--bg-2); }

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 66px;
  align-items: center;
}

.why h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 18px 0 18px;
}
.why-copy > p { font-size: 1.04rem; margin-bottom: 30px; max-width: 520px; }

.check-list { display: grid; gap: 13px; margin-bottom: 36px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--text);
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 15px 20px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.check-list li:hover { border-color: var(--line); transform: translateX(6px); }
.check-list .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
}
.check-list .check svg { width: 13px; height: 13px; }

.why-media { position: relative; }
.why-media .frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);

}
.why-media .frame { aspect-ratio: 4 / 4.6; }
.why-media .frame img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; }
.partner-chip {
  position: absolute;
  right: -18px;
  top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(19, 26, 40, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  animation: chipFloat 7s 0.4s ease-in-out infinite alternate;
}
.partner-chip .chip-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--cyan-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
}
.partner-chip .chip-icon svg { width: 20px; height: 20px; }
.partner-chip strong { display: block; font-size: 0.9rem; color: var(--text); font-weight: 700; line-height: 1.3; }
.partner-chip span { font-size: 0.74rem; color: var(--muted); }

/* ---------- Opinie ---------- */

.reviews { background: var(--bg); }

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}
.reviews-score .stars { color: #ffc531; letter-spacing: 3px; font-size: 0.95rem; }
.reviews-score span { color: var(--muted); font-weight: 500; }

.reviews-slider { position: relative; margin-top: 44px; }
/* UWAGA - nie zmieniaj `overflow-x` z powrotem na `auto` bez przeczytania tego komentarza.
   Poziomo przewijalny kontener na stronie sprawia, że Chromium przestaje wyznaczać
   kandydata Largest Contentful Paint dla CAŁEGO dokumentu: PageSpeed Insights zwracał
   `NO_LCP`, a CrUX w ogóle nie zbierał LCP dla strony głównej i podstron usług (czyli
   dokładnie tych, które mają sekcję opinii). Trace pokazywał 88 zdarzeń
   `largestContentfulPaint::Invalidate` i zero `Candidate`.
   Dlatego przewijanie startuje wyłączone, a włącza je `redesign.js` po `load` albo przy
   pierwszym dotknięciu slidera - LCP zdąży się zarejestrować, a swipe działa normalnie.
   Zweryfikowane pomiarem 2026-07-21: auto -> brak LCP, hidden -> LCP 124 ms. */
.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 12px;
}
.reviews-track.przewijanie-wl { overflow-x: auto; }
/* Bez JavaScriptu nikt nie doda klasy - wtedy przewijanie ma być dostępne od razu. */
@media (scripting: none) {
  .reviews-track { overflow-x: auto; }
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.review-card:hover { border-color: var(--line); transform: translateY(-4px); }
.review-stars { color: #ffc531; letter-spacing: 3px; font-size: 1rem; }
.review-text { font-size: 0.94rem; line-height: 1.72; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); border: 1px solid var(--line);
  color: var(--cyan); font-weight: 800; font-size: 0.9rem;
}
.review-author strong { color: var(--text); font-size: 0.94rem; display: block; line-height: 1.3; }
.review-author span { color: var(--muted); font-size: 0.78rem; }
/* Inicjały w awatarze: reguła wyżej była nadpisywana przez `.review-author span`
   (wyższa specyficzność) - inicjały wychodziły szare 3,71:1 zamiast cyjanowych.
   Zweryfikowane w przeglądarce 2026-07-21 (Lighthouse: color-contrast). */
.review-author .review-avatar { color: var(--cyan); font-size: 0.9rem; }

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(19, 26, 40, 0.9);
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.reviews-arrow:hover { background: var(--cyan-soft); box-shadow: 0 0 24px -6px var(--cyan-glow); }
.reviews-arrow:disabled { opacity: 0.3; cursor: default; box-shadow: none; }
.reviews-arrow-prev { left: -14px; }
.reviews-arrow-next { right: -14px; }

.reviews-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.reviews-dots button {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.reviews-dots button.active { background: var(--cyan); width: 26px; }

.reviews-cta { text-align: center; margin-top: 26px; }
.reviews-cta a { color: var(--cyan); font-weight: 600; font-size: 0.94rem; border-bottom: 1px solid transparent; }
.reviews-cta a:hover { border-bottom-color: var(--cyan); }

/* ---------- CTA banner ---------- */

.cta-banner { padding: 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 120% at 15% 0%, rgba(37, 211, 254, 0.16), transparent 60%),
    linear-gradient(140deg, var(--surface-3), var(--surface-2) 60%, #12182b);
  padding: clamp(48px, 7vw, 84px) clamp(28px, 6vw, 80px);
  text-align: center;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 211, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 211, 254, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 16px 0 16px;
}
.cta-panel > p { position: relative; max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-links { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.cta-note { position: relative; font-size: 0.86rem; color: var(--muted); }

/* ---------- Kontakt ---------- */

.contact { background: var(--bg-2); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-info { display: grid; gap: 14px; }
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.25s ease;
}
.contact-info-card:hover { border-color: var(--line); }
.contact-info-card .ci-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--cyan-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
}
.contact-info-card .ci-icon svg { width: 21px; height: 21px; }
.contact-info-card strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-info-card a, .contact-info-card .ci-val { color: var(--text); font-weight: 600; font-size: 1.02rem; }
.contact-info-card a:hover { color: var(--cyan); }

.contact-area-note {
  font-size: 0.92rem;
  line-height: 1.7;
  border-left: 2px solid var(--cyan);
  padding-left: 18px;
  margin-top: 10px;
}

.callback-box {
  margin-top: 8px;
  background: linear-gradient(140deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.callback-box strong { display: block; color: var(--text); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.callback-box > span { font-size: 0.88rem; display: block; margin-bottom: 16px; }
.callback-row { display: flex; gap: 10px; }
.callback-row input { flex: 1; min-width: 0; }

/* Formularz */

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 42px);
  display: grid;
  gap: 22px;
}

.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.form-label .label-note { color: var(--muted); font-weight: 400; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-flex;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.chip-check span:hover { border-color: var(--line); color: var(--text); }
.chip-check input:checked + span {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px -4px var(--cyan-glow);
}
.chip-check input:focus-visible + span { outline: 3px solid var(--cyan-glow); outline-offset: 2px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(37, 211, 254, 0.18);
  background: rgba(37, 211, 254, 0.04);
}
textarea { resize: vertical; min-height: 120px; }

.form-rodo { display: flex; gap: 12px; align-items: flex-start; font-size: 0.84rem; line-height: 1.6; }
.form-rodo input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cyan); flex-shrink: 0; }
.form-rodo a { color: var(--cyan); text-decoration: underline; }

.form-status {
  display: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(46, 213, 115, 0.1); border: 1px solid rgba(46, 213, 115, 0.4); color: #6fe3a0; }
.form-status.is-error { background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.4); color: #ff9c9c; }

/* ---------- Stopka ---------- */

.site-footer {
  background: #0a0e14;
  border-top: 1px solid var(--line-soft);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand p { font-size: 0.92rem; margin-top: 18px; max-width: 360px; }
.site-footer h3 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links li { font-size: 0.93rem; color: var(--body); }
.footer-links a:hover { color: var(--cyan); }

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.footer-legal span { font-size: 0.78rem; color: var(--muted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 22px 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-bottom p { margin-right: auto; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Mobilny pasek połączenia ---------- */

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
}
.mobile-call-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
}
.mobile-call-bar .mcb-call { border: 1px solid var(--line); color: var(--cyan); }
.mobile-call-bar .mcb-call svg { width: 16px; height: 16px; }
.mobile-call-bar .mcb-form { background: linear-gradient(135deg, #3fdcff, var(--cyan) 50%, var(--cyan-dk)); color: #052531; }

/* ---------- Animacje wejścia ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */

@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; gap: 80px; }
  .hero-panel-wrap { max-width: 560px; }
  .bento-feature { grid-column: span 12; grid-row: auto; }
  .bento-media { grid-column: span 6; }
  .bento-small { grid-column: span 6; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:last-child)::after { display: none; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 900px) {
  .manifest-grid, .spotlight-grid, .why-grid, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  /* Na wąskich ekranach etykieta jest niemal tak szeroka jak grafika, więc jako nakładka
     przykrywała ją od 60% do 90% wysokości. Schodzi pod grafikę jako osobny pasek. */
  .spotlight-media .float-stat {
    position: static;
    margin-top: 14px;
    animation: none;
  }
  .partner-chip { right: 12px; }
  .why-media, .spotlight-media { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 13px 16px; font-size: 1rem; }
  .menu-toggle { display: block; }
  .header-phone span { display: none; }
  .header-phone { padding: 12px; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .container { padding: 0 20px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .hero-panel { padding: 16px; }
  .hero-panel-chip { display: none; }
  .bento-media, .bento-small { grid-column: span 12; }
  .bento-feature-inner { grid-template-columns: 1fr; padding: 26px; }
  .bento-feature .feature-img { max-width: 320px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: 86%; }
  .reviews-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .callback-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { padding: 20px 20px; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Redukcja ruchu ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Formularze: status callbacku + RODO + Turnstile (reintegracja 2026-07-21;
   te same reguły co pages.css - potrzebne na stronie głównej, która pages.css nie ładuje) ---------- */

.callback-rodo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--body);
}
.callback-rodo input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--cyan); flex-shrink: 0; }
.callback-rodo a { color: var(--cyan); text-decoration: underline; }

.callback-form .cf-turnstile { margin-top: 14px; }
.contact-form .cf-turnstile { margin: -4px 0 0; }

.callback-status {
  display: none;
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.callback-status.ok { display: block; background: rgba(46, 213, 115, 0.1); border: 1px solid rgba(46, 213, 115, 0.4); color: #6fe3a0; }
.callback-status.err { display: block; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.4); color: #ff9c9c; }

.callback-done {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6fe3a0;
}
.callback-done svg { flex-shrink: 0; stroke: #2ed573; }
