*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#050505;
  color:#fff;
  text-align:center;
  position:relative;
}

html{
  scroll-behavior:smooth;
}

/* =======================
   PARTICLES BACKGROUND
======================= */
#tsparticles{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:-1;
}

/* =======================
   NAV
======================= */
.nav{
  position:fixed;
  top:0;
  width:100%;
  display:flex;
  justify-content:center;
  gap:20px;
  padding:15px;
  background:rgba(0,0,0,0.7);
  z-index:1000;
}

.logo{
  position:absolute;
  left:20px;
  color:gold;
  font-weight:900;
}

.nav a{
  color:#bbb;
  text-decoration:none;
}

/* =======================
   HERO
======================= */
.hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:120px 20px 80px;
}

h1{
  font-size:60px;
}

h1 span{
  color:gold;
}

p{
  color:#ccc;
  max-width:600px;
}

/* =======================
   GLOBAL SECTIONS
======================= */
section{
  padding:85px 20px;
}

/* =======================
   OFERTA (FIXED LAYOUT)
======================= */
#oferta{
  padding-top:130px; /* 🔥 FIX: oddalenie od nav i hero */
}

#oferta h2{
  margin-bottom:35px; /* 🔥 FIX: przestrzeń nad gridem */
  position:relative;
  z-index:2;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:22px;
  max-width:1000px;
  margin:40px auto 0; /* 🔥 FIX spacing */
}

/* =======================
   CARDS
======================= */
.card{
  background:#111;
  padding:25px;
  border-radius:15px;
  transition:0.25s ease;
  position:relative;
  z-index:1;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 0 1px gold;
  z-index:3; /* 🔥 FIX hover overlap */
}

.price{
  color:gold;
  font-weight:900;
}

/* =======================
   TARGET SECTION
======================= */
.target{
  max-width:1100px;
  margin:60px auto 0;
}

.target h2{
  font-size:36px;
  margin-bottom:10px;
}

.subtitle{
  display:block;
  color:#aaa;
  margin-bottom:35px;
}

.target-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
  margin-top:10px;
}

.target-card{
  background:#111;
  padding:25px;
  border-radius:15px;
  transition:0.25s ease;
  position:relative;
}

.target-card:hover{
  transform:translateY(-5px);
  box-shadow:0 0 0 1px gold;
  z-index:3;
}

.target-card h3{
  color:gold;
  margin-bottom:10px;
}

/* =======================
   BUTTONS
======================= */
.btn{
  margin-top:15px;
  padding:12px 18px;
  background:gold;
  color:#000;
  border-radius:10px;
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
  border:none;
}

.btn.ghost{
  background:transparent;
  border:1px solid gold;
  color:gold;
}

/* =======================
   MODAL
======================= */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index:2000;
}

.form{
  background:#111;
  padding:25px;
  border-radius:12px;
  width:320px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.form input,
.form textarea{
  width:100%;
  padding:12px;
  border:none;
  border-radius:8px;
  outline:none;
}

.close{
  background:none;
  border:none;
  color:#aaa;
  margin-top:10px;
  cursor:pointer;
}

@media (max-width: 768px){

  h1{
    font-size:38px;
    line-height:1.2;
    padding:0 10px;
    word-break:break-word;
  }

  .hero{
    padding:120px 15px 80px;
  }
}