﻿/* ===================================================
   ComNet â€“ Design System & Global Styles
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Marka - Premium 2026 */
  --brand-primary: #274C68;
  /* GĹ‚Ăłwny kolor marki */
  --brand-primary-hover: #1F3D54;
  /* Hover elementĂłw */
  --brand-primary-active: #162C3C;
  /* Aktywne / menu / header */
  --brand-accent-soft: #3E6C8F;
  /* Subtelne akcenty UI */

  /* Premium Neutrals (Gray/White - No Brown) */
  --ui-dark: #1e293b;
  /* Ciemny grafit / Slate 800 */
  /* Footer / ciemne sekcje */
  --ui-dark-soft: #334155;
  /* Szary / Slate 700 */
  /* Elementy premium */
  --ui-bg-soft: #f8fafc;
  /* Bardzo jasny szary / Slate 50 */
  /* Delikatne tĹ‚o sekcji */
  --ui-bg-card: #ffffff;
  /* Czysta biel */
  /* TĹ‚a kart */

  /* Tekst */
  --text-main: #1C1C1C;
  /* GĹ‚Ăłwny tekst */
  --text-secondary: #5F6368;
  /* Opisy */
  --text-muted: #8D9399;
  /* Meta / podpisy */
  --text-light: #FFFFFF;
  /* Tekst na ciemnych tĹ‚ach */

  /* Akcent Premium (z logo) */
  --accent: #E69A12;
  /* Ikony, highlight */
  --accent-hover: #C8840D;
  /* Hover elementĂłw */
  --accent-active: #A96F0A;
  /* Aktywne akcenty */

  /* Mapowanie na stare zmienne dla kompatybilnoĹ›ci */
  --color-bg: #FCFBFA;
  /* Bardzo jasny beĹĽ/biel */
  --color-bg-light: var(--ui-bg-soft);
  --color-bg-card: rgba(255, 255, 255, 0.9);
  --color-surface: #FFFFFF;
  --color-primary: var(--brand-primary);
  --color-primary-dark: var(--brand-primary-hover);
  --color-primary-glow: rgba(39, 76, 104, 0.25);
  --color-accent: var(--accent);
  --color-accent-dark: var(--accent-hover);
  --color-text: var(--text-main);
  --color-text-muted: var(--text-secondary);
  --color-text-heading: var(--brand-primary);
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  /* Bazuje na ui-dark-soft */
  --color-hero-overlay: rgba(255, 255, 255, 0.9);

  /* Gradients - Premium */
  --gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent-soft) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 50%, rgba(39, 76, 104, 0.05) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  --gradient-cta: linear-gradient(135deg, var(--brand-primary) 0%, var(--ui-dark) 100%);

  /* Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows - Soft & Premium */
  --shadow-sm: 0 2px 4px rgba(39, 76, 104, 0.05);
  --shadow-md: 0 8px 16px rgba(39, 76, 104, 0.08);
  --shadow-lg: 0 16px 32px rgba(39, 76, 104, 0.12);
  --shadow-glow: 0 0 20px rgba(230, 154, 18, 0.25);
  /* Glow od akcentu */

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1200px;
  --header-height: 110px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ===================================================
   HEADER / NAVBAR
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-heading);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-list a {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav-list a.active {
  color: var(--color-primary);
}

/* CTA in nav */
.nav-cta {
  background: var(--brand-primary) !important;
  color: var(--color-white) !important;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(39, 76, 104, 0.2);
  transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 76, 104, 0.3) !important;
  background: var(--brand-primary-hover) !important;
}

.nav-client-portal {
  background: #f1f5f9 !important;
  color: var(--brand-primary) !important;
  padding: 6px 18px !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--color-border) !important;
  font-weight: 600 !important;
  transition: all var(--transition-fast) !important;
  margin-left: 5px;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem !important;
  height: 38px;
  /* Dopasowanie do wysokoĹ›ci przycisku Kontakt */
}

.nav-client-portal:hover {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text-heading);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================
   HERO SECTION (Subpages)
   =================================================== */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: visible;
  margin-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* ===================================================
   HERO SLIDER (Homepage)
   =================================================== */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: visible;
  margin-top: var(--header-height);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease-in-out, transform 4s ease-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 680px;
  padding: var(--space-4xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(39, 76, 104, 0.08);
  border: 1px solid rgba(39, 76, 104, 0.15);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero-badge-claim {
  margin-bottom: var(--space-sm);
}

.hero-badge-claim .dot {
  background: #f59e0b;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: var(--brand-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-primary);
  background-image: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(39, 76, 104, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 76, 104, 0.35);
  background-color: var(--brand-primary-hover);
  background-image: linear-gradient(135deg, var(--brand-primary-hover), #1d5d8f);
  color: var(--color-white);
}



.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(39, 76, 104, 0.05);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

/* Stronger contrast for hero buttons on bright backgrounds */
.hero .hero-buttons .btn,
.hero-slider .hero-buttons .btn {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, box-shadow;
}

.hero .hero-buttons .btn-primary,
.hero-slider .hero-buttons .btn-primary {
  background-color: #0f4b79;
  background-image: linear-gradient(135deg, #0f4b79, #123b5c);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 10px 28px rgba(10, 34, 56, 0.35);
}

.hero .hero-buttons .btn-primary:hover,
.hero-slider .hero-buttons .btn-primary:hover {
  background-color: #0e3f65;
  background-image: linear-gradient(135deg, #0e3f65, #0f3555);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(10, 34, 56, 0.42);
}

.hero .hero-buttons .btn-secondary,
.hero-slider .hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #0e3f65;
  border: 1px solid rgba(14, 63, 101, 0.28);
  box-shadow: 0 8px 22px rgba(10, 34, 56, 0.20);
  backdrop-filter: blur(3px);
}

.hero .hero-buttons .btn-secondary:hover,
.hero-slider .hero-buttons .btn-secondary:hover {
  background: #ffffff;
  color: #0b3554;
  border-color: rgba(14, 63, 101, 0.45);
  box-shadow: 0 12px 26px rgba(10, 34, 56, 0.28);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  color: var(--color-white);
}

/* ===================================================
   SECTIONS
   =================================================== */
.section {
  padding: var(--space-4xl) 0;
}

.section-dark {
  background: var(--ui-bg-soft);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===================================================
   GLASSMORPHISM CARDS
   =================================================== */
.glass-card {
  background: var(--ui-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 76, 104, 0.2);
  box-shadow: var(--shadow-glow);
}

/* ===================================================
   FEATURE / PROBLEM GRID
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-xl);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(39, 76, 104, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.6rem;
  color: var(--brand-primary);
  border: 1px solid rgba(39, 76, 104, 0.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===================================================
   PRICING CARDS
   =================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.featured::before {
  content: 'Najpopularniejszy';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: white;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.pricing-card .plan-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-sm);
}

.pricing-card .speed {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.pricing-card .price-unit {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.pricing-card .features-list {
  text-align: left;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.pricing-card .features-list li {
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.pricing-card .features-list li:last-child {
  border-bottom: none;
}

.pricing-card .features-list li::before {
  content: '\2713';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-hero-wrapper {
  margin-bottom: var(--space-2xl);
}

.pricing-grid-secondary {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.pricing-hero-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 2fr);
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(4, 99, 219, 0.28);
  box-shadow: 0 18px 45px rgba(4, 99, 219, 0.18);
  transform: none;
}

.pricing-hero-card.featured::before {
  left: var(--space-2xl);
  top: -16px;
  transform: none;
  z-index: 30;
  background: #0d4e8d;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 22px rgba(13, 78, 141, 0.32);
  padding: 7px 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 9999px;
}

.pricing-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
  background: #ffffff;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.pricing-hero-content::after {
  content: none;
}

.pricing-hero-content>* {
  position: relative;
  z-index: 1;
}

.pricing-hero-content .price {
  font-size: 3.25rem;
}

.pricing-hero-content .features-list {
  margin-bottom: var(--space-lg);
}

.pricing-hero-card .btn {
  width: auto;
  justify-content: center;
  min-width: 190px;
}

.pricing-gamer-note {
  margin: var(--space-md) 0 var(--space-lg);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.pricing-hero-media {
  position: relative;
  min-height: 100%;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  overflow: hidden;
}

.pricing-hero-media::after {
  content: none;
}

.pricing-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===================================================
   PROCESS / STEPS
   =================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: var(--space-xl);
  padding: var(--space-md) var(--space-xs) var(--space-2xl) var(--space-xs);
  /* Dodany margin na podrzucenie karty przez box-shadow */
  scrollbar-width: none;
  /* Ukrywa suwak w FF */
  -ms-overflow-style: none;
  /* Ukrywa suwak w IE/Edge */
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ui-bg-card);
  border: 1px solid var(--color-border);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  font-size: 1.2rem;
}

.slider-btn:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Ukrywa suwak Webkit */
.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-xl));
  min-width: 280px;
  max-width: 100%;
  scroll-snap-align: center;
  padding: var(--space-2xl);
}

.testimonial-card .stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--color-text-heading);
  font-size: 0.9rem;
}

.testimonial-card .location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===================================================
   STATS BAR
   =================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: var(--ui-bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  /* PowiÄ™kszyĹ‚em nieco czcionkÄ™ dla lepszego efektu */
  font-weight: 800;
  line-height: 1.1;
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  /* ZwiÄ™kszyĹ‚em czytelnoĹ›Ä‡ etykiety */
  color: var(--color-text-muted);
  margin-top: 0;
}

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: visible;
  background: var(--ui-bg-card);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(39, 76, 104, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  text-align: left;
  gap: var(--space-md);
}

.faq-question .icon {
  font-size: 1.3rem;
  color: var(--brand-primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}


.faq-answer-inner ul,
.faq-answer-inner ol {
  margin: var(--space-sm) 0 var(--space-sm) var(--space-md);
  padding-left: 1.2rem;
}

.faq-answer-inner ul {
  list-style-type: disc;
}

.faq-answer-inner ol {
  list-style-type: decimal;
}

.faq-answer-inner li {
  margin-bottom: 0.35rem;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  background: var(--gradient-cta);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: visible;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-md);
  color: white;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: white;
  color: var(--brand-primary);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: var(--brand-primary-hover);
}

.cta-banner .phone-number {
  display: block;
  margin-top: var(--space-md);
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}

.cta-banner .phone-number a {
  color: white;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.cta-banner .phone-number a:hover {
  text-decoration: underline;
}

/* ===================================================
   CONTACT INFO CARDS
   =================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.contact-card {
  text-align: center;
  padding: var(--space-2xl);
}

.contact-card .contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.4rem;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.contact-card p,
.contact-card a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-card a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* ===================================================
   CONTACT FORM
   =================================================== */
.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.form-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-primary);
}

.form-consent label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===================================================
   MAP
   =================================================== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: visible;
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
  max-height: 450px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================================
   IMAGE SECTION
   =================================================== */
.section-image {
  border-radius: var(--radius-lg);
  overflow: visible;
  border: 1px solid var(--color-border);
  margin: var(--space-2xl) 0;
}

.section-image img {
  width: 100%;
  object-fit: cover;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.two-col-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

.two-col-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.two-col-image {
  border-radius: var(--radius-lg);
  overflow: visible;
  border: 1px solid var(--color-border);
}

/* ===================================================
   TIMELINE (O nas)
   =================================================== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 10px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-item .year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===================================================
   VALUES GRID (O nas)
   =================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-xl);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.4rem;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--ui-dark);
  color: #e2e8f0;
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-md);
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact a {
  color: #e2e8f0;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-contact a:hover {
  text-decoration: underline;
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 992px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 992px) {
  .burger {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    flex-direction: column;
    background: var(--color-bg);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--color-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1201;
    overflow-y: auto;
  }

  .nav-list.open {
    right: 0;
  }

  .nav-list a {
    font-size: 1rem;
    padding: var(--space-md) var(--space-md);
    line-height: 1.3;
    width: 100%;
  }

  .nav-list a.active {
    padding: calc(var(--space-sm) + 2px) var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .burger {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--color-bg);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    transition: right var(--transition-normal);
    border-left: 1px solid var(--color-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-list.open {
    right: 0;
  }

  .nav-list a {
    font-size: 1rem;
    padding: var(--space-md) var(--space-md);
    line-height: 1.3;
    width: 100%;
  }

  .nav-list a.active {
    padding: calc(var(--space-sm) + 2px) var(--space-md);
  }

  .logo img {
    height: 52px !important;
    width: auto;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: var(--space-2xl) 0;
  }

  .features-grid,
  .pricing-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .logo img {
    height: 46px !important;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   AUTH OVERLAY
   =================================================== */
#auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-out;
}

.auth-box {
  background: var(--ui-bg-card);
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.5s ease-out;
}

.auth-logo {
  height: 60px;
  margin-bottom: 1.5rem;
}

.auth-box h2 {
  font-family: var(--font-heading);
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.auth-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

#auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#auth-pass {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

#auth-pass:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(39, 76, 104, 0.1);
}

#auth-pass.error {
  border-color: #ef4444;
  animation: shake 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* ===== TV TABS - Pakiety kanaĹ‚Ăłw ===== */
.tv-tabs-container {
  background: var(--color-bg-alt, #f8f9fa);
  border-radius: 16px;
}

.tv-tabs-header {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.tv-tab-btn {
  padding: 12px 28px;
  border: 2px solid var(--color-primary, #0066cc);
  border-radius: 50px;
  background: transparent;
  color: var(--color-primary, #0066cc);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.tv-tab-btn:hover {
  background: rgba(0, 102, 204, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.tv-tab-btn.active {
  background: var(--color-primary, #0066cc);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.35);
  transform: translateY(-1px);
}

/* --- Cookie Bar --- */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--ui-dark, #1a1a2e);
  color: var(--text-light, #fff);
  padding: 10px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}

#cookie-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#cookie-bar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

#cookie-bar a {
  color: var(--accent, #E69A12);
  text-decoration: underline;
}

#cookie-bar .cookie-btn {
  background: var(--accent, #E69A12);
  color: var(--ui-dark);
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

#cookie-bar .cookie-btn:hover {
  background: var(--accent-hover, #C8840D);
  transform: scale(1.05);
}


@media (max-width: 768px) {
  #cookie-bar .container {
    flex-direction: column;
    text-align: center;
  }

  #cookie-bar .cookie-btn {
    width: 100%;
  }
}

.tv-tab-pane {
  display: none;
  animation: fadeInTab 0.4s ease;
}

.tv-tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.channel-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 992px) {
  .pricing-hero-card {
    grid-template-columns: 1fr;
  }

  .pricing-hero-card.featured::before {
    left: var(--space-2xl);
    top: -16px;
    transform: none;
  }

  .pricing-hero-content {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .pricing-hero-media {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    min-height: 230px;
  }


}


@media (max-width: 768px) {
  .pricing-hero-content {
    padding: var(--space-xl);
  }

  .pricing-hero-card.featured::before {
    left: var(--space-xl);
  }

  .pricing-hero-content .price {
    font-size: 2.6rem;
  }

  .pricing-grid-secondary {
    grid-template-columns: 1fr;
  }

  .pricing-hero-media {
    min-height: 200px;
  }
}

/* Mobile menu fallback: enforce hamburger on tablets/phones and touch devices */
@media (max-width: 1280px),
(hover: none) and (pointer: coarse) {
  .header .burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .header .nav-list {
    position: fixed !important;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    max-height: calc(100vh - var(--header-height));
    height: auto;
    display: none !important;
    flex-direction: column;
    background: var(--color-bg);
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    transform: none !important;
    transition: none !important;
    border-left: none;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 1201;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .header .nav-list.open {
    display: flex !important;
  }

  .header .nav-list a {
    font-size: 1rem;
    padding: var(--space-md) var(--space-md);
    line-height: 1.35;
    width: 100%;
  }

  .header .nav-list a.active {
    padding: calc(var(--space-sm) + 2px) var(--space-md);
  }
}

/* Cookie bar overflow safety */
#cookie-bar {
  left: 0;
  right: 0;
  width: auto;
  max-width: 100vw;
  box-sizing: border-box;
}

#cookie-bar .container {
  flex-wrap: wrap;
}

#cookie-bar p {
  flex: 1 1 auto;
  max-width: 800px;
  min-width: 0;
  overflow-wrap: anywhere;
}

#cookie-bar .cookie-btn {
  flex: 0 0 auto;
}





@media (max-width: 1024px) {
  #cookie-bar .container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 8px;
    justify-content: center;
  }

  #cookie-bar p {
    flex: none;
    width: 100%;
    height: auto !important;
    margin-bottom: 0 !important;
  }

  #cookie-bar .cookie-btn {
    width: 100%;
  }
}