/*
 * Strona główna.
 * Wszystkie wartości z tokenów w style.css. Animacje są opisane na końcu
 * pliku i wyłączają się same przy prefers-reduced-motion (reguła w style.css).
 */

.aq-home .entry-content > * { margin: 0; }

/* Karty i pasy liczą szerokość razem z paddingiem — inaczej element 1fr
   z paddingiem wystaje z siatki na wąskim ekranie. */
.aq-sec, .aq-hero, .aq-use, .aq-variant, .aq-plan, .aq-segment, .aq-stat, .aq-contact__card, .aq-contact__form, .aq-kb__item, .aq-footer { box-sizing: border-box; }

/* GeneratePress pakuje treść w kontener 1200px z wewnętrznym marginesem.
   Strona główna składa się z pasów na całą szerokość, więc zdejmujemy
   ramę i każdy pas wyciągamy do krawędzi okna. */
.aq-home .site-content,
.aq-home .inside-article,
.aq-home .content-area { padding: 0; }

.aq-home .site-content .grid-container,
.aq-home .inside-article { max-width: none; }

/* GP w układzie "separate containers" rysuje treść na białej karcie na szarym
   tle strony. Przy pasach na całą szerokość karta prześwituje na brzegach —
   zdejmujemy ją, a każdy pas dostaje własne tło. */
.aq-home .inside-article,
.aq-home .site-content,
.aq-home .site-main > article { background: transparent; box-shadow: none; }

.aq-sec { background: var(--aq-surface); }

/* Pasy na całą szerokość bez sztuczek z 100vw: na stronach z pasów zdejmujemy
   z kontenerów GeneratePress ograniczenie szerokości i boczne odstępy, więc
   sekcje po prostu wypełniają okno. 100vw + translate liczyło pasek
   przewijania (16 px) i zjadało lewy odstęp na telefonie. */
.aq-home .grid-container,
.aq-home .site-content,
.aq-home .content-area,
.aq-home .site-main,
.aq-home .inside-article,
.aq-home .entry-content { max-width: none; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; width: 100%; }

.aq-sec,
.aq-hero { position: relative; width: 100%; box-sizing: border-box; }

body.aq-home { overflow-x: hidden; }

.aq-sec {
  padding: var(--aq-space-24) var(--aq-space-4);
}

.aq-sec__inner {
  max-width: var(--aq-container);
  margin: 0 auto;
}

.aq-sec--dark {
  background: var(--aq-black);
  color: var(--aq-gray-200);
}

.aq-sec--dark h2,
.aq-sec--dark h3 { color: var(--aq-white); }

.aq-sec--tint { background: var(--aq-surface-alt); }

.aq-sec__lead {
  font-size: var(--aq-text-lg);
  color: var(--aq-text-muted);
  max-width: 62ch;
  margin-bottom: var(--aq-space-12);
}

.aq-sec--dark .aq-sec__lead { color: var(--aq-gray-400); }

.aq-sec__title {
  font-size: var(--aq-text-2xl);
  margin-bottom: var(--aq-space-4);
}

/* Nadtytuł — mała wersalikowa etykieta nad nagłówkiem sekcji. */
.aq-eyebrow {
  font-size: var(--aq-text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aq-blue);
  margin-bottom: var(--aq-space-3);
}

.aq-sec--dark .aq-eyebrow { color: #4a9eea; }

/* ==========================================================================
   Hero
   ========================================================================== */

.aq-hero {
  position: relative;
  background: var(--aq-black);
  color: var(--aq-white);
  overflow: hidden;
  padding: var(--aq-space-24) var(--aq-space-4);
}

/* Siatka techniczna w tle — delikatna, ma sugerować rysunek konstrukcyjny,
   a nie rzucać się w oczy. */
.aq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.aq-hero__inner {
  position: relative;
  max-width: var(--aq-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--aq-space-16);
  align-items: center;
}

.aq-hero__title {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  color: var(--aq-white);
  margin-bottom: var(--aq-space-6);
  text-wrap: balance;
}

.aq-hero__sub {
  font-size: var(--aq-text-lg);
  color: var(--aq-gray-400);
  max-width: 48ch;
  margin-bottom: var(--aq-space-8);
}

.aq-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aq-space-4);
  margin-bottom: var(--aq-space-8);
}

.aq-btn {
  display: inline-block;
  padding: var(--aq-space-4) var(--aq-space-8);
  border-radius: var(--aq-radius);
  font-size: var(--aq-text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--aq-blue);
  background: var(--aq-blue);
  color: var(--aq-white);
  transition: background-color var(--aq-transition), border-color var(--aq-transition);
}

.aq-btn:hover,
.aq-btn:focus {
  background: var(--aq-blue-dark);
  border-color: var(--aq-blue-dark);
  color: var(--aq-white);
}

.aq-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--aq-white);
}

.aq-btn--ghost:hover,
.aq-btn--ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--aq-white);
}

/* Trzy fakty pod wezwaniem — oddzielone kreskami, bez ikon. */
.aq-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aq-space-8);
  padding-top: var(--aq-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--aq-text-sm);
  color: var(--aq-gray-400);
}

.aq-hero__facts strong {
  display: block;
  font-family: var(--aq-font-heading);
  font-size: var(--aq-text-xl);
  color: var(--aq-white);
  line-height: 1.2;
}

.aq-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

/* ==========================================================================
   Trzy liczby
   ========================================================================== */

.aq-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--aq-space-8);
}

.aq-stat {
  padding: var(--aq-space-8) 0;
  border-top: 2px solid var(--aq-blue);
}

.aq-stat__value {
  font-family: var(--aq-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--aq-black);
  margin-bottom: var(--aq-space-2);
  font-variant-numeric: tabular-nums;
}

.aq-stat__label {
  font-weight: 600;
  color: var(--aq-black);
  margin-bottom: var(--aq-space-1);
}

.aq-stat__note {
  font-size: var(--aq-text-sm);
  color: var(--aq-text-muted);
}

/* ==========================================================================
   Gdzie pracuje
   ========================================================================== */

.aq-uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--aq-space-4);
}

.aq-use {
  background: var(--aq-surface);
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  padding: var(--aq-space-6);
  transition: border-color var(--aq-transition), transform var(--aq-transition),
              box-shadow var(--aq-transition);
}

.aq-use:hover {
  border-color: var(--aq-blue);
  transform: translateY(-2px);
  box-shadow: var(--aq-shadow);
}

.aq-use svg {
  width: 36px;
  height: 36px;
  color: var(--aq-blue);
  margin-bottom: var(--aq-space-4);
}

.aq-use h3 {
  font-size: var(--aq-text-base);
  font-family: var(--aq-font-body);
  font-weight: 700;
  margin-bottom: var(--aq-space-2);
}

.aq-use p {
  font-size: var(--aq-text-sm);
  color: var(--aq-text-muted);
  margin: 0;
}

/* ==========================================================================
   Jak to działa
   ========================================================================== */

.aq-how {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--aq-space-16);
  align-items: center;
}

.aq-how__diagram svg {
  width: 100%;
  height: auto;
}

.aq-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.aq-steps li {
  counter-increment: step;
  position: relative;
  padding-left: var(--aq-space-12);
  padding-bottom: var(--aq-space-8);
}

.aq-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--aq-blue);
  color: var(--aq-white);
  font-family: var(--aq-font-heading);
  font-size: var(--aq-text-sm);
  display: grid;
  place-items: center;
}

/* Pionowa kreska łącząca kroki. */
.aq-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1rem - 1px);
  top: 2.4rem;
  bottom: var(--aq-space-2);
  width: 2px;
  background: var(--aq-border);
}

.aq-steps h3 {
  font-size: var(--aq-text-base);
  font-family: var(--aq-font-body);
  font-weight: 700;
  margin-bottom: var(--aq-space-1);
}

.aq-steps p {
  font-size: var(--aq-text-sm);
  color: var(--aq-text-muted);
  margin: 0;
}

/* ==========================================================================
   Dwa warianty
   ========================================================================== */

.aq-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--aq-space-6);
}

.aq-variant {
  background: var(--aq-surface);
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  padding: var(--aq-space-8);
  display: flex;
  flex-direction: column;
}

.aq-variant__name {
  font-family: var(--aq-font-heading);
  font-size: var(--aq-text-xl);
  margin-bottom: var(--aq-space-2);
}

.aq-variant__for {
  font-size: var(--aq-text-sm);
  color: var(--aq-text-muted);
  margin-bottom: var(--aq-space-6);
}

.aq-variant ul {
  list-style: none;
  margin: 0 0 var(--aq-space-8);
  padding: 0;
  font-size: var(--aq-text-sm);
}

.aq-variant li {
  padding: var(--aq-space-3) 0;
  border-bottom: 1px solid var(--aq-border);
  display: flex;
  justify-content: space-between;
  gap: var(--aq-space-4);
}

.aq-variant li > span:last-child {
  color: var(--aq-text-muted);
  text-align: right;
}

.aq-variant .aq-btn { margin-top: auto; text-align: center; }

/* ==========================================================================
   Integracje i aplikacja
   ========================================================================== */

.aq-integr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--aq-space-16);
  align-items: center;
}

.aq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aq-space-2);
  margin-top: var(--aq-space-6);
}

.aq-chip {
  font-size: var(--aq-text-sm);
  font-weight: 600;
  padding: var(--aq-space-2) var(--aq-space-4);
  border: 1px solid var(--aq-border);
  border-radius: 999px;
  background: var(--aq-surface);
}

.aq-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--aq-space-3);
}

.aq-shots img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  background: var(--aq-surface);
}

/* ==========================================================================
   Opinie — ta sama karta co zastosowania, ale blockquote
   ========================================================================== */

blockquote.aq-use {
  margin: 0;
  border-left: 1px solid var(--aq-border);
  font-style: normal;
}

blockquote.aq-use:hover { border-left-color: var(--aq-blue); }

blockquote.aq-use p {
  font-size: var(--aq-text-base);
  color: var(--aq-text);
  line-height: 1.55;
  margin-bottom: var(--aq-space-4);
}

blockquote.aq-use footer {
  font-size: var(--aq-text-sm);
  color: var(--aq-text-muted);
}

blockquote.aq-use footer strong { color: var(--aq-black); }

/* ==========================================================================
   Dla firm
   ========================================================================== */

.aq-b2b {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--aq-space-16);
  align-items: center;
}

.aq-b2b ul {
  list-style: none;
  margin: var(--aq-space-6) 0 0;
  padding: 0;
  font-size: var(--aq-text-sm);
}

.aq-b2b li {
  padding: var(--aq-space-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Telefon
   ========================================================================== */

@media (max-width: 880px) {
  .aq-sec, .aq-hero { padding: var(--aq-space-12) var(--aq-space-4); }
  .aq-hero:not(.aq-hero--light) { padding-top: var(--aq-space-8); }
  .aq-sec__lead { margin-bottom: var(--aq-space-8); font-size: var(--aq-text-base); }
  .aq-sec__title { font-size: var(--aq-text-xl); }

  /* Trzy fakty w jednym rzędzie, nie trzy wiersze. */
  .aq-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--aq-space-3); font-size: var(--aq-text-xs); }
  .aq-hero__facts strong { font-size: var(--aq-text-base); }

  /* Zdjęcie produktu: mniejsze, wyśrodkowane, bez pustki po bokach. */
  .aq-hero__media { max-width: 62%; margin: 0 auto; }

  /* Kafle zastosowań po dwa w rzędzie — pojedynczo robiły z sekcji kilometr. */
  .aq-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--aq-space-3); }
  .aq-use { padding: var(--aq-space-4); }
  .aq-use svg { width: 28px; height: 28px; margin-bottom: var(--aq-space-2); }
  .aq-use h3 { font-size: var(--aq-text-sm); }
  .aq-use p { font-size: var(--aq-text-xs); }
  blockquote.aq-use { grid-column: 1 / -1; }

  /* Tabela wariantów: etykieta nad wartością, bez wyrównania do prawej. */
  .aq-variant { padding: var(--aq-space-6); }
  .aq-variant li { display: block; }
  .aq-variant li > span:first-child { display: block; font-size: var(--aq-text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--aq-text-muted); margin-bottom: 2px; }
  .aq-variant li > span:last-child { display: block; text-align: left; color: var(--aq-text); }

  .aq-stat { padding: var(--aq-space-5) 0; }
  .aq-stat__value { font-size: var(--aq-text-2xl); }
  .aq-steps li { padding-left: var(--aq-space-10, 2.5rem); padding-bottom: var(--aq-space-6); }
  .aq-tabs__list { display: flex; width: 100%; }
  .aq-tab { flex: 1; text-align: center; padding-left: var(--aq-space-3); padding-right: var(--aq-space-3); }
  .aq-plan { padding: var(--aq-space-6); }
  .aq-shots { gap: var(--aq-space-2); }

  .aq-hero__inner,
  .aq-how,
  .aq-integr,
  .aq-b2b {
    grid-template-columns: 1fr;
    gap: var(--aq-space-8);
  }

  /* Zdjęcie produktu nad tekstem byłoby ładne, ale odsuwa wezwanie
     do działania poniżej pierwszego ekranu. */
  .aq-hero__media { order: 2; }

  .aq-stats { grid-template-columns: 1fr; gap: var(--aq-space-4); }
  .aq-hero__cta .aq-btn { flex: 1 1 100%; text-align: center; }
}

/* ==========================================================================
   Animacje
   Dyskretne: pojawienie się przy przewinięciu i odliczenie trzech liczb.
   Nic się nie zapętla, nic nie rusza się samo. Klasa .is-in dokładana jest
   przez home.js; bez JS treść jest widoczna od razu (patrz .no-js niżej).
   ========================================================================== */

.js .aq-reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .aq-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease-out, transform 520ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Opóźnienia dla elementów w rzędzie — efekt kaskady, 70 ms na element. */
.js .aq-reveal.is-in:nth-child(2) { transition-delay: 70ms; }
.js .aq-reveal.is-in:nth-child(3) { transition-delay: 140ms; }
.js .aq-reveal.is-in:nth-child(4) { transition-delay: 210ms; }
.js .aq-reveal.is-in:nth-child(5) { transition-delay: 280ms; }

/* Linia sygnału na diagramie — rysuje się raz, gdy diagram wejdzie w kadr. */
.js .aq-signal {
  stroke-dasharray: 6 6;
  stroke-dashoffset: 120;
}

.aq-how.is-in .aq-signal {
  animation: aq-dash 1.6s ease-out forwards;
}

@keyframes aq-dash {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .aq-reveal { opacity: 1; transform: none; }
  .js .aq-signal { stroke-dasharray: none; stroke-dashoffset: 0; }
  .aq-how.is-in .aq-signal { animation: none; }
}


/* ==========================================================================
   Hero jasny — podstrony
   ========================================================================== */

.aq-hero--light {
  background: var(--aq-surface-alt);
  color: var(--aq-text);
  padding-bottom: var(--aq-space-16);
}

.aq-hero--light::before { display: none; }
.aq-hero--light .aq-hero__title { color: var(--aq-black); }
.aq-hero--light .aq-hero__sub { color: var(--aq-text-muted); }

/* ==========================================================================
   Segmenty (Rozwiązania) — karta z numerem
   ========================================================================== */

.aq-segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--aq-space-6);
}

.aq-segment {
  background: var(--aq-surface);
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  padding: var(--aq-space-8);
}

.aq-segment__kicker {
  font-size: var(--aq-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aq-text-muted);
  margin-bottom: var(--aq-space-3);
}

.aq-segment h3 {
  font-size: var(--aq-text-xl);
  margin-bottom: var(--aq-space-3);
}

.aq-segment p { color: var(--aq-text-muted); margin-bottom: var(--aq-space-4); }

.aq-segment__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aq-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.aq-segment__tags li {
  font-size: var(--aq-text-xs);
  font-weight: 600;
  padding: var(--aq-space-1) var(--aq-space-3);
  background: var(--aq-blue-light);
  color: var(--aq-blue-dark);
  border-radius: 999px;
}

/* ==========================================================================
   Plany
   ========================================================================== */

.aq-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--aq-space-6);
  align-items: stretch;
}

.aq-plan {
  position: relative;
  background: var(--aq-surface);
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  padding: var(--aq-space-8);
  display: flex;
  flex-direction: column;
}

.aq-plan--featured { border-color: var(--aq-blue); box-shadow: var(--aq-shadow); }

.aq-plan__badge {
  position: absolute;
  top: -0.75rem;
  left: var(--aq-space-8);
  background: var(--aq-blue);
  color: var(--aq-white);
  font-size: var(--aq-text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--aq-space-1) var(--aq-space-3);
  border-radius: var(--aq-radius);
}

.aq-plan__name { font-family: var(--aq-font-heading); font-size: var(--aq-text-xl); margin-bottom: var(--aq-space-1); }
.aq-plan__for { font-size: var(--aq-text-sm); color: var(--aq-text-muted); margin-bottom: var(--aq-space-6); }

.aq-plan__price {
  font-family: var(--aq-font-heading);
  font-size: var(--aq-text-3xl);
  line-height: 1;
  color: var(--aq-black);
}

.aq-plan__price small {
  font-family: var(--aq-font-body);
  font-size: var(--aq-text-sm);
  color: var(--aq-text-muted);
  margin-left: var(--aq-space-1);
}

.aq-plan__billing { font-size: var(--aq-text-sm); color: var(--aq-text-muted); margin: var(--aq-space-2) 0 var(--aq-space-6); }

.aq-plan ul { list-style: none; margin: 0 0 var(--aq-space-8); padding: 0; font-size: var(--aq-text-sm); }

.aq-plan li {
  position: relative;
  padding: var(--aq-space-2) 0 var(--aq-space-2) var(--aq-space-6);
  border-bottom: 1px solid var(--aq-border);
}

.aq-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--aq-blue);
  border-bottom: 2px solid var(--aq-blue);
  transform: rotate(-45deg);
}

.aq-plan li.is-muted { color: var(--aq-text-muted); }
.aq-plan li.is-muted::before { border-color: var(--aq-gray-400); }

.aq-plan .aq-btn { margin-top: auto; text-align: center; }

.aq-plan__note {
  font-size: var(--aq-text-xs);
  color: var(--aq-text-muted);
  margin-top: var(--aq-space-4);
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

.aq-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--aq-space-16);
  align-items: start;
}

.aq-contact__cards { display: grid; gap: var(--aq-space-4); }

.aq-contact__card {
  background: var(--aq-surface);
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  padding: var(--aq-space-6);
}

.aq-contact__card h3 {
  font-family: var(--aq-font-body);
  font-size: var(--aq-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aq-text-muted);
  margin-bottom: var(--aq-space-3);
}

.aq-contact__card p { margin: 0; }
.aq-contact__card a { font-weight: 600; }

.aq-contact__form {
  background: var(--aq-surface);
  border: 1px solid var(--aq-border);
  border-radius: var(--aq-radius-lg);
  padding: var(--aq-space-8);
}

.aq-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--aq-space-4);
}

.aq-contact__form .wpcf7-form p,
.aq-contact__form .wpcf7-form-control-wrap { display: block; margin-bottom: var(--aq-space-4); }

.aq-contact__form input:not([type="submit"]):not([type="checkbox"]),
.aq-contact__form select,
.aq-contact__form textarea { width: 100%; }

.aq-contact__form textarea { min-height: 160px; }

.aq-contact__form .wpcf7-acceptance { font-size: var(--aq-text-sm); color: var(--aq-text-muted); }

.aq-contact__form .wpcf7-submit { width: 100%; }

.aq-contact__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--aq-radius-lg);
}

/* ==========================================================================
   Odznaki sklepów z aplikacjami
   ========================================================================== */

.aq-badges { display: flex; flex-wrap: wrap; gap: var(--aq-space-4); align-items: center; margin-top: var(--aq-space-6); }
.aq-badges img { height: 48px; width: auto; display: block; }

.aq-shots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 880px) {
  .aq-contact { grid-template-columns: 1fr; gap: var(--aq-space-8); }
  .aq-shots--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Zakładki (Jak to działa: WiFi / LTE)
   ========================================================================== */

.aq-tabs__list {
  display: inline-flex;
  gap: var(--aq-space-1);
  padding: var(--aq-space-1);
  background: var(--aq-surface-alt);
  border: 1px solid var(--aq-border);
  border-radius: 999px;
  margin-bottom: var(--aq-space-10, 2.5rem);
}

.aq-tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--aq-text-muted);
  font-family: var(--aq-font-body);
  font-size: var(--aq-text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: var(--aq-space-2) var(--aq-space-6);
  cursor: pointer;
  transition: background-color var(--aq-transition), color var(--aq-transition);
}

.aq-tab:hover { background: transparent; color: var(--aq-black); }

.aq-tab.is-active,
.aq-tab.is-active:hover {
  background: var(--aq-blue);
  color: var(--aq-white);
}

.aq-tabpanel[hidden] { display: none; }

/* Zmiana zakładki — panel wjeżdża z 8 px, raz. */
.js .aq-tabpanel:not([hidden]) { animation: aq-panel-in 320ms ease-out; }

@keyframes aq-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .aq-tabpanel:not([hidden]) { animation: none; }
}


.aq-plans__group {
  font-family: var(--aq-font-body);
  font-size: var(--aq-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aq-text-muted);
  margin: var(--aq-space-12) 0 var(--aq-space-4);
}

.aq-plans__group:first-of-type { margin-top: 0; }

.aq-plans--1 { grid-template-columns: minmax(0, 32rem); justify-content: center; }
.aq-plans--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; }

.aq-plan__price .aq-price--missing {
  font-family: var(--aq-font-body);
  font-size: var(--aq-text-base);
  font-weight: 600;
  color: var(--aq-text-muted);
}


/* ==========================================================================
   Pomoc — baza wiedzy
   ========================================================================== */

.aq-kb__tools { display: flex; flex-wrap: wrap; gap: var(--aq-space-4); align-items: center; justify-content: space-between; margin-bottom: var(--aq-space-12); }
.aq-kb__tools .aq-tabs__list { margin-bottom: 0; }
.aq-kb__search { flex: 1 1 320px; }
.aq-kb__search input { width: 100%; padding: var(--aq-space-3) var(--aq-space-4); }

.aq-kb__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--aq-space-16); align-items: start; }
.aq-kb__toc { position: sticky; top: var(--aq-space-6); }
.aq-kb__toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--aq-border); }
.aq-kb__toc li a { display: block; padding: var(--aq-space-2) var(--aq-space-4); font-size: var(--aq-text-sm); color: var(--aq-text-muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.aq-kb__toc li a:hover { color: var(--aq-black); border-left-color: var(--aq-blue); }

.aq-kb__topic { margin-bottom: var(--aq-space-16); scroll-margin-top: var(--aq-space-8); }
.aq-kb__title { font-size: var(--aq-text-xl); margin-bottom: var(--aq-space-6); padding-bottom: var(--aq-space-3); border-bottom: 1px solid var(--aq-border); }

.aq-kb__item { border: 1px solid var(--aq-border); border-radius: var(--aq-radius-lg); background: var(--aq-surface); margin-bottom: var(--aq-space-3); }
.aq-kb__item > summary { cursor: pointer; list-style: none; padding: var(--aq-space-4) var(--aq-space-6); padding-left: calc(var(--aq-space-6) + 1.25rem); position: relative; font-weight: 600; color: var(--aq-black); }
.aq-kb__item > summary::-webkit-details-marker { display: none; }
.aq-kb__item > summary::before { content: ""; position: absolute; left: var(--aq-space-6); top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--aq-blue); border-bottom: 2px solid var(--aq-blue); transform: translateY(-70%) rotate(45deg); transition: transform var(--aq-transition); }
.aq-kb__item[open] > summary::before { transform: translateY(-30%) rotate(225deg); }
.aq-kb__item--solution > summary { font-weight: 500; }
.aq-kb__body { padding: 0 var(--aq-space-6) var(--aq-space-5); color: var(--aq-text); font-size: var(--aq-text-base); }
.aq-kb__body p { margin-bottom: var(--aq-space-3); }
.aq-kb__body ul { margin: 0 0 var(--aq-space-3) var(--aq-space-5); }
.aq-kb__body > .aq-kb__item { margin-top: var(--aq-space-3); background: var(--aq-surface-alt); }

.aq-kb__options { list-style: none; margin: var(--aq-space-2) 0 0; padding: 0; }
.aq-kb__option { margin-bottom: var(--aq-space-3); }
.aq-kb__option-label { font-size: var(--aq-text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aq-text-muted); margin: 0 0 var(--aq-space-1); }

.aq-kb__badge { display: inline-block; margin-left: var(--aq-space-2); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.1rem var(--aq-space-2); border-radius: 999px; background: var(--aq-blue-light); color: var(--aq-blue-dark); vertical-align: middle; }
.aq-kb__badge--lte { background: #e9f3ee; color: var(--aq-success); }

.aq-kb__action { font-size: var(--aq-text-sm); color: var(--aq-text-muted); }
.aq-kb__empty { color: var(--aq-text-muted); }

/* Filtr: elementy z data-kinds niepasujące do wyboru oraz niepasujące do
   wyszukiwania dostają .is-hidden. */
.aq-kb .is-hidden { display: none !important; }

@media (max-width: 880px) {
  .aq-kb__layout { grid-template-columns: 1fr; gap: var(--aq-space-8); }
  .aq-kb__toc { position: static; }
}

/* ==========================================================================
   Strony zastosowań (/szambo/ … /przemysl/) + siatka wejść na głównej
   ========================================================================== */
.aq-app-hero .aq-hero__inner { align-items: center; }
.aq-app-hero__icon { display: flex; justify-content: center; }
.aq-app-hero__icon svg { width: min(260px, 60vw); height: auto; color: var(--aq-blue); opacity: .9; stroke-width: 1.1; }
.aq-uses--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.aq-app-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.aq-app-grid--compact { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.aq-app-grid--compact .aq-use { padding: var(--aq-space-4); }
.aq-app-grid--compact .aq-use svg { margin-bottom: var(--aq-space-2); }
.aq-app-grid a.aq-use { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: flex-start; }
.aq-app-grid a.aq-use h3 { margin: 0; }
.aq-app-grid a.aq-use:hover h3 { color: var(--aq-blue); }
.aq-app-grid .aq-use p { margin-top: var(--aq-space-2); }
.aq-app-grid .aq-use__more { margin-top: auto; padding-top: var(--aq-space-3); font-size: var(--aq-text-sm); font-weight: 700; color: var(--aq-blue); }
.aq-app-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--aq-space-12); align-items: start; }
.aq-check { list-style: none; margin: var(--aq-space-6) 0; padding: 0; display: grid; gap: var(--aq-space-3); }
.aq-check li { display: flex; gap: var(--aq-space-3); align-items: flex-start; font-size: var(--aq-text-base); }
.aq-check svg { flex: none; width: 22px; height: 22px; color: var(--aq-blue); margin-top: .1em; }
.aq-quote { margin: var(--aq-space-6) 0; padding: var(--aq-space-6); border-left: 4px solid var(--aq-blue); background: var(--aq-surface); border-radius: var(--aq-radius); }
.aq-sec--dark .aq-quote { background: rgba(255,255,255,.06); color: var(--aq-white); }
.aq-quote p { margin: 0 0 var(--aq-space-2); font-size: var(--aq-text-lg); line-height: 1.5; }
.aq-quote footer { font-size: var(--aq-text-sm); color: var(--aq-text-muted); }
.aq-sec--dark .aq-quote footer { color: var(--aq-gray-400); }
@media (max-width: 880px) { .aq-app-two { grid-template-columns: 1fr; gap: var(--aq-space-8); } }
@media (max-width: 560px) { .aq-app-hero__icon { display: none; } }

/* Zrzut Panelu na stronach zastosowań B2B — pod dwukolumnową sekcją „Panel i API". */
.aq-app-shot { grid-column: 1 / -1; margin: var(--aq-space-4) 0 0; }
.aq-app-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--aq-border); border-radius: var(--aq-radius-lg); box-shadow: var(--aq-shadow-lift); }
.aq-app-shot figcaption { margin-top: var(--aq-space-3); font-size: var(--aq-text-sm); color: var(--aq-gray-600); }

/* Drugi plan w ramce na stronie zastosowania (Premium Flex obok Premium). */
.aq-plan__alt { font-family: var(--aq-font-heading); font-size: var(--aq-text-xl); color: var(--aq-black); margin-top: var(--aq-space-4); padding-top: var(--aq-space-4); border-top: 1px solid var(--aq-border); }
.aq-plan__alt strong { display: block; font-size: var(--aq-text-sm); font-weight: 600; color: var(--aq-text-muted); margin-bottom: var(--aq-space-1); }
.aq-plan__alt small { font-family: var(--aq-font-body); font-size: var(--aq-text-sm); color: var(--aq-text-muted); margin-left: var(--aq-space-1); }

/* Dopisek o promocji „z czujnikiem" pod planami. */
.aq-plans__promo { margin-top: var(--aq-space-6); font-size: var(--aq-text-sm); color: var(--aq-text-muted); text-align: center; }
.aq-plan__note--promo { color: var(--aq-blue); font-weight: 600; }

/* Przycisk „ghost" jest pomyślany pod ciemne pasy (biały obrys). W jasnych
   kartach wariantów (strony zastosowań) był biały na białym — niewidoczny. */
.aq-variant .aq-btn--ghost,
.aq-sec:not(.aq-sec--dark) .aq-btn--ghost,
.aq-hero--light .aq-btn--ghost { color: var(--aq-blue); border-color: var(--aq-blue); }
.aq-variant .aq-btn--ghost { margin-top: auto; }
.aq-variant .aq-btn--ghost:hover,
.aq-variant .aq-btn--ghost:focus,
.aq-sec:not(.aq-sec--dark) .aq-btn--ghost:hover,
.aq-sec:not(.aq-sec--dark) .aq-btn--ghost:focus,
.aq-hero--light .aq-btn--ghost:hover,
.aq-hero--light .aq-btn--ghost:focus { background: var(--aq-blue); color: var(--aq-white); border-color: var(--aq-blue); }
.aq-variant { display: flex; flex-direction: column; }


/* ==========================================================================
   Strony sklepu i „Dlaczego my" w szkielecie pasów
   ========================================================================== */
.aq-hero--page { padding-top: var(--aq-space-16); padding-bottom: var(--aq-space-12); }
.aq-hero--page .aq-hero__inner { grid-template-columns: minmax(0, 1fr); }
.aq-hero--page .aq-hero__title { font-size: var(--aq-text-3xl); }
.aq-sec--page { padding-top: var(--aq-space-12); padding-bottom: var(--aq-space-16); }
.aq-sec--page .woocommerce-breadcrumb { margin-bottom: var(--aq-space-8); }
.aq-about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--aq-space-16); align-items: center; }
.aq-about img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.aq-about .aq-btn { margin-top: var(--aq-space-6); }
.aq-about .aq-sec__lead { margin-bottom: var(--aq-space-8); }
.aq-about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--aq-space-6); margin: 0; }
.aq-about__fact { padding-top: var(--aq-space-3); border-top: 2px solid var(--aq-blue); }
.aq-about__fact dt { font-family: var(--aq-font-heading); font-size: var(--aq-text-2xl); line-height: var(--aq-leading-tight); color: var(--aq-black); }
.aq-about__fact dd { margin: var(--aq-space-1) 0 0; font-size: var(--aq-text-sm); color: var(--aq-text-muted); }
@media (max-width: 560px) { .aq-about__facts { grid-template-columns: 1fr; gap: var(--aq-space-4); } }
@media (max-width: 880px) { .aq-about { grid-template-columns: 1fr; gap: var(--aq-space-8); } }
