@import url(base.css);
/* --- PODSTRONA USŁUGI --- */
.service-section {
  padding: 70px 5% 60px 5%;
  background: var(--light-gray);
}
.service-section p {
  text-align: justify;
}
.service-content {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}
.service-image {
  width: 100%;
  min-width: 260px;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
  background: #dbe7ee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.service-details {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.service-title {
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
}
.service-title,
h3 {
  font-weight: 700;
  color: var(--primary-navy);
}
h3 {
  font-size: 1.8rem;
  margin-top: 0.8rem;
}
.service-description {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.3rem;
  line-height: 1.8;
  text-align: justify;
}
.service-description ul {
  list-style-type: none;
  /* margin-left: 1rem; */
  padding-left: 1.2rem;
}
.service-description ul li {
  margin: 0.4rem 0;
  padding-left: 0.6rem;
  position: relative;
}

.service-description ul li::before {
  content: "•";
  position: absolute;
  /* left: 0; */
  left: -0.4rem;
  color: #4a90e2;
  font-weight: bold;
}

.service-chapter {
  margin-bottom: 1.7rem;
}
.service-chapter h3 {
  color: var(--primary-teal);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.service-chapter ul {
  margin: 0 0 0 1.4em;
  padding: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
}
.service-chapter li {
  margin-bottom: 0.5em;
}
@media (max-width: 1100px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-image {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .service-section {
    padding: 40px 2vw 30px 2vw;
  }
  .service-title {
    font-size: 1.5rem;
  }
  .service-description {
    font-size: 1rem;
  }
}
/*AKORDEON -czyt. rozwijana rolka*/
.accordion-item {
  margin-bottom: 0.8rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(84, 129, 139, 0.08);
}

.accordion-btn {
  width: 100%;
  padding: 1.2rem;
  background: #f8f9fa;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #23295a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-btn:hover {
  background: #e8e5f7;
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background: white;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.2rem;

  display: flex;
  flex-direction: column;
}
.accordion-panel p:nth-child(even) {
  margin: 0.8rem 0;
}

.accordion-panel.open {
  padding: 1.2rem;
  max-height: 500px;
}

.accordion-btn.active .accordion-icon {
  transform: rotate(180deg);
}