/* ============================================================
   FONT – Inter (Google Fonts, załadowany w header.php)
   Nunito .woff2 zachowane jako fallback lokalny
   ============================================================ */

/* ============================================================
   INM – Innowacje Na Miarę | Arkusz stylów zgodny z WCAG 2.2
   ============================================================
   Paleta A – KLASYCZNA (na bazie logo INM):
   --color-primary  #1c1e3e granat   16.6:1 na białym ✓ AAA
   --color-accent   #c91b6e magenta   5.5:1 na białym ✓ AA
   --color-text     #1a1a1a          17.0:1 na białym ✓ AAA
   --color-muted    #5a5a6e           7.0:1 na białym ✓ AAA
   Biały tekst na --color-primary:   16.6:1 ✓ AAA
   ============================================================ */

/* ---- Custom properties ----
   PALETA A – KLASYCZNA (oparta na logo INM):
   --color-primary  #1c1e3e granat   16.6:1 na białym ✓ AAA
   --color-accent   #c91b6e magenta   5.5:1 na białym ✓ AA
   --color-muted    #5a5a6e            7.0:1 na białym ✓
*/
:root {
  --color-primary:       #1c1e3e;
  --color-primary-dark:  #131532;
  --color-primary-light: #eef0f8;
  --color-accent:        #c91b6e;
  --color-accent-dark:   #a01459;
  --color-accent-light:  #fde8f2;
  --color-text:          #111827;
  --color-muted:         #6b7280;
  --color-border:        #767676;
  --color-border-light:  #e5e7eb;
  --color-bg:            #ffffff;
  --color-surface:       #f7f8fc;
  --color-error:         #c0001a;
  --color-success:       #006e2e;

  /* Aliasy zachowujące zgodność z istniejącymi nazwami */
  --color-blue:          var(--color-primary);
  --color-blue-dark:     var(--color-primary-dark);
  --color-blue-light:    var(--color-primary-light);

  --focus-outline:       3px solid var(--color-primary);
  --focus-offset:        3px;

  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow:    0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.09), 0 12px 32px rgba(0,0,0,0.12);
  --transition: 200ms ease;

  /* WCAG 2.5.8: minimalny rozmiar celu dotknięcia 24×24px
     Używamy 44px jako cel komfortowy (zalecenie Apple/Google) */
  --target-min: 44px;
}

/* ---- Reset / Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden]           { display: none !important; }
[data-collapsible]:not(.is-open) { display: none; }

html {
  scroll-behavior: smooth;
  /* WCAG 1.4.4: tekst skalowalny do 200% bez utraty treści */
  font-size: 100%;
}

/* WCAG 2.3.3: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  /* WCAG 1.4.12: Odstępy tekstowe – nie blokuj zwiększania */
  word-spacing: normal;
  letter-spacing: normal;
}

/* WCAG 1.4.12: Jeśli użytkownik zwiększy odstępy, treść nie może się nakładać */
* {
  max-height: none;
  overflow: visible;
}
input, textarea, select, button { overflow: visible; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-blue-dark);
  text-decoration-thickness: 2px;
}

ul, ol { list-style: none; }

/* ---- Klasa pomocnicza – tylko dla czytników ekranu ---- */
.form-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   WCAG 2.4.11 / 2.4.7: Focus Appearance
   Wskaźnik fokusu: min. 3px, kontrast ≥ 3:1, wyraźny obszar
   ============================================================ */
:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  border-radius: 2px;
}

/* Usuń domyślny outline tylko gdy :focus-visible dostępny */
:focus:not(:focus-visible) {
  outline: none;
}

/* ---- Skip link – WCAG 2.4.1 ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--color-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 8px;
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* ---- Headings – Inter tight tracking ---- */
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 1px 0 var(--color-border-light), 0 2px 12px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  border-radius: var(--radius);
  padding: 4px 0;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .logo-img { height: 40px; }
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--target-min);
  height: var(--target-min);
  padding: 8px;
  background: transparent;
  border: 2px solid var(--color-blue);
  border-radius: 10px;
  cursor: pointer;
  color: var(--color-blue);
  transition: background-color var(--transition);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background-color: var(--color-blue-light);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-blue);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Nawigacja główna ---- */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav[hidden] { display: none; }

.main-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* Przyciski i linki w nav */
.nav-item-btn,
.nav-link,
.nav-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--target-min);
  padding: 0 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-base);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition);
}

.nav-item-btn:hover,
.nav-link:hover {
  background-color: var(--color-blue-light);
  color: var(--color-blue);
}

.nav-item-btn[aria-expanded="true"] {
  background-color: var(--color-blue-light);
  color: var(--color-blue);
}

.chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-item-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid #dce3ec;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
  z-index: 200;
  padding: 6px;
  overflow: hidden;
}

.dropdown[hidden] { display: none; }

.dropdown li a {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  min-height: var(--target-min);
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  background-color: var(--color-blue-light);
  color: var(--color-blue);
}

/* Przycisk panel klienta – solid magenta CTA */
.btn-outline.nav-panel-btn {
  background: #c91b6e;
  color: #ffffff;
  border-color: #c91b6e;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 12px;
  padding: 0 18px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-outline.nav-panel-btn:hover,
.btn-outline.nav-panel-btn:focus-visible {
  background: #a01459;
  border-color: #a01459;
  color: #ffffff;
  box-shadow: none;
}
.btn-outline.nav-panel-btn:focus-visible {
  outline: 3px solid #c91b6e;
  outline-offset: 3px;
}

/* ============================================================
   PRZYCISKI – WCAG 2.5.8 target size ≥ 44px
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: var(--target-min);
  padding: 10px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-base);
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* Magenta CTA – hero, bannery */
.btn-cta {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-cta:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  text-decoration: none;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
  min-height: 36px;
}

/* ============================================================
   SEKCJE – wspólne style
   ============================================================ */
section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* ============================================================
   USŁUGI
   ============================================================ */
/* WCAG 1.4.10: Reflow – siatka responsywna bez poziomego scrollowania */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #d1d5db;
  transform: translateY(-3px);
}

/* WCAG 2.3.3: bez animacji gdy prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform: none; }
}

.service-icon {
  margin-bottom: 1.25rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FORMULARZ KONTAKTOWY – WCAG 1.3.5, 3.3.1, 3.3.2
   ============================================================ */

.form-instructions {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.form-status {
  padding: 0;
  border-radius: var(--radius);
  font-weight: 600;
  transition: padding var(--transition);
}

.form-status.success {
  padding: 1rem 1.25rem;
  background-color: #e6f4ed;
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.form-status.error {
  padding: 1rem 1.25rem;
  background-color: #fde8eb;
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-group-checkbox {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-group-checkbox input[type="checkbox"] {
  /* WCAG 2.5.8: min 24px, używamy 20px z padding-area */
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-blue);
  cursor: pointer;
}

.form-group-checkbox .form-label-checkbox {
  flex: 1;
  min-width: 200px;
  cursor: pointer;
}

.form-group-checkbox #consent-desc,
.form-group-checkbox #fault-consent-desc,
.form-group-checkbox #fault-restart-desc {
  flex-basis: 100%;
  margin-top: 0.25rem;
  padding-left: calc(20px + 0.5rem);
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-label-checkbox {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* WCAG 1.4.11: Non-text Contrast – border pola formularza ≥ 3:1 */
.form-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 2px solid var(--color-border); /* #767676 na białym: 4.54:1 ✓ */
  border-radius: var(--radius);
  min-height: var(--target-min);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:hover {
  border-color: var(--color-blue);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.25);
}

/* WCAG 3.3.1: Identyfikacja błędu – czerwona ramka */
.form-input[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192, 0, 26, 0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* WCAG 3.3.1: Komunikat błędu – nie tylko kolor, używamy ikony + tekstu */
.field-error {
  font-size: 0.875rem;
  color: var(--color-error);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.field-error::before {
  content: '⚠';
  font-size: 1em;
  flex-shrink: 0;
}

.field-error[hidden] { display: none; }

.char-counter {
  align-self: flex-end;
}

.btn-submit {
  width: 100%;
  font-size: 1.0625rem;
  padding-block: 14px;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   STOPKA
   ============================================================ */
.site-footer {
  background-color: #131532; /* granat (ciemniejszy odcień z logo) – biały tekst ~17:1 ✓ */
  color: #e3e3ee;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  /* Jeśli logo jest ciemne, rozjaśnij na ciemnym tle stopki */
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.875rem;
  color: #b8b8d0;
  line-height: 1.6;
}

.footer-nav-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent); /* magenta dla nagłówków stopki */
  margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-nav a {
  font-size: 0.9rem;
  color: #d0d0e0;
  text-decoration: none;
  min-height: var(--target-min);
  display: flex;
  align-items: center;
  padding-block: 2px;
  border-radius: 3px;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: #b8b8d0;
}

.footer-wcag a {
  font-size: 0.85rem;
  color: #f4a8c8; /* jaśniejsza magenta na ciemnym tle ~7:1 ✓ */
  text-decoration: underline;
}

.footer-wcag a:hover {
  color: #ffffff;
}

/* ============================================================
   WCAG 1.4.10: Reflow – 320px bez poziomego scrollowania
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid #dce3ec;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 100;
    padding: 1rem;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-item-btn,
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0 16px;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--color-blue-light);
    border-radius: var(--radius);
    margin-top: 4px;
    padding: 4px 0;
  }

  .btn-outline.nav-panel-btn {
    margin: 0.5rem 0 0;
    width: 100%;
  }
}

/* ============================================================
   Tryb wysokiego kontrastu (Windows) – WCAG 1.4.3
   ============================================================ */
@media (forced-colors: active) {
  .btn-primary,
  .btn-outline {
    border: 2px solid ButtonText;
  }
  .skip-link {
    border: 2px solid ButtonText;
  }
  .form-input {
    border: 2px solid ButtonText;
  }
}

/* ============================================================
   STRONA KONTAKT
   ============================================================ */

/* Breadcrumbs — ukryte na wszystkich podstronach (zachowane w DOM dla SEO/a11y) */
.breadcrumbs {
  display: none;
  background-color: var(--color-surface);
  padding-block: 0.75rem;
  border-bottom: 1px solid #e3e3ee;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-muted);
  font-weight: 600;
}

/* aria-current="page" w nawigacji – wizualne wyróżnienie */
.nav-link[aria-current="page"] {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
}

/* Baner na stronie kontakt */
.contact-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(245,158,11,0.06), 0 0 0 1px rgba(253,230,138,0.35);
}
.contact-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245,158,11,0.1);
  color: #b45309;
  flex-shrink: 0;
}
.contact-banner-body {
  flex: 1;
  min-width: 0;
}
.contact-banner-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.contact-banner-content {
  font-size: 0.9rem;
  color: #451a03;
  line-height: 1.55;
}
.contact-banner-content a { color: #92400e; font-weight: 600; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card-full {
    grid-column: 1 / -1;
  }
}

.contact-card {
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-card:hover { transform: none; }
}

.contact-card-header {
  background: var(--color-primary-light);
  padding: 1.25rem clamp(1.5rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2rem);
  flex: 1;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(28,30,62,0.10);
}

/* Override the global square-icon rule for card headers */
.contact-card-header .contact-card-icon {
  background-color: #fff;
  border-radius: 50%;
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.contact-card-subtitle {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.contact-card-data {
  display: grid;
  grid-template-columns: minmax(min-content, 7rem) 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  align-items: baseline; /* dt i dd wyrównane po linii bazowej (fix dla email) */
}

@media (min-width: 600px) {
  .contact-card-data-cols {
    grid-template-columns: minmax(min-content, 7rem) 1fr minmax(min-content, 7rem) 1fr;
    column-gap: 2rem;
  }
}

.contact-card-data dt {
  font-weight: 600;
  color: var(--color-text);
  overflow-wrap: break-word;
}

.contact-card-data dd {
  color: var(--color-muted);
}

.contact-card-data address {
  font-style: normal;
}

.contact-card-data a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  /* Tap target przez padding zamiast min-height,
     by link nie powiększał wysokości wiersza dl-grid */
  display: inline-block;
  padding: 6px 0;
}

.contact-card-data a:hover {
  text-decoration: underline;
}

.contact-card-phone {
  font-size: 1.25rem;
  color: var(--color-accent) !important;
}

@media (max-width: 480px) {
  .contact-card-data {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .contact-card-data dd {
    margin-bottom: 0.5rem;
  }
}

/* ============================================================
   MAPA – sekcja
   ============================================================ */
.map-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .map-panel {
    grid-template-columns: 2fr 1fr;
  }
}

.map-frame-wrapper {
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.map-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 480px) {
  .map-frame { height: 300px; }
}

/* Tekstowa alternatywa dla mapy – WCAG 1.1.1 */
.map-text-alt {
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.map-text-alt h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.map-text-alt address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.map-text-alt p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.map-directions {
  border-top: 1px solid #e3e3ee;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* Link w karcie kontaktowej */
.contact-card-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-accent) !important;
  text-decoration: underline;
  font-weight: 700 !important;
}

.contact-card-link::after {
  content: '→';
  font-size: 1.1em;
}

/* Fieldset – WCAG 1.3.1 grupowanie pól */
.form-fieldset {
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--color-surface);
}

.form-legend {
  padding: 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius-sm);
}

@media (max-width: 480px) {
  .form-fieldset {
    padding: 1rem;
  }
}

/* ============================================================
   PODSTRONA DOKUMENTY
   ============================================================ */

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doc-item { list-style: none; }

.doc-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  min-height: var(--target-min);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.doc-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(28, 30, 62, 0.1);
  transform: translateX(2px);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .doc-link:hover { transform: none; }
}

.doc-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.doc-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.4;
}

.doc-link:hover .doc-name {
  color: var(--color-primary);
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.doc-action {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.doc-link:hover .doc-action {
  color: var(--color-accent-dark);
}

@media (max-width: 480px) {
  .doc-link {
    flex-wrap: wrap;
    padding: 0.875rem 1rem;
  }
  .doc-action {
    width: 100%;
    text-align: right;
    border-top: 1px dashed #e3e3ee;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
  }
}

/* ============================================================
   PODSTRONA FAQ
   ============================================================ */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 900px;
  margin-inline: auto;
}

/* ---- ACCORDION – natywne details/summary, WCAG-friendly ---- */
.faq-item {
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(28, 30, 62, 0.08);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  min-height: var(--target-min);
  list-style: none;
  user-select: none;
  transition: background-color var(--transition);
}

/* Usuń domyślny trójkąt details */
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { content: ''; }

.faq-summary:hover {
  background-color: var(--color-surface);
}

.faq-summary:focus-visible {
  outline: var(--focus-outline);
  outline-offset: -3px;
}

.faq-q {
  flex: 1;
  line-height: 1.4;
}

/* Ikona +/- jako wskaźnik stanu */
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-icon {
  background-color: var(--color-accent);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background-color: #ffffff;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  border-top: 1px solid #f0f0f6;
  padding-top: 1rem;
}

.faq-answer p { margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul,
.faq-answer ol {
  list-style: revert;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-answer li { margin-bottom: 0.25rem; }

.faq-answer code {
  background-color: var(--color-surface);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--color-primary);
}

.faq-answer a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   Help CTA (sekcja końcowa na podstronach)
   ============================================================ */
.help-cta {
  background: var(--color-primary);
  color: #ffffff;
  text-align: center;
}

.help-cta-inner {
  max-width: 720px;
  margin-inline: auto;
}

.help-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  /* biały na ciemnym granacie ≥ 16:1 ✓ AAA */
}

.help-cta p {
  font-size: 1.0625rem;
  color: #d8d8e8;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.help-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.help-cta .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}

.help-cta .btn-outline:hover {
  background-color: #ffffff;
  color: var(--color-primary);
}

/* ============================================================
   PODSTRONA – Prace planowe i awarie (status sieci)
   ============================================================ */
.status-nav {
  background-color: var(--color-surface);
  padding-block: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.status-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.status-nav-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.status-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--target-min);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.status-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-nav-link-alert {
  color: #991b1b;
  border-color: #fca5a5;
  background: #fff1f2;
}
.status-nav-link-alert .status-nav-dot { background: #dc2626; }
.status-nav-link-alert:hover,
.status-nav-link-alert:focus-visible {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.status-nav-link-alert:hover .status-nav-dot,
.status-nav-link-alert:focus-visible .status-nav-dot { background: #fff; }

.status-nav-link-planned {
  color: #92400e;
  border-color: #fcd34d;
  background: #fffbf0;
}
.status-nav-link-planned .status-nav-dot { background: #d97706; }
.status-nav-link-planned:hover,
.status-nav-link-planned:focus-visible {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
}
.status-nav-link-planned:hover .status-nav-dot,
.status-nav-link-planned:focus-visible .status-nav-dot { background: #fff; }

.status-nav-link-archive {
  color: #15803d;
  border-color: #86efac;
  background: #f0fdf4;
}
.status-nav-link-archive .status-nav-dot { background: #16a34a; }
.status-nav-link-archive:hover,
.status-nav-link-archive:focus-visible {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.status-nav-link-archive:hover .status-nav-dot,
.status-nav-link-archive:focus-visible .status-nav-dot { background: #fff; }


.section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0.75rem;
  background: rgba(201,27,110,0.09);
  color: #c91b6e;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.35);
  padding: 1.125rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.status-card-resolved { opacity: 0.85; }

/* Top row: icon + heading */
.status-card-top {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

/* Status icon (32×32 tinted container) */
.status-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-card-icon--error   { background: rgba(220,38,38,0.1);  color: #dc2626; }
.status-card-icon--info    { background: rgba(217,119,6,0.1);   color: #d97706; }
.status-card-icon--success { background: rgba(22,163,74,0.1);   color: #16a34a; }

.status-card-heading {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.status-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
  line-height: 1.4;
}

/* Badge + date row */
.status-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-badge-dot { display: none; }

.status-badge-error   { background-color: #fee2e2; color: #b91c1c; }
.status-badge-info    { background-color: #fef3c7; color: #92400e; }
.status-badge-success { background-color: #dcfce7; color: #166534; }

.status-card-date {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Metadata chips (area, service, duration) */
.status-card-data {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
}

.status-card-data-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.8rem;
}

.status-card-data-item--warn { background: #fff7ed; border-color: #fed7aa; }
.status-card-data-item--ok   { background: #f0fdf4; border-color: #bbf7d0; }

.status-card-data dt {
  font-weight: 600;
  color: #64748b;
}

.status-card-data dt::after { content: ":"; }

.status-card-data dd {
  color: #0a1628;
  font-weight: 600;
  margin: 0;
}

.status-card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.status-empty {
  padding: 1.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #15803d;
  font-weight: 600;
  text-align: center;
}

.status-action {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  text-align: center;
}

.status-action p {
  margin-bottom: 0.875rem;
  color: var(--color-text);
}

.status-action .btn + .btn { margin-left: 0.5rem; }

@media (max-width: 480px) {
  .status-action .btn {
    display: flex;
    width: 100%;
    margin: 0.5rem 0 0;
  }
}


/* ---- Archive collapse toggle ---- */
.archive-details {
  text-align: center;
  margin-top: 1.5rem;
}

.archive-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 22px;
  min-height: var(--target-min);
  border: 2px solid #16a34a;
  border-radius: 12px;
  background: transparent;
  color: #15803d;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-base);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
}

.archive-toggle::-webkit-details-marker { display: none; }

.archive-toggle:hover,
.archive-toggle:focus-visible {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.archive-toggle:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

.archive-toggle-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.archive-details[open] .archive-toggle-chevron {
  transform: rotate(180deg);
}

.archive-toggle-hide { display: none; }
.archive-details[open] .archive-toggle-show { display: none; }
.archive-details[open] .archive-toggle-hide { display: inline; }

.archive-details .status-list,
.archive-details .status-empty {
  margin-top: 2rem;
  text-align: left;
}



/* ============================================================
   Sekcja ze szczegółami oferty (internet-radiowy)
   ============================================================ */

/* Grid kompaktowy (3 kolumny) dla stref radiowych */
@media (min-width: 900px) {
  .pricing-grid.pricing-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Tabela opłat (okres umowy) ---- */
.contract-table-wrapper {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  overflow-x: auto; /* WCAG 1.4.10: reflow małych ekranów */
  border-radius: var(--radius);
  border: 1px solid #dce0ec;
  background: var(--color-bg);
}

.contract-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.contract-table thead {
  background-color: var(--color-primary);
  color: #ffffff;
  /* biały na granacie ~16.6:1 ✓ AAA */
}

.contract-table th,
.contract-table td {
  padding: 0.875rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e8e8f2;
}

.contract-table th[scope="col"] {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contract-table th[scope="row"] {
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-surface);
}

.contract-table tbody tr:last-child th,
.contract-table tbody tr:last-child td {
  border-bottom: none;
}

.contract-table tbody tr:hover th[scope="row"],
.contract-table tbody tr:hover td {
  background-color: var(--color-primary-light);
}


/* ============================================================
   PODSTRONA – Internet radiowy (oferty regionalne + jak działa)
   ============================================================ */

/* ============================================================
   PODSTRONA – Światłowód (oferta POPC + powiaty)
   ============================================================ */

.pricing-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0.5rem 2rem;
  margin: 1rem 0 1.5rem;
}

/* Przycisk z białą obwódką – wariant na ciemnym hero */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}


/* Grid 3-kolumnowy dla opłat aktywacyjnych */
.activation-grid-3 {
  max-width: 1000px;
}


/* ============================================================
   PODSTRONA – Światłowód INM (oferta + cennik)
   ============================================================ */

/* ---- PRICING ---- */
.pricing-section {
  background-color: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg);
  border: 2px solid #dce0ec;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(28, 30, 62, 0.12);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card:hover { transform: none; }
}

/* Polecany pakiet – wyróżniony magentą */
.pricing-card-popular {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(201, 27, 110, 0.15);
}

.pricing-card-popular:hover {
  border-color: var(--color-accent-dark);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(201, 27, 110, 0.35);
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8e8f2;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-price {
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.pricing-amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 0.2rem;
}

.pricing-period {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
}

.check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #e6f4ed;
  color: var(--color-success);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
  margin-top: 1px;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  background-color: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
}

.pricing-note a {
  color: var(--color-primary);
  font-weight: 600;
}


.activation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

.activation-card {
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  text-align: center;
}


.activation-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.activation-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.activation-price {
  font-size: 1.6rem;
  font-weight: 800;
}



.coverage-details {
  max-width: 900px;
  margin-inline: auto;
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  overflow: hidden;
}

.coverage-details-spaced {
  margin-top: 1rem;
}

.coverage-details[open] {
  border-color: var(--color-primary);
}

.coverage-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary);
  min-height: var(--target-min);
  list-style: none;
  background-color: var(--color-primary-light);
  transition: background-color var(--transition);
}

.coverage-summary::-webkit-details-marker { display: none; }
.coverage-summary::marker { content: ''; }

.coverage-summary:hover {
  background-color: #d8d8e8;
}

.coverage-summary:focus-visible {
  outline: var(--focus-outline);
  outline-offset: -3px;
}

.coverage-summary-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.coverage-summary-icon::before,
.coverage-summary-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

.coverage-summary-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.coverage-summary-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.coverage-details[open] .coverage-summary-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.coverage-content {
  padding: 1.5rem;
}

.coverage-place {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.coverage-list li {
  background-color: var(--color-surface);
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}

.street-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.street-numbers {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  word-break: break-word;
}

.coverage-regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
}

.coverage-region {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-top: 3px solid var(--color-primary);
}

.coverage-region-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.coverage-powiat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.coverage-powiat-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.coverage-powiat-list li:last-child {
  border-bottom: none;
}

.coverage-powiat-name {
  color: var(--color-text);
  font-weight: 500;
}

.coverage-powiat-count {
  color: var(--color-muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.coverage-note {
  background-color: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-top: 1.5rem;
}

.coverage-note a {
  color: var(--color-accent-dark);
  font-weight: 600;
}

/* Wide form layout na stronie kontakt */
.contact-form-wide {
  max-width: 900px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.25rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Print styles – WCAG
   ============================================================ */
@media print {
  .site-header,
  .nav-toggle,
  .btn { display: none !important; }

  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* ============================================================
   LIVE INDICATOR (SSE) – wskaźnik połączenia na stronie prace-planowe
   ============================================================ */
.live-indicator {
  position: sticky;
  top: 68px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dce0ec;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.live-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-muted);
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.live-indicator[data-state="connecting"] .live-indicator-dot {
  background-color: #c8851a; /* żółty */
  animation: live-pulse 1.2s ease-in-out infinite;
}

.live-indicator[data-state="connected"] .live-indicator-dot {
  background-color: var(--color-success);
  animation: live-pulse 2s ease-in-out infinite;
}

.live-indicator[data-state="disconnected"] .live-indicator-dot,
.live-indicator[data-state="error"] .live-indicator-dot {
  background-color: var(--color-error);
}

@media (prefers-reduced-motion: reduce) {
  .live-indicator-dot { animation: none !important; }
}

@keyframes live-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

/* Status count badge w nagłówku sekcji */
.status-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  vertical-align: middle;
}


/* ============================================================
   SPRAWDŹ ZASIĘG – wyszukiwarka
   ============================================================ */

.coverage-search-form {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid #dce0ec;
}

/* Autocomplete dropdown */
.coverage-autocomplete {
  position: relative;
}

.coverage-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: var(--color-bg);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(28,30,62,0.15);
  max-height: 320px;
  overflow-y: auto;
}

.coverage-suggestions[hidden] { display: none; }

.coverage-suggestions li {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f6;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 44px;
}

.coverage-suggestions li:last-child { border-bottom: none; }

.coverage-suggestions li:hover,
.coverage-suggestions li.is-active,
.coverage-suggestions li[aria-selected="true"] {
  background-color: var(--color-primary-light);
}

.coverage-suggestions strong {
  font-size: 0.95rem;
  color: var(--color-primary);
}

.coverage-suggestions .ac-desc {
  font-size: 0.8rem;
  color: var(--color-muted);
}


.coverage-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.coverage-search-actions .btn { flex: 1; min-width: 140px; }

/* Mapa */
.coverage-map {
  width: 100%;
  height: 420px;
  background: #e8f0f5;
}

@media (max-width: 480px) {
  .coverage-map { height: 280px; }
}

/* ============================================================
   WYNIKI
   ============================================================ */
.coverage-results-section {
  background: var(--color-surface);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.coverage-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.coverage-service-card {
  background: var(--color-bg);
  border-left: 5px solid var(--marker, var(--color-primary));
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(28,30,62,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coverage-service-header {
  margin-bottom: 0.5rem;
}

.coverage-service-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #e6f4ed;
  color: var(--color-success);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.coverage-service-name {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0;
  font-weight: 700;
}

.coverage-service-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.25rem 0 0;
}

.coverage-service-price {
  font-size: 1.15rem;
  margin: 0.5rem 0;
  color: var(--color-text);
}

.coverage-service-price strong {
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 800;
}

.coverage-service-price small {
  color: var(--color-muted);
  font-weight: 400;
}

.coverage-service-speed {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

.coverage-service-notes {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #e3e3ee;
}

/* Tabela porównawcza */
.coverage-compare-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
}

.coverage-compare-wrapper h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.coverage-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.coverage-compare-table thead {
  background: var(--color-primary);
  color: #ffffff;
}

.coverage-compare-table th,
.coverage-compare-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f6;
  vertical-align: middle;
}

.coverage-compare-table .cmp-service {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}


/* ============================================================
   LEAD – formularz dla poza zasięgiem
   ============================================================ */
.coverage-lead-section {
  background-color: var(--color-bg);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}


.lead-address-info {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================================================
   PODSTRONA – Monitoring i inne usługi
   ============================================================ */
/* ============================================================
   AKTUALNOŚCI – lista + karta + single
   ============================================================ */
.news-filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-min);
  padding: 6px 14px;
  background: var(--color-bg);
  color: var(--color-primary);
  border: 1.5px solid #c7cde8;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-base);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.news-filter-btn:hover,
.news-filter-btn:focus-visible {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
}

.news-filter-btn.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Per-category filter button colours */
.news-filter-btn[data-filter="wazne"] { color: #b91c1c; border-color: #fca5a5; background: #fff1f2; }
.news-filter-btn[data-filter="wazne"]:hover,
.news-filter-btn[data-filter="wazne"]:focus-visible,
.news-filter-btn[data-filter="wazne"].is-active { background: #b91c1c; border-color: #b91c1c; color: #fff; }

.news-filter-btn[data-filter="rozbudowa"] { color: #1c1e3e; border-color: rgba(28,30,62,0.25); background: rgba(28,30,62,0.05); }
.news-filter-btn[data-filter="rozbudowa"]:hover,
.news-filter-btn[data-filter="rozbudowa"]:focus-visible,
.news-filter-btn[data-filter="rozbudowa"].is-active { background: #1c1e3e; border-color: #1c1e3e; color: #fff; }

.news-filter-btn[data-filter="promocja"] { color: #c91b6e; border-color: rgba(201,27,110,0.3); background: rgba(201,27,110,0.05); }
.news-filter-btn[data-filter="promocja"]:hover,
.news-filter-btn[data-filter="promocja"]:focus-visible,
.news-filter-btn[data-filter="promocja"].is-active { background: #c91b6e; border-color: #c91b6e; color: #fff; }

.news-filter-btn[data-filter="ogolny"] { color: #6d28d9; border-color: rgba(109,40,217,0.3); background: rgba(109,40,217,0.05); }
.news-filter-btn[data-filter="ogolny"]:hover,
.news-filter-btn[data-filter="ogolny"]:focus-visible,
.news-filter-btn[data-filter="ogolny"].is-active { background: #6d28d9; border-color: #6d28d9; color: #fff; }


.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.news-item { list-style: none; }
.news-item[hidden] { display: none; }

.news-card-full {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.news-card-full:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .news-card-full:hover { transform: none; }
}

.news-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.news-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-card-important .news-category-badge { background: #fee2e2; color: #b91c1c; }
.news-card-rozbudowa .news-category-badge { background: rgba(28,30,62,0.08); color: #1c1e3e; }
.news-card-promocja  .news-category-badge { background: rgba(201,27,110,0.1); color: #c91b6e; }
.news-card-ogolny    .news-category-badge { background: rgba(109,40,217,0.08); color: #6d28d9; }

.news-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 4px 12px;
  background: rgba(28,30,62,0.07);
  color: #1c1e3e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 8px;
}

.news-card-date {
  font-size: 0.8125rem;
  color: #64748b;
  margin-left: auto;
  font-weight: 500;
}

.news-card-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.375rem;
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.news-card-title a {
  color: #0a1628;
  text-decoration: none;
}

.news-card-title a:hover {
  color: #c91b6e;
  text-decoration: underline;
}

.news-card-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.news-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #c91b6e;
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.news-card-readmore:hover {
  text-decoration: underline;
}

/* ---- Single news (pojedynczy wpis) ---- */
.single-news-section {
  background: #f8fafc;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.single-news-section .container {
  max-width: 800px;
}

.single-news {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.35);
  overflow: hidden;
}

.single-news-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid #e3e8ee;
}

.single-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
  margin-bottom: 0.875rem;
}

.single-news-meta time {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

.single-news-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a1628;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.single-news-lead {
  font-size: 1.0625rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.single-news-body-section {
  padding: 2rem;
}

.single-news-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.single-news-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
}

.single-news-body p { margin-bottom: 1.25rem; }

.single-news-body h2,
.single-news-body h3 {
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.single-news-body ul,
.single-news-body ol {
  list-style: revert;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
}

.single-news-body li { margin-bottom: 0.5rem; }
.single-news-body a { color: var(--color-accent); font-weight: 600; }
.single-news-body a:hover { color: var(--color-accent-dark); }
.single-news-body strong { color: var(--color-text); }

.single-news-footer {
  display: flex;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
  .single-news-header { padding: 1.25rem; }
  .single-news-body-section { padding: 1.25rem; }
}

/* ============================================================
   STRONA GŁÓWNA – banner aktywnych awarii + grid news 3-kol
   ============================================================ */
.home-alerts {
  background: #f8fafc;
  padding-block: 1.25rem;
}

.home-alerts-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(220,38,38,0.06), 0 0 0 1px rgba(252,165,165,0.3);
  padding: 1.25rem 1.75rem;
  overflow: hidden;
}

@media (max-width: 700px) {
  .home-alerts-inner {
    grid-template-columns: auto 1fr;
  }
  .home-alerts-cta {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
    text-align: center;
    justify-self: stretch;
  }
}

.home-alerts-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220,38,38,0.09);
  border-radius: 12px;
  flex-shrink: 0;
  color: #dc2626;
}

.home-alerts-body h2 {
  font-size: 1.05rem;
  color: #991b1b;
  margin: 0 0 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-alerts-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: #dc2626;
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
}

.home-alerts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #991b1b;
}

.home-alerts-list li {
  padding: 2px 0;
}

.home-alerts-list strong {
  color: #7f1d1d;
  font-weight: 700;
}

.home-alerts-more {
  margin: 0.25rem 0 0;
  color: #b91c1c;
}

.home-alerts-cta {
  white-space: nowrap;
}


/* ============================================================
   STRONA GŁÓWNA – HERO BAND + BENTO GRID
   ============================================================ */

/* Hero band – kompaktowy dark pasek nad bento */
.home-hero-band {
  background: linear-gradient(150deg, #0a1628 0%, #1c1e3e 55%, #2a1240 100%);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.home-hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 80% 50%, rgba(201,27,110,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero-band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.home-hero-eyebrow {
  display: inline-block;
  background: rgba(201,27,110,0.25);
  border: 1px solid rgba(201,27,110,0.5);
  color: #f9a8d4;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.85em;
  border-radius: 8px;
  margin-bottom: 1.1rem;
}
.home-hero-band .home-hero-heading {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 1rem;
  color: #ffffff; /* two-class spec (20) beats body.page h1 (spec 12) */
}
.home-hero-heading-accent {
  color: #f9a8d4;
}
.home-hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #c4cde0; /* 9.9:1 on hero dark bg ✓ */
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 600px;
}
.home-hero-lead-link {
  color: #f9a8d4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 480px) {
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .btn { text-align: center; }
}

/* Phone CTA – white pill matching bento dark-card buttons */
.hero-call-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.5rem;
  min-height: 44px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #1c1e3e;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
  gap: 0;
}
.hero-call-cta:hover {
  background: #e8ecf6;
  border-color: #e8ecf6;
  color: #1c1e3e;
  text-decoration: none;
}
.hero-call-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
.hero-call-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c91b6e;
  line-height: 1;
  margin-bottom: 0.1em;
}
.hero-call-number {
  font-size: 1rem;
  font-weight: 800;
  color: #1c1e3e;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
@media (max-width: 480px) {
  .hero-call-cta { align-items: center; width: 100%; }
}

/* Bento section wrapper */
.home-bento {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background-color: var(--color-surface, #f7f8fc);
}

/* Bento grid – 3 col (2fr 1fr 2fr) → 2 rows */
.home-bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-areas:
    "fiber stats radio"
    "install install news";
  gap: 1rem;
}
@media (max-width: 1024px) {
  .home-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "fiber radio"
      "stats stats"
      "install news";
  }
}
@media (max-width: 640px) {
  .home-bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "fiber"
      "radio"
      "stats"
      "install"
      "news";
  }
}

/* Base bento card */
.bento-card {
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  position: relative;
  isolation: isolate; /* stacking context – keeps ::before orbs behind content */
}

/* Homepage bento grid cards carry their own content (no header/body divs) */
.home-bento-grid .bento-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

/* Grid area assignments */
.bento-fiber   { grid-area: fiber; }
.bento-stats   { grid-area: stats; }
.bento-radio   { grid-area: radio; }
.bento-install { grid-area: install; }
.bento-news    { grid-area: news; }

/* Bento eyebrow (chip label) */
.bento-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28em 0.8em;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

/* Bento headings */
.bento-heading {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

/* Bento description */
.bento-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

/* Bento price display */
.bento-price {
  font-size: 1rem;
  margin: 0 0 0.9rem;
}
.bento-price strong {
  font-size: 1.6rem;
  font-weight: 800;
}
.bento-price-period {
  font-size: 0.85rem;
  margin-left: 0.1em;
}

/* Tag chips */
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.bento-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25em 0.7em;
  border-radius: 8px;
  letter-spacing: 0.03em;
}

/* ---- Bento CTA – standalone pill button, no btn class dependency ---- */
.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: auto;
  align-self: flex-start;
  padding: 0.6em 1.35em;
  min-height: 44px; /* WCAG 2.5.8 */
  border-radius: 12px;
  border: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, opacity 140ms ease;
  white-space: nowrap;
}
.bento-cta:focus-visible {
  outline: 3px solid #c91b6e;
  outline-offset: 3px;
}

/* Dark cards → solid white pill, dark text (contrast ≥ 15:1) */
.bento-fiber .bento-cta,
.bento-radio .bento-cta,
.bento-news .bento-cta {
  background: #ffffff;
  color: #1c1e3e;
  border-color: #ffffff;
}
.bento-fiber .bento-cta:hover,
.bento-radio .bento-cta:hover,
.bento-news .bento-cta:hover {
  background: #e8ecf6;
  border-color: #e8ecf6;
  color: #1c1e3e;
}
.bento-fiber .bento-cta:focus-visible,
.bento-radio .bento-cta:focus-visible,
.bento-news .bento-cta:focus-visible {
  outline-color: #ffffff;
}

/* Light card (install) → solid magenta, white text (contrast ≥ 5.5:1) */
.bento-install .bento-cta {
  background: #c91b6e;
  color: #ffffff;
  border-color: #c91b6e;
}
.bento-install .bento-cta:hover {
  background: #a01459;
  border-color: #a01459;
  color: #ffffff;
}

/* ---- FIBER card (dark navy) ---- */
.bento-fiber {
  background: linear-gradient(145deg, #0a1628 0%, #1c1e3e 100%);
  color: #ffffff;
}
.bento-fiber .bento-heading { color: #ffffff; } /* override body.page h2 (spec 12) */
.bento-fiber::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,27,110,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1; /* behind flex children within isolation context */
}
.bento-fiber .bento-eyebrow {
  background: rgba(201,27,110,0.25);
  border: 1px solid rgba(201,27,110,0.5);
  color: #f9a8d4; /* contrast ≥ 5.5:1 on dark navy */
}
.bento-fiber .bento-desc { color: #c8cee6; } /* 9.8:1 on #1c1e3e */
.bento-fiber .bento-price { color: #ffffff; }
.bento-fiber .bento-price-period { color: #a0aec0; } /* 6.1:1 on #1c1e3e */
.bento-fiber .bento-tag {
  background: rgba(255,255,255,0.12);
  color: #d4d9ee; /* 8:1 on dark navy */
  border: 1px solid rgba(255,255,255,0.2);
}

/* ---- STATS card (white, centered) ---- */
.bento-stats {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
  box-shadow: 0 4px 24px rgba(28,30,62,0.1), 0 0 0 1px rgba(28,30,62,0.07);
}
.bento-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0;
}
.bento-stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #1c1e3e;
  line-height: 1;
  letter-spacing: -0.02em;
}
.bento-stat-label {
  font-size: 0.78rem;
  color: #4b5568; /* 7.6:1 on white ✓ */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bento-stat-divider {
  height: 1px;
  background: #e8ebf4;
  margin: 0.25rem 1rem;
}

/* ---- RADIO card (deep blue-purple) ---- */
.bento-radio {
  background: linear-gradient(145deg, #1e2a4a 0%, #2d1b5e 100%);
  color: #ffffff;
}
.bento-radio .bento-heading { color: #ffffff; } /* override body.page h2 (spec 12) */
.bento-radio::before {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(109,40,217,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1; /* behind flex children within isolation context */
}
.bento-radio .bento-eyebrow {
  background: rgba(139,92,246,0.25);
  border: 1px solid rgba(139,92,246,0.5);
  color: #c4b5fd; /* contrast ≥ 5.5:1 on dark purple */
}
.bento-radio .bento-desc { color: #c8d0e8; } /* 9.5:1 on #1e2a4a */
.bento-radio .bento-price { color: #ffffff; }
.bento-radio .bento-price-period { color: #a0aec0; } /* 5.8:1 on #1e2a4a */
.bento-radio .bento-tag {
  background: rgba(255,255,255,0.12);
  color: #d4d9ee; /* 8:1 on dark purple */
  border: 1px solid rgba(255,255,255,0.2);
}

/* ---- INSTALL card (light surface) ---- */
.bento-install {
  background: #ffffff;
  border: 1px solid #d0d5e8;
  box-shadow: 0 4px 24px rgba(28,30,62,0.1), 0 0 0 1px rgba(28,30,62,0.06);
}
.bento-install .bento-eyebrow {
  background: #eef2ff;
  color: #4338ca;
}
.bento-install .bento-heading { color: #1c1e3e; }
.bento-install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.25rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
@media (max-width: 500px) {
  .bento-install-grid { grid-template-columns: 1fr; }
}
.bento-install-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.bento-install-item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1c1e3e; /* 15:1 on white ✓ */
}
.bento-install-item span {
  font-size: 0.8rem;
  color: #4b5568; /* 7.6:1 on white ✓ */
  line-height: 1.45;
}

/* ---- NEWS card (dark) ---- */
.bento-news {
  background: linear-gradient(145deg, #0f172a 0%, #1c1e3e 100%);
  color: #ffffff;
}
.bento-news .bento-eyebrow {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
}
.bento-news .bento-heading {
  color: #ffffff;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}
.bento-news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bento-news-item + .bento-news-item {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.bento-news-item a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0;
  text-decoration: none;
  transition: opacity 150ms;
  border-radius: 4px;
}
.bento-news-item a:hover { opacity: 0.8; }
.bento-news-item a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}
.bento-news-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bento-news-date {
  font-size: 0.75rem;
  color: #8899bb; /* 4.9:1 on #0f172a ✓ */
}
.bento-news-empty {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

/* Wyróżnienie zdania o rabatach w pricing-note */
.pricing-note-highlight {
  color: var(--color-accent-dark);
  display: inline;
  font-weight: 800;
}

/* ============================================================
   STRONY PRAWNE (Polityka prywatności, regulamin, RODO itp.)
   ============================================================ */
.legal-sublist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.legal-sublist li {
  position: relative;
  padding-left: 1.5rem;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.legal-sublist li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Box kontaktowy w stronie prawnej */
.legal-contact {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-card);
}

.legal-contact h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.legal-contact-data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
  align-items: baseline;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-contact-data dt {
  font-weight: 600;
  color: var(--color-text);
}

.legal-contact-data dd {
  color: var(--color-muted);
  margin: 0;
}

.legal-contact-data address {
  font-style: normal;
}

.legal-contact-data a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.legal-contact-data a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .legal-contact-data {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .legal-contact-data dd {
    margin-bottom: 0.5rem;
  }
}

/* ============================================================
   STRONY USTAWY – rozdziały rzymskie + podsekcje
   ============================================================ */
.legal-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: 1.25rem 0 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #d0d0e0;
}

.legal-numbered {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.legal-numbered > li {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-numbered > li::marker {
  font-weight: 800;
  color: var(--color-accent);
}

.legal-numbered > li > p {
  margin-bottom: 0.75rem;
}

.legal-signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dce0ec;
  font-size: 1.0625rem;
  color: var(--color-text);
  text-align: right;
  font-style: italic;
}

.legal-signature strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   STRONA DEKLARACJI DOSTĘPNOŚCI
   ============================================================ */
.accessibility-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.accessibility-status-box {
  background: var(--color-bg);
  border: 1px solid #dce0ec;
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  text-align: center;
}

.accessibility-status-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.accessibility-status-box span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.accessibility-status-success {
  background: #e6f4ed;
  border-color: var(--color-success);
}

.accessibility-status-success strong {
  color: var(--color-success);
}

/* Klawisze w skrótach klawiszowych */
kbd {
  display: inline-block;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid #b8b8c8;
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  vertical-align: baseline;
  white-space: nowrap;
}

/* code w stronach prawnych */
.legal-sublist code {
  background: var(--color-surface);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  color: var(--color-primary);
}

/* ============================================================
   FADE-IN ANIMACJE (z IntersectionObserver)
   ============================================================ */
.fade-in,
.fade-in-up {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in-up    { transform: translateY(32px); }

/* Stan po wejściu w widok */
.is-visible,
.is-visible.fade-in,
.is-visible.fade-in-up {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Opóźnienia dla "kaskadowych" wejść (np. siatka kart) */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* WCAG 2.3.3 – brak animacji przy preferencji zmniejszonego ruchu */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   MODERN CTA – w stylu purple-card (zaokrąglone + fale)
   ============================================================ */
.help-cta {
  position: relative;
  background: var(--color-primary);
  color: #ffffff;
  text-align: center;
  border-radius: 0; /* z domyślnego, override w help-cta-card */
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem);
}

/* Wewnętrzny "panel" w stylu obrazka */
.help-cta::before,
.help-cta::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Fale w lewym dolnym rogu */
.help-cta::before {
  bottom: -40px;
  left: -40px;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2'><path d='M-20 80 Q60 40 120 90 T260 70'/><path d='M-20 110 Q60 70 120 120 T260 100'/><path d='M-20 140 Q60 100 120 150 T260 130'/></svg>");
  background-repeat: no-repeat;
  background-size: cover;
}

/* Fale w prawym górnym rogu */
.help-cta::after {
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2'><path d='M260 80 Q180 40 120 90 T-20 70'/><path d='M260 110 Q180 70 120 120 T-20 100'/><path d='M260 140 Q180 100 120 150 T-20 130'/></svg>");
  background-repeat: no-repeat;
  background-size: cover;
}

.help-cta .container,
.help-cta-inner {
  position: relative;
  z-index: 1;
}

.help-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.help-cta p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  line-height: 1.6;
  max-width: 640px;
  margin-inline: auto;
}

/* Przyciski w help-cta – bento-card style */
.help-cta .btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 0.6em 1.35em;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

/* neutralise bento-cta's column-flex helpers when used in a row */
.help-cta .bento-cta {
  align-self: center;
  margin-top: 0;
}

.help-cta .btn-primary {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.help-cta .btn-primary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.help-cta .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.help-cta .btn-outline:hover {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}


/* ============================================================
   SPÓJNE KSZTAŁTY – aliasy starszych tokenów na nową skalę
   (utrzymujemy nazwy --radius-card/-lg/-small żeby nie psuć
   reszty kodu, ale mapujemy na tę samą, drobną skalę)
   ============================================================ */
:root {
  --radius-card:      var(--radius);      /* 6px – karty zwykłe */
  --radius-card-lg:   var(--radius-lg);   /* 12px – duże boxy / hero / CTA */
  --radius-pill:      999px;              /* pill buttons – bez zmian */
  --radius-small:     var(--radius-sm);   /* 4px – inputs, drobne */
}

/* --- Główne karty z usługami / pakietami / news / contact / coverage --- */
.service-card,
.service-card-fancy,
.pricing-card,
.coverage-service-card,
.contact-card,
.activation-card,
.faq-item,
.coverage-search-form,
.map-frame-wrapper,
.map-text-alt,
.admin-section,
.admin-stat-card,
.admin-table-wrapper,
.admin-recent-list a,
.admin-login-card,
.legal-contact,
.coverage-compare-wrapper {
  border-radius: var(--radius-card);
}

/* --- Highlight boxy – większe zaokrąglenie --- */
.home-alerts-inner,
.pricing-note {
  border-radius: var(--radius-card-lg);
}

/* --- Doc-link i drobne elementy --- */
.doc-link,
.admin-alert,
.admin-filter,
.map-tab,
.coverage-suggestions,
.live-indicator {
  border-radius: var(--radius-card);
}

/* --- Inputy i pola formularzy – mniejsze zaokrąglenie --- */
.form-input,
select.form-input,
textarea.form-input {
  border-radius: var(--radius-small);
}

/* --- Buttony zostają domyślnie z lekkim zaokrągleniem (6px) --- */
/* btn-primary, btn-outline – obecny --radius: 6px zostawiamy
   poza .help-cta gdzie 12px (bento-card) i .pricing-cta gdzie pełna szerokość */

/* --- Cieniowanie – delikatniejsze, bardziej premium --- */
.service-card:hover,
.service-card-fancy:hover,
.pricing-card:hover,
.coverage-service-card:hover,
.contact-card:hover,
.faq-item[open],
.doc-link:hover {
  box-shadow: 0 12px 32px rgba(28, 30, 62, 0.12);
}

/* --- Subtelne podniesienie na hover dla wszystkich kart --- */
.service-card,
.service-card-fancy,
.pricing-card,
.coverage-service-card,
.contact-card {
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 300ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card-fancy,
  .pricing-card,
  .coverage-service-card,
  .contact-card {
    transition: none;
  }
}

/* --- Logo bez zaokrąglenia – pozostawiamy --- */
.logo,
.logo-img,
.footer-logo-img {
  border-radius: 0;
}

/* ============================================================
   STOPKA – ozdobne fale SVG (analogicznie do .help-cta)
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Fale w prawym górnym rogu stopki */
.site-footer::before {
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='rgba(201,27,110,0.22)' stroke-width='2'><path d='M260 60 Q180 20 120 70 T-20 50'/><path d='M260 90 Q180 50 120 100 T-20 80'/><path d='M260 120 Q180 80 120 130 T-20 110'/><path d='M260 150 Q180 110 120 160 T-20 140'/></svg>");
  background-repeat: no-repeat;
  background-size: cover;
}

/* Fale w lewym dolnym rogu stopki */
.site-footer::after {
  bottom: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='2'><path d='M-20 60 Q60 20 120 70 T260 50'/><path d='M-20 90 Q60 50 120 100 T260 80'/><path d='M-20 120 Q60 80 120 130 T260 110'/><path d='M-20 150 Q60 110 120 160 T260 140'/></svg>");
  background-repeat: no-repeat;
  background-size: cover;
}

/* Treść stopki musi być nad falami */
.site-footer .container,
.site-footer .footer-inner,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

/* ============================================================
   DROBNE KOREKTY RADIUS (asymetria również w pojedynczych miejscach)
   ============================================================ */

/* Sticky live-indicator – ostry pdr */
.live-indicator {
  border-radius: var(--radius-small);
}

/* Tabele admin / contract – asymetria na rogach wrappera */
.contract-table-wrapper,
.admin-table-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* ============================================================
   OZDOBY: pojedyncze ikony zamiast fal (override poprzednich reguł)
   ============================================================

   Reguły są wstawiane na końcu style.css, więc nadpisują wcześniejsze
   pseudo-elementy ::before i ::after dla ozdobionych boxów.

   Konwencja:
   - 1 ikona na box, w prawym górnym rogu, lekko przesunięta poza ramkę
   - duża (180-220 px), niska opacity (0.10-0.20)
   - stroke-style (line art), żeby tło prześwitywało
   - kolor stroke dopasowany do kontekstu (magenta/biały/czerwony)
*/

/* RESET – wyłącz wszystkie wcześniejsze ::after i ::before z falami */
.help-cta::before {
  content: none !important;
  background: none !important;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
  background: none !important;
}

.help-cta::after {
  /* Reset bazowy – wartości nadpisujemy poniżej per-element */
  background-image: none;
  background-size: 60% 60%;
  background-position: center;
  background-repeat: no-repeat;
  top: -20px;
  right: -20px;
  bottom: auto;
  left: auto;
  width: 200px;
  height: 200px;
  z-index: 0;
  pointer-events: none;
  content: '';
  position: absolute;
}

/* ---- HELP-CTA: chmurka czatu (kontakt) ---- */
.help-cta::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M8 14a6 6 0 016-6h36a6 6 0 016 6v24a6 6 0 01-6 6H28l-10 10v-10h-4a6 6 0 01-6-6V14z'/><circle cx='22' cy='26' r='2' fill='rgba(255,255,255,0.28)'/><circle cx='32' cy='26' r='2' fill='rgba(255,255,255,0.28)'/><circle cx='42' cy='26' r='2' fill='rgba(255,255,255,0.28)'/></svg>");
  width: 240px;
  height: 240px;
  top: -30px;
  right: -30px;
}

/* ---- STOPKA: globus / sieć (łączność) ---- */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 40px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% 80%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(201,27,110,0.22)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='32' cy='32' r='24'/><ellipse cx='32' cy='32' rx='10' ry='24'/><path d='M8 32 H56'/><path d='M11 20 H53'/><path d='M11 44 H53'/></svg>");
}

/* Treść stopki musi być nad ikoną */
.site-footer .container,
.site-footer .footer-inner,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

/* WCAG 2.3.3 – ikony są statyczne (brak animacji), więc OK przy reduced-motion */

/* ============================================================
   USUNIĘCIE WSZYSTKICH OZDÓB w highlight-boxach i stopce
   ============================================================ */
.home-alerts-inner::after,
.help-cta::before,
.help-cta::after,
.site-footer::before,
.site-footer::after {
  content: none !important;
  background: none !important;
  background-image: none !important;
}


/* Wariant "ghost" – półprzezroczysty na ciemnym tle */
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
  text-decoration: none;
}


/* ============================================================
   SPRAWDŹ ZASIĘG v3 – formularz 3-polowy (bez mapy)
   ============================================================ */
.coverage-search-form-v2 {
  max-width: 720px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid #dce0ec;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.coverage-search-form-v2 .form-group {
  margin: 0;
}

.coverage-search-form-v2 .form-input {
  background: var(--color-bg);
}

.coverage-search-form-v2 .field-hint {
  font-size: 0.875rem;
  color: var(--color-muted);
  display: block;
  margin-top: 0.25rem;
}

#miejs-selected {
  color: var(--color-success);
  font-weight: 600;
}

#miejs-selected strong {
  color: var(--color-primary);
}

/* Pusta podpowiedź "Brak wyników" */
.coverage-suggestions .ac-empty {
  padding: 12px 16px;
  color: var(--color-muted);
  font-style: italic;
  cursor: default;
}

.coverage-suggestions .ac-empty:hover {
  background: transparent;
}


/* Akcje na pełną szerokość */
.coverage-search-form-v2 .coverage-search-actions {
  margin-top: 0.5rem;
}

.coverage-search-form-v2 .coverage-search-actions .btn {
  flex: 1 1 auto;
}

/* ============================================================
   "BUSINESS PRO" POLISH – override istniejących styli
   (konserwatywne zmiany: typo, ikony, kreska pod h2, buttony→arrow)
   ============================================================ */


/* ---- Service icons: kolorowe KWADRATY zamiast okrągów ---- */
.service-card .service-icon,
.service-card-fancy .service-icon,
.contact-card-icon {
  border-radius: var(--radius);       /* z 50% (okrąg) na 10px (kwadrat zaokrąglony) */
  background-color: var(--color-primary-light);
}

/* Bigger square icons w service-card-fancy (monitoring, termo) */
.service-card-fancy .service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
}

/* ---- Section title: kreska 60×4px magenta pod h2 ---- */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--color-accent);
  margin-top: 0.75rem;
  margin-inline: auto;
  border-radius: 2px;
}


/* Wyłącz dla section-title wewnątrz .hero / .single-news (już są wyróżnione) */
.hero .section-title::after,
.single-news .section-title::after,
.slide-heading::after {
  content: none;
}

/* Slide heading slighlty larger (slider already big) */

/* ---- Section padding: większe vertical breathing ---- */
section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

/* Zachowaj kompaktowe sekcje gdzie trzeba */
.breadcrumbs,
.status-nav {
  padding-block: revert;
}

/* Section subtitle – z większym odstępem od kreski */
.section-subtitle {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}


/* Fallback gdy :has() nieobsługiwane */

/* ============================================================
   Sekcja formularza kontaktowego – ciemniejsze tło
   (stosowane na stronie głównej i na /kontakt)
   ============================================================ */

/* ============================================================
   ANIMACJE FAZA 2
   1) Reveal mask na nagłówkach .section-title
   2) Parallax slow zoom na hero photo
   3) Floating label + error shake w formularzach
   ============================================================ */

/* ---- 1. Section title – prosty fade-in ----------------------- */
.section-title {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(.2,.7,.2,1),
              transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.section-title.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .section-title { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ---- 3. Floating label + error shake ------------------------- */
/* Wrapper, do którego JS przełącza klasy is-filled / has-error */
.form-group.has-floating-label {
  position: relative;
  padding-top: 0.5rem;
}
.form-group.has-floating-label .form-label {
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  background: transparent;
  padding: 0 0.35rem;
  color: var(--color-muted, #6b6b80);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.form-group.has-floating-label.is-focused .form-label,
.form-group.has-floating-label.is-filled .form-label {
  transform: translateY(-1.55rem) scale(0.85);
  color: var(--color-accent, #c91b6e);
  background: #ffffff;
}
.form-group.has-floating-label.has-error .form-label {
  color: #c0001a;
}
.form-group.has-floating-label .form-input {
  /* Trochę większy padding, by floating label nie nachodził */
  padding-top: 1.15rem;
  padding-bottom: 0.65rem;
}

/* Error shake – kompatybilne z istniejącą walidacją (.field-error[hidden=false]) */
.form-input.is-invalid,
.form-group.has-error .form-input {
  animation: input-shake 0.42s cubic-bezier(.36,.07,.19,.97) both;
  border-color: #c0001a;
  box-shadow: 0 0 0 3px rgba(192, 0, 26, 0.15);
}
@keyframes input-shake {
  10%, 90%  { transform: translateX(-2px); }
  20%, 80%  { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60%  { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .form-input.is-invalid,
  .form-group.has-error .form-input {
    animation: none;
  }
  .form-group.has-floating-label .form-label {
    transition: none;
  }
}

/* ============================================================
   Page-load entrance – sekwencyjne wejście elementów hero
   po wczytaniu strony (klasa .is-loaded ustawiana z JS).
   ============================================================ */


@keyframes page-hero-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Breadcrumbs – delikatny fade po loadzie */
body.is-loaded .breadcrumbs {
  animation: page-hero-in 0.5s cubic-bezier(.2,.7,.2,1) both;
}

/* Wyłączenie dla użytkowników preferujących mniej ruchu */
@media (prefers-reduced-motion: reduce) {
  body.is-loaded .breadcrumbs {
    animation: none !important;
  }
}


/* ============================================================
   Coverage CTA – odnośnik do /sprawdz-zasieg na /internet-radiowy
   ============================================================ */
.coverage-cta-section {
  padding-block: clamp(2rem, 4vw, 3rem);
}
.coverage-cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 2rem;
  background: var(--color-surface, #f7f8fb);
  border: 1px solid #dfe3ec;
  max-width: 1100px;
  margin-inline: auto;
}
.coverage-cta-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,27,110,0.09);
  border-radius: 12px;
  color: #c91b6e;
  flex-shrink: 0;
}
.coverage-cta-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--color-primary, #1c1e3e);
}
.coverage-cta-body p {
  margin: 0;
  color: var(--color-text, #1c1e3e);
  line-height: 1.55;
}
.coverage-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .coverage-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .coverage-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* Tabela cennika regionalnego – wyrównana z kartami "Wybierz region"
   (.region-offers-grid → 1200 px standardowego .container) */
#oferta-polnoc .contract-table-wrapper,
#oferta-centrum .contract-table-wrapper {
  width: 100%;
  max-width: none;
}
#oferta-polnoc .region-pricing-table,
#oferta-centrum .region-pricing-table {
  width: 100%;
  table-layout: auto;
}

.region-pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.region-pricing-table thead th {
  background-color: var(--color-primary, #1c1e3e);
  color: #fff;
  font-weight: 700;
  padding: 1rem 0.85rem;
  text-align: center;
  font-size: 0.95rem;
  vertical-align: middle;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.region-pricing-table thead th:last-child {
  border-right: none;
}
.region-pricing-table thead th:first-child {
  font-size: 1.05rem;
}
.region-pricing-table tbody th[scope="row"],
.region-pricing-table tbody td {
  background-color: #ffffff;
  border-bottom: 1px solid #e4e6ee;
  padding: 1rem;
  color: var(--color-text, #1c1e3e);
  font-size: 1rem;
}
.region-pricing-table tbody th[scope="row"] {
  text-align: center;
  font-weight: 600;
  color: var(--color-primary, #1c1e3e);
}
.region-pricing-table tbody td {
  text-align: center;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.region-pricing-table tbody tr:last-child th,
.region-pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.region-pricing-table tbody tr:hover td,
.region-pricing-table tbody tr:hover th[scope="row"] {
  background-color: #f7f8fb;
}

/* CTA pod tabelą – wycentrowane na obu sekcjach */
.pricing-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.pricing-cta-row .btn {
  min-width: 220px;
}

@media (max-width: 640px) {
  .region-pricing-table thead th,
  .region-pricing-table tbody td,
  .region-pricing-table tbody th[scope="row"] {
    padding: 0.6rem 0.4rem;
    font-size: 0.85rem;
  }
}

/* ============================================================
   Cookie bar (RODO) + popup powitalny
   ============================================================ */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: var(--color-primary, #1c1e3e);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(.2, .7, .2, 1);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-bar-text {
  flex: 1 1 360px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.cookie-bar-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-bar-link {
  color: #fff;
  text-decoration: underline;
  font-size: 0.9rem;
}
.cookie-bar-link:hover { color: var(--color-accent, #c91b6e); }
@media (max-width: 640px) {
  .cookie-bar-inner { flex-direction: column; align-items: stretch; }
  .cookie-bar-actions { justify-content: space-between; }
}

/* Popup powitalny */
.welcome-popup {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.welcome-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}
.welcome-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 30, 62, 0.72);
  cursor: pointer;
}
.welcome-popup-content {
  position: relative;
  max-width: 540px;
  width: calc(100% - 2rem);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  background: #fff;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(.2, .7, .2, 1);
}
.welcome-popup.is-open .welcome-popup-content {
  transform: translateY(0) scale(1);
}
.welcome-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-muted, #6b6b80);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.welcome-popup-close:hover {
  background: #f3f5fa;
  color: var(--color-primary, #1c1e3e);
}
.welcome-popup-title {
  margin: 0 0 1rem;
  color: var(--color-primary, #1c1e3e);
  font-size: 1.5rem;
  line-height: 1.3;
}
.welcome-popup-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text, #1c1e3e);
  margin-bottom: 1.5rem;
}
.welcome-popup-body a { color: var(--color-accent, #c91b6e); }
.welcome-popup-cta { margin-top: 0.5rem; }

body.popup-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .cookie-bar, .welcome-popup, .welcome-popup-content { transition: none !important; }
}

/* Karta zasięgu teoretycznego – żółty akcent zamiast zielonego */
.coverage-service-card-theoretical {
  border-color: #f0c050;
  background: #fffaf0;
}
.coverage-service-badge-theoretical {
  background: #f0c050 !important;
  color: #4a3300 !important;
}

/* Lista nadajników w karcie zasięgu teoretycznego */
.coverage-tx-list {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
}
.coverage-tx-list summary {
  cursor: pointer;
  color: var(--color-primary, #1c1e3e);
  font-weight: 600;
  padding: 0.25rem 0;
  list-style: revert;
}
.coverage-tx-list summary:hover { color: var(--color-accent, #c91b6e); }
.coverage-tx-list ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.coverage-tx-list li {
  padding: 0.25rem 0;
  color: var(--color-text, #1c1e3e);
}
.coverage-tx-dist {
  color: var(--color-muted, #6b6b80);
  font-size: 0.85rem;
}

/* Disclaimer pod tabelą porównawczą w wyszukiwarce zasięgu */

/* ============================================================
   Autocomplete: chipy filtra województw + komunikat o nadmiarze
   ============================================================ */
.coverage-suggestions .ac-chips-row {
  padding: 0.5rem 0.75rem 0.25rem;
  border-bottom: 1px solid #eef0f6;
}
.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ac-chip {
  appearance: none;
  border: 1px solid #dfe3ec;
  background: #fff;
  color: var(--color-primary, #1c1e3e);
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.12s ease, border-color 0.12s ease;
  line-height: 1.4;
}
.ac-chip:hover {
  background: var(--color-surface, #f7f8fb);
  border-color: var(--color-accent, #c91b6e);
}
.ac-chip.is-active {
  background: var(--color-primary, #1c1e3e);
  color: #fff;
  border-color: var(--color-primary, #1c1e3e);
}
.ac-chip-count {
  font-weight: 400;
  opacity: 0.7;
  margin-left: 0.15rem;
}
.coverage-suggestions .ac-overflow {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--color-muted, #6b6b80);
  background: #fffaf0;
  border-bottom: 1px solid #f0e6c8;
  font-style: italic;
}

/* ============================================================
   Mapa zasięgu – /mapa-zasiegu (Leaflet + OSM)
   ============================================================ */

.coverage-map-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.25rem;
  background: var(--color-surface, #f7f8fb);
  border: 1px solid #dfe3ec;
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.coverage-map-toolbar-label {
  font-weight: 600;
  color: var(--color-primary, #1c1e3e);
}
.coverage-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  flex: 1 1 auto;
}
.coverage-map-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--color-text, #1c1e3e);
}
.coverage-map-filter input { margin: 0; }
.coverage-map-filter-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.coverage-map-counter {
  font-size: 0.88rem;
  color: var(--color-muted, #6b6b80);
  margin-left: auto;
}

.coverage-map {
  width: 100%;
  height: 600px;
  min-height: 480px;
  position: relative;
  z-index: 1;
  background: #eef0f6;
  border: 1px solid #dfe3ec;
  border-radius: 0 0 var(--radius) var(--radius);
}
@media (max-width: 640px) {
  .coverage-map { height: 480px; min-height: 380px; }
}

.coverage-map-note {
  font-size: 0.85rem;
  color: var(--color-muted, #6b6b80);
  margin-top: 0.75rem;
  line-height: 1.55;
}

/* Marker (kropka) na mapie */
.coverage-map-pin-wrap { background: transparent !important; border: none !important; }
.coverage-map-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c, #1c1e3e);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.coverage-map-pin.is-theoretical {
  border-style: dashed;
  opacity: 0.85;
}

/* Popup w mapie */
.coverage-map-popup h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--color-primary, #1c1e3e);
}
.coverage-map-popup-loc {
  margin: 0 0 0.5rem;
  color: var(--color-muted, #6b6b80);
  font-size: 0.85rem;
}
.coverage-map-popup ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}
.coverage-map-popup li {
  font-size: 0.9rem;
  padding: 0.15rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.coverage-map-popup-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.coverage-map-popup small {
  color: var(--color-muted, #6b6b80);
  font-size: 0.78rem;
  margin-left: 0.25rem;
}

/* Popup w mapie – wymuszamy czytelny kontrast przycisku CTA */
.coverage-map-popup .btn-primary,
.leaflet-popup .btn-primary {
  background: var(--color-accent, #c91b6e) !important;
  color: #ffffff !important;
  border: none;
}
.coverage-map-popup .btn-primary:hover,
.leaflet-popup .btn-primary:hover {
  background: var(--color-accent-dark, #a01459) !important;
}
/* ============================================================
   INM Tech – preview motywu Tech/SaaS (paleta T1 "Stripe Indigo")
   Aktywny tylko na body.page.
   ============================================================
   Brand tokens (zachowane z logo):
     --inm-magenta  #c91b6e   CTA primary, akcenty kluczowe
     --inm-navy     #1c1e3e   sygnatury (logo, ważne ciemne sekcje)
   Tech tokens (nowe):
     --tech-bg      #ffffff
     --tech-bg-2    #f6f9fc   sekcje
     --tech-dark    #0a2540   hero, footer, code-blocks
     --tech-fg      #0a2540   tekst primary
     --tech-muted   #525f7f   tekst muted
     --tech-border  #e3e8ee   linie, ramki
     --tech-indigo  #635bff   AKCENT tech (focus, hover, status)
     --tech-success #00d924
     --tech-error   #df1b41
*/

body.page {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: #0a2540;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page h1,
body.page h2,
body.page h3,
body.page h4 {
  font-family: inherit;
  letter-spacing: -0.025em;
  color: #0a2540;
  font-weight: 600;
}

/* Liczby techniczne – tabular-nums */
body.page .pricing-amount,
body.page .coverage-service-price strong,
body.page .coverage-tx-dist {
  font-variant-numeric: tabular-nums;
}

/* ---- Breadcrumbs – cichutkie, ledwo widoczne ---- */
body.page .breadcrumbs {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ee;
  padding-block: 0.65rem !important;
  font-size: 0.84rem;
}
body.page .breadcrumbs a { color: #525f7f; }
body.page .breadcrumbs li[aria-current="page"] { color: #0a2540; font-weight: 500; }

/* ---- Sekcje – kompaktowy spacing tech ---- */
body.page section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
/* ===== SPRAWDŹ ZASIĘG – bento layout ===== */
body.page .coverage-cards-section {
  background: #f8fafc;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
body.page .coverage-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body.page .coverage-search-bento {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  body.page .coverage-search-bento {
    grid-template-columns: 1fr;
  }
}

/* Search main card */
body.page .coverage-search-main {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.4);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body.page .coverage-search-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a2540;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
body.page .coverage-search-lead {
  color: #525f7f;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

/* Region aside card (dark) */
body.page .coverage-region-aside {
  background: linear-gradient(150deg, #0a1628 0%, #1c1e3e 55%, #2a1240 100%);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 24px rgba(10,22,40,0.18);
}
body.page .coverage-region-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201,27,110,0.25) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
body.page .coverage-region-aside > * { position: relative; z-index: 1; }

body.page .coverage-region-aside-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,27,110,0.2);
  border-radius: 12px;
  color: #f472b6;
  flex-shrink: 0;
}
body.page .coverage-region-aside-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
body.page .coverage-region-aside-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
body.page .coverage-region-aside-list li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
}
body.page .coverage-region-aside-note {
  font-size: 0.8rem;
  color: #7b8cad;
  margin: 0;
  line-height: 1.5;
}

/* Search form inside card – remove double card look */
body.page .coverage-search-main .coverage-search-form-v2 {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* Map card */
body.page .coverage-map-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.4);
  overflow: hidden;
}
body.page .coverage-map-card-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid #e3e8ee;
}
body.page .coverage-map-card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a1628;
  margin: 0 0 0.4rem;
}
body.page .coverage-map-card-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}
body.page .coverage-map-note {
  padding: 1rem 2rem;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.55;
  border-top: 1px solid #e3e8ee;
  margin: 0;
}
body.page .coverage-map-card .coverage-map-toolbar {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e3e8ee;
  background: #ffffff;
}
body.page .coverage-map-card .coverage-map { border-radius: 0; }

/* ---- Section title ---- */
body.page .section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
body.page .section-subtitle {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 640px;
}

/* ---- Formularz wyszukiwania – płaski, professional ---- */
body.page .coverage-search-form-v2 {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.04);
  padding: 1.75rem;
}
body.page .form-input {
  border: 1px solid #d6dde6;
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  color: #0a2540;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.page .form-input::placeholder { color: #8898aa; }
body.page .form-input:focus {
  border-color: #c91b6e;
  box-shadow: 0 0 0 3px rgba(201, 27, 110, 0.15);
  outline: none;
}
body.page .form-label {
  font-weight: 500;
  color: #0a2540;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
body.page .field-hint {
  color: #525f7f;
  font-size: 0.82rem;
}

/* ---- Przyciski – SaaS style, subtle ---- */
body.page .btn {
  border-radius: 12px;
  font-weight: 700;
  padding: 0.58rem 1.35rem;
  font-size: 0.92rem;
  letter-spacing: 0;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}
body.page .btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

body.page .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
body.page .btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

body.page .btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
body.page .btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Nav "Panel klienta" – magenta pill, overrides btn-outline */
body.page .btn-outline.nav-panel-btn {
  background: #c91b6e;
  color: #ffffff;
  border-color: #c91b6e;
  border-radius: 12px;
}
body.page .btn-outline.nav-panel-btn:hover {
  background: #a01459;
  border-color: #a01459;
  color: #ffffff;
}
body.page .btn-outline.nav-panel-btn:focus-visible {
  outline: 3px solid #c91b6e;
  outline-offset: 3px;
}

/* ---- Submit form – większy ---- */
body.page .btn-submit {
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- Autocomplete – clean dropdown ---- */
body.page .coverage-suggestions {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
  margin-top: 4px;
}
body.page .coverage-suggestions li {
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  margin: 2px 4px;
}
body.page .coverage-suggestions li:hover,
body.page .coverage-suggestions li.is-active {
  background: #f6f9fc;
}
body.page .coverage-suggestions strong { color: #0a2540; font-weight: 600; }
body.page .coverage-suggestions .ac-desc { color: #525f7f; font-size: 0.82rem; }

body.page .ac-chip {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  color: #0a2540;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
}
body.page .ac-chip:hover {
  background: #f6f9fc;
  border-color: #c91b6e;
  color: #c91b6e;
}
body.page .ac-chip.is-active {
  background: #c91b6e;
  color: #ffffff;
  border-color: #c91b6e;
}
body.page .ac-chip-count { opacity: 0.75; }
body.page .ac-overflow {
  background: #f6f9fc;
  color: #525f7f;
  font-size: 0.82rem;
  border-color: #e3e8ee;
  font-style: normal;
}

/* ---- Karty wyników – elegancki SaaS card ---- */
body.page .coverage-service-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
body.page .coverage-service-card:hover {
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.08);
  border-color: #c91b6e;
  transform: translateY(-1px);
}
body.page .coverage-service-card-theoretical {
  background: #ffffff;
  border-color: #fbbf24;
}
body.page .coverage-service-card-theoretical:hover {
  border-color: #f59e0b;
}

body.page .coverage-service-badge {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 0.18rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.page .coverage-service-badge-theoretical {
  background: #fffbeb !important;
  color: #92400e !important;
  border-color: #fcd34d;
}

body.page .coverage-service-name {
  color: #0a2540;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0.5rem 0 0.4rem;
}
body.page .coverage-service-note {
  color: #525f7f;
  font-size: 0.82rem;
}
body.page .coverage-service-price {
  color: #525f7f;
  font-size: 0.85rem;
}
body.page .coverage-service-price strong {
  color: #0a2540;
  font-size: 1.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
body.page .coverage-service-speed {
  color: #525f7f;
  font-size: 0.88rem;
}

/* ---- Lista nadajników w karcie ---- */
body.page .coverage-tx-list {
  border-top: 1px solid #e3e8ee;
  margin-top: 1rem;
  padding-top: 0.85rem;
  font-size: 0.85rem;
}
body.page .coverage-tx-list summary { color: #c91b6e; }
body.page .coverage-tx-list summary:hover { color: #a01459; }
body.page .coverage-tx-dist {
  color: #8898aa;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 0.78rem;
}

/* ---- Results card ---- */
body.page .coverage-results-section .bento-card-subtitle:empty { display: none; }

/* ---- Tabela porównawcza – SaaS pricing table ---- */
body.page .coverage-compare-table {
  font-size: 0.88rem;
}
body.page .coverage-compare-table thead th {
  background: #f6f9fc;
  color: #525f7f;
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #e3e8ee;
}
body.page .coverage-compare-table tbody td {
  background: #ffffff;
  border-bottom: 1px solid #f0f4f8;
  padding: 0.75rem 1rem;
  color: #0a2540;
  font-variant-numeric: tabular-nums;
}
body.page .coverage-compare-table .cmp-service {
  background: #f6f9fc;
  color: #0a2540;
  font-weight: 600;
  border-right: 1px solid #e3e8ee;
}

/* ---- Lead form card ---- */

/* ---- Help CTA – ciemna sekcja na końcu ---- */
body.page .help-cta {
  background: linear-gradient(150deg, #0a1628 0%, #1c1e3e 55%, #2a1240 100%);
  border-radius: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Radial orb – matches hero band decoration */
body.page .help-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 140% at 85% 50%, rgba(201,27,110,0.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
/* Remove the SVG wave ::after from base styles */
body.page .help-cta::after { display: none; }
body.page .help-cta .container,
body.page .help-cta-inner { position: relative; z-index: 1; }
/* h2 – override body.page h2 { color: #0a2540 } */
body.page .help-cta h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: none;
}
body.page .help-cta p {
  color: #c4cde0; /* 9.9:1 on dark bg ✓ */
  font-size: 1rem;
}
/* Primary CTA → solid white pill (dark-card bento pattern) */
body.page .help-cta .btn-primary {
  background: #ffffff;
  color: #1c1e3e;
  border-color: #ffffff;
  box-shadow: none;
}
body.page .help-cta .btn-primary:hover {
  background: #e8ecf6;
  border-color: #e8ecf6;
  color: #1c1e3e;
}
/* Secondary → white outline pill */
body.page .help-cta .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}
body.page .help-cta .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  color: #ffffff;
}
/* Focus on dark bg */
body.page .help-cta .btn:focus-visible {
  outline-color: #ffffff;
}

/* ---- Wyłączenie dekoracyjnych elementów ---- */

/* ============================================================
   GLOBALNE ROZSZERZENIE MOTYWU TECH
   Spójny styl kart/sekcji na WSZYSTKICH stronach.
   ============================================================ */

/* ---- Footer ---- */
body.page .site-footer {
  background: linear-gradient(150deg, #0a1628 0%, #1c1e3e 55%, #2a1240 100%);
  color: #c4cde0;
}
body.page .site-footer::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  background: radial-gradient(ellipse 55% 160% at 95% 10%, rgba(201,27,110,0.18) 0%, transparent 65%);
  z-index: -1;
}
body.page .site-footer::after { display: none; }
body.page .site-footer a { color: #c4cde0; text-decoration: none; }
body.page .site-footer a:hover { color: #ffffff; text-decoration: underline; }
body.page .footer-nav a { color: #c4cde0; }
body.page .footer-nav a:hover { color: #ffffff; }
body.page .footer-nav-heading { color: #c91b6e; }
body.page .footer-tagline { color: #c4cde0; }
body.page .footer-logo { background: rgba(255,255,255,0.08); }
body.page .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 0;
  padding-block: 1.25rem;
}
body.page .footer-copy { color: #8a94b0; }
body.page .footer-wcag a { color: #f4a8c8; text-decoration: underline; }
body.page .footer-wcag a:hover { color: #ffffff; }
body.page .footer-call { margin-top: 1.25rem; }

/* ---- Header / Nav ---- */
body.page .site-header {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ee;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
}
body.page .main-nav a {
  color: #0a2540;
  font-weight: 500;
  font-size: 0.92rem;
}
body.page .main-nav a:hover { color: #c91b6e; }
body.page .main-nav .dropdown {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
}
body.page .main-nav .dropdown a {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}
body.page .main-nav .dropdown a:hover {
  background: #f6f9fc;
  color: #c91b6e;
}

/* Nav links – 12px radius to match card pattern */
body.page .nav-link,
body.page .nav-item-btn {
  border-radius: 12px;
}
body.page .nav-link:hover,
body.page .nav-item-btn:hover,
body.page .nav-item-btn[aria-expanded="true"] {
  background: rgba(201,27,110,0.06);
  color: #c91b6e;
}

/* Hamburger toggle – 12px radius */
body.page .nav-toggle {
  border-radius: 12px;
  border-color: #1c1e3e;
  color: #1c1e3e;
}
body.page .nav-toggle:hover,
body.page .nav-toggle[aria-expanded="true"] {
  background: rgba(28,30,62,0.07);
}

/* Dropdown – 12px to match */
body.page .main-nav .dropdown {
  border-radius: 12px;
}
body.page .main-nav .dropdown a {
  border-radius: 8px;
}

/* ---- Uniwersalne karty (jednolity Tech card) ---- */
body.page .service-card,
body.page .contact-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04);
}
body.page .service-card:hover {
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.08);
  border-color: #c91b6e;
  transform: translateY(-1px);
}

/* ===== DOKUMENTY – doc items ===== */
body.page .doc-item {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04), 0 0 0 1px rgba(203, 213, 225, 0.4);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
body.page .doc-item:hover {
  border-color: #c91b6e;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.10), 0 0 0 1px #c91b6e;
  transform: translateY(-2px);
}
body.page .doc-link {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 1.1rem 1.25rem;
  gap: 1rem;
}
body.page .doc-name { color: #0f172a; font-weight: 700; font-size: 0.98rem; }
body.page .doc-item:hover .doc-name { color: #c91b6e; }
body.page .doc-meta { color: #475569; font-size: 0.85rem; }
body.page .doc-action { color: #c91b6e; font-weight: 700; font-size: 0.9rem; }
body.page .doc-item:hover .doc-action { transform: translateX(3px); }

/* ---- Service-icon – indygo ---- */
body.page .service-icon {
  color: #c91b6e;
  background: rgba(201,27,110,0.08);
  border-radius: 12px;
}

/* ---- Pricing cards (wszystkie strony cenników) ---- */
/* Pricing cards – bento style */
body.page .pricing-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.35);
  padding: 1.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
body.page .pricing-card:hover {
  box-shadow: 0 4px 16px rgba(10,37,64,0.09), 0 0 0 1px rgba(203,213,225,0.6);
  transform: translateY(-2px);
}
body.page .pricing-card-popular {
  border-color: rgba(201,27,110,0.4);
  box-shadow: 0 1px 3px rgba(201,27,110,0.07), 0 0 0 1px rgba(201,27,110,0.2);
}
body.page .pricing-card-popular:hover {
  box-shadow: 0 4px 16px rgba(201,27,110,0.12), 0 0 0 1px rgba(201,27,110,0.3);
}
body.page .pricing-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
body.page .pricing-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
}
body.page .pricing-badge {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  align-self: flex-start;
  background: rgba(201,27,110,0.1);
  color: #c91b6e;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 8px;
  box-shadow: none;
}
body.page .pricing-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.2rem;
  text-align: center;
  border: none;
  padding: 0;
  margin: 0.125rem 0 0;
}
body.page .pricing-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0a1628;
  line-height: 1;
  letter-spacing: -0.025em;
}
body.page .pricing-currency {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
}
body.page .pricing-period {
  font-size: 0.8rem;
  color: #94a3b8;
  display: inline;
  margin: 0;
  font-weight: 400;
}
body.page .pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  flex-grow: 1;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8e8f2;
}
body.page .pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.4;
  padding: 0;
}
body.page .pricing-features li strong { color: #0a1628; }
body.page .pricing-check { flex-shrink: 0; color: #16a34a; }
body.page .pricing-cta {
  width: 100%;
  margin-top: 0.625rem;
  font-size: 0.875rem;
}


/* ---- Section title – globalnie ---- */
body.page .section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
body.page .section-subtitle {
  color: #525f7f;
  font-size: 1rem;
  max-width: 720px;
  margin-bottom: 2rem;
}


/* ---- FAQ accordion ---- */
body.page .faq-item {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  margin-bottom: 0.625rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.page .faq-item[open] {
  border-color: #c91b6e;
  box-shadow: 0 2px 8px rgba(201,27,110,0.08);
}
body.page .faq-summary {
  padding: 1rem 1.25rem;
  color: #0a1628;
  font-weight: 600;
  font-size: 0.9375rem;
}
body.page .faq-q {
  font-weight: 700;
  color: #0a1628;
  font-size: 0.9375rem;
  line-height: 1.4;
}
body.page .faq-summary:hover { background: rgba(201,27,110,0.04); }
body.page .faq-summary:focus-visible { outline-color: #c91b6e; }
body.page .faq-icon { background: rgba(201,27,110,0.08); border-radius: 12px; }
body.page .faq-icon::before,
body.page .faq-icon::after { background: #c91b6e; }
body.page .faq-item[open] .faq-icon { background: #c91b6e; }
body.page .faq-item[open] .faq-icon::before,
body.page .faq-item[open] .faq-icon::after { background: #ffffff; }
body.page .faq-answer { color: #525f7f; font-size: 0.92rem; line-height: 1.65; }

body.page .legal-section-title { color: #c91b6e; border-color: #e3e8ee; }
body.page .legal-numbered > li { color: #0a2540; line-height: 1.65; }
body.page .legal-numbered > li::marker { color: #c91b6e; }

/* ---- Contact form / lead form / news form ---- */
body.page .contact-form,
body.page .contact-form-wide {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: none;
}
body.page .form-row { gap: 1rem; }
body.page .form-textarea { min-height: 120px; }
body.page .form-status:empty { display: none; }
body.page .contact-info {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
}
body.page .contact-info-title { color: #0a2540; font-weight: 600; }
body.page .social-link { color: #0a2540; }
body.page .social-link:hover { color: #c91b6e; }

/* ---- Fault urgent callout (bento) ---- */
body.page .fault-urgent {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(220,38,38,0.06), 0 0 0 1px rgba(252,165,165,0.3);
}
body.page .fault-urgent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220,38,38,0.1);
  color: #dc2626;
  flex-shrink: 0;
}
body.page .fault-urgent-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
body.page .fault-urgent-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #991b1b;
  line-height: 1.3;
}
body.page .fault-urgent-text {
  font-size: 0.875rem;
  color: #b91c1c;
  line-height: 1.4;
}
body.page .fault-urgent-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  border: 2px solid #dc2626;
  background: #ffffff;
  color: #dc2626;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 120ms, color 120ms;
  min-height: 44px;
}
body.page .fault-urgent-cta:hover {
  background: #dc2626;
  color: #ffffff;
}
body.page .fault-urgent-number {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
body.page .fault-urgent-hours {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.3;
}
@media (max-width: 600px) {
  body.page .fault-urgent {
    flex-wrap: wrap;
  }
  body.page .fault-urgent-cta {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
  }
}

/* ---- Home alerts banner ---- */
body.page .home-alerts-body h2 {
  color: #991b1b;
}

body.page .home-alerts-cta {
  background: #dc2626;
  border-color: #dc2626;
}

/* ---- Coverage CTA card ---- */
body.page .coverage-cta-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04);
}
body.page .coverage-cta-icon { color: #c91b6e; }
body.page .coverage-cta-body h2 { color: #0a2540; font-weight: 600; }
body.page .coverage-cta-body p { color: #525f7f; }


/* ---- Region pricing tables ---- */
body.page .region-pricing-table thead th {
  background: #0a2540;
  color: #ffffff;
}
body.page .region-pricing-table tbody th[scope="row"],
body.page .region-pricing-table tbody td {
  background: #ffffff;
  border-color: #e3e8ee;
  color: #0a2540;
}
body.page .region-pricing-table tbody tr:hover td,
body.page .region-pricing-table tbody tr:hover th[scope="row"] {
  background: #f6f9fc;
}

/* ---- Compare details (rozwijana tabela) ---- */
body.page .compare-details {
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  background: #ffffff;
}
body.page .compare-summary { color: #0a2540; }
body.page .compare-summary:hover { background: #f6f9fc; }
body.page .compare-summary-icon::after { color: #c91b6e; }

/* ---- Mapa zasiegu – toolbar i panel ---- */
/* Map section */
body.page .coverage-map-toolbar {
  background: #ffffff;
  border-color: #e3e8ee;
  padding: 0.875rem 1.25rem;
}
body.page .coverage-map-toolbar-label {
  color: #0a2540;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.page .coverage-map-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #525f7f;
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
body.page .coverage-map-filter:hover { border-color: #c91b6e; color: #c91b6e; }
body.page .coverage-map-filter input[type="checkbox"] { display: none; }
body.page .coverage-map-filter:has(input:checked) {
  background: rgba(201,27,110,0.06);
  border-color: rgba(201,27,110,0.4);
  color: #c91b6e;
}
body.page .coverage-map-counter {
  color: #8898aa;
  font-size: 0.82rem;
  font-weight: 600;
}
body.page .coverage-map-card .coverage-map {
  border: none;
  background: #eef1f6;
}
body.page .coverage-map-note {
  color: #94a3b8;
  font-size: 0.78rem;
  margin: 0;
  padding: 1rem 2rem;
  border-top: 1px solid #e3e8ee;
  line-height: 1.55;
}

/* ---- Section dividers (fale SVG) – ukryte globalnie – zob. linia ~7465 ---- */

/* ---- Contract table (cennik standard) ---- */
body.page .contract-table thead {
  background: #0a2540;
  color: #ffffff;
}
body.page .contract-table th[scope="row"] {
  color: #0a2540;
  font-weight: 600;
  background: #f6f9fc;
}
body.page .contract-table td {
  color: #0a2540;
  background: #ffffff;
}

/* ---- Cookie bar + popup ---- */
body.page .cookie-bar {
  background: #0a2540;
}
body.page .cookie-bar .btn-primary {
  background: #c91b6e;
}
body.page .welcome-popup-content {
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(10, 37, 64, 0.24);
}
body.page .welcome-popup-title { color: #0a2540; }

/* ---- Pricing note ---- */
body.page .pricing-note {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  font-size: 0.875rem;
  color: #525f7f;
  line-height: 1.6;
  padding: 1rem 1.25rem;
  max-width: none;
  margin: 1.5rem 0 0;
}
body.page .pricing-note-highlight {
  color: #c91b6e;
  font-weight: 700;
}
body.page .coverage-note {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  font-size: 0.875rem;
  color: #525f7f;
  line-height: 1.6;
  padding: 1rem 1.25rem;
}
body.page .coverage-note a {
  color: #c91b6e;
  font-weight: 600;
}

/* ---- Coverage details accordion – bento style ---- */
body.page .coverage-details {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  max-width: none;
  margin-inline: 0;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.page .coverage-details-spaced { margin-top: 0.625rem; }
body.page .coverage-details[open] {
  border-color: #c91b6e;
  box-shadow: 0 2px 8px rgba(201,27,110,0.08);
}
body.page .coverage-summary {
  background: none;
  color: #0a1628;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1rem 1.25rem;
}
body.page .coverage-summary:hover { background: rgba(201,27,110,0.04); }
body.page .coverage-summary-icon {
  background: rgba(201,27,110,0.08);
  border-radius: 12px;
}
body.page .coverage-summary-icon::before,
body.page .coverage-summary-icon::after { background: #c91b6e; }
body.page .coverage-details[open] .coverage-summary-icon {
  background: #c91b6e;
}
body.page .coverage-details[open] .coverage-summary-icon::before,
body.page .coverage-details[open] .coverage-summary-icon::after { background: #ffffff; }
body.page .coverage-content { padding: 0 1.25rem 1.25rem; }
body.page .coverage-place { color: #525f7f; font-size: 0.875rem; }
body.page .coverage-list li {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-left: 1px solid #e3e8ee;
  border-radius: 12px;
}
body.page .street-name { color: #0a1628; font-weight: 700; font-size: 0.9375rem; }
body.page .street-numbers { color: #525f7f; font-size: 0.875rem; }

/* ---- Pricing CTA row (przyciski pod tabelami) ---- */
body.page .pricing-cta-row .btn { min-width: 220px; }

/* ============================================================
   STRONGER VISIBILITY – rozszerzenie poprawek z pricing-card
   na pozostałe karty / sekcje na wszystkich podstronach.
   ============================================================ */

/* ---- Uniwersalna grupa kart – mocniejsze bordy + ring + hover ---- */
body.page .service-card,
body.page .contact-card,
body.page .news-card-full,
body.page .coverage-service-card,
body.page .coverage-cta-card,
body.page .coverage-search-form-v2 {
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.08),
              0 0 0 1px rgba(203, 213, 225, 0.5);
}

body.page .service-card:hover,
body.page .coverage-service-card:hover {
  border-color: #c91b6e;
  box-shadow: 0 10px 28px rgba(10,37,64,0.12), 0 0 0 1px #c91b6e;
  transform: translateY(-2px);
}

body.page .news-card-full:hover { box-shadow: 0 8px 20px rgba(10,37,64,0.09), 0 0 0 1px rgba(203,213,225,0.6); }

body.page .coverage-service-card-theoretical {
  border: 1px solid #fbbf24;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.08),
              0 0 0 1px rgba(251, 191, 36, 0.5);
}

/* ---- Service cards (home/oferta) – treść mocniejsza ---- */
body.page .service-card { padding: 1.75rem 1.5rem; }
body.page .service-title {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 700;
}
body.page .service-desc {
  color: #1e293b;
  font-size: 0.94rem;
  line-height: 1.55;
}
body.page .service-btn {
  border: 1.5px solid #94a3b8;
  color: #0a2540;
  font-weight: 600;
}
body.page .service-btn:hover {
  border-color: #c91b6e;
  color: #c91b6e;
}



/* ---- News cards (aktualności + home) ---- */
body.page .news-card-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.15rem;
}

/* Category readmore / title hover colour per category */
body.page .news-card-important .news-card-title a:hover,
body.page .news-card-important .news-card-readmore { color: #b91c1c; }
body.page .news-card-rozbudowa .news-card-title a:hover,
body.page .news-card-rozbudowa .news-card-readmore { color: #1c1e3e; }
body.page .news-card-promocja .news-card-title a:hover,
body.page .news-card-promocja .news-card-readmore  { color: #c91b6e; }
body.page .news-card-ogolny .news-card-title a:hover,
body.page .news-card-ogolny .news-card-readmore    { color: #6d28d9; }


/* Live indicator bar */
body.page .live-indicator {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3e8ee;
  color: #525f7f;
  font-size: 0.82rem;
}
body.page .live-indicator[data-state="connected"] .live-indicator-dot { background: #10b981; }
body.page .live-indicator[data-state="error"] .live-indicator-dot,
body.page .live-indicator[data-state="disconnected"] .live-indicator-dot { background: #dc2626; }

/* Category filter buttons */
body.page .news-filter-btn {
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #e3e8ee;
  color: #525f7f;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.page .news-filter-btn:hover,
body.page .news-filter-btn:focus-visible {
  background: rgba(201,27,110,0.06);
  border-color: rgba(201,27,110,0.35);
  color: #c91b6e;
}
body.page .news-filter-btn.is-active {
  background: #c91b6e;
  border-color: #c91b6e;
  color: #ffffff;
}
body.page .news-filter-btn[data-filter="wazne"]:hover,
body.page .news-filter-btn[data-filter="wazne"].is-active     { background: #b91c1c; border-color: #b91c1c; color: #fff; }
body.page .news-filter-btn[data-filter="rozbudowa"]:hover,
body.page .news-filter-btn[data-filter="rozbudowa"].is-active { background: #1c1e3e; border-color: #1c1e3e; color: #fff; }
body.page .news-filter-btn[data-filter="promocja"]:hover,
body.page .news-filter-btn[data-filter="promocja"].is-active  { background: #c91b6e; border-color: #c91b6e; color: #fff; }
body.page .news-filter-btn[data-filter="ogolny"]:hover,
body.page .news-filter-btn[data-filter="ogolny"].is-active    { background: #6d28d9; border-color: #6d28d9; color: #fff; }


/* ---- Coverage service card (wyniki sprawdz-zasieg) ---- */
body.page .coverage-service-card {
  padding: 1.5rem;
}
body.page .coverage-service-name {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.15rem;
}
body.page .coverage-service-price strong {
  color: #0a2540;
  font-size: 1.85rem;
  font-weight: 800;
}
body.page .coverage-service-speed {
  color: #1e293b;
  font-weight: 500;
}
body.page .coverage-service-note {
  color: #475569;
}
body.page .coverage-service-badge {
  background: #d1fae5 !important;
  color: #065f46 !important;
  border: 1px solid #6ee7b7;
  font-weight: 700;
  letter-spacing: 0.06em;
}
body.page .coverage-service-badge-theoretical {
  background: #fef3c7 !important;
  color: #78350f !important;
  border-color: #fcd34d;
}

/* ---- Coverage CTA card (kierunkowskaz do wyszukiwarki) ---- */
body.page .coverage-cta-card {
  padding: 2rem;
}
body.page .coverage-cta-body h2 {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.3rem;
}
body.page .coverage-cta-body p {
  color: #1e293b;
  font-size: 0.95rem;
}

/* coverage-cta inside bento card – strip duplicate card chrome */
body.page .bento-stack .bento-card-body .coverage-cta-card {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
  margin-inline: 0;
}

/* ---- Region info box ("5 województw") ---- */

body.page .legal-numbered > li,
body.page .legal-sublist li {
  color: #1e293b;
  line-height: 1.7;
}

/* ---- FAQ – mocniejszy kontrast ---- */
body.page .faq-item { border: 1px solid #e3e8ee; }
body.page .faq-item[open] { border: 1px solid #c91b6e; }
body.page .faq-summary {
  color: #0f172a;
  font-weight: 700;
}
body.page .faq-answer {
  color: #1e293b;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Section title – globalnie mocniejszy ---- */
body.page .section-title {
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.page .section-subtitle {
  color: var(--color-muted);
}

body.page .status-section-alerts .section-title,
body.page .status-section-planned .section-title {
  color: #1c1e3e;
}

body.page .status-section-alerts .section-subtitle,
body.page .status-section-planned .section-subtitle {
  color: #475569;
}

/* ---- Forms – wyraźniejsze inputy ---- */
body.page .form-input {
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}
body.page .form-input:focus {
  border-color: #c91b6e;
  box-shadow: 0 0 0 3px rgba(201, 27, 110, 0.12);
}
body.page .form-label {
  color: #0f172a;
  font-weight: 600;
}
body.page .field-hint {
  color: #475569;
}

/* ---- Compare tables (cenniki regionalne) ---- */
body.page .region-pricing-table tbody td,
body.page .region-pricing-table tbody th[scope="row"] {
  color: #0f172a;
  font-weight: 500;
}
body.page .contract-table tbody td {
  color: #0f172a;
}
body.page .contract-table th[scope="row"] {
  color: #0f172a;
  font-weight: 700;
}

/* ---- Coverage tx list (lista nadajników w karcie) ---- */
body.page .coverage-tx-list summary {
  color: #c91b6e;
  font-weight: 700;
}
body.page .coverage-tx-list li {
  color: #1e293b;
}

/* Naprzemienne tła sekcji (white / light-gray) – pomijamy sekcje
   które mają własne tło (ciemne, akcentowe, hero) */
body.page main > section {
  background-color: #ffffff;
}
body.page main > section:nth-of-type(even) {
  background-color: #f6f9fc;
}

/* Wyjątki – sekcje z własnym tłem, nie chcemy nadpisywać */
body.page main > .hero,
body.page main > .help-cta,
body.page main > .home-hero-band,
body.page main > .home-bento,
body.page main > .breadcrumbs {
  background-color: inherit;
}
/* Jeśli już ma własne tło – stosujemy je */
body.page main > .help-cta { background: linear-gradient(150deg, #0a1628 0%, #1c1e3e 55%, #2a1240 100%); }
body.page main > .home-hero-band { background: linear-gradient(150deg, #0a1628 0%, #1c1e3e 55%, #2a1240 100%); }
body.page main > .home-bento { background-color: var(--color-surface, #f7f8fc); }
body.page main > .breadcrumbs { background: #ffffff; }

/* ============================================================
   Internet kablowy – bento page
   ============================================================ */

/* Section wrapper */
body.page .offer-bento-section,
body.page .swiatlowod-bento-section,
body.page .radiowy-bento-section,
body.page .uslugi-bento-section,
body.page .aktualnosci-bento-section,
body.page .prace-bento-section,
body.page .dokumenty-bento-section,
body.page .faq-bento-section,
body.page .rodo-bento-section,
body.page .dostepnosc-bento-section,
body.page .pke-bento-section,
body.page .contact-bento-section,
body.page .error404-bento-section {
  background: #f8fafc;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

/* ---- 404 nav list ---- */
body.page .err404-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 0.5rem;
}
body.page .err404-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #e3e8ee;
  background: #f8fafc;
  color: #0a2540;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 120ms, border-color 120ms, color 120ms;
}
body.page .err404-nav-link:hover {
  background: rgba(201,27,110,0.06);
  border-color: rgba(201,27,110,0.3);
  color: #c91b6e;
}
body.page .err404-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201,27,110,0.07);
  color: #c91b6e;
  flex-shrink: 0;
}
body.page .err404-nav-link:hover .err404-nav-icon {
  background: rgba(201,27,110,0.12);
}

body.page .bento-card-body .legal-section-title:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* ============================================================
   Światłowód – bento page
   ============================================================ */
body.page .swiatlowod-offer-card .home-hero-eyebrow {
  color: #c91b6e;
  background: rgba(201,27,110,0.08);
  border-color: rgba(201,27,110,0.2);
  align-self: flex-start;
}
body.page .swiatlowod-offer-card {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
body.page .swiatlowod-offer-title {
  color: #0a1628;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
body.page .swiatlowod-offer-region {
  color: #525f7f;
  font-size: 0.875rem;
  margin: 0;
}
body.page .swiatlowod-offer-cta { margin-top: auto; }

/* Bento subsection headings (inside card body) */
body.page .bento-subsection-title {
  font-weight: 700;
  color: #0a1628;
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}
body.page .bento-subsection-subtitle {
  color: #525f7f;
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

/* Card title region label (e.g. city / voivodeship under h2) */
body.page .bento-stack .bento-card-region {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #525f7f;
  letter-spacing: normal;
  margin-top: 0.2rem;
}

/* Activation grid – bento sub-cards */
body.page .activation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0.625rem;
  max-width: none;
  margin-inline: 0;
  margin-top: 0.75rem;
}
body.page .activation-card {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: left;
}
body.page .activation-name {
  color: #0a1628;
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 0 0.3rem;
}
body.page .activation-desc {
  color: #525f7f;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
body.page .activation-price { font-size: 1rem; }
body.page .activation-price .pricing-amount {
  font-size: 1.5rem;
  color: #0a1628;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Coverage regions grid – bento sub-cards */
body.page .coverage-regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0.625rem;
  margin-top: 0.75rem;
}
body.page .coverage-region {
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  border-top: 1px solid #e3e8ee;
  padding: 1rem 1.25rem;
}
body.page .coverage-region-name {
  color: #0a1628;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.5rem;
}
body.page .coverage-powiat-list li {
  font-size: 0.875rem;
  border-bottom-color: #e3e8ee;
}
body.page .coverage-powiat-name { color: #525f7f; }
body.page .coverage-powiat-count { color: #0a1628; font-weight: 700; }

/* faq-accordion inside bento card – remove max-width constraint */
body.page .bento-stack .bento-card-body .faq-accordion {
  max-width: none;
  margin-inline: 0;
}

/* pricing-cta-row inside bento card body */
body.page .bento-stack .bento-card-body .pricing-cta-row { margin-top: 1.5rem; }

/* Collapsible bento cards (swiatlowod pricing) */
body.page .bento-stack .bento-card[data-collapsible] { display: none; }
body.page .bento-stack .bento-card[data-collapsible].is-open { display: block; }

/* Status bento card modifiers (prace-planowe) – colour via icon only */

/* Icon containers per card type */
body.page .bento-stack .bento-card--alert .section-title-icon {
  background: rgba(220,38,38,0.09);
  color: #dc2626;
}
body.page .bento-stack .bento-card--planned .section-title-icon {
  background: rgba(217,119,6,0.1);
  color: #d97706;
}
body.page .bento-stack .bento-card--archive .section-title-icon {
  background: rgba(22,163,74,0.1);
  color: #16a34a;
}

/* Count badges per card type */
body.page .bento-stack .bento-card--alert .status-count { background-color: #dc2626; }
body.page .bento-stack .bento-card--planned .status-count { background-color: #d97706; }
body.page .bento-stack .bento-card--archive .status-count { background-color: #16a34a; }

/* Title flex alignment for icon + text + count */
body.page .prace-bento-section .bento-card-title {
  display: flex;
  align-items: center;
}

body.page .offer-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
body.page .offer-info-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  body.page .offer-info-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  body.page .offer-info-grid {
    grid-template-columns: 1fr;
  }
  body.page .offer-info-grid-3 {
    grid-template-columns: 1fr;
  }
}
body.page .offer-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
body.page .offer-feature-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 0.875rem 1rem;
}
body.page .offer-feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,27,110,0.08);
  border-radius: 12px;
  color: #c91b6e;
}
body.page .offer-feature-item strong,
body.page .offer-feature-item h3 {
  display: block;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}
body.page .offer-feature-item p {
  margin: 0;
  font-size: 0.875rem;
  color: #525f7f;
  line-height: 1.5;
}
body.page .offer-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
body.page .offer-step {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 0.875rem 1rem;
}
body.page .offer-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,27,110,0.08);
  color: #c91b6e;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.15rem;
}
body.page .offer-step strong {
  display: block;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.2rem;
  font-size: 0.9375rem;
}
body.page .offer-step p {
  margin: 0;
  font-size: 0.875rem;
  color: #525f7f;
  line-height: 1.5;
}

/* Swiatlowod hero split layout */
body.page .swiatlowod-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
body.page .swiatlowod-hero-text { max-width: 600px; }
body.page .swiatlowod-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 3rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
body.page .swiatlowod-stat { display: flex; flex-direction: column; gap: 0.3rem; }
body.page .swiatlowod-stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}
body.page .swiatlowod-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 700px) {
  body.page .swiatlowod-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.page .swiatlowod-hero-stats {
    flex-direction: row;
    gap: 2rem;
    border-left: none;
    padding-left: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}


/* ============================================================
   KONTAKT – is-tech overrides
   ============================================================ */

/* Status nav – pill section jumps */
body.page .status-nav {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ee;
}
body.page .status-nav-label { color: #8898aa; }
body.page .status-nav-link {
  color: #525f7f;
  font-weight: 600;
  background: #f1f5f9;
  border-color: #e3e8ee;
  border-radius: 12px;
}
body.page .status-nav-link:hover {
  color: #c91b6e;
  border-color: rgba(201,27,110,0.35);
  background: rgba(201,27,110,0.05);
}

/* Bento design system */
body.page .bento-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
body.page .bento-stack .bento-card {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.4);
  overflow: hidden;
}
body.page .bento-stack .bento-card-header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid #e3e8ee;
}
body.page .bento-stack .bento-card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0a1628;
  margin: 0 0 0.4rem;
}
body.page .bento-stack .bento-card-title:only-child { margin-bottom: 0; }
body.page .bento-stack .bento-card-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}
body.page .bento-stack .bento-card-body {
  padding: 2rem;
}
body.page .bento-stack .bento-card-body--cards {
  background: #f8fafc;
}
body.page .bento-stack .bento-card-body--map {
  padding: 0;
}
body.page .bento-stack > .contact-cards {
  gap: 1.25rem;
}

/* Contact cards section */
body.page .contact-cards-section { background: #f6f9fc; }
body.page .contact-card-header {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ee;
}
body.page .contact-card-icon {
  width: 44px;
  height: 44px;
  color: #c91b6e;
  background: rgba(201,27,110,0.09);
  border-radius: 12px;
  box-shadow: none;
}
body.page .contact-card-title { color: #0a2540; }
body.page .contact-card-subtitle { color: #525f7f; }
body.page .contact-card-data dt { color: #0a2540; }
body.page .contact-card-data dd { color: #525f7f; }
body.page .contact-card-data a { color: #c91b6e; text-decoration: none; }
body.page .contact-card-data a:hover { text-decoration: underline; }
body.page .contact-card-phone {
  color: #c91b6e !important;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.page .contact-card-link {
  color: #c91b6e;
  font-weight: 600;
  text-decoration: none;
}
body.page .contact-card-link:hover { text-decoration: underline; }

/* Map section */
body.page .map-section { background: #f8fafc; }
body.page .bento-stack .bento-card-body--map .map-panel {
  gap: 0;
}
body.page .bento-stack .bento-card-body--map .map-frame-wrapper {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
body.page .bento-stack .bento-card-body--map .map-text-alt {
  background: #ffffff;
  border: none;
  border-left: 1px solid #e3e8ee;
  border-radius: 0;
  box-shadow: none;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (max-width: 767px) {
  body.page .bento-card-body--map .map-panel {
    grid-template-columns: 1fr;
  }
  body.page .bento-card-body--map .map-text-alt {
    border-left: none;
    border-top: 1px solid #e3e8ee;
  }
}
body.page .map-text-alt-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #e3e8ee;
}
body.page .map-text-alt-icon { color: #c91b6e; flex-shrink: 0; }
body.page .map-text-alt h3 {
  color: #0a2540;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}
body.page .map-text-alt address {
  font-style: normal;
  color: #0f172a;
  font-size: 0.93rem;
  line-height: 1.65;
}
body.page .map-text-alt address strong { color: #0a2540; }
body.page .map-info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  font-size: 0.9rem;
}
body.page .map-info-list dt { color: #8898aa; font-weight: 600; white-space: nowrap; }
body.page .map-info-list dd { color: #525f7f; margin: 0; }
body.page .map-info-list a { color: #c91b6e; font-weight: 700; text-decoration: none; }
body.page .map-info-list a:hover { text-decoration: underline; }
body.page .map-directions {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  border-top: 1px solid #e3e8ee;
  padding-top: 0.75rem;
  margin: 0;
}
body.page .map-gmaps-btn { margin-top: auto; align-self: flex-start; }


/* Social links – magenta instead of indigo */
body.page .social-link:hover { color: #c91b6e; }


/* ============================================================
   Usługi – bento page
   ============================================================ */

/* Callout strip (bezpłatna wycena) */
body.page .uslugi-callout {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
body.page .uslugi-callout-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  border-radius: 14px;
  border: 1px solid #dce3f5;
  flex-shrink: 0;
  color: #1c1e3e;
}
body.page .uslugi-callout-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a1628;
  margin: 0 0 0.5rem;
}
body.page .uslugi-callout-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 1.1rem;
}
body.page .uslugi-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 560px) {
  body.page .uslugi-callout { flex-direction: column; }
}

/* Service tiles grid */
body.page .uslugi-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  body.page .uslugi-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  body.page .uslugi-services-grid { grid-template-columns: 1fr; }
}
body.page .uslugi-service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 0 0 1px rgba(203,213,225,0.4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.page .uslugi-service-tile:hover {
  border-color: #c8d3df;
  box-shadow: 0 3px 10px rgba(10,37,64,0.08), 0 0 0 1px rgba(203,213,225,0.6);
}
body.page .uslugi-service-tile.is-highlight {
  border-color: rgba(201,27,110,0.35);
  box-shadow: 0 1px 3px rgba(201,27,110,0.06), 0 0 0 1px rgba(201,27,110,0.15);
}
body.page .uslugi-service-tile.is-highlight:hover {
  border-color: rgba(201,27,110,0.55);
  box-shadow: 0 3px 10px rgba(201,27,110,0.1), 0 0 0 1px rgba(201,27,110,0.25);
}
body.page .uslugi-service-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28,30,62,0.07);
  border-radius: 10px;
  flex-shrink: 0;
  color: #1c1e3e;
}
body.page .uslugi-service-tile.is-highlight .uslugi-service-icon {
  background: rgba(201,27,110,0.10);
  color: #c91b6e;
}
body.page .uslugi-service-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
  line-height: 1.35;
}
body.page .uslugi-service-desc {
  font-size: 0.85rem;
  color: #525f7f;
  line-height: 1.6;
  margin: 0;
}
body.page .uslugi-service-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 9px;
  background: #c91b6e;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes orb-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1;   }
}

/* Hero entrance – fires on page load, respects prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-eyebrow {
    animation: fade-slide-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.05s;
  }
  .home-hero-heading {
    animation: fade-slide-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.18s;
  }
  .home-hero-lead {
    animation: fade-slide-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.32s;
  }
  .home-hero-actions {
    animation: fade-slide-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.46s;
  }

  /* Orb w hero delikatnie pulsuje */
  .home-hero-band::before {
    animation: orb-pulse 7s ease-in-out infinite;
  }
}

/* Bento scroll-reveal – klasa dodawana przez JS */
.bento-card.bento-reveal,
.contact-banner.bento-reveal,
.contact-card.bento-reveal,
.coverage-search-main.bento-reveal,
.coverage-region-aside.bento-reveal,
.coverage-map-card.bento-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.bento-card.bento-reveal.is-visible,
.contact-banner.bento-reveal.is-visible,
.contact-card.bento-reveal.is-visible,
.coverage-search-main.bento-reveal.is-visible,
.coverage-region-aside.bento-reveal.is-visible,
.coverage-map-card.bento-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card-full.news-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card-full.news-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Period toggle ─────────────────────────────────────── */
.period-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.period-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  font-family: var(--font-base);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.period-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}
.period-btn:hover:not(.is-active) {
  background: var(--color-primary);
  color: #fff;
}

/* show only the active period price; hides every [data-price] that doesn't match */
body [data-period-active="p24"]  [data-price]:not([data-price="p24"]),
body [data-period-active="p18"]  [data-price]:not([data-price="p18"]),
body [data-period-active="p12"]  [data-price]:not([data-price="p12"]),
body [data-period-active="open"] [data-price]:not([data-price="open"]) {
  display: none;
}

/* pricing badge placeholder — reserves space without rendering visible content */
.pricing-badge-ghost {
  visibility: hidden;
}

/* najtańszy badge */
body.page .pricing-badge--cheapest {
  background: rgba(0, 110, 46, 0.1);
  color: var(--color-success);
}

/* hide non-ghost badges when not on 24-month view */
body [data-period-active="p18"] .pricing-badge:not(.pricing-badge-ghost),
body [data-period-active="p12"] .pricing-badge:not(.pricing-badge-ghost),
body [data-period-active="open"] .pricing-badge:not(.pricing-badge-ghost) {
  visibility: hidden;
}

/* reset popular card pink border/shadow when not on 24-month view */
body [data-period-active="p18"] .pricing-card-popular,
body [data-period-active="p12"] .pricing-card-popular,
body [data-period-active="open"] .pricing-card-popular {
  border-color: #dce0ec;
  box-shadow: none;
}
body [data-period-active="p18"] .pricing-card-popular:hover,
body [data-period-active="p12"] .pricing-card-popular:hover,
body [data-period-active="open"] .pricing-card-popular:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(28, 30, 62, 0.12);
}

/* reset popular card CTA button to outline style when not on 24-month view */
body [data-period-active="p18"] .pricing-card-popular .btn-primary.pricing-cta,
body [data-period-active="p12"] .pricing-card-popular .btn-primary.pricing-cta,
body [data-period-active="open"] .pricing-card-popular .btn-primary.pricing-cta {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
body [data-period-active="p18"] .pricing-card-popular .btn-primary.pricing-cta:hover,
body [data-period-active="p12"] .pricing-card-popular .btn-primary.pricing-cta:hover,
body [data-period-active="open"] .pricing-card-popular .btn-primary.pricing-cta:hover {
  background: var(--color-primary);
  color: #fff;
}
