/* ==========================================================================
   Info-Net — warstwa wizualna według finalnych grafik (wrzesień 2026).
   Ładowana PO globals.css (patrz src/app/layout.tsx). globals.css trzyma
   tokeny, formularze, CMP, artykuły i panel administratora; tutaj są
   nagłówek, stopka i wszystkie sekcje stron publicznych z grafik.
   ========================================================================== */

:root {
  --sky: #f3f8fe;
  --sky-2: #eaf2fd;
  --header-h: 84px;
  --topbar-h: 36px;
  --tv-luz: #3fc1e8;
  --tv-komfort: #7bc943;
  --tv-prestiz: #f5a524;
  --tv-max: #a855f7;
}

body {
  background: #fff;
}
/* Atrybuty width/height obrazków to proporcje oryginałów (np. 1293×1216) —
   o rozmiarze decyduje CSS, a wysokość zawsze wynika z proporcji. */
img {
  height: auto;
}
p {
  color: var(--ink-soft);
}
.dot {
  color: var(--brand-blue);
}
.center {
  text-align: center;
}

/* ---------- ikony ---------- */
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn .ico {
  width: 1.05em;
  height: 1.05em;
  stroke-width: 2;
}

/* ---------- przyciski i linki ---------- */
.btn-outline {
  background: #fff;
  border-color: var(--brand-blue);
  color: var(--brand-blue-deep);
}
.btn-outline:hover {
  background: var(--brand-blue-soft);
}
.btn-lg {
  font-size: 1.05rem;
  padding: 0.95em 2em;
  min-height: 54px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--brand-blue-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 3px;
  width: fit-content;
}
.link-arrow .ico {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  transition: transform 0.15s ease;
}
.link-arrow:hover .ico {
  transform: translateX(3px);
}
.link-arrow--dark {
  color: var(--ink);
  border-bottom-color: var(--brand-blue);
}

/* ---------- sekcje ---------- */
section {
  padding-block: 64px;
}
@media (min-width: 820px) {
  section {
    padding-block: 80px;
  }
}
.sec-tight {
  padding-block: 44px;
}
.sec-sky {
  background: linear-gradient(180deg, var(--sky) 0%, #fff 100%);
}
.sec-sky-solid {
  background: var(--sky);
}
.sec-head {
  margin-bottom: 32px;
}
.sec-head h2 {
  margin-bottom: 0.2em;
}
.sec-head p {
  margin: 0;
  font-size: 1.05rem;
}
.sec-head--row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-end;
  justify-content: space-between;
}

/* ---------- nagłówek ---------- */
/* Kotwice (#kanaly, #pytania…) nie chowają się pod przyklejonym nagłówkiem. */
section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h));
}

/* pasek kontaktowy nad nagłówkiem — na każdej stronie */
.topbar {
  background: var(--brand-blue-deep);
  color: #fff;
  font-size: 0.8rem;
}
.topbar-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 7px;
  white-space: nowrap;
}
.topbar a:hover b,
.topbar-side a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topbar b {
  font-weight: 600;
  letter-spacing: 0.01em;
}
.topbar .ico {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 1.8;
  opacity: 0.9;
}
.topbar-side {
  display: none;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.88);
}
.topbar-side > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar-side a {
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-block: 0 1px;
}
.topbar-md,
.topbar-lg,
.topbar-label {
  display: none !important;
}
@media (max-width: 420px) {
  .topbar {
    font-size: 0.75rem;
  }
  .topbar-inner {
    padding-inline: 16px;
  }
  .topbar-list {
    gap: 0 12px;
  }
  .topbar .ico {
    display: none;
  }
}
@media (min-width: 640px) {
  .topbar-md,
  .topbar-label {
    display: inline !important;
  }
  .topbar-md {
    display: list-item !important;
  }
}
@media (min-width: 900px) {
  .topbar-side {
    display: flex;
  }
}
@media (min-width: 1180px) {
  .topbar-lg {
    display: inline-flex !important;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Pełne tło: przy półprzezroczystym tle z backdrop-filter Chrome pokazywał przewijany
     pod nagłówkiem tekst strony (audyt 19.10.2026, pkt 4). */
  background: #fff;
  border-bottom: 1px solid rgba(223, 231, 242, 0.8);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  display: block;
  flex: none;
  line-height: 0;
}
.brand-logo img {
  height: 58px;
  width: auto;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  /* 8 pozycji z rozwijanymi menu: pełne menu od 1080 px (wcześniej przycisk „Sprawdź dostępność” wychodził poza ekran),
     odstęp rośnie z szerokością ekranu. */
  gap: clamp(16px, 2.2vw, 38px);
  align-items: center;
}
@media (min-width: 1080px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding-block: 10px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current='page']::after,
.nav-links a[data-section-active='true']::after,
.nav-links .has-dropdown:hover > a::after {
  transform: scaleX(1);
}

/* rozwijane menu działu (komputer): podstrony + link do pełnej oferty */
.nav-links .has-dropdown {
  position: relative;
}
.nav-links .nav-caret {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  transition: transform 0.18s ease;
}
.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  /* wyrównane do lewej krawędzi zakładki — przy 1080 px menu „Internet” nie wychodzi poza ekran */
  left: -14px;
  z-index: 70;
  width: 370px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px -12px rgba(13, 42, 84, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
/* niewidoczny „mostek”, żeby menu nie znikało przy przesuwaniu kursora z zakładki */
.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.nav-links .nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: normal;
  font-size: 0.93rem;
}
.nav-links .nav-dropdown a::after {
  content: none;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--sky);
}
.nav-dropdown a > .ico {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--brand-blue);
}
.nav-dropdown b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.nav-dropdown small {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.nav-links .nav-dropdown .nav-dropdown-all {
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--sky);
  border: 1px solid var(--line);
}
.nav-dropdown-all b {
  color: var(--brand-blue-deep);
}
.nav-dropdown-all .ico-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand-blue-deep);
}
.nav-dropdown-all:hover {
  border-color: var(--brand-blue);
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown,
  .nav-links .nav-caret {
    transition: none;
  }
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta {
  display: none;
}
@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}
.nav-cta.btn {
  min-height: 42px;
  padding: 0.55em 1.25em;
  font-size: 0.9rem;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
}
.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 24px 24px;
}
.mobile-panel.open {
  display: grid;
  gap: 4px;
}
.mobile-panel a:not(.btn) {
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .mobile-sub {
  padding-left: 18px !important;
  font-size: 0.93rem;
  color: var(--ink-soft) !important;
}
.mobile-panel .btn {
  margin-top: 12px;
}
@media (min-width: 1080px) {
  .mobile-panel.open {
    display: none;
  }
}

/* subnawigacja sekcji Internet */
.subnav {
  background: rgba(243, 248, 254, 0.9);
  border-top: 1px solid var(--line);
}
.subnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 24px;
  max-width: var(--container);
  display: flex;
  justify-content: safe center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
}
.subnav a .ico {
  width: 1.35em;
  height: 1.35em;
}
.subnav a[aria-current='page'] {
  color: var(--brand-blue-deep);
  border-bottom-color: var(--brand-blue);
  font-weight: 500;
}
.subnav li + li {
  border-left: 1px solid var(--line);
}

/* ---------- hero ---------- */
.hero2 {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #fbfdff 0%, var(--sky) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero2-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
}
.hero2-copy {
  position: relative;
  z-index: 2;
  padding: 36px 24px 48px;
}
.hero2-copy h1,
.hero2-copy .h1-display {
  margin-bottom: 0.35em;
}
.hero2-copy .lede {
  font-size: 1.13rem;
  color: var(--ink);
  opacity: 0.85;
  max-width: 34ch;
  margin-bottom: 1.6em;
}
.hero2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
}
.hero2-media {
  position: relative;
  min-height: 260px;
}
.hero2-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero2-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin-top: 28px;
}
.hero2-quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 0 22px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.hero2-quicklinks a + a {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}
.hero2-quicklinks .ico {
  width: 1.6em;
  height: 1.6em;
  color: var(--brand-blue);
}
.hero2-quicklinks .ico-arrow {
  width: 1em;
  height: 1em;
  color: var(--brand-blue);
}
@media (min-width: 900px) {
  .hero2-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 520px;
  }
  .hero2-copy {
    padding: 56px 24px 64px;
    align-self: center;
  }
  .hero2-media {
    position: absolute;
    inset: 0 0 0 38%;
    min-height: 0;
  }
  .hero2-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, 0.75) 12%, rgba(248, 251, 255, 0) 34%);
    pointer-events: none;
  }
  /* wariant: zdjęcie po lewej, tekst po prawej */
  .hero2--media-left .hero2-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .hero2--media-left .hero2-copy {
    grid-column: 2;
  }
  .hero2--media-left .hero2-media {
    inset: 0 42% 0 0;
  }
  .hero2--media-left .hero2-media::before {
    background: linear-gradient(270deg, #f5f9ff 0%, rgba(245, 249, 255, 0.7) 12%, rgba(245, 249, 255, 0) 34%);
  }
}
@media (min-width: 1500px) {
  .hero2-media {
    inset: 0 0 0 44%;
  }
  .hero2--media-left .hero2-media {
    inset: 0 46% 0 0;
  }
}

/* hero centrum pomocy */
.hero-help {
  position: relative;
  padding: 56px 0 48px;
  text-align: center;
  background: radial-gradient(1200px 300px at 50% 0%, #fff 0%, var(--sky) 70%, var(--sky-2) 100%);
  overflow: hidden;
}
.hero-help .eyebrow {
  justify-content: center;
}
.hero-help h1,
.hero-help .h1-display {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem);
  margin-bottom: 0.25em;
}
.hero-help p {
  margin-inline: auto;
  color: var(--ink);
}
.hero-help-art {
  display: none;
}
@media (min-width: 1100px) {
  .hero-help-art {
    display: block;
    position: absolute;
    right: max(24px, calc((100vw - var(--container)) / 2 - 40px));
    top: 26px;
    width: 300px;
  }
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  margin: 26px auto 0;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-m);
}
.search-box .ico {
  color: var(--ink-soft);
}
.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.98rem;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  min-height: 42px;
}
.search-box:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft), var(--shadow-m);
}
.search-box .btn {
  min-height: 40px;
  padding: 0.45em 1.4em;
}
.search-results {
  max-width: 620px;
  margin: 12px auto 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.search-results ul {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 460px;
  overflow: auto;
}
.search-results li a,
.search-results li button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.search-results li a:hover,
.search-results li button:hover,
.search-results li a:focus-visible,
.search-results li button:focus-visible {
  background: var(--sky);
}
.search-results small {
  display: block;
  color: var(--ink-faint);
  font-size: 0.8rem;
}
.search-empty {
  padding: 14px 16px;
  margin: 0;
  font-size: 0.93rem;
}
.search-results-title {
  margin: 0;
  padding: 12px 18px 4px;
  font-weight: 600;
  color: var(--ink);
}
/* podpowiedzi pytań podczas pisania (help.js) */
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 6px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  max-height: 340px;
  overflow: auto;
}
.search-suggest li {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
}
.search-suggest li:hover,
.search-suggest li[aria-selected='true'] {
  background: var(--sky);
}
.search-suggest .sugg-topic {
  font-weight: 600;
  color: var(--brand-blue-deep);
}
/* hasła pod wyszukiwarką */
.help-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  margin: 16px auto 0;
}
.help-keywords > span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-right: 2px;
}
.help-search-band .search-box {
  margin-top: 0;
}

/* pasek tematów pomocy */
.topic-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.topic-bar ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 24px;
  max-width: var(--container);
  display: grid;
  /* minmax(0, …) — kolumna nie może być szersza niż połowa ekranu (telefony 360 px). */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) {
  .topic-bar ul {
    grid-template-columns: repeat(4, 1fr);
  }
}
.topic-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.topic-bar li + li a {
  border-left: 1px solid var(--line);
}
.topic-bar .ico {
  width: 2em;
  height: 2em;
  color: var(--brand-blue);
}
.topic-bar .ico-arrow {
  width: 1em;
  height: 1em;
}

/* ---------- karty usług (trio) ---------- */
.trio {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.trio-item {
  display: flex;
  flex-direction: column;
}
.trio-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--sky-2);
  margin-bottom: 20px;
}
.trio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.trio-item:hover .trio-img img {
  transform: scale(1.03);
}
.trio-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding-right: 16px;
}
@media (min-width: 760px) {
  .trio-item + .trio-item .trio-body {
    border-left: 1px solid var(--line);
    padding-left: 22px;
    margin-left: -24px;
  }
}
/* Cztery kafelki (strona główna: internet, telewizja, telefon, firmy) — 2×2 na tablecie, 4 w rzędzie na komputerze. */
@media (min-width: 760px) and (max-width: 1099px) {
  .trio--4 {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .trio--4 .trio-item:nth-child(odd) .trio-body {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
  }
}
@media (min-width: 1100px) {
  .trio--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trio-body > .ico {
  width: 44px;
  height: 44px;
  color: var(--brand-blue);
  stroke-width: 1.3;
  grid-row: span 2;
}
.trio-body h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 2px 0 0;
}
.trio-body p {
  font-size: 0.92rem;
  margin: 0;
}
.trio-body .link-arrow {
  grid-column: 2;
  margin-top: 18px;
  font-size: 0.92rem;
}
.trio--text .trio-body {
  display: block;
  padding-right: 0;
  border-left: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.trio--text h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.3em;
}

/* ---------- podział: zdjęcie + treść ---------- */
.split {
  padding: 0;
  background: var(--sky);
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.split-media {
  min-height: 260px;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-body {
  padding: 44px 24px 52px;
  align-self: center;
  max-width: 620px;
}
.split-body h2 {
  margin-bottom: 0.25em;
}
.split-body > p {
  font-size: 1.05rem;
}
@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }
  .split-body {
    padding: 56px 56px 56px 48px;
  }
  .split--reverse .split-media {
    order: 2;
  }
  .split--reverse .split-body {
    justify-self: end;
    padding: 56px 48px 56px 24px;
  }
}
.mini-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 30px;
}
@media (max-width: 400px) {
  /* Trzy kolumny na wąskim telefonie — mniejsze odstępy, żeby zmieściły się najdłuższe słowa. */
  .mini-features > div {
    padding-inline: 8px;
    font-size: 0.84rem;
  }
}
.mini-features > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 18px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.35;
}
.mini-features > div:first-child {
  padding-left: 0;
}
.mini-features > div + div {
  border-left: 1px solid var(--line-strong);
}
.mini-features .ico-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-s);
}
.mini-features .ico-bubble .ico {
  color: var(--brand-blue);
  width: 22px;
  height: 22px;
}
.mini-features--centered > div {
  align-items: center;
  text-align: center;
}
.mini-features--green .ico-bubble {
  background: transparent;
  box-shadow: none;
}
.mini-features--green .ico-bubble .ico {
  color: var(--brand-green);
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
}

.mini-features > div > .ico {
  width: 32px;
  height: 32px;
  color: var(--brand-blue);
}

/* ---------- kroki ---------- */
.steps2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps2 {
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 0;
  }
}
.steps2 li {
  position: relative;
  padding-inline: 14px;
}
.steps2 h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 14px 0 6px;
}
.steps2 p {
  font-size: 0.92rem;
  margin: 0;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-deep);
  font-weight: 600;
  flex: none;
}
.step-head .ico {
  width: 38px;
  height: 38px;
  color: var(--brand-blue);
  stroke-width: 1.4;
}
@media (min-width: 760px) {
  .steps2--arrows li:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 30px;
    color: var(--brand-blue);
    font-size: 1.5rem;
  }
}
/* wariant: okrągła ikona na linii */
.steps2--line {
  text-align: center;
}
.steps2--line .step-circle {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 50%;
  border: 1.5px solid var(--brand-blue);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--brand-blue);
}
.steps2--line .step-circle .ico {
  width: 28px;
  height: 28px;
}
@media (min-width: 760px) {
  .steps2--line li:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    opacity: 0.8;
  }
}
/* wariant: numer + ikona w jednym wierszu (dla firm) */
.steps2--pill .step-head {
  justify-content: center;
}
.steps2--pill .step-num {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--brand-blue);
  background: #fff;
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
}
.steps2--pill .step-head .ico {
  width: 26px;
  height: 26px;
}
.steps2--pill {
  text-align: center;
}
@media (min-width: 760px) {
  .steps2--pill li:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 21px;
    left: calc(50% + 62px);
    right: calc(-50% + 36px);
    height: 1.5px;
    background: var(--brand-blue);
    opacity: 0.6;
  }
}
/* wariant: duże koła z ikoną (faktury) */
.steps2--big {
  text-align: center;
}
.steps2--big .step-circle {
  width: 104px;
  height: 104px;
  margin-inline: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-m);
  display: grid;
  place-items: center;
  color: var(--brand-blue);
}
.steps2--big .step-circle .ico {
  width: 46px;
  height: 46px;
  stroke-width: 1.3;
}
.steps2--big h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}
@media (min-width: 760px) {
  .steps2--big li:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -8px;
    top: 38px;
    color: var(--brand-blue);
    font-size: 1.4rem;
  }
}
/* wariant: ikona + tekst w wierszu, z pionowym separatorem */
.steps2--inline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding-inline: 0 24px;
}
@media (min-width: 760px) {
  .steps2--inline li + li {
    border-left: 1px solid var(--line-strong);
    padding-left: 28px;
  }
}
.steps2--inline .ico {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  grid-row: span 2;
  stroke-width: 1.4;
}
.steps2--inline h3 {
  margin-top: 4px;
}

/* ---------- FAQ (akordeon) ---------- */
.accordion {
  display: grid;
  gap: 10px;
}
.accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(11, 22, 64, 0.03);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.accordion-item:hover {
  border-color: var(--line-strong);
}
.accordion-item:has([aria-expanded='true']) {
  border-color: #bcd4f6;
  box-shadow: var(--shadow-m);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 17px 22px;
  font: inherit;
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border-radius: 10px;
}
.accordion-trigger .chevron {
  color: var(--brand-blue);
  transition: transform 0.2s ease;
  flex: none;
}
.accordion-trigger[aria-expanded='true'] .chevron {
  transform: rotate(180deg);
}
.accordion--plus .accordion-trigger[aria-expanded='true'] .chevron {
  transform: rotate(45deg);
}
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.accordion-panel[data-open='true'] {
  grid-template-rows: 1fr;
}
.accordion-panel > .accordion-panel-inner {
  overflow: hidden;
}
.accordion-panel-inner p {
  padding: 0 22px 18px;
  margin: 0;
  max-width: 78ch;
}

/* ---------- pasek CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 54px;
  background: linear-gradient(180deg, #fff 0%, var(--sky) 100%);
}
.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.cta-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
}
.cta-band p {
  margin: 6px 0 0;
}
.cta-band .actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.wave-deco {
  position: absolute;
  inset: auto -5% -30% 25%;
  height: 170%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.cta-band--image {
  padding: 0;
  background: var(--sky);
}
.cta-band--image .cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.cta-band--image .cta-copy {
  padding: 48px 24px;
}
.cta-band--image .cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
@media (min-width: 900px) {
  .cta-band--image .cta-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
  }
  .cta-band--image .cta-media {
    height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .cta-band--image .cta-copy {
    padding: 48px 24px 48px max(24px, calc((100vw - var(--container)) / 2 + 24px));
  }
}

/* pasek kontaktowy (dymek + tekst + przycisk) */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  padding: 22px 28px;
  border-radius: var(--radius-m);
  background: var(--sky-2);
  position: relative;
  overflow: hidden;
}
.contact-strip > .ico {
  width: 42px;
  height: 42px;
  color: var(--brand-blue);
  stroke-width: 1.4;
}
.contact-strip .txt {
  flex: 1;
  min-width: 220px;
  padding-left: 26px;
  border-left: 1px solid var(--line-strong);
}
.contact-strip h2,
.contact-strip h3 {
  font-size: 1.35rem;
  margin: 0;
}
.contact-strip p {
  margin: 2px 0 0;
  font-size: 0.93rem;
}
.contact-strip--lg {
  padding: 32px 36px;
}
.contact-strip--lg h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.contact-strip .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---------- karty wyboru (strona Internet) ---------- */
.choice-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.choice-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 22px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  align-items: center;
}
.choice-card > img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.choice-card .ico-lg {
  width: 44px;
  height: 44px;
  color: var(--brand-blue);
  stroke-width: 1.3;
}
.choice-card h3 {
  font-size: 1.85rem;
  margin: 10px 0 8px;
}
.choice-card p {
  font-size: 0.95rem;
}

/* ---------- Wi-Fi / urządzenie ---------- */
.device-band {
  background: var(--sky);
}
.device-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .device-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.device-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.device-art img {
  width: min(300px, 80%);
  mix-blend-mode: multiply;
}

/* Grupy pakietów na jednej stronie (LTE: bez limitu / z pakietem danych) */
.offer-group-title {
  font-size: 1.25rem;
  margin: 34px 0 16px;
}
.offer-group-title:first-of-type {
  margin-top: 6px;
}

/* Pasek faktów pod hero strony głównej: cztery lekkie kafle — ikona w kółku w kolorach marki, liczba obok, podpis pod spodem. */
.facts-strip {
  padding-block: 30px 22px;
  background: linear-gradient(180deg, var(--sky) 0%, #fff 100%);
  border-top: 1px solid #dde9f8;
}
.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .facts-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}
.facts-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    'ico num'
    'lab lab';
  align-items: center;
  gap: 12px 14px;
  padding: 18px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 18px rgba(11, 40, 110, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.facts-list li:hover {
  transform: translateY(-2px);
  border-color: #cfe0f7;
  box-shadow: 0 12px 28px rgba(0, 70, 170, 0.12);
}
.facts-text {
  display: contents;
}
.facts-ico {
  grid-area: ico;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #22a6d8 55%, var(--brand-green) 100%);
  box-shadow: 0 6px 14px rgba(0, 112, 234, 0.25);
}
.facts-ico .ico {
  width: 22px;
  height: 22px;
  color: #fff;
}
.facts-list b {
  grid-area: num;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}
.facts-list b small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}
.facts-list b sup {
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: 0.9em;
  color: var(--brand-blue);
}
.facts-text > span {
  grid-area: lab;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}
.facts-note {
  margin: 14px auto 0;
  max-width: 120ch;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-wrap: balance;
}
/* telefon: dwie kolumny — ikona nad liczbą, mniejsze kafle */
@media (max-width: 559px) {
  .facts-list li {
    grid-template-columns: 1fr;
    grid-template-areas:
      'ico'
      'num'
      'lab';
    gap: 10px;
    padding: 14px 14px 16px;
  }
  .facts-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .facts-ico .ico {
    width: 20px;
    height: 20px;
  }
  .facts-list b {
    font-size: 1.45rem;
  }
  .facts-text > span {
    padding-top: 10px;
    font-size: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .facts-list li {
    transition: none;
  }
  .facts-list li:hover {
    transform: none;
  }
}

/* Router Wi-Fi: własny albo dzierżawa (wifi_addon) */
.router-choice {
  padding: 30px 28px;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--sky-2), var(--sky));
}
.router-choice-head {
  max-width: 760px;
}
.router-choice-head h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  margin-bottom: 0.3em;
}
.router-options {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 22px;
}
@media (min-width: 760px) {
  .router-options {
    grid-template-columns: 1fr 1fr;
  }
}
.router-option {
  position: relative;
  background: #fff;
  border: 1px solid #cfe0f7;
  border-radius: var(--radius-m);
  padding: 22px 22px 18px;
}
.router-option h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin: 0;
}
.router-option h3 .ico {
  width: 22px;
  height: 22px;
  color: var(--brand-blue);
}
.router-option img {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 92px;
  height: auto;
  mix-blend-mode: multiply;
}
.router-option-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-blue);
  margin: 8px 0 10px;
}
.router-option-price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.router-option ul {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ink);
}
.router-choice-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--ink);
  font-weight: 500;
}
.router-choice-note .ico,
.offer-router .ico {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}
/* Informacja przy każdym pakiecie światłowodu i radia. */
.offer-router {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -8px 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef8ef;
  color: #1d5f22;
  font-size: 0.86rem;
  line-height: 1.4;
}
.offer-card--row .offer-router {
  margin: 14px 0 0;
}

/* dodatek Wi-Fi do pakietu */
.addon {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--sky-2), var(--sky));
}
.addon h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  margin-bottom: 0.15em;
}
.addon img {
  width: 180px;
  mix-blend-mode: multiply;
}
.addon-prices {
  display: grid;
  gap: 14px;
}
.addon-price {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.addon-price .ico {
  width: 30px;
  height: 30px;
  color: var(--brand-blue);
}
.addon-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.addon-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.check-dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  flex: none;
}
.check-dot .ico {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.big-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--ink);
}
.big-price small {
  font-family: var(--font-body);
  font-size: 1rem;
}
@media (min-width: 900px) {
  .addon {
    grid-template-columns: auto auto 1fr auto;
    padding: 30px 40px;
  }
  .addon--checks {
    grid-template-columns: 1fr auto auto;
    gap: 40px;
  }
  .addon .divider {
    width: 1px;
    align-self: stretch;
    background: var(--line-strong);
  }
}

/* ---------- pakiety internetowe ---------- */
.offer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .offer-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .offer-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.offer-card:hover {
  transform: translateY(-3px);
  border-color: #bcd4f6;
  box-shadow: 0 16px 36px rgba(0, 70, 170, 0.12);
}
.offer-speed {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.offer-speed small {
  font-size: 0.8em;
}
.offer-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.35rem);
  line-height: 1.1;
  color: var(--brand-blue);
  margin: 6px 0 16px;
}
.offer-price small {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
}
.offer-price--ink {
  color: var(--ink);
}
.offer-price--ink small {
  color: var(--ink);
}
.offer-card--stack .offer-price::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}
.offer-feats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink);
}
.offer-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.offer-feats .ico {
  color: var(--brand-blue);
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.offer-feats--check .ico {
  color: var(--brand-green);
  stroke-width: 2.4;
}
.offer-feats b {
  font-weight: 600;
}
.offer-card .btn {
  margin-top: auto;
}
.offer-card--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) {
  .offer-card--row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .offer-card--row .offer-main {
    padding-right: 24px;
    border-right: 1px solid var(--line);
  }
}
/* Tablet: dwie karty obok siebie są za wąskie na układ „treść | przycisk” — przycisk schodzi pod treść. */
@media (min-width: 760px) and (max-width: 979px) {
  .offer-grid--2 > .offer-card--row {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer-grid--2 > .offer-card--row .offer-main {
    padding-right: 0;
    border-right: 0;
  }
}
.offer-card--row .offer-feats {
  margin-bottom: 0;
}
.offer-card--row .btn {
  margin-top: 0;
}
.offer-note {
  margin: 18px 0 0;
  text-align: center;
  max-width: none;
  color: var(--ink);
  font-size: 0.95rem;
}
.offer-badge {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d7025; /* 5,5:1 na --brand-green-soft */
  background: var(--brand-green-soft);
  border-radius: 999px;
  padding: 0.3em 0.8em;
  width: fit-content;
}

/* ---------- ikonowe cechy (3 kolumny z separatorami) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .feature-row > div + div {
    border-left: 1px solid var(--line-strong);
  }
}
.feature-row > div {
  text-align: center;
  padding: 6px 18px;
}
.feature-row .ico {
  width: 46px;
  height: 46px;
  color: var(--brand-blue);
  stroke-width: 1.4;
  margin: 0 auto 14px;
  display: block;
}
.feature-row h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}
.feature-row p {
  font-size: 0.86rem;
  margin: 0 auto;
}
.feature-split {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 1.4fr 1fr;
  }
}
.feature-split > img {
  width: 100%;
  border-radius: var(--radius-m);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-m);
}

/* ---------- pytania z odpowiedzią w kolumnach (/internet/swiatlowod, /o-nas) ---------- */
.qa-cols {
  display: grid;
  gap: 32px 56px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .qa-cols {
    grid-template-columns: 1fr 1fr;
  }
}
.qa-cols h2 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
  margin-bottom: 0.4em;
}
.qa-cols p {
  font-size: 1.02rem;
}

/* ---------- cechy z ikoną w kartach (/o-nas) ---------- */
.about-features {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.about-features > div,
.about-features > a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 22px;
}
/* Karty usług na /dla-firm prowadzą do sekcji opisowych niżej. */
.about-features > a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.about-features > a:hover,
.about-features > a:focus-visible {
  border-color: var(--brand-blue);
  box-shadow: 0 6px 20px rgb(0 60 140 / 0.08);
}
.b2b-service {
  scroll-margin-top: 90px;
}
.b2b-service h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6em;
}
.about-features .ico {
  width: 38px;
  height: 38px;
  color: var(--brand-blue);
  stroke-width: 1.4;
  margin-bottom: 14px;
  display: block;
}
.about-features h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}
.about-features p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- formularz adresowy w wierszu ---------- */
.addr-form {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 720px) {
  .addr-form {
    grid-template-columns: repeat(var(--fields, 4), minmax(0, 1fr)) auto;
  }
}
.addr-form .field label {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink);
}
.addr-form .field input {
  border-width: 1px;
  border-color: var(--line-strong);
  min-height: 48px;
}
.addr-form .btn {
  min-height: 50px;
}
.addr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 20px 50px rgba(11, 40, 110, 0.12);
  padding: 22px;
  max-width: 470px;
}
.addr-card h2 {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.addr-card .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.icon-input {
  position: relative;
}
.icon-input .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-blue);
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.icon-input input {
  width: 100%;
  padding: 0.75em 0.9em 0.75em 2.7em;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  font-size: 0.93rem;
  min-height: 46px;
  color: var(--ink);
}
.icon-input input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}
.icon-input input[aria-invalid='true'] {
  border-color: var(--danger);
}
.addr-card .btn {
  margin-top: 12px;
}
.info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.info-line .ico {
  color: var(--brand-blue);
  width: 18px;
  height: 18px;
}
.form-error-line {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--danger);
}

/* ---------- telewizja: karty pakietów ---------- */
.tv-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  margin-bottom: 28px;
}
.tv-head h2 {
  margin: 0;
}
.tv-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.tv-perks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
}
.tv-perks span + span {
  border-left: 1px solid var(--line-strong);
}
.tv-perks .ico {
  color: var(--brand-blue);
  width: 22px;
  height: 22px;
}
.tv-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .tv-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.tv-card {
  --accent: var(--tv-luz);
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 26px 26px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.tv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 70, 170, 0.12);
}
.tv-card::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 26px;
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
}
@media (min-width: 520px) {
  .tv-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.tv-card[data-tone='komfort'] {
  --accent: var(--tv-komfort);
}
.tv-card[data-tone='prestiz'] {
  --accent: var(--tv-prestiz);
}
.tv-card[data-tone='max'] {
  --accent: var(--tv-max);
}
/* Pakiety premium (telewizja światłowodowa) — mniejsze karty bez przycisków. */
.tv-premium-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) {
  .tv-premium-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 520px) {
  .tv-card--premium {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tv-card h3 {
  font-size: 1.45rem;
  margin: 12px 0 10px;
}
.tv-rows {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
  max-width: 260px;
}
.tv-rows dd {
  margin: 0;
  color: var(--ink);
}
.tv-total small {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
}
.tv-total b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--ink);
}
.tv-total span {
  font-size: 0.95rem;
  color: var(--ink);
}
.tv-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.tv-meta .check-dot {
  width: 18px;
  height: 18px;
}
.tv-meta .check-dot .ico {
  width: 11px;
  height: 11px;
}
.tv-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tv-actions .btn {
  min-height: 40px;
  padding: 0.5em 1.3em;
  font-size: 0.88rem;
}
.tv-actions .link-arrow {
  font-size: 0.85rem;
}
.tv-count {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 4px 0 0;
}

/* ---------- lista kanałów ---------- */
.pkg-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (min-width: 700px) {
  .pkg-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pkg-tabs button,
.pkg-tabs a {
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.pkg-tabs button:hover,
.pkg-tabs a:hover {
  border-color: var(--brand-blue);
}
.pkg-tabs [aria-selected='true'],
.pkg-tabs [aria-current='page'] {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.channel-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.channel-search {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
}
.channel-search .ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  width: 18px;
  height: 18px;
}
.channel-search input {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.6em 0.8em 0.6em 2.4em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-height: 42px;
}
.channel-search input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.45em 0.95em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
}
.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.channel-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}
.channel-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
}
.channel-tile {
  position: relative;
  width: 100%;
  height: 64px;
  display: grid;
  place-items: center;
  padding: 6px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(11, 22, 64, 0.04);
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.channel-tile:hover,
.channel-tile:focus-visible,
.channel-tile[aria-expanded='true'] {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-m);
  transform: translateY(-1px);
  z-index: 2;
}
.channel-tile[data-cat='s'] {
  color: #0b6b2d;
}
.channel-tile[data-cat='i'] {
  color: #b3261e;
}
.channel-tile[data-cat='d'] {
  color: #8a2be2;
}
.channel-tile[data-cat='m'] {
  color: #c2410c;
}
.channel-tile[data-cat='f'] {
  color: #1d4ed8;
}
.channel-tile[data-cat='w'] {
  color: #0f766e;
}
.channel-tile[data-cat='g'] {
  color: #0055c4;
}
.channel-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 220px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  z-index: 5;
}
.channel-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
.channel-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: none;
}
.channel-foot {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* pakiet TV — karta ceny w hero */
.pkg-hero .hero2-copy {
  padding-bottom: 30px;
}
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--brand-blue-deep);
  margin-bottom: 12px;
}
.crumbs a {
  color: inherit;
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.pkg-hero h1 {
  margin-bottom: 0.1em;
}
.pkg-hero .sub {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 20ch;
}
.price-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 20px 50px rgba(11, 40, 110, 0.1);
  padding: 26px 28px;
  margin: 0 24px 40px;
}
@media (min-width: 860px) {
  .price-panel {
    grid-template-columns: 1fr auto;
    max-width: calc(var(--container) - 48px);
    margin: -10px auto 48px;
    padding: 28px 36px;
  }
}
.price-panel::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 28px;
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent, var(--tv-luz));
}
.price-rows {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 4px 60px;
  color: var(--ink);
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
  width: fit-content;
}
.price-rows dt {
  color: var(--ink);
}
.price-rows dd {
  margin: 0;
  text-align: right;
}
.price-total {
  display: flex;
  align-items: baseline;
  gap: 40px;
}
.price-total b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--ink);
}

/* multiroom */
.multiroom {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .multiroom {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.multiroom img {
  width: 100%;
  border-radius: var(--radius-m);
}
.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 24px;
}
.info-card > .ico {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  grid-row: span 4;
  stroke-width: 1.3;
}
.info-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.info-card p {
  margin: 0;
  font-size: 0.85rem;
}
.addon-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 22px 30px;
}
@media (min-width: 760px) {
  .addon-bar {
    grid-template-columns: 1fr 1fr;
  }
  .addon-bar > div + div {
    border-left: 1px solid var(--line);
    padding-left: 30px;
  }
}
.addon-bar > div {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
}
.addon-bar .ico {
  width: 48px;
  height: 48px;
  color: var(--brand-blue);
  stroke-width: 1.3;
}

/* ---------- formularze na kartach ---------- */
.form-split {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .form-split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}
.form-card {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px;
}
.form-card--white {
  background: #fff;
  box-shadow: var(--shadow-m);
}
.form-card .field label {
  font-weight: 500;
  font-size: 0.84rem;
}
.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  border-width: 1px;
  font-size: 0.93rem;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.form-foot a {
  color: var(--brand-blue-deep);
}
.perks-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
}
.perks-2 > div {
  padding-right: 20px;
}
.perks-2 > div + div {
  border-left: 1px solid var(--line-strong);
  padding-left: 26px;
}
.perks-2 .ico {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  stroke-width: 1.3;
  margin-bottom: 12px;
}
.perks-2 h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 4px;
}
.perks-2 p {
  font-size: 0.86rem;
  margin: 0;
}

/* lista z zielonymi kółkami */
.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.check-ring {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-green);
  color: var(--brand-green);
  flex: none;
}
.check-ring .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

/* ---------- pomoc ---------- */
.help-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .help-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}
.promo-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--sky-2), #fff);
  min-height: 320px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-m);
}
.promo-card img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
}
.promo-card .txt {
  position: relative;
  z-index: 1;
  padding: 30px;
}
.promo-card h3 {
  font-size: 1.7rem;
  margin: 0 0 6px;
}
.promo-card p {
  font-size: 0.92rem;
}
.guide-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}
.guide-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}
.guide-card p {
  font-size: 0.93rem;
}
.doc-links {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .doc-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .doc-links > a + a {
    border-left: 1px solid var(--line);
  }
}
.doc-links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2px 18px;
  align-items: start;
  padding: 8px 24px;
  color: var(--ink);
  text-decoration: none;
}
.doc-links a:first-child {
  padding-left: 0;
}
.doc-links .ico-lg {
  width: 38px;
  height: 38px;
  color: var(--brand-blue);
  stroke-width: 1.3;
  grid-row: span 2;
}
.doc-links b {
  font-weight: 500;
  font-size: 1.02rem;
}
.doc-links small {
  grid-column: 2;
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.doc-links .ico-arrow {
  width: 1em;
  height: 1em;
  color: var(--brand-blue);
  grid-row: 1;
  grid-column: 3;
}

/* ---------- faktury ---------- */
.panel-card {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid #cfe0f7;
  border-radius: var(--radius-m);
  box-shadow: 0 20px 50px rgba(11, 40, 110, 0.1);
  padding: 30px;
  overflow: hidden;
}
@media (min-width: 860px) {
  .panel-card {
    grid-template-columns: auto 1fr auto;
    padding: 30px 44px;
  }
}
.panel-card > .ico {
  width: 60px;
  height: 60px;
  color: var(--brand-blue);
  stroke-width: 1.3;
}
.panel-card h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  margin-bottom: 0.15em;
}
.panel-card img {
  width: 300px;
  max-width: 100%;
  mix-blend-mode: multiply;
}
@media (min-width: 860px) {
  .panel-card .art {
    border-left: 1px solid var(--line);
    padding-left: 32px;
  }
}
.task-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .task-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .task-row > div + div {
    border-left: 1px solid var(--line-strong);
  }
}
.task-row > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  padding: 4px 26px;
}
.task-row > div:first-child {
  padding-left: 0;
}
.task-row .ico-lg {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  stroke-width: 1.3;
  grid-row: span 3;
}
.task-row h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
}
.task-row p {
  font-size: 0.84rem;
  margin: 0 0 10px;
}
.task-row .link-arrow {
  font-size: 0.88rem;
  border-bottom: 0;
}

/* ---------- sprawdź dostępność ---------- */
.route-band {
  padding: 48px 0 20px;
}
.route-visual {
  position: relative;
  margin-top: 24px;
}
.route-visual img {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  object-position: 72% 50%;
}
.route-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .route-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.route-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
}
.route-steps .n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  grid-row: span 2;
}
.route-steps b {
  font-weight: 500;
  color: var(--ink);
}
.route-steps span {
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.route-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 10px auto 0;
}
.prep {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .prep {
    grid-template-columns: auto 1fr 1fr;
    gap: 40px;
  }
}
.prep > .ico {
  width: 96px;
  height: 96px;
  color: var(--brand-blue);
  stroke-width: 1.1;
}
.prep h2 {
  margin: 0 0 0.1em;
}
.avail-result-wrap {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 20px);
}
.avail-result-wrap .result-panel {
  border-radius: var(--radius-m);
}
/* Wynik „internet radiowy / LTE” — limonkowy jak napis „InfoNet” w logo (#44aa31). */
.result-alt {
  --brand-lime: #44aa31;
  background: #eef8ea;
  border: 1px solid #b9e0ad;
  border-left: 5px solid var(--brand-lime);
}
.result-alt .result-title {
  color: #2e7a20;
}
@media (min-width: 900px) {
  .hero2--form .hero2-copy {
    padding-bottom: 40px;
  }
  .hero2--form .hero2-grid {
    min-height: 600px;
  }
}

/* ---------- stopka ---------- */
.footer-contact-band {
  background: var(--sky);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 26px;
  padding: 36px max(24px, calc((100% - var(--container)) / 2 + 24px));
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-contact-band {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .footer-contact-band {
    grid-template-columns: 1fr 1fr 1.35fr 1fr;
  }
}
.footer-cb-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.88rem;
}
.footer-cb-ico.ico {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-blue);
  stroke-width: 1.7;
}
.footer-cb-item h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin: 2px 0 8px;
}
.footer-cb-item p {
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.55;
}
.footer-cb-item ul {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 5px;
  line-height: 1.45;
}
.footer-cb-item a {
  color: var(--brand-blue-deep);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.footer-cb-item a:hover {
  text-decoration: underline;
}
.footer-cb-item .footer-cb-muted,
p.footer-cb-muted {
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.footer-cb-muted a {
  font-weight: 500;
}
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding: 44px 24px 30px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 0;
  }
  .footer-grid > div + div {
    border-left: 1px solid var(--line);
    padding-left: 32px;
  }
}
.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  max-width: 24ch;
  margin: 0 0 14px;
}
.footer-contact {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
}
.footer-contact a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 12px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
}
.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--brand-blue-deep);
  text-decoration: underline;
}
.footer-grid button.footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
}
/* Cele dotykowe w stopce: przycisk „Ustawienia cookies” miał 23 px wysokości (próg WCAG 2.2 — 24 px);
   na ekranach dotykowych linki stopki dostają wygodniejsze 36 px. */
.footer-grid a,
.footer-grid button.footer-link {
  min-height: 24px;
}
@media (pointer: coarse) {
  .footer-grid a,
  .footer-grid button.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}
.footer-grid button.footer-link:hover {
  color: var(--brand-blue-deep);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
}
.footer-bottom a {
  color: inherit;
}

/* ---------- animacje wejścia ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    /* Ta reguła jest bardziej szczegółowa niż przejścia kart (.offer-choice,
       .offer-card, .tv-card), więc musi zawierać też `scale`, cień i ramkę —
       inaczej powiększenie po najechaniu kursorem działałoby skokowo. */
    transition:
      opacity 0.6s ease,
      transform 0.6s ease,
      scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }
  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* poprawki kart pakietów */
.offer-card {
  position: relative;
}
.offer-card .offer-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
}
.offer-card--stack .btn {
  width: 100%;
}

/* Wyróżnienie kart pakietów: pasek w kolorach marki u góry, jaśniejsze tło u dołu, wyraźniejsza ramka i cień. */
.offer-card {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 55%, var(--sky) 100%);
  border-color: #cfe0f7;
  box-shadow:
    0 14px 34px rgba(0, 70, 170, 0.1),
    0 2px 6px rgba(11, 40, 110, 0.06);
}
.offer-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}
.offer-card:hover {
  border-color: var(--brand-blue);
  box-shadow:
    0 20px 44px rgba(0, 70, 170, 0.16),
    0 2px 6px rgba(11, 40, 110, 0.06);
}
/* Pakiet oznaczony w panelu jako „Wyróżniony”. */
.offer-card--featured {
  border: 2px solid var(--brand-blue);
  background: linear-gradient(180deg, #eef5ff 0%, #fff 45%, var(--sky) 100%);
  box-shadow:
    0 22px 48px rgba(0, 112, 234, 0.2),
    0 2px 6px rgba(11, 40, 110, 0.06);
}
.offer-card--featured::before {
  height: 7px;
}
/* Wyróżniona karta: kolory marki płyną po ramce i górnym pasku (warstwa ramki = border-box pod tłem karty). */
.offer-card--featured {
  border: 3px solid transparent;
  background:
    linear-gradient(180deg, #eef5ff 0%, #fff 45%, var(--sky) 100%) padding-box,
    linear-gradient(90deg, var(--brand-blue), #35c6ff, var(--brand-green), #a6e24b, var(--brand-blue)) border-box;
  background-size: 100% 100%, 200% 100%;
  animation:
    offer-flow 3.5s linear infinite,
    offer-glow 2.4s ease-in-out infinite alternate;
}
.offer-card--featured::before {
  height: 8px;
  background: linear-gradient(90deg, var(--brand-blue), #35c6ff, var(--brand-green), #a6e24b, var(--brand-blue));
  background-size: 200% 100%;
  animation: offer-flow-bar 3.5s linear infinite;
}
/* Pulsująca poświata w kolorach marki — karta „oddycha” na tle sąsiednich. */
@keyframes offer-glow {
  from {
    box-shadow:
      0 18px 40px rgba(0, 112, 234, 0.2),
      0 0 0 0 rgba(47, 158, 54, 0);
  }
  to {
    box-shadow:
      0 24px 56px rgba(0, 112, 234, 0.34),
      0 0 0 6px rgba(47, 158, 54, 0.16);
  }
}
@keyframes offer-flow {
  from {
    background-position: 0 0, 0% 0;
  }
  to {
    background-position: 0 0, -200% 0;
  }
}
@keyframes offer-flow-bar {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer-card--featured,
  .offer-card--featured::before {
    animation: none;
  }
}
/* Na szerokim ekranie wyróżniona karta jest nieco wyższa od sąsiednich. */
@media (min-width: 900px) {
  .offer-grid > .offer-card--featured.offer-card--stack {
    margin-block: -12px;
    padding-top: 38px;
    padding-bottom: 36px;
  }
}
.offer-card .offer-badge {
  top: 18px;
  color: #fff;
  background: #1d7025; /* biały tekst 6,6:1 */
  box-shadow: 0 6px 14px rgba(29, 112, 37, 0.28);
  padding: 0.42em 0.95em;
}
.offer-card .offer-badge::before {
  content: '★ ';
}
/* Odznaka nad prędkością (miejsce zarezerwowane) — dłuższe hasła nie nachodzą na „350 Mb/s” na wąskich kartach. */
.offer-card:has(.offer-badge) {
  padding-top: 60px;
}
.offer-card .offer-badge {
  right: auto;
  left: 26px;
}
@media (min-width: 900px) {
  /* Wyróżniona karta z odznaką wystaje wyżej, żeby jej treść zaczynała się na tej samej wysokości co w sąsiednich. */
  .offer-grid > .offer-card--featured.offer-card--stack:has(.offer-badge) {
    margin-top: -34px;
    padding-top: 60px;
  }
}
.topic-bar a[aria-current] {
  background: var(--sky);
  color: var(--brand-blue-deep);
  font-weight: 500;
}
.form-foot .ico {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.2em;
  color: var(--brand-blue);
}

/* okruszki na podstronach z grafik (Telewizja / LUZ HD) */
.crumb {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--brand-blue-deep);
  margin-bottom: 12px;
}
.crumb a {
  color: var(--brand-blue-deep);
}
.crumb li:not(:last-child)::after {
  content: none;
}
.crumb li:first-child {
  display: none !important;
}
.pkg-hero .sub {
  max-width: 24ch;
}
.hero-help-art {
  height: auto;
}
@media (min-width: 900px) {
  .h1-nowrap {
    white-space: nowrap;
  }
}
.promo-card img {
  object-fit: cover;
  object-position: 70% 60%;
}
.promo-card .txt {
  max-width: 62%;
}
.promo-card {
  min-height: 340px;
}
.promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 250, 255, 0.97) 0%, rgba(247, 250, 255, 0.88) 38%, rgba(247, 250, 255, 0) 68%);
  pointer-events: none;
}
.promo-card .txt {
  z-index: 2;
  max-width: 52%;
}
.promo-card img {
  object-position: 85% 70%;
}

/* ---------- kafelki kanałów z logotypami (jak lista platformy AVIOS) ---------- */
.channel-grid,
.channel-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}
.channel-tile {
  height: auto;
  aspect-ratio: 1;
  padding: 10px;
  border-width: 1.5px;
  border-color: #e3e8f0;
  border-radius: 8px;
}
.channel-tile img {
  width: 76%;
  height: 76%;
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
}
.channel-tile--text {
  font-size: 0.78rem;
  line-height: 1.15;
  color: var(--ink);
}
.channel-tile:hover,
.channel-tile:focus-visible,
.channel-tile[aria-expanded='true'] {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0, 112, 234, 0.16);
}
@media (min-width: 1100px) {
  .channel-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
@media (max-width: 560px) {
  .channel-grid,
  .channel-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 6px;
  }
  .channel-tile {
    padding: 8px;
  }
}

/* ---------- /internet: trzy karty wyboru połączenia ---------- */
.offer-choice-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .offer-choice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer-choice-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.offer-choice-grid--2 .offer-choice h3 {
  min-height: 0;
}
.offer-choice-grid--2 .offer-choice-img {
  aspect-ratio: 16 / 9;
}
.offer-choice {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 12px 12px 22px;
  transition:
    scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}
.offer-choice-img {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
}
.offer-choice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.offer-choice h3 {
  font-size: clamp(1.7rem, 1.4rem + 0.8vw, 2.1rem);
  line-height: 1.12;
  min-height: 2.24em;
  margin: 0 12px 16px;
}
.offer-choice p {
  margin: 0 12px 26px;
  font-size: 1.02rem;
}
.offer-choice .btn {
  margin: auto 12px 0;
  width: fit-content;
}

/* Lekkie powiększenie oferty po najechaniu kursorem (tylko urządzenia z myszą). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* `scale` (a nie `transform`) — nie koliduje z animacją wejścia `.reveal`. */
  .offer-choice:hover,
  .offer-choice:focus-within {
    scale: 1.012;
    border-color: #cfe0f7;
    box-shadow: 0 16px 36px rgba(0, 70, 170, 0.11);
  }
  .offer-choice:hover .offer-choice-img img {
    transform: scale(1.025);
  }
  .offer-card,
  .tv-card {
    transition:
      scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }
  .offer-card:hover,
  .tv-card:hover {
    transform: none;
    scale: 1.01;
  }
}

/* ---------- /telefon: telefon komórkowy ---------- */
.phone-hero2 .hero2-media img {
  object-position: 72% 40%;
}
.phone-hero-checks {
  list-style: none;
  margin: -0.4em 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.phone-hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.phone-hero2 .btn-outline .ico {
  width: 1.1em;
  height: 1.1em;
}
/* telefon: krótszy pierwszy ekran — cena i przycisk do pakietów bliżej góry (audyt 25.10.2026, pkt 16);
   lista korzyści powtarza lead i karty, więc jej nie pokazujemy, a zdjęcie jest niższe */
@media (max-width: 639px) {
  .phone-hero-checks {
    display: none;
  }
  .phone-hero2 .hero2-media {
    min-height: 0;
    height: 190px;
  }
}

/* karty pakietów komórkowych */
.mplan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.mplan-swipe-hint {
  display: none;
}
/* Telefon: pakiety w poziomym pasku z przyciąganiem kart (scroll-snap) —
   widać kawałek następnej karty, strona jest o ~6000 px krótsza. */
@media (max-width: 639px) {
  .mplan-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    margin-inline: -24px;
    padding: 6px 24px 18px;
    scrollbar-width: thin;
  }
  .mplan-grid > .mplan {
    scroll-snap-align: start;
  }
  /* Karty poza ekranem w poziomie nie czekają na animację wejścia. */
  .reveal-ready .mplan-grid > .mplan.reveal {
    opacity: 1;
    transform: none;
  }
  .mplan-swipe-hint {
    display: block;
    margin: -8px 0 12px;
    font-size: 0.9rem;
    color: var(--ink-soft);
  }
  .mplan-swipe-hint span {
    color: var(--brand-blue-deep);
    font-weight: 700;
  }
}
@media (min-width: 640px) {
  .mplan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .mplan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1180px) {
  .mplan-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}
.mplan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 24px 20px 20px;
  overflow: hidden;
}
.mplan::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}
.mplan h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-blue-deep);
  margin: 0;
}
.mplan h3 sup {
  line-height: 0;
  font-size: 0.7em;
  margin-left: 1px;
}
.mplan-tag {
  font-size: 0.88rem;
  margin: 2px 0 14px;
}
.mplan-price {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 14px;
  white-space: nowrap;
}
.mplan-price small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.mplan-rows {
  margin: 0 0 20px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.mplan-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.mplan-rows dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}
.mplan-rows dt .ico {
  color: var(--brand-blue);
  width: 1.1em;
  height: 1.1em;
}
.mplan-scope {
  margin: 0 0 6px;
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.mplan-rows dd {
  margin: 0;
  white-space: nowrap;
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
}
.mplan-rows dd small {
  display: block;
  font-weight: 400;
  font-size: 0.76rem;
  color: var(--ink-faint);
}
.mplan-rows .is-off dd {
  color: var(--ink-faint);
  font-weight: 500;
}
.mplan .btn {
  margin-top: auto;
  width: 100%;
}
.mplan-notes {
  margin-top: 22px;
  display: grid;
  gap: 4px;
}
.mplan-notes p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
/* warunki ceny tuż pod kwotą (audyt 25.10.2026, pkt 5 i 18) */
.mplan-cond {
  margin: -8px 0 12px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
/* pakiet dostępny tylko w zestawie — warunek w karcie, nie w przypisie */
.mplan--conditional {
  border-color: #f1d9a6;
}
.mplan-condition {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: -6px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6e5;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink);
}
.mplan-condition .ico {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #b7791f;
}
/* porównanie wszystkich pakietów naraz — tylko na telefonie, gdzie karty są w przewijanym pasku */
.mplan-compare {
  display: none;
}
@media (max-width: 639px) {
  .mplan-compare {
    display: block;
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
  }
  .mplan-compare table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
  }
  .mplan-compare caption {
    padding: 12px 14px 4px;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
  }
  .mplan-compare th,
  .mplan-compare td {
    padding: 9px 10px;
    text-align: left;
    border-top: 1px solid var(--line);
  }
  .mplan-compare thead th {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-soft);
  }
  .mplan-compare tbody th {
    font-weight: 700;
    color: var(--brand-blue-deep);
  }
  .mplan-compare td {
    white-space: nowrap;
  }
}
.hero-cond {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* aktywacja */
.activation-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .activation-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}
.activation-prices {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .activation-prices {
    grid-template-columns: 1fr 1fr;
  }
}
.activation-price {
  padding: 24px 26px;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--sky-2), var(--sky));
  border: 1px solid var(--line);
}
.activation-price p:first-child {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 500;
}
.activation-price .big-price {
  margin: 0;
}

/* charakterystyka usługi */
.mfeat-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .mfeat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .mfeat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mfeat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
}
.mfeat-ico {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.mfeat-ico .ico {
  width: 24px;
  height: 24px;
}
.mfeat h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.mfeat p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- /kontakt ---------- */
.contact-hero {
  padding-block: 48px 40px;
  background: linear-gradient(180deg, #fbfdff 0%, var(--sky) 100%);
  border-bottom: 1px solid var(--line);
}
.contact-hero h1,
.contact-hero .h1-display {
  margin-bottom: 0.25em;
}
.contact-hero .lede {
  font-size: 1.1rem;
  color: var(--ink);
  opacity: 0.88;
  max-width: 52ch;
  margin: 0;
}
.contact-quick {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .contact-quick {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-quick a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  color: var(--ink);
  text-decoration: none;
}
.contact-quick a:hover {
  border-color: #bcd4f6;
}
.contact-quick .ico {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}
.contact-quick span {
  display: grid;
  line-height: 1.3;
}
.contact-quick small {
  color: var(--ink-faint);
  font-size: 0.8rem;
}
.contact-quick b {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue-deep);
}
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.3fr 1fr;
  }
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 24px;
}
.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 16px;
}
.contact-card h2 .ico {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}
.contact-card address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.02rem;
}
.contact-card p {
  font-size: 0.92rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.hours-table th,
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
  color: var(--ink);
}
.hours-table td {
  text-align: right;
  font-weight: 600;
}
.hours-table tr.is-closed td {
  color: var(--ink-faint);
  font-weight: 500;
}
.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--brand-blue-deep);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.contact-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.contact-list li:first-child {
  padding-top: 0;
}
.contact-list .who {
  color: var(--ink);
  font-weight: 500;
}
.contact-list a {
  color: var(--brand-blue-deep);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  text-align: right;
}
.contact-list a:hover {
  text-decoration: underline;
}
/* Kilka numerów jednego działu — jeden pod drugim, wyrównane do prawej. */
.contact-list .nums {
  display: grid;
  justify-items: end;
  gap: 4px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
}
/* Godziny tuż pod nazwą działu, obok numerów — także gdy numerów jest kilka. */
.contact-list .nums ~ .when {
  grid-column: 1;
  grid-row: 2;
}
.contact-list .when {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-faint);
  font-size: 0.82rem;
}
.contact-list .when .ico {
  width: 1em;
  height: 1em;
}
.contact-list--mail li {
  grid-template-columns: auto 1fr;
}
.contact-list--mail a {
  text-align: right;
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 520px) {
  .contact-list--mail li {
    grid-template-columns: 1fr;
  }
  .contact-list--mail a {
    text-align: left;
  }
}
.contact-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--sky);
  font-size: 0.85rem !important;
  color: var(--ink) !important;
}
.contact-card--stack + .contact-card--stack {
  margin-top: 20px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mplan {
    transition:
      scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }
  .mplan:hover,
  .mplan:focus-within {
    scale: 1.012;
    border-color: #cfe0f7;
    box-shadow: 0 16px 36px rgba(0, 70, 170, 0.11);
  }
}
.footer-cb-item b {
  white-space: nowrap;
}

/* ---------- aktualności (strona główna + karty) ---------- */
.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.news-item--more {
  animation: news-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes news-in {
  from {
    opacity: 0;
    translate: 0 12px;
  }
}
.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
/* Grafika w całości — bez przycinania ważnych elementów (różne proporcje). */
.news-img,
.article-card .thumb {
  position: relative; /* dla next/image `fill` w NewsCard */
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--sky);
  border-bottom: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.news-img img,
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: scale 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* rozmyta kopia grafiki wypełnia pasy, gdy proporcje nie są 4:3 (news_card) */
.news-img .news-img-fill {
  position: absolute;
  inset: -24px;
}
.news-img .news-img-fill img {
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  opacity: 0.55;
}
.news-img-empty {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #7389ad; /* duży tekst: 3,3:1 na --sky (WCAG AA) */
}
.news-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.news-meta span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-deep);
  font-weight: 500;
}
.news-body h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
}
.news-body p {
  margin: 0;
  font-size: 0.93rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.news-more {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue-deep);
  font-weight: 500;
  font-size: 0.93rem;
}
.news-more .ico {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  transition: translate 0.2s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .news-card {
    transition:
      scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }
  .news-card:hover,
  .news-card:focus-visible {
    scale: 1.012;
    border-color: #cfe0f7;
    box-shadow: 0 16px 36px rgba(0, 70, 170, 0.11);
  }
  .news-card:hover .news-img img {
    scale: 1.02;
  }
  .news-card:hover .news-more .ico {
    translate: 3px 0;
  }
}

/* zdjęcie na stronie wpisu — w całości, bez przycinania */
.article-figure {
  margin: 0 0 28px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
}
/* szerokość z atrybutu width (rozmiar pliku), więc małe zdjęcie nie jest rozciągane */
.article-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* treść wpisu (import ze starej strony / CMS) */
.article-body {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.7;
}
.article-body > :first-child {
  margin-top: 0;
}
.article-body :is(h2, h3, h4) {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 1.6em 0 0.5em;
}
.article-body h2 {
  font-size: 1.45rem;
}
.article-body h3 {
  font-size: 1.2rem;
}
.article-body h4 {
  font-size: 1.05rem;
}
.article-body p {
  color: var(--ink);
  margin: 0 0 1em;
}
.article-body :is(ul, ol) {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
  display: grid;
  gap: 0.35em;
}
.article-body li::marker {
  color: var(--brand-blue);
}
.article-body a {
  color: var(--brand-blue-deep);
  text-underline-offset: 3px;
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}
.article-body blockquote {
  margin: 1.4em 0;
  padding: 0.8em 1.2em;
  border-left: 3px solid var(--brand-blue);
  background: var(--sky);
  border-radius: 0 8px 8px 0;
}

/* powiązana oferta pod wpisem */
.related-offers {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .related-offers {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.related-offers a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-m);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s ease;
}
.related-offers a:hover {
  border-color: var(--brand-blue);
}
.related-offers span {
  display: grid;
  gap: 2px;
}
.related-offers b {
  font-weight: 600;
  font-size: 0.95rem;
}
.related-offers small {
  color: var(--brand-blue-deep);
  font-weight: 600;
}
.related-offers .ico {
  color: var(--brand-blue);
  flex: none;
}

/* spis treści wpisu */
.article-toc {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: var(--sky);
}
.article-toc p {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--ink);
}
.article-toc ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 4px;
  font-size: 0.95rem;
}
.article-toc a {
  color: var(--brand-blue-deep);
  text-decoration: none;
}
.article-toc a:hover {
  text-decoration: underline;
}
.article-body h2[id] {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

/* /aktualnosci */
.news-hero .crumb {
  margin-bottom: 18px;
}
.news-cats {
  margin-top: 24px;
}
.news-cats .chip {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-cats .chip span {
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.news-archive {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  background: #fff;
}
.news-archive summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.news-archive ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
  font-size: 0.93rem;
}
.news-archive time {
  color: var(--ink-faint);
  font-size: 0.82rem;
  margin-left: 6px;
}

/* panel: publikacja z wyprzedzeniem */
.status-dot.scheduled::before {
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 112, 234, 0.18);
}
.schedule-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.schedule-actions .btn {
  min-height: 34px;
  padding: 0.35em 0.9em;
  font-size: 0.82rem;
}
.schedule-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}
.schedule-note--scheduled {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-deep);
  border: 1px solid #c7dcf8;
}
.schedule-note--info {
  background: #fff7e6;
  color: #7a4b00;
  border: 1px solid #f3dcaa;
}

/* podpowiedzi adresu (miejscowość / ulica) */
.addr-form .field {
  position: relative;
}
.combo-pop {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(11, 40, 110, 0.16);
  text-align: left;
}
.combo-pop[hidden] {
  display: none;
}
.combo-opt {
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink);
}
.combo-opt[aria-selected='true'] {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-deep);
}
.combo-head {
  padding: 6px 10px 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7a4b00;
}
.combo-note {
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
/* Pasek CTA z formularzem adresu: okienko podpowiedzi może wystawać w dół
   (dekoracyjna fala nadal jest przycinana w poziomie). */
.cta-band:has(.addr-form) {
  overflow-x: clip;
  overflow-y: visible;
  z-index: 2;
}

/* ---------- tabele w dokumentach (np. /cookies) na wąskich ekranach ---------- */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.doc-table td.mono {
  overflow-wrap: anywhere;
  min-width: 8ch;
}
/* Telefon: każdy wiersz jako karta „etykieta: wartość” zamiast trzech wąskich kolumn. */
@media (max-width: 560px) {
  .doc-table thead {
    display: none;
  }
  .doc-table,
  .doc-table tbody,
  .doc-table tr,
  .doc-table td {
    display: block;
    width: 100%;
  }
  .doc-table td {
    padding: 6px 0 !important;
  }
  .doc-table tr {
    padding-block: 8px;
  }
  .doc-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-faint);
  }
}

/* ---------- metadane wpisu pod tytułem (jak na kartach aktualności) ---------- */
.news-meta.article-meta {
  margin-top: 12px;
  font-size: 0.88rem;
}
/* Etykiety sekcji jako nagłówki <h2> (poprawna hierarchia) w stylu nadtytułu. */
h2.eyebrow {
  line-height: 1.4;
  margin-top: 0;
}

/* ---------- media społecznościowe: kwadraty z logo platform (prawa krawędź + stopka) ---------- */
.social-rail ul,
.footer-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}
.social-sq {
  display: flex;
  align-items: center;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(11, 22, 64, 0.18);
}
/* Logo platformy jako maska — kolor z `color` (biały), plik SVG bez zmian. */
.social-ico {
  flex: none;
  width: 40px;
  height: 40px;
  background-color: currentColor;
  mask: var(--social-icon) center / 20px 20px no-repeat;
  -webkit-mask: var(--social-icon) center / 20px 20px no-repeat;
}
.social-sq--facebook {
  --social-icon: url('../../icons/social/facebook.svg');
  background: #1664d9;
}
.social-sq--instagram {
  --social-icon: url('../../icons/social/instagram.svg');
  background: #c1275f;
}
.social-sq--tiktok {
  --social-icon: url('../../icons/social/tiktok.svg');
  background: #111111;
}
.social-sq:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}
/* Pasek przy prawej krawędzi — od tabletu w górę (na telefonie zasłaniałby treść). */
.social-rail {
  display: none;
}
@media (min-width: 768px) {
  .social-rail {
    display: block;
    position: fixed;
    right: 0;
    top: 50%;
    translate: 0 -50%;
    z-index: 50;
  }
  .social-rail ul {
    flex-direction: column;
    align-items: flex-end;
  }
  /* Zwinięty: sam kwadrat z logo. Po najechaniu / fokusie wysuwa się w lewo
     (rośnie max-width, prawa krawędź zostaje przy brzegu ekranu) i odsłania nazwę. */
  .social-rail .social-sq {
    max-width: 40px;
    border-radius: 8px 0 0 8px;
    transition:
      max-width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s ease;
  }
  .social-rail .social-label {
    padding-right: 16px;
    opacity: 0;
    transition: opacity 0.45s ease;
  }
  .social-rail .social-sq:hover,
  .social-rail .social-sq:focus-visible {
    max-width: 160px;
    box-shadow: 0 6px 18px rgba(11, 22, 64, 0.28);
  }
  .social-rail .social-sq:hover .social-label,
  .social-rail .social-sq:focus-visible .social-label {
    opacity: 1;
    /* Nazwa pojawia się, gdy kwadrat jest już w połowie wysunięty. */
    transition-delay: 0.15s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-rail .social-sq,
  .social-rail .social-label {
    transition: none;
  }
}
@media print {
  .social-rail {
    display: none;
  }
}
.footer-social {
  margin-top: 4px;
}
.footer-social .social-sq,
.footer-social .social-sq:hover {
  color: #fff;
  text-decoration: none;
}
.footer-social .social-sq {
  width: 36px;
  height: 36px;
  min-width: 36px;
  box-shadow: none;
}
.footer-social .social-ico {
  width: 36px;
  height: 36px;
  mask-size: 18px 18px;
  -webkit-mask-size: 18px 18px;
}
.footer-social .social-sq:hover {
  filter: brightness(1.1);
}

/* ---------- /dokumenty: pliki do pobrania ---------- */
.doc-downloads {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.doc-downloads a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.doc-downloads a:hover,
.doc-downloads a:focus-visible {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-s);
}
.doc-downloads span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc-downloads small {
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.doc-downloads .doc-ico {
  width: 28px;
  height: 28px;
  color: var(--brand-blue-deep);
  flex: none;
}
.doc-downloads .doc-dl {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  flex: none;
}

/* ---------- ramka kontaktowa pod artykułem ---------- */
.article-contact {
  margin-top: 40px;
  padding: 24px;
  display: grid;
  gap: 18px;
  background: var(--brand-blue-soft);
  border: 1px solid #cfe0f7;
  border-radius: var(--radius-m);
}
.article-contact p {
  margin: 0;
}
.article-contact-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px !important;
}
.article-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.article-contact-actions .btn {
  gap: 8px;
}
.article-contact-actions svg {
  width: 18px;
  height: 18px;
}

/* ---------- fraza kluczowa jako pierwsza linia H1 (wygląd nadtytułu) ---------- */
/* H1 = fraza kluczowa w małej linii nad hasłem (hero_heading). */
h1.h1-kicker,
h1 .h1-kicker {
  display: flex;
  width: fit-content;
  max-width: 100%;
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.22em;
  margin-bottom: 1.1rem;
  white-space: normal;
}
.hero-help .h1-kicker {
  margin-inline: auto;
}

/* ---------- /pomoc/speedtest: kroki testu ---------- */
.speedtest-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.speedtest-steps li {
  counter-increment: step;
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 18px 16px 62px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.speedtest-steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-deep);
  font-weight: 700;
}

/* ---------- /pomoc/speedtest: miernik ---------- */
.speedtest {
  margin: 28px 0 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  display: grid;
  gap: 26px;
}
.speedtest-main {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.speedtest-phase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--brand-blue-deep);
}
.speedtest-phase svg {
  width: 18px;
  height: 18px;
}
.speedtest-value {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}
.speedtest-value b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 2.4rem + 4vw, 5.2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
}
.speedtest-value span {
  font-size: 1.1rem;
  color: var(--ink-faint);
}
.speedtest-bar {
  width: min(360px, 100%);
  height: 6px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  overflow: hidden;
}
.speedtest-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  transition: width 0.15s linear;
}
.speedtest-main .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.speedtest-error {
  margin: 0;
  color: var(--danger, #b42318);
  max-width: 46ch;
}
.speedtest-results {
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .speedtest-results {
    grid-template-columns: repeat(4, 1fr);
  }
}
.speedtest-results > div {
  padding: 14px 16px;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.speedtest-results dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.speedtest-results dt svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue-deep);
}
.speedtest-results dd {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.speedtest-results dd small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-faint);
}

/* ---------- /pomoc: miernik prędkości + piąty skrót w pasku tematów ---------- */
.help-speedtest {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h));
}
.help-speedtest .speedtest {
  margin-top: 0;
}
@media (min-width: 860px) {
  .topic-bar ul {
    grid-template-columns: repeat(5, 1fr);
  }
  .topic-bar a {
    gap: 10px;
    padding-inline: 8px;
  }
}
@media (min-width: 1100px) {
  .topic-bar a {
    white-space: nowrap;
  }
}
@media (max-width: 859px) {
  /* 5 skrótów w 2 kolumnach — ostatni na całą szerokość. */
  .topic-bar li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .topic-bar li:last-child:nth-child(odd) a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- karta pakietu LTE: „Internet LTE / Pakiet No-Limit 10” ---------- */
.offer-speed .offer-kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-faint);
}

/* ---------- /internet: 4 sposoby połączenia (z LTE) ---------- */
@media (min-width: 760px) {
  .offer-choice-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .offer-choice-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .offer-choice-grid--4 .offer-choice h3 {
    font-size: clamp(1.45rem, 1.2rem + 0.6vw, 1.75rem);
  }
}

/* ---------- /internet/lte: zalety ---------- */
.lte-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .lte-features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lte-features li {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.lte-features svg {
  width: 30px;
  height: 30px;
  color: var(--brand-blue);
}
.lte-features b {
  font-size: 1.1rem;
  color: var(--ink);
}
.lte-features span {
  color: var(--ink-soft);
}

/* ---------- zapytanie o ofertę: „Wybrana prędkość” ---------- */
.offer-inquiry-packages {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.offer-inquiry-packages legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.offer-inquiry-packages > div {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .offer-inquiry-packages > div {
    grid-template-columns: repeat(2, 1fr);
  }
}
.offer-inquiry-packages label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.35;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.offer-inquiry-packages label:has(input:checked) {
  border-color: var(--brand-blue);
  background: var(--brand-blue-soft);
}
.offer-inquiry-packages input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--brand-blue);
}
.offer-inquiry-packages small {
  display: block;
  color: var(--ink-faint);
  font-weight: 400;
}
.offer-link-row {
  margin: 10px 0 0;
  text-align: center;
}

/* ==========================================================================
   Pole „Nie jestem robotem” (HumanCheck.tsx) — własna ochrona antyspamowa
   ========================================================================== */
.human-check {
  margin-top: 18px;
}
.human-check label {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 420px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sky);
  cursor: pointer;
  font-weight: 600;
}
.human-check input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-height: 0;
  margin: 0;
  border: 2px solid #8a9ab3;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s,
    border-radius 0.2s;
}
.human-check input[type='checkbox']:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}
.human-check input[type='checkbox']:disabled {
  cursor: default;
}
.human-check.working input[type='checkbox'] {
  border-color: var(--brand-blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: human-check-spin 0.8s linear infinite;
}
.human-check.verified input[type='checkbox'] {
  border-color: var(--brand-green);
}
.human-check.verified input[type='checkbox']::before {
  content: '';
  width: 8px;
  height: 15px;
  border: solid var(--brand-green-deep);
  border-width: 0 3px 3px 0;
  transform: translateY(-2px) rotate(45deg);
}
.human-check.verified label {
  cursor: default;
}
.human-check-label {
  flex: 1 1 auto;
}
.human-check-note {
  flex-basis: 100%;
  margin-top: -6px;
  padding-left: 42px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.human-check.invalid label {
  border-color: var(--danger);
}
/* Komunikaty pod polem zgody i „Nie jestem robotem” — czerwone jak przy polach tekstowych. */
.form-consent .field-error,
.human-check .field-error {
  color: var(--danger);
  font-size: 0.86rem;
}
.human-check .field-error {
  margin-top: 0.4em;
}
@keyframes human-check-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .human-check.working input[type='checkbox'] {
    animation-duration: 2s;
  }
}

/* ==========================================================================
   FAQ — odpowiedzi z akapitami i listami (FaqAnswer.tsx) oraz sekcje wspólne
   (FaqSections.tsx: „Router i Wi-Fi”, „Umowa, płatności i pomoc”)
   ========================================================================== */
.accordion-panel-inner .faq-answer {
  padding: 0 22px 18px;
  max-width: 78ch;
}
.accordion-panel-inner .faq-answer p {
  padding: 0;
  margin: 0 0 0.6em;
}
.faq-answer > :last-child {
  margin-bottom: 0;
}
.faq-answer ul {
  margin: 0 0 0.6em;
  padding-left: 1.25em;
}
.faq-answer li + li {
  margin-top: 0.2em;
}
.faq-answer--search {
  font-size: 0.93rem;
  margin-bottom: 8px;
}
.faq-answer--search p {
  margin: 0 0 0.5em;
}
.faq-group + .faq-group {
  margin-top: 36px;
}
.faq-group-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

/* Formularz bez JavaScriptu: zamiast wysyłki — telefon i e-mail (form_noscript) */
.form-noscript {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff6e5;
  color: var(--ink);
  font-size: 0.9rem;
}

/* Okres umowy światłowodu: 24 albo 12 miesięcy (contract_term_switch) */
.term-switch {
  margin: 0 0 26px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
}
.term-switch fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.term-switch legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ink);
}
.term-options {
  display: grid;
  gap: 16px 12px;
  padding-top: 6px;
}
@media (min-width: 640px) {
  .term-options {
    grid-template-columns: 1fr 1fr;
  }
}
.term-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--sky);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.term-option input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand-blue);
}
.term-option-body {
  display: grid;
  gap: 2px;
}
.term-option-body b {
  font-size: 1.05rem;
  color: var(--ink);
}
.term-option-body small {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.term-option:has(input:checked) {
  border-color: var(--brand-blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}
.term-option:has(input:focus-visible) {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}
/* oznaczenie na górnej krawędzi kafelka — nie zabiera miejsca tekstowi na wąskim ekranie */
.term-badge {
  position: absolute;
  top: -11px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-green-soft);
  color: #1d7025; /* jak .offer-badge — 5,5:1 */
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.term-summary {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  font-size: 0.93rem;
  color: var(--ink);
}
.term-summary[hidden] {
  display: none;
}
.term-summary .ico {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand-green);
}
.term-summary[data-term-show='12'] .ico {
  color: var(--brand-blue);
}

/* Zdjęcia, których główny motyw stoi przy prawej krawędzi (podstrony Dla firm) — kadr nie ucina sprzętu */
.hero2--focus-right .hero2-media img {
  object-position: 88% 45%;
}

/* Promocja „Poleć znajomego”: kafle korzyści (podstrona) i baner na stronie głównej */
.referral-benefits {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .referral-benefits {
    grid-template-columns: 1fr 1fr;
  }
}
.referral-benefit {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
}
.referral-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: 1;
  color: var(--brand-blue);
}
.referral-num small {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.referral-benefit h2 {
  margin: 12px 0 6px;
  font-size: 1.35rem;
}
.referral-benefit p {
  margin: 0;
  color: var(--ink-soft);
}
.form-section-title {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--ink);
}
.referral-band {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 28px 26px;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--sky-2) 0%, #fff 60%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
}
@media (min-width: 860px) {
  .referral-band {
    grid-template-columns: 1.6fr 1fr;
    padding: 34px 40px;
  }
}
.referral-band h2 {
  margin: 4px 0 10px;
}
.referral-band-copy > p:not(.eyebrow) {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-soft);
}
.referral-band .referral-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 18px;
}
.referral-band-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.referral-band-nums span {
  display: grid;
  gap: 2px;
  padding: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.referral-band-nums b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--brand-blue);
}
@media (max-width: 559px) {
  .referral-band-nums b {
    font-size: 1.55rem;
    white-space: nowrap;
  }
}

/* Strona główna: pod FAQ wyszukiwarka pomocy (przenosi na /pomoc?q=…) i odnośniki do wszystkich pytań */
.faq-more {
  margin-top: 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 6px 18px rgba(11, 40, 110, 0.06);
}
.faq-more-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--sky);
}
.faq-more-search:focus-within {
  border-color: var(--brand-blue);
  background: #fff;
}
.faq-more-search > .ico {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ink-soft);
}
.faq-more-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 8px 0;
}
.faq-more-search input:focus {
  outline: none;
}
.faq-more-search .btn {
  flex: none;
  min-height: 42px;
  padding: 0.5em 1.4em;
}
.faq-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 16px 0 0;
}
