/* ============================================================
   prestiz.net — design v2 „światłowód”
   Brand: #0095EB na granacie #0A1626 · Sora + IBM Plex Sans
   ============================================================ */

:root {
  --ink: #0b1220;
  --navy: #0a1626;
  --navy-2: #0e2138;
  --blue: #0095eb;
  --blue-deep: #0072c6;
  --cyan: #38c3ff;
  --paper: #ffffff;
  --mist: #f2f6fa;
  --mist-2: #e7eef6;
  --line: #dfe8f1;
  --slate: #55647a;
  --slate-light: #8595ab;
  --green: #17a673;
  --amber: #f0940a;
  --r-lg: 18px;
  --r-md: 14px;
  --shadow-card: 0 24px 48px -24px rgba(10, 22, 38, 0.25);
  --shadow-btn: 0 10px 24px -8px rgba(0, 149, 235, 0.55);
  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue); }
ul { list-style: none; }
::selection { background: rgba(0, 149, 235, 0.22); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.16;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }

.lead {
  font-size: 1.14rem; color: var(--slate); max-width: 700px;
  font-weight: 400;
}
.accent { color: var(--blue); }
.num, .price, .speed, .sum-total b, .stat b { font-variant-numeric: tabular-nums; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: #93a5bd;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(56, 195, 255, 0.12);
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e8f0fa; font-weight: 500; }
.topbar a:hover { color: var(--cyan); }
.topbar .dot { color: var(--blue); margin: 0 6px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; position: relative;
}
.logo {
  font-family: var(--display);
  font-size: 1.42rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 9px;
}
.logo .mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  position: relative; flex: 0 0 26px;
  box-shadow: 0 4px 12px -2px rgba(0, 149, 235, 0.5);
}
.logo .mark::after {
  content: ''; position: absolute; inset: 8px;
  border-radius: 50%; background: #fff;
}
.logo b { color: var(--blue); font-weight: 700; }
.logo:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 15px;
  color: var(--ink); font-weight: 500; font-size: 0.94rem;
  border-radius: 10px;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--blue-deep); background: var(--mist); }
.nav .btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff !important; border-radius: 999px;
  padding: 10px 24px; margin-left: 10px;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav .btn-nav:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(0, 149, 235, 0.6); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 272px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 24px 56px -16px rgba(10, 22, 38, 0.28); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.18s ease;
}
.nav > li::after {
  /* mostek hover między linkiem a dropdownem */
  content: ''; position: absolute; left: 0; right: 0; height: 10px; top: 100%;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px;
  color: var(--ink); font-size: 0.92rem; font-weight: 450;
}
.dropdown a:hover { background: var(--mist); color: var(--blue-deep); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: 0.2s; border-radius: 2px;
}

/* ---------- Hero (strona główna) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -12%, rgba(0, 149, 235, 0.28), transparent 62%),
    radial-gradient(700px 420px at -8% 110%, rgba(0, 114, 198, 0.22), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 104px 0 118px;
}
.hero::before {
  /* delikatna siatka techniczna */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(133, 149, 171, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 149, 171, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 800px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #a7b8ce; margin: 22px 0 34px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14, 33, 56, 0.72);
  border: 1px solid rgba(56, 195, 255, 0.28);
  color: #bfe6ff; font-size: 0.8rem; font-weight: 500;
  padding: 6px 15px; border-radius: 999px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.01em;
}
.badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* animowane impulsy światła na włóknach */
.fiber { stroke: rgba(0, 149, 235, 0.35); }
.fiber-dim { stroke: rgba(0, 149, 235, 0.16); }
.pulse {
  stroke: var(--cyan);
  stroke-dasharray: 3 240;
  stroke-linecap: round;
  animation: pulse-move 7s linear infinite;
  filter: drop-shadow(0 0 4px var(--cyan));
}
.pulse.p2 { animation-duration: 9s; animation-delay: -3s; }
.pulse.p3 { animation-duration: 11s; animation-delay: -6s; }
@keyframes pulse-move { to { stroke-dashoffset: -243; } }
.node { fill: var(--blue); }
.node-glow { fill: rgba(0, 149, 235, 0.16); }
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; stroke-dasharray: none; opacity: 0.25; }
}

/* ---------- Hero podstron ---------- */
.hero-sub {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 340px at 88% -20%, rgba(0, 149, 235, 0.26), transparent 62%),
    var(--navy);
  color: #fff; padding: 64px 0 70px;
}
.hero-sub::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 195, 255, 0.5), transparent);
}
.hero-sub h1 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.hero-sub h1 .accent {
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub .lead { color: #a7b8ce; margin-top: 16px; }
.hero-sub .container { position: relative; z-index: 2; }
.breadcrumbs {
  font-size: 0.82rem; color: #7488a3; margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.breadcrumbs a { color: #a7b8ce; }
.breadcrumbs a:hover { color: var(--cyan); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px;
  font-family: var(--body);
  font-weight: 600; font-size: 0.98rem; cursor: pointer;
  border: 0; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: var(--shadow-btn);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0, 149, 235, 0.65); }
.btn-ghost { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid rgba(167, 184, 206, 0.4); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-outline { background: #fff; color: var(--blue-deep); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--mist); transform: translateY(-1px); }

/* ---------- Sekcje ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--mist); }
.section-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #a7b8ce; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate); margin-top: 14px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  text-transform: uppercase; letter-spacing: 0.15em;
  font-size: 0.72rem; font-weight: 600; color: var(--blue-deep);
  margin-bottom: 14px;
}
.kicker::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.section-head.center .kicker::after {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.section-dark .kicker { color: var(--cyan); }

/* ---------- Siatki i karty ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); border-color: #bcd9f0; }
.card h3 { margin: 20px 0 10px; }
.card p { color: var(--slate); font-size: 0.94rem; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 600; font-size: 0.9rem; color: var(--blue-deep);
}
.card.card-link { display: block; color: inherit; }
.card.card-link:hover .more { color: var(--blue); gap: 10px; }
.card .more { transition: gap 0.18s; }

.icon-tile {
  width: 54px; height: 54px; border-radius: var(--r-md);
  background: linear-gradient(135deg, #e9f5fe, #d2ecfe);
  border: 1px solid #c2e3fb;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
}
.icon-tile svg { width: 26px; height: 26px; }

.check-list li {
  padding-left: 34px; position: relative; margin-bottom: 13px; color: var(--slate);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 7px;
  background: rgba(23, 166, 115, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317a673' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.check-list b { color: var(--ink); font-weight: 600; }

/* ---------- Kroki procesu ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; padding: 30px 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform 0.22s, box-shadow 0.22s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue-deep);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #eef7ff, #fff);
}
.step h3 { font-size: 1.02rem; margin-bottom: 7px; }
.step p { font-size: 0.89rem; color: var(--slate); }

/* ---------- Pasek liczb ---------- */
.stats-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdfe, var(--mist));
  padding: 52px 0;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat b {
  font-family: var(--display);
  font-size: 2.5rem; font-weight: 700; display: block; line-height: 1.1;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat b small { font-size: 1.15rem; }
.stat span { color: var(--slate); font-size: 0.9rem; display: inline-block; margin-top: 6px; }
.section-dark .stat span { color: #a7b8ce; }
.section-dark .stat b { background: linear-gradient(120deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; }

/* ---------- Cennik ---------- */
.toggle-wrap { display: flex; justify-content: center; margin-bottom: 42px; }
.toggle {
  display: inline-flex; background: var(--mist-2); border-radius: 999px; padding: 5px;
  border: 1px solid var(--line);
}
.toggle button {
  border: 0; background: transparent; padding: 11px 30px; border-radius: 999px;
  font-family: var(--body); font-size: 0.96rem; font-weight: 600; color: var(--slate);
  cursor: pointer; transition: all 0.18s;
}
.toggle button.on {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: 0 6px 16px -4px rgba(0, 149, 235, 0.5);
}

.pricing-grid { display: grid; gap: 20px; align-items: stretch; }
.plan {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 24px 28px; text-align: center; cursor: pointer;
  transition: all 0.2s ease; display: flex; flex-direction: column;
  position: relative;
}
.plan:hover { border-color: #9fd3f7; transform: translateY(-3px); box-shadow: var(--shadow-card); }
.plan.selected {
  border-color: var(--blue);
  background: linear-gradient(180deg, #f2faff, #fff 55%);
  box-shadow: 0 0 0 3px rgba(0, 149, 235, 0.16), var(--shadow-card);
}
.plan .plan-name {
  font-family: var(--display);
  font-weight: 600; font-size: 0.8rem; color: var(--slate-light);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.plan .speed {
  font-family: var(--display);
  font-size: 2.7rem; font-weight: 700; color: var(--ink); margin: 12px 0 2px;
  letter-spacing: -0.03em; line-height: 1;
}
.plan .speed small { font-size: 0.95rem; color: var(--slate-light); font-weight: 500; letter-spacing: 0; }
.plan .upload { color: var(--slate); font-size: 0.85rem; margin-bottom: 18px; }
.plan .price {
  font-family: var(--display);
  font-size: 1.55rem; font-weight: 700; color: var(--blue-deep); margin-top: auto;
}
.plan .price small { font-size: 0.8rem; color: var(--slate-light); font-weight: 500; }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), #d97e06);
  color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 4px 15px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap; box-shadow: 0 6px 14px -4px rgba(240, 148, 10, 0.55);
}
.plan .tag.alt { background: linear-gradient(135deg, var(--slate-light), var(--slate)); box-shadow: none; }

.configurator {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-card); padding: 40px; margin-top: 36px;
}
.configurator h3 { margin-bottom: 24px; }
.conf-row { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.conf-options { flex: 1 1 380px; }
.conf-field { margin-bottom: 20px; }
.conf-field label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.conf-field select, .conf-field input[type="text"], .conf-field input[type="email"] {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--body); font-size: 0.97rem; background: #fff; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.conf-field select:focus, .conf-field input:focus, form .conf-field textarea:focus {
  border-color: var(--blue); outline: none;
  box-shadow: 0 0 0 3px rgba(0, 149, 235, 0.14);
}
.checkbox-row {
  display: flex; align-items: baseline; gap: 10px; padding: 7px 0;
  color: var(--slate); font-size: 0.93rem;
}
.checkbox-row::before {
  content: ''; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 5px;
  align-self: center;
  background: rgba(23, 166, 115, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317a673' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}
.summary {
  flex: 0 1 350px; min-width: 290px;
  background:
    radial-gradient(320px 180px at 110% -20%, rgba(0, 149, 235, 0.3), transparent 65%),
    var(--navy);
  color: #fff; border-radius: var(--r-lg);
  padding: 30px; border: 1px solid rgba(56, 195, 255, 0.18);
}
.summary h4 {
  color: #7488a3; text-transform: uppercase; font-size: 0.72rem;
  letter-spacing: 0.14em; margin-bottom: 16px; font-family: var(--display); font-weight: 600;
}
.summary .sum-line {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.9rem; color: #a7b8ce; padding: 7px 0;
  border-bottom: 1px dashed rgba(167, 184, 206, 0.2);
}
.summary .sum-line span:last-child { color: #dce8f5; font-weight: 500; text-align: right; }
.summary .sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.summary .sum-total b { font-family: var(--display); font-size: 2.3rem; color: #fff; letter-spacing: -0.02em; }
.summary .sum-total span { color: #7488a3; font-size: 0.84rem; }
.summary .btn { width: 100%; justify-content: center; margin-top: 22px; }
.summary .note { font-size: 0.74rem; color: #7488a3; margin-top: 14px; line-height: 1.55; }

/* ---------- Kalkulator IT ---------- */
.it-calc { max-width: 900px; margin: 0 auto; }
.it-calc > label { font-weight: 600; font-size: 1.02rem; }
.it-calc input[type="range"] {
  width: 100%; accent-color: var(--blue); height: 6px; margin: 22px 0 8px; cursor: pointer;
}
.range-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--slate-light); }
.it-readout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 28px; }
.it-readout .cell {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 14px; text-align: center;
  transition: transform 0.2s;
}
.it-readout .cell b {
  display: block; font-family: var(--display); font-size: 1.55rem;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1.2;
}
.it-readout .cell.hl {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-color: transparent;
  box-shadow: 0 14px 28px -10px rgba(0, 149, 235, 0.6);
}
.it-readout .cell.hl b { color: #fff; font-size: 1.75rem; }
.it-readout .cell span { font-size: 0.78rem; color: var(--slate); }
.it-readout .cell.hl span { color: #cfe9fc; }

/* ---------- Tabele ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--shadow-card); }
table.nice { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
table.nice th {
  background: var(--navy); color: #dce8f5; text-align: left; padding: 15px 18px;
  font-family: var(--display); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em;
}
table.nice td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.93rem; color: var(--slate); }
table.nice tr:last-child td { border-bottom: 0; }
table.nice tbody tr:hover td, table.nice tr:hover td { background: #f7fbfe; }
table.nice td b { color: var(--ink); font-weight: 600; }

/* ---------- Pasmo CTA ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 120%, rgba(56, 195, 255, 0.35), transparent 60%),
    linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff; padding: 68px 0;
}
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; position: relative; z-index: 2;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.cta-band p { color: #d9efff; margin-top: 8px; max-width: 520px; }
.cta-band .btn { background: #fff; color: var(--blue-deep); box-shadow: 0 12px 28px -10px rgba(6, 40, 70, 0.55); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }
.cta-phone {
  font-family: var(--display);
  font-size: 1.55rem; font-weight: 700; color: #fff; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
}
.cta-phone svg { width: 22px; height: 22px; }
.cta-phone:hover { color: var(--navy); }

/* ---------- Stopka ---------- */
.site-footer {
  background: var(--navy); color: #7e90a8; padding: 68px 0 0; font-size: 0.9rem;
  border-top: 1px solid rgba(56, 195, 255, 0.14);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 {
  color: #dce8f5; font-size: 0.8rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.site-footer a { color: #7e90a8; display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo b { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(126, 144, 168, 0.14); padding: 22px 0;
  font-size: 0.8rem; color: #5a6d87;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.post-card .date {
  font-size: 0.74rem; color: var(--slate-light);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.post-card h3 { margin: 12px 0 8px; }
.post-thumb {
  border-radius: var(--r-md); overflow: hidden; margin-bottom: 20px;
  background: var(--navy); border: 1px solid rgba(56, 195, 255, 0.15);
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-info .row { display: flex; gap: 18px; margin-bottom: 26px; align-items: flex-start; }
.contact-info .row .icon-tile { flex: 0 0 48px; width: 48px; height: 48px; }
.contact-info .row b { display: block; color: var(--ink); font-family: var(--display); font-size: 0.95rem; }
.contact-info .row span { color: var(--slate); font-size: 0.94rem; }
a.big { font-size: 1.25rem; font-weight: 600; font-family: var(--display); }
form .conf-field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--body); font-size: 0.97rem; min-height: 140px; resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* ---------- Smart home ---------- */
.sys-card .sys-logo { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.sys-card .sys-for {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue-deep); font-weight: 600; margin: 6px 0 16px; font-family: var(--display);
}

/* ---------- Lista ulic ---------- */
.street-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.street-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 18px; font-size: 0.94rem; color: var(--slate);
  display: flex; align-items: center; gap: 11px;
  transition: border-color 0.15s, transform 0.15s;
}
.street-grid li:hover { border-color: #9fd3f7; transform: translateX(3px); }
.street-grid li::before {
  content: ''; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(23, 166, 115, 0.14);
}

/* ---------- Mały przełącznik (typ łącza) ---------- */
.toggle.toggle-sm button { padding: 8px 20px; font-size: 0.85rem; }
.toggle-wrap + .toggle-wrap { margin-top: -26px; }

/* ---------- Listy kanałów TV ---------- */
.channels-acc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  margin-bottom: 16px; overflow: hidden;
}
.channels-acc summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  transition: background 0.15s;
}
.channels-acc summary::-webkit-details-marker { display: none; }
.channels-acc summary:hover { background: var(--mist); }
.channels-acc summary .count {
  font-size: 0.8rem; font-weight: 600; color: var(--blue-deep);
  background: #e9f5fe; border: 1px solid #c2e3fb;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.channels-acc summary::after {
  content: ''; flex: 0 0 10px; width: 10px; height: 10px;
  border-right: 2px solid var(--slate-light); border-bottom: 2px solid var(--slate-light);
  transform: rotate(45deg); transition: transform 0.2s; margin-left: 4px;
}
.channels-acc[open] summary::after { transform: rotate(-135deg); }
.channels-acc[open] summary { border-bottom: 1px solid var(--line); }
.channels-acc .acc-body { padding: 10px 28px 26px; }
.cat-head {
  font-family: var(--display); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-deep);
  margin: 20px 0 10px;
}
.chip-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 13px 4px 9px; font-size: 0.82rem; color: var(--ink); white-space: nowrap;
}
.chip i {
  font-style: normal; font-size: 0.68rem; color: var(--slate-light);
  font-variant-numeric: tabular-nums;
}
.live-frame {
  width: 100%; border: 0; display: block; height: 0;
  transition: height 0.3s ease;
}
.live-frame.ready {
  height: 560px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
}

/* ---------- Animacje wejścia ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .steps, .it-readout { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .street-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 880px) {
  .nav {
    position: absolute; top: 100%; right: 0; width: min(330px, 88vw);
    max-height: calc(100vh - 140px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px; box-shadow: 0 32px 64px -16px rgba(10, 22, 38, 0.35);
    overflow-y: auto;
    border: 1px solid var(--line); border-top: 0;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transform: translateX(110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav > li > a { padding: 13px 14px; font-size: 1.02rem; }
  .nav > li::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 6px 14px; display: none; min-width: 0;
  }
  .nav > li.dd-open .dropdown { display: block; }
  .nav .btn-nav { margin: 12px 2px 4px; text-align: center; justify-content: center; display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .steps, .stats, .it-readout, .street-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 76px; }
  .section { padding: 58px 0; }
  .configurator { padding: 26px 20px; }
  .cta-band .container { flex-direction: column; text-align: center; align-items: center; }
  body { font-size: 16px; }
}
