.services-premium {
  background-color: var(--bg-light);
  padding: 120px 0 80px;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.6;
}

.services-tabs {
  margin-bottom: 60px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--accent);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Ustawienie 4 równych kolumn */
  gap: 25px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card.premium {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(106, 176, 76, 0.15);
}

.service-header {
  position: relative;
  padding: 30px 0 15px;
  text-align: center;
}

.service-label {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 0 10px 0 10px;
}

.service-icon {
  color: var(--accent);
  margin: 0 auto 15px;
}

.service-content {
  padding: 0 25px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-description {
  color: var(--gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.service-features li svg {
  color: var(--accent);
  margin-right: 10px;
  min-width: 16px;
}

.service-pricing {
  margin-bottom: 20px;
  padding: 12px 15px;
  background-color: var(--bg-light);
  border-radius: 6px;
}

.price-tag {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.price-type {
  font-size: 0.85rem;
  margin-top: 3px;
  color: var(--gray);
}

.price-note {
  font-size: 0.8rem;
  margin-top: 5px;
  color: var(--gray);
  font-style: italic;
}

.service-cta {
  margin-top: auto;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  display: block;
  padding: 10px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* Packages Section */
.services-packages {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.packages-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.package-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-10px);
}

.package-card.premium {
  background-color: var(--primary);
  color: white;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(30, 42, 56, 0.2);
  z-index: 1;
}

.ribbon {
  position: absolute;
  top: 15px;
  right: -5px;
  padding: 5px 15px;
  background-color: var(--accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ribbon:before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -10px;
  border-left: 5px solid transparent;
  border-right: 0 solid transparent;
  border-top: 10px solid #4d8337;
}

.package-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.package-card.premium .package-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.package-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.package-card.premium .package-price {
  color: white;
}

.package-value {
  font-size: 0.9rem;
  color: var(--gray);
}

.package-card.premium .package-value {
  color: rgba(255, 255, 255, 0.7);
}

.package-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.package-features li svg {
  color: var(--accent);
  margin-right: 10px;
  flex-shrink: 0;
}

.package-card.premium .package-features li svg {
  color: var(--accent);
}

.package-cta {
  margin-top: auto;
}

.btn-accent {
  background-color: var(--primary);
  color: white;
  border: none;
  display: block;
  padding: 15px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-accent:hover {
  background-color: #17212d;
  transform: translateY(-2px);
}

.package-card.premium .btn-accent {
  background-color: var(--accent);
}

.package-card.premium .btn-accent:hover {
  background-color: #59a33f;
}

/* Guarantee Section */
.services-guarantee {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 60px;
}

.guarantee-icon {
  margin-right: 30px;
  color: var(--accent);
  flex-shrink: 0;
}

.guarantee-content {
  flex: 1;
}

.guarantee-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.guarantee-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .services-guarantee {
    flex-direction: column;
    text-align: center;
  }
  
  .guarantee-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .package-card.premium {
    transform: translateY(0) scale(1);
    margin: 30px 0;
  }
  
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    padding: 10px;
    font-size: 1rem;
  }
}
