@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES - ZACHOWANIE DOTYCHCZASOWYCH KOLORÓW
============================================================ */
:root {
  --green:      #2F4F4F;
  --green-dark: #1E3535;
  --orange:     #E8603C;
  --bg:         #F6F3EE;
  --white:      #FFFFFF;
  --text:       #2C2C2A;
  --text-muted: #5F5E5A;
  --text-light: #9FBFBF;
  --text-dim:   #7FAFAF;
  --text-ghost: #4A7070;
  --border:     #DDD6CA;
  --badge-bg:   #EAE6DF;
  --max-width:  1440px;
}

/* ============================================================
   RESET & BASE RESPONSIVE
============================================================ */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth;
  font-size: 100%; /* 16px wyjściowo bazowo */
}

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a { 
  text-decoration: none; 
  color: inherit; 
}

/* Bezpieczne zawijanie tekstów i elastyczność */
p, h1, h2, h3, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============================================================
   KOMPONENTY GLOBALNE / KONTENERY MAX-WIDTH
============================================================ */
.section-heading {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

/* ==========================================================================
   NAVBAR & HAMBURGER MENU
   ========================================================================== */

/* Główny kontener navbaru */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  min-height: 65px;
  background-color: var(--green);
  position: fixed;        /* fixed zamiast sticky — eliminuje konflikty z overflow */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease;
  will-change: transform;
}

/* Klasa dodawana przez JS przy scrollu w dół */
.navbar--hidden {
  transform: translateY(-100%);
}

/* Kompensata wysokości navbaru dla body */
body {
  padding-top: 65px;
}

/* Linki nawigacyjne - wersja desktopowa domyślnie */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--bg);
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange); /* Twój kolor akcentowy HERO */
}

/* Przycisk CTA w nawigacji */
.nav-cta {
  background-color: var(--bg);
  color: var(--green-dark) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: background-color 0.3s ease !important;
}

.nav-cta:hover {
  background-color: #E8603C;
}

/* Przycisk hamburgera (niewidoczny na desktopie) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

/* --- Struktura i animacja linii hamburgera --- */
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--bg);
  position: relative;
  transition: background-color 0.3s ease;
}

/* Górna i dolna kreska jako pseudo-elementy */
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--bg);
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease;
}

/* Rozstawienie kresek w standardowym hamburgerze */
.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* --- Stan aktywny po kliknięciu (.is-open) -> Idealny znak X --- */
.menu-toggle.is-open .hamburger {
  background-color: transparent; /* Ukrywamy środkową kreskę */
}

.menu-toggle.is-open .hamburger::before {
  top: 0;
  transform: rotate(45deg); /* Obrót górnej kreski w prawo */
}

.menu-toggle.is-open .hamburger::after {
  top: 0;
  transform: rotate(-45deg); /* Obrót dolnej kreski w lewo */
}

/* ==========================================================================
   WERSJA MOBILNA (Media Query)
   ========================================================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Pokazujemy hamburger na mobile */
  }

  /* Ukryte menu mobilne wysuwane/pojawiające się z góry */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Menu otwiera się tuż pod belką navbaru */
    left: 0;
    width: 100%;
    background-color: var(--green);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    
    /* --- TUTAJ DODAŁEM KRESKĘ ODDZIELAJĄCĄ --- */
    border-top: 1px solid var(--green-dark);
    
    /* Ukrywanie początkowe */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  /* Stan otwarty menu na mobile (.nav-links--open) */
  .nav-links.nav-links--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* ============================================================
   HERO (MOBILE-FIRST)
============================================================ */
.hero {
  background: var(--bg);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Na większych ekranach układ rozsuwa się na boki (częste w hero), 
   co pozwala liniom elegancko się przeciąć */
@media (min-width: 768px) {
  .hero {
    align-items: stretch;
  }

  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
  }

  .hero-buttons {
    align-self: flex-end;
  }
}

.hero-content {
  max-width: 100%;
}

/* Wygładzenie zachowania tekstu, aby linia dotykała samego czubka liter */
.hero-brand-wrapper {
  position: relative;
  display: inline-block;
}

.hero-brand {
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--text);
  line-height: 0.8; /* Obniżona wysokość linii, by dotykała góry fontu */
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.hero-tagline {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-tagline .accent { color: var(--green); }

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-top: 1.5rem;
}

/* --- ZMODYFIKOWANE: PRZYCISKI I KLAMRA --- */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 600px; /* ZWIĘKSZONO SZEROKOŚĆ (z 360px na 460px) */
  position: relative;
  padding: 20px 0; /* Margines bezpieczeństwa na górny i dolny daszek klamry */
  top: -0.5rem;
}

/* Górna połówka klamry (prosta linia w dół + daszek na górze) */
.hero-buttons::before {
  content: "";
  position: absolute;
  right: -15px;      /* Odsunięcie klamry od przycisków */
  top: 0;
  bottom: 56%;       /* Kończy się przed środkiem, tworząc przerwę */
  width: 12px;       /* Długość górnego daszka */
  border-top: 1.4px solid #E8603C;
  border-right: 1.4px solid #E8603C;
  opacity: 0.65;
}

/* Dolna połówka klamry (prosta linia w górę + daszek na dole) */
.hero-buttons::after {
  content: "";
  position: absolute;
  right: -15px;      /* Odsunięcie klamry od przycisków */
  top: 56%;          /* Zaczyna się za środkiem, tworząc przerwę */
  bottom: 0;
  width: 12px;       /* Długość dolnego daszka */
  border-bottom: 1.4px solid #E8603C;
  border-right: 1.4px solid #E8603C;
  opacity: 0.65;
}

/* Napis +90px idealnie w przerwie między prostymi liniami */
.bracket-label {
  position: absolute;
  right: -37px;      /* Wyrównanie napisu do linii klamry */
  top: 50%;
  transform: translateY(-50%);
  color: #E8603C;
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg); /* Maskowanie tła pod napisem */
  padding: 2px 0;
  z-index: 5;
}

.btn-primary, .btn-outline {
  display: block;
  text-align: center;
  width: 100%;
  padding: 16px 24px; /* Zachowano wysokość i dopełnienie */
  border-radius: 8px;
  font-size: 1rem;    /* Zachowano czcionkę */
  font-weight: 500;
  transition: all 0.2s;
}

.btn-primary { background: var(--green); color: var(--bg); border: 1px solid transparent; }
.btn-primary:hover { opacity: 0.85; }

/* Przycisk kontaktowy (outline) */
.btn-outline { border: 1px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { 
  background: #ffffff;             /* Zmiana koloru tła na biały */
  color: var(--green);             /* Tekst zostaje zielony, by był widoczny na białym */
  border: 1px solid var(--green);  /* Cienka zielona ramka */
}


/* --- NOWE: LINIE TECHNICZNE (PRZERYWANE I CIĄGŁE PO PRZECIĘCIU) --- */
@media (min-width: 768px) {

  /* 1. LINIA POZIOMA - Przechodzi przez całą stronę, dotyka góry Netforma */
  .hero-brand-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50vw;  /* Wyciągnięcie linii daleko w lewo */
    right: -50vw; /* Wyciągnięcie linii daleko w prawo */
    border-top: 1.4px dashed #E8603C;
    opacity: 0.7;
    pointer-events: none;
  }

  /* 2. LINIA PIONOWA - Przerywana linia generowana nad klamrą przycisków */
  .hero-buttons::before {
    box-shadow: 0 -2000px 0 -13.6px #E8603C; /* Długa przerywana linia lecąca w górę */
  }
  
  /* Pełna linia pionowa dla idealnego wyrównania do prawej krawędzi przycisków */
  .hero-container::before {
    content: "";
    position: absolute;
    right: calc(380px + 15px); /* DOSTOSOWANO do nowej szerokości przycisków (460px - paddingi/boki układu) */
    top: -500px;
    bottom: 0;
    border-right: 1.4px dashed #E8603C;
    opacity: 0.6;
    pointer-events: none;
  }

  /* 3. EFEKT PRZECIĘCIA (Skrzyżowanie linii z ciągłym odcinkiem) */
  .hero-brand-wrapper::after {
    content: "";
    position: absolute;
    top: -5px; 
    right: -220px; /* DOSTOSOWANO pozycję krzyżyka pod nową szerokość kontenera */
    width: 30px;
    height: 10px;
    background: 
      linear-gradient(to right, transparent 14px, #E8603C 14px, #E8603C 16px, transparent 16px),
      linear-gradient(to bottom, transparent 4px, #E8603C 4px, #E8603C 6px, transparent 6px);
    z-index: 3;
  }
}

/* ============================================================
   SOCIAL BAR
============================================================ */
.social-bar {
  background: var(--green-dark);
  color: var(--bg);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.social-bar p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.social-bar a {
  color: var(--orange);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.social-icon {
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   PROBLEM SECTION & SLIDER (PRZED / PO)
============================================================ */
.problem-section {
  padding: 4rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.slider-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  margin-bottom: 2.5rem;
  user-select: none;
  cursor: ew-resize;
}

.slide-after, .slide-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

/* ---- Strona PO ---- */

.nice-hero {
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=900&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  padding: 0 22px 18px;
  box-sizing: border-box;
  font-family: 'Satoshi', sans-serif;
}

.n-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15,31,75,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.n-logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #0f1f4b;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.n-logo-dot {
  width: 7px;
  height: 7px;
  background: #0f1f4b;
  border-radius: 50%;
  display: inline-block;
}

.n-links {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 8.5px;
  color: #9a9690;
  letter-spacing: 0.03em;
}

.n-cta {
  background: #0f1f4b;
  color: #fff;
  padding: 3px 11px;
  border-radius: 6px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.n-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}

.n-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.n-eyebrow {
  font-size: 7.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0f1f4b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.n-eyebrow-line {
  width: 16px;
  height: 1.5px;
  background: #0f1f4b;
  display: inline-block;
}

.n-h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  color: #0a0a0a;
  margin: 0 0 0 2rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
}

.n-h1 em {
  font-style: italic;
  color: #0f1f4b;
}

.n-desc {
  font-size: 8.5px;
  line-height: 1.65;
  color: #6a6560;
  margin: 0;
  max-width: 220px;
}

.n-right {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
  min-width: 110px;
}

.n-stat {
  background: rgba(15,31,75,0.07);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
}

.n-stat-num {
  font-size: 14px;
  font-weight: 700;
  color: #0f1f4b;
  font-family: 'Satoshi', sans-serif;
  display: block;
  line-height: 1;
}

.n-stat-lbl {
  font-size: 7px;
  color: #5a6b9a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.n-btn-p {
  background: #0f1f4b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
  display: block;
  font-family: 'Satoshi', sans-serif;
}

.n-btn-o {
  border: 1.5px solid #0f1f4b;
  color: #0f1f4b;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  display: block;
  background: rgba(255,255,255,0.6);
  font-family: 'Satoshi', sans-serif;
}

.n-foot {
  font-size: 7.5px;
  color: #b0aba5;
  letter-spacing: 0.03em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.n-trust {
  display: flex;
  gap: 12px;
  align-items: center;
}

.n-trust span {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #0f1f4b;
  font-size: 7.5px;
  font-weight: 500;
}

.n-trust span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0f1f4b;
  display: inline-block;
}

/* ---- Strona PRZED ---- */

.ugly-hero {
  width: 100%;
  height: 100%;
  padding: 0;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: #ff0000;
  color: #ffff00;
  font-family: 'Courier New', monospace;
}

.ugly-marquee {
  background: #000;
  color: #fff;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  padding: 3px 6px;
  text-align: center;
}

.ugly-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 6px;
  border-bottom: 1px solid #ff6600;
}

.ugly-nav-links { display: flex; gap: 8px; font-size: 8px; }
.ugly-logo { font-size: 12px; font-weight: 900; }

.ugly-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px;
}

.ugly-h1 { font-size: 1.6rem; font-weight: 900; margin-bottom: 4px; }
.ugly-sub { font-size: 9px; opacity: 0.8; margin: 4px 0; line-height: 1.4; }
.ugly-btns { display: flex; gap: 6px; margin-top: 8px; }
.ugly-btn { background: #0000ff; color: #fff; padding: 4px 8px; font-size: 8px; border: none; }
.ugly-btn-ghost { background: #00ff00; color: #000; padding: 4px 8px; font-size: 8px; border: none; }

/* ---- Etykiety ---- */

.slider-label {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}
.label-before { left: 10px; }
.label-after { right: 10px; }

/* ---- Linia i uchwyt ---- */

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #ccc;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow: 0 1px 8px rgba(0,0,0,0.12);
}

/* ---- Karty i CTA (bez zmian) ---- */

.desc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.desc-card {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.desc-card-bad { border-top: 4px solid var(--orange); }
.desc-card-good { border-top: 4px solid var(--green); }

.desc-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.desc-item {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
.desc-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: inherit;
}

.problem-cta, .process-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.btn-green {
  background: var(--green);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  display: inline-block;
  width: 100%;
  max-width: 300px;
  transition: opacity 0.2s;
}
.btn-green:hover { opacity: 0.9; }

.link-muted {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   PROCESS / TIMELINE (MOBILE-FIRST -> JEDNOKOLUMNOWY)
============================================================ */
.process-section {
  padding: 5rem 1rem;
  background: var(--white);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 640px;
}

.timeline-axis {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 1;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

.step-empty { display: none; }

.step-center {
  grid-column: 1;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--green);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}
.step-num.orange { background: var(--orange); }

.step-side-left, .step-side-right {
  grid-column: 2;
  width: 100%;
}

.step-card {
  background: var(--bg);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
}

.step-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step-card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.step-badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 5px 10px;
  background: var(--badge-bg);
  color: var(--green);
  border-radius: 4px;
  font-weight: 500;
}
.step-badge.orange-badge {
  background: rgba(232,96,60,0.1);
  color: var(--orange);
}

/* ── CTA pod timelineem ── */
.process-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.faq-nudge {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: transparent;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-faq-link:hover {
  background: var(--green);
  color: var(--bg);
}

@media (max-width: 768px) {
  .timeline-step {
    position: relative;
    grid-template-columns: 1fr;
  }

  .timeline-axis {
    left: 16px;
    transform: none;
    opacity: 0.3;
  }

  .step-card {
    position: relative;
    margin-left: 48px;
  }

  .step-center {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
  }

  .step-empty {
    display: none;
  }
}

/* ============================================================
   PRICING (MOBILE-FIRST)
============================================================ */
.pricing-section {
  padding: 4rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr; /* Jeden pod drugim na mniejszych ekranach */
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Specjalny wyróżnik karty Najpopularniejszej (Opcja START) */
.price-card-featured {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green-dark);
  order: 1; /* Na mobile: pierwsza od góry */
}

/* Klasy pomocnicze do kontrolowania kolejności pozostałych kart na mobile */
.card-biznes {
  order: 2; /* Na mobile: druga */
}

.card-pro {
  order: 3; /* Na mobile: trzecia */
}

/* --- REPRODUKCJA SIATKI DLA DUŻYCH EKRANÓW (DESKTOP) --- */
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr); /* Trzy kolumny obok siebie */
    align-items: start;
  }

  /* Zmiana kolejności: Start po lewej, Biznes w środku, Pro po prawej */
  .price-card-featured {
    order: 1; /* Kolumna 1 (lewa) */
  }
  
  .card-biznes {
    order: 2; /* Kolumna 2 (środek) */
  }

  .card-pro {
    order: 3; /* Kolumna 3 (prawa) */
  }
}

.price-card-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.pkg-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pkg-badge-featured { background: var(--orange); color: #fff; }
.pkg-badge-plain { background: var(--badge-bg); color: var(--text); }

.pkg-name { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.pkg-name-dark { color: var(--white); }
.pkg-name-light { color: var(--text); }

.pkg-desc { font-size: 0.95rem; margin-bottom: 1.5rem; min-height: 48px; }
.pkg-desc-dark { color: var(--text-light); }
.pkg-desc-light { color: var(--text-muted); }

.pkg-price { font-size: 1.8rem; font-weight: bold; margin-bottom: 0.25rem; }
.pkg-price-hl { color: var(--orange); }
.pkg-price-dark { color: var(--white); }
.pkg-price-light { color: var(--text); }

.pkg-note { font-size: 0.8rem; margin-bottom: 1.5rem; }
.pkg-note-dark { color: var(--text-dim); }
.pkg-note-light { color: var(--text-muted); }

.pkg-divider { height: 1px; margin-bottom: 1.5rem; }
.pkg-divider-dark { background: rgba(255,255,255,0.1); }
.pkg-divider-light { background: var(--border); }

.pkg-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }
.pkg-feature { font-size: 0.9rem; position: relative; padding-left: 1.5rem; }
.pkg-feature::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: bold; }
.pkg-feature-dark { color: var(--text-light); }
.pkg-feature-light { color: var(--text); }

.pkg-cta {
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: auto;
  transition: opacity 0.2s;
}
.pkg-cta-featured { background: var(--white); color: var(--green); }
.pkg-cta-plain { background: var(--green); color: var(--bg); }
.pkg-cta:hover { opacity: 0.9; }

.pricing-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); padding: 0 1rem; }



/* ============================================================
   FAQ SECTION
============================================================ */

.faq-section {
  padding: 5rem 1rem;
  background: #F6F3EE;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  background: #F6F3EE;
  border-radius: 16px;
  padding: 1rem;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.faq-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.faq-item {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(47,79,79,0.08);
  border-radius: 12px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-number {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 24px;
}

.faq-question span:not(.faq-number):not(.faq-icon) {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(47,79,79,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

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

.faq-answer {
  padding: 0 1.4rem 1.4rem 3.6rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 768px) {

  .faq-container {
    padding: 2rem 1.25rem;
  }

  .faq-title {
    font-size: 1.7rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }

  .faq-left {
    gap: 0.75rem;
  }
}

/* ============================================================
   CTA + FORMULARZ (MOBILE-FIRST)
============================================================ */
.cta-section {
  background: var(--green);
  color: var(--bg);
  padding: 4rem 1rem 0;
  position: relative;
  overflow: hidden;
}

.cta-grid-bg { position: absolute; inset: 0; z-index: 0; }

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.cta-pre { color: var(--orange); font-weight: 500; font-size: 0.95rem; margin-bottom: 0.5rem; }
.cta-heading { font-size: 4.5rem; font-weight: 500; line-height: 1.1; margin-bottom: 1rem; }
.cta-heading span { color: #E8603C; }
.cta-sub { font-size: 1rem; color: var(--text-light); margin-bottom: 2rem; max-width: 500px; }

.cta-facts { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-fact { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.cta-fact-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }

.contact-form {
  background: transparent;
  color: var(--bg);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #F6F3EE;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-field label { font-size: 0.85rem; font-weight: 500; color: #7FAFAF; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #1E3535;
  color: #F6F3EE;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 12px rgba(255,255,255,0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.form-field textarea { min-height: 100px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: #F6F3EE;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { opacity: 0.9; }
.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 0.75rem;
}



.footer {
  padding-top: 1.5rem;
  margin: 0;
}

main {
  margin: 0;
  padding: 0;
}

/* CAPTCHA */
.captcha-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}


/* ============================================================
   FOOTER (MOBILE-FIRST)
============================================================ */
.footer {
  background: #1E3535;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  padding: 0 1.25rem 3rem 1.25rem;
}

/* Duży napis Netforma (Logo) - #F5F0E8 */
.footer-logo { 
  font-size: 1.25rem; 
  font-weight: bold; 
  color: #F6F3EE; 
  margin-bottom: 0.75rem; 
}

/* Pozostałe opisy i linki - #7FAFAF */
.footer-desc { 
  font-size: 0.9rem; 
  color: #7FAFAF; 
  max-width: 320px; 
}

/* Nagłówki kolumn: Strona (#7FAFAF) oraz Social media (#F5F0E8) */
.footer-col-title { 
  font-size: 0.95rem; 
  font-weight: bold; 
  margin-bottom: 1rem; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  color: #F6F3EE; /* Domyślny dla pozostałych */
  line-height: 2rem;
}

/* Selektor celujący wyłącznie w nagłówek kolumny Social Media */
.footer-social-col .footer-col-title {
  color: #F6F3EE;
}

.footer-links-col { display: flex; flex-direction: column; gap: 0.6rem; }

/* Linki w stopce - #7FAFAF */
.footer-link { 
  font-size: 0.95rem; 
  color: #7FAFAF; 
  transition: color 0.2s; 
}
.footer-link:hover { color: #E8603C; } /* Zmieniono hover na pomarańczowy, by pasował do akcentów */

.social-icons { display: flex; gap: 0.75rem; }
.social-btn {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7FAFAF;
  transition: all 0.2s;
}
.social-btn:hover { background: #7FAFAF; color: var(--bg); }

/* Dolna sekcja stopki - #7FAFAF */
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #7FAFAF;
}

/* Małe napisy Netforma w footer-bottom - #E8603C */
.footer-copy {
  color: #7FAFAF;
}

/* Wyciągnięcie "Netforma" z praw autorskich, jeśli chcesz zmienić samą nazwę w tekście, 
   warto w HTML owinąć słowo Netforma w tag <span>, analogicznie do linijki poniżej */
.footer-made span { 
  font-weight: bold; 
  color: #E8603C; 
}

.footer-contact-label {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Email = dokładnie jak opis Netformy */
.footer-contact-email {
  font-size: 0.9rem;      /* jak .footer-desc */
  color: #F6F3EE;         /* ten sam kolor co opis */
  max-width: 320px;       /* spójność z opisem */
}

/* Jeśli chcesz zero różnic wizualnych między opisem a emailem */
.footer-contact-email {
  font-size: 1.1rem;
  color: #F6F3EE;
}

.footer-divider {
  height: 1px;
  background: #7FAFAF;
  opacity: 0.4;

  max-width: calc(var(--max-width) - 2rem);
  margin: 2rem auto 0 auto;
}


/* ============================================================
  COOKIES (MOBILE-FIRST)
============================================================ */

/* ── Banner ─────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 560px;
  background: var(--green, #2F4F4F);
  color: var(--bg, #F6F3EE);
  border-radius: 16px;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Satoshi', sans-serif;
  border: 1px solid rgba(255,255,255,.08);
}

/* ── Przyciski główne ───────────────────────────── */
#cookie-banner > div:nth-child(2) {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

#cookie-banner button {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  transition: opacity .18s, background .18s;
}

#btn-accept {
  background: var(--orange, #E8603C);
  color: #fff;
  padding: .65rem 1.1rem;
  flex: 1;
}

#btn-accept:hover {
  opacity: .88;
}

#btn-reject {
  background: rgba(255,255,255,.08);
  color: rgba(246,243,238,.85);
  border: 1px solid rgba(255,255,255,.12);
  padding: .65rem 1.1rem;
}

#btn-reject:hover {
  background: rgba(255,255,255,.14);
}

#btn-settings {
  background: transparent;
  color: rgba(246,243,238,.7);
  padding: .65rem .9rem;
}

#btn-settings:hover {
  color: #fff;
}

/* ── Panel ustawień ─────────────────────────────── */
#settings {
  display: none;
  flex-direction: column;
  gap: .9rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
}

#settings label {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  font-size: .85rem;
}

/* Custom checkbox */
#settings input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

#settings input[type="checkbox"]:checked {
  background: var(--orange, #E8603C);
  border-color: var(--orange, #E8603C);
}

#settings input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 11px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

#btn-save {
  align-self: flex-start;
  background: var(--orange, #E8603C);
  color: #fff;
  padding: .65rem 1.25rem;
}

#btn-save:hover {
  opacity: .88;
}

/* ── Mobile ─────────────────────────────────────── */
@media (max-width: 480px) {
  #cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 16px 16px 0 0;
  }

  #btn-accept {
    flex: 1 1 100%;
  }
}

/* ============================================================
   BREAKPOINTS (RESPONSIVE SCALING & EXPANSION)
============================================================ */

/* --- BREAKPOINT 480px --- */
@media (min-width: 480px) {
  .hero-brand { font-size: 4rem; }
  .hero-tagline { font-size: 3rem; }
  .slider-wrap { height: 380px; }
  .nice-hero, .ugly-hero { font-size: 12px; padding: 1.5rem; }
}

/* --- BREAKPOINT 768px (TABLETS - GRIDS EXPAND) --- */
@media (min-width: 768px) {
  .section-heading { font-size: 2.2rem; }
  .navbar--hidden {
    transform: translateY(0) !important; /* Blokuj chowanie na komputerze */
  }


  /* Hero */
  .hero { padding: 4rem 3rem; }
  .hero-brand { font-size: 6rem; }
  .hero-tagline { font-size: 4rem; }
  .hero-buttons { flex-direction: row; max-width: none; }
  .btn-primary, .btn-outline { width: 160px; }

  /* Problem Side */
  .slider-wrap { height: 460px; }
  .desc-grid { grid-template-columns: 1fr 1fr; }
  .problem-cta { flex-direction: row; justify-content: center; }
  .process-cta { flex-direction: column; align-items: center; }
  .btn-green { width: auto; }

  /* Timeline */
  .timeline-axis { left: 50%; transform: translateX(-50%); }
  .timeline-step { grid-template-columns: 1fr 50px 1fr; gap: 0; }
  .step-empty { display: block; }
  .step-center { grid-column: 2; display: flex; justify-content: center; }
  .step-side-left { grid-column: 1; text-align: right; padding-right: 2rem; }
  .step-side-right { grid-column: 3; text-align: left; padding-left: 2rem; }
  
  /* Cennik */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card-featured { grid-column: span 2; }

  /* Kontakt & Stopka */
  .cta-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .cta-heading { font-size: clamp(3.5rem, 5vw, 4rem); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* --- BREAKPOINT 1024px (DESKTOP) --- */
@media (min-width: 1024px) {
  .hero-grid-bg { opacity: 1; }
  .hero-container { flex-direction: row; justify-content: space-between; align-items: center; }
  .hero-content { flex: 1; }
  .hero-brand { font-size: 8rem; }
  .hero-tagline { font-size: 5rem; }
  .hero-buttons { flex-direction: column; width: 220px; margin-left: 2rem; }
  
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card-featured { grid-column: span 1; order: 2; } /* Wyróżniona karta na środku układu */
  
  .slider-wrap { height: 520px; }
}

/* --- BREAKPOINT 1440px (MAX CONTAINER LIMIT) --- */
@media (min-width: 1440px) {
  .hero-brand { font-size: 10.5rem; }
  .hero-tagline { font-size: 6.5rem; }
  .navbar { padding: 0 4rem; }
  .hero, .problem-section, .pricing-section, .cta-section { padding-left: 4rem; padding-right: 4rem; }
}