/* Strona główna */
.slider { position: relative; overflow: hidden; max-height: 588px; background: #f8f8f8; }
.slider .slide { display: none; }
.slider .slide.visible { display: block; animation: fade 1s; }
.slider .slide img { width: 100%; object-fit: cover; max-height: 588px; }
@keyframes fade { from { opacity: 0.3; } to { opacity: 1; } }
.slider .dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.slider .dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.slider .dots button.on { background: var(--red); border-color: var(--red); }

.about { padding: 40px 0 10px; }
.about-top { display: flex; gap: 0; align-items: stretch; }
.about-box {
  background: var(--dark);
  color: #fff;
  padding: 35px 30px;
  flex: 1 1 50%;
  text-align: justify;
}
.about-box h1 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.about-box p { margin-bottom: 18px; font-size: 16px; }
.about-media { flex: 1 1 50%; padding: 15px; display: flex; align-items: center; }
.about-media a { display: block; position: relative; width: 100%; }
.about-media img { width: 100%; object-fit: contain; }
.about-media .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.about-more { padding: 25px 30px 0; }
.about-more p { text-align: justify; margin-bottom: 18px; font-size: 16px; }

.values { padding: 40px 0; }
.values .grid { display: grid; grid-template-columns: 1fr 1fr; }
.vbox {
  min-height: 320px;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vbox h2 { font-size: 26px; font-weight: 700; margin-bottom: 18px; }
.vbox p { font-size: 16px; }
.vbox.right { text-align: right; }
.vimg { min-height: 320px; background-size: cover; background-position: center; }

.products { padding: 20px 0 40px; }
.products h2.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 20px 0 40px;
}
.products .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
.pitem img { width: 100%; }
.pitem h3 { margin: 14px 0 6px; font-size: 20px; font-weight: 400; }
.pitem h3 a { color: var(--text); }
.pitem hr { border: none; margin: 8px 0 10px; }
.pitem a.more { font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: 1px; }
.pitem a.more:hover { color: var(--red); }
.imp { max-width: 585px; margin: 50px auto 0; text-align: center; }
.imp h3 { margin-top: 14px; font-size: 22px; font-weight: 400; }

@media (max-width: 900px) {
  .about-top { flex-direction: column; }
  .values .grid { grid-template-columns: 1fr; }
  .vimg { order: 0; min-height: 220px; }
  .vbox.right { text-align: left; }
  .products .grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .about-box h1 { font-size: 26px; }
}
