.service {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(240,240,240,0.9));
  overflow: hidden;
}

h1 { letter-spacing: 1px; }

/* --- Usługi --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* teksty zaczynają się od góry */
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
  transition: all 0.4s ease;
  overflow: hidden;
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.4s ease;
}
.service-item:hover .service-icon {
  transform: rotate(10deg) scale(1.1);
}

.service-c:hover { border-color: cyan; }
.service-m:hover { border-color: magenta; }
.service-y:hover { border-color: yellow; }


.service-content {
  display: flex;
  flex-direction: column;
  height: 100%; /* dzięki temu wszystkie <p> zajmują stałą pozycję */
}

.service-content h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
  flex-shrink: 0; /* nagłówek nie kurczy się */
}

.service-content p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  flex-shrink: 0; /* paragrafy zachowują swoją wysokość */
}

/* --- Sekcja marek --- */
.brands {
  background: #fafafa;
  text-align: center;
  border-top: 3px solid rgba(0,0,0,0.05);
  border-bottom: 3px solid rgba(0,0,0,0.05);
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.brands-list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

