/* ===========================
   RESET & VARIABLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* tło */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  /* tekst */
  --text: #0b0f1a;
  --text-light: #6b7280;

  /* branding (ciemny, mocny) */
  --main: #0b0f1a;
  --main-dark: #000000;

  /* AKCENT – NIE KOLOR, TYLKO „światło” */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;

  /* boxy */
  --box: #ffffff;

  /* border */
  --border: #e5e7eb;
}

body.dark {
  --bg: #0f0f0f;
  --text: #eaeaea;
  --box: #1a1a1a;
}

/* ===========================
   BASE
=========================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: 0.3s;
}

section {
  padding: 100px 20px;
}

.wrap {
  max-width: 1000px;
  margin: auto;
}

.center { text-align: center; }

h1 { font-size: 3rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 20px; }

/* ===========================
   NAVIGATION
=========================== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transition: 0.3s;
}

.nav.hide { transform: translateY(-100%); }

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  position: relative;
}

/* menu */
.menu {
  gap: 35px;
  list-style: none;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main);
  transition: 0.3s;
}

.menu a:hover::after { width: 100%; }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)),
              url('img/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* ===========================
   BUTTON
=========================== */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #0d4bcf, #1e40af);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  margin: 10px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: var(--main-dark);
  transform: translateY(-2px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.btn-wide {
  display: block;
  max-width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 16px;
  font-size: 16px;
}

/* ===========================
   COMPONENTS
=========================== */
.box, .testimonial, .contact-left, .contact-right, .offer-card, .info-card, .problem-box, .process-step {
  background: var(--box);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border-radius: 20px;
  transition: 0.3s;
}

.box:hover, .offer-card:hover, .process-step:hover {
  transform: translateY(-6px);
}

/* OFFER */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  align-items: stretch;
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  min-height: 520px;
  position: relative;
}

.tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main);
  color: #fff;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12px;
}

/* TESTIMONIALS */
.testimonials, .contact-grid, .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* FORM & CONSENT */
form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 20px;
}

input, select, textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 15px;
}

button {
  background: var(--main);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover { background: var(--main-dark); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
}

.consent input {
  margin-top: 4px;
  accent-color: var(--main);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.consent a {
  color: var(--main);
  text-decoration: underline;
}

.form-info {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 10px;
}

/* ===========================
   UTILS
=========================== */
.fade { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade.show { opacity: 1; transform: translateY(0); }

.hidden { display: none !important; }

.toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--main);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2000;
}

/* ===========================
   FOOTER / CTA / COOKIES
=========================== */
.footer {
  background: var(--box);
  padding: 40px 20px;
  margin-top: 80px;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2a44;
  color: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-width: 600px;
  z-index: 9999;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  section { padding: 60px 15px; }
  .menu { gap: 15px; flex-wrap: wrap; justify-content: center; }
  .offer-grid, .contact-grid, .testimonials, .problem-grid { grid-template-columns: 1fr; }
  .process-grid { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
  .process-grid::-webkit-scrollbar { display: none; }
  .btn { width: 100%; max-width: 280px; }
  .contact-left, .contact-right { padding: 25px; }
  .map iframe { height: 180px; }
}
/* SEKCJA WSPÓŁPRACY (Jak wygląda współpraca?) */
.process {
  background: #f4f6f8;
}

.process .lead {
  margin-bottom: 40px;
  opacity: 0.7;
}

/* siatka pięciu kroków w jednym rzędzie */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin-top: 40px;
}

/* pojedynczy krok */
.process-step {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.3s;
}

.process-step:hover {
  transform: translateY(-6px);
}

/* numer etapu */
.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* wersja mobilna — przewijany rząd etapów */
@media (max-width: 768px) {
  .process-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .process-grid::-webkit-scrollbar {
    display: none;
  }

  .process-step {
    min-width: 220px;
    flex-shrink: 0;
  }
}
/* SEKCJA OFERTA – NAPRAWA UKŁADU */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;     /* gwarantuje równe wysokości */
  justify-items: center;    /* wyrównuje karty */
  margin-top: 40px;
}

/* pojedyncza karta oferty */
.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--box);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  text-align: center;
  height: 100%;             /* KLUCZ: wysokość pełna kolumny */
  box-sizing: border-box;
}

.offer-card:hover {
  transform: translateY(-10px);
}

/* tytuł, ceny i zawartość */
.offer-card h3 {
  margin-bottom: 15px;
}

.offer-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ceny */
.price {
  color: var(--main);
  font-weight: 600;
  margin: 10px 0 15px;
}

/* etykieta PROMOCJA */
.tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main);
  color: #fff;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12px;
}

/* przycisk */
.offer-card .btn {
  margin-top: 20px;
  width: 100%;
}

/* mobilna wersja */
@media (max-width: 1024px) {
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}
/* JAK JEST TERAZ / JAK MOŻE BYĆ */
.problem {
  background: #f4f6f8;
  padding: 80px 20px;
}

.problem .wrap {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  margin-bottom: 20px;
}

.lead {
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0.8;
  font-weight: 400;
  line-height: 1.6;
}

/* siatka dwóch kolumn */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* pojedynczy box */
.problem-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.3s ease;
}

.problem-box:hover {
  transform: translateY(-6px);
}

/* nagłówek z ikoną */
.problem-box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--main);
}

/* listy */
.problem-box ul {
  padding-left: 20px;
}

.problem-box li {
  margin-bottom: 7px;
  line-height: 1.5;
}

/* tekst pod spodem */
.problem .strong {
  margin-top: 40px;
  font-weight: 600;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}
/* SEKCJA: Twoja strona może teraz tracić klientów */
.problem-intro {
  background: var(--box);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  padding: 50px 40px;
  margin: 60px auto;
  max-width: 1000px;
  text-align: center;
  transition: 0.3s ease;
}

.problem-intro:hover {
  transform: translateY(-4px);
}

.problem-intro h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--main);
}

.problem-intro p {
  margin-bottom: 15px;
  line-height: 1.7;
  opacity: 0.85;
}

/* responsywność */
@media (max-width: 768px) {
  .problem-intro {
    padding: 35px 25px;
    margin: 40px 15px;
  }

  .problem-intro h3 {
    font-size: 1.3rem;
  }
}

/* =========================
   MODAL (DIALOG)
========================= */
dialog {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: 90%;
  max-width: 600px;

  /* KLUCZOWE */
  margin: auto;
}

/* tło */
dialog::backdrop {
  background: rgba(0,0,0,0.6);
}

/* zawartość */
dialog article {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

/* przycisk */
dialog button {
  margin-top: 20px;
  width: 100%;
}

/* =========================
   O MNIE
========================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.about-box {
  background: var(--box);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  text-align: left;
  transition: 0.3s;
}

.about-box:hover {
  transform: translateY(-6px);
}

.about-box h3 {
  margin-bottom: 10px;
  color: var(--main);
}

/* mobile */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-links span {
  opacity: 0.5;
}

.map iframe {
  width: 100%;
  border-radius: 12px;
}

.contact-left {
  overflow: hidden;
}

/* =========================
   KONTAKT – FIX LAYOUTU
========================= */

/* kontener lewej kolumny */
.contact-left {
  padding: 30px;
  overflow: hidden;
}

/* odstępy między sekcjami */
.contact-left h4 {
  margin-top: 15px;
}

/* mapa */
.map {
  margin-top: 10px;
}

.map iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: none;
  display: block;
  margin-bottom: 20px;
}

/* przycisk pod mapą */
.btn-wide {
  width: 100%;
  max-width: 100%;
}

/* zabezpieczenie globalne (bardzo ważne) */
img,
iframe {
  max-width: 100%;
}

/* =========================
   NAV – UPGRADE
========================= */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 1000;
}

/* główny kontener */
.nav-inner {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 12px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* menu */
.menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

/* linki */
.menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.3s;
}

/* hover */
.menu a:hover {
  background: var(--main);
  color: #fff;
}

/* aktywny link (opcjonalnie) */
.menu a.active {
  background: var(--main);
  color: #fff;
}

/* =========================
   FORM – FIX UI
========================= */

/* inputy */
input, textarea, select {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  transition: 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* odstępy */
form {
  gap: 10px;
}

/* checkbox sekcja */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

/* checkbox */
.consent input {
  margin: 0;
  margin-top: 4px;
  flex-shrink: 0;
}

/* tekst */
.consent label {
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}

/* info tekst */
.form-info {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 5px;
}

/* przycisk */
form button {
  margin-top: 15px;
  padding: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2a44, #000);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-left,
.contact-right {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-left .btn {
  margin-top: auto;
}

.btn,
form button {
  background: linear-gradient(135deg, #1f2a44, #000);
  color: #fff;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 15px;
}

.consent input {
  margin-top: 5px;
}

.consent label {
  line-height: 1.6;
}

.contact-right {
  padding: 30px;
}

form {
  gap: 12px;
}

.price {
  margin: 15px 0;
  font-size: 20px;
}

.price .old {
  text-decoration: line-through;
  color: #9ca3af;
  margin-right: 10px;
}

.price .new {
  font-weight: 700;
  color: var(--main);
  font-size: 24px;
}

.offer-card ul {
  margin-top: 15px;
  padding-left: 0;
  list-style: none;
}

.offer-card li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.promo {
  margin-bottom: 15px;
  font-size: 14px;
  color: #ef4444;
  font-weight: 500;
}
.offer-card .btn {
  margin-top: 25px;
}

/* =========================
   HERO – ULEPSZENIE
========================= */

.hero-content {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* nagłówek */
.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

/* wyróżnienie */
.hero h1 span {
  display: block;
  color: var(--main);
}

/* opis */
.hero-sub {
  margin-top: 20px;
  font-size: 16px;
  color: #6b7280;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* przyciski */
.hero-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* główny CTA */
.btn-primary {
  background: linear-gradient(135deg, #1f2a44, #000);
  color: #fff;
}

/* drugi przycisk */
.btn-secondary {
  background: #fff;
  color: var(--main);
  border: 1px solid #e5e7eb;
}

/* hover */
.btn-secondary:hover {
  background: #f3f4f6;
}

@media (max-width: 768px) {

  .nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
  }

  .nav-inner {
    border-radius: 0;
    background: #fff;
    backdrop-filter: none;
    box-shadow: none;
  }

  }

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 14px;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

}

@media (max-width: 768px) {

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 15px;
    margin-top: 15px;
  }

  .hero-cta {
    width: 100%;
    margin-top: 20px;
  }

  .hero-link {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: underline;
  }

}


@media (max-width: 768px) {

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

}

@media (max-width: 768px) {

  .contact-right {
    order: 1;
  }

  .contact-left {
    order: 2;
  }

}

@media (max-width: 768px) {

  input, textarea, select {
    width: 100%;
    font-size: 16px;
  }

}

@media (max-width: 768px) {

  .consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .consent label {
    font-size: 13px;
  }

}
/* ukryj hamburger na desktop */
.hamburger {
  display: none;
}

/* =========================
   MOBILE MENU – CLEAN FIX
========================= */

@media (max-width: 768px) {

  .hamburger {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2001;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.3s ease;
    z-index: 2000;
  }

  .menu.active {
    right: 0;
  }

}

.menu::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.hamburger {
  color: #000;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.menu.active::before {
  opacity: 1;
  pointer-events: auto;
}

.menu {
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}