.about {
  margin: 20px auto;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5vw;
  width: 100%;
}

/* 1:1 układ sekcji */
.about__gallery,
.about__content {
  flex: 1 1 50%;
}

/* GALLERY */
.about__gallery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
  height: 100%;
}

/* Zdjęcia obok siebie, ta sama wysokość */
.about__image {
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 450px; /* wspólna wysokość */
}

/* Różna szerokość (np. 1:2) */
.about__image--small {
  flex: 3;
  transform: translateY(20px);
  background-color: var(--color-primary);
}

.about__image--large {
  flex: 5;
  transform: translateY(-20px);
  position: relative;
  background-color: var(--color-primary);
}
.about__image--large::before {
  content: "";
  position: absolute;
  inset: 0;
  border: solid 3px var(--color-accent);
  transform: translateY(20px) translateX(-50%);
  width: 80%;
}
/* CONTENT */
.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 100%;
}
.about__content .about__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about__content .about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.about__content .about__list li svg {
  height: 14px;
  width: auto;
  color: var(--color-accent, #d49d4c);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Opcjonalnie delikatny efekt */
.about__content .about__list li:hover svg {
  transform: scale(1.2);
}

.about__content .section-name {
  position: absolute;
  top: 0;
  left: 0;
  width: fit-content;
  transform: translateX(20px) translateY(-100%);
}
.about__title {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 1rem;
}

.about__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark, #333);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 991px) {
  .about__container {
    flex-direction: column;
    gap: 40px;
    padding: 0 1rem;
    min-height: 400px;
  }
  .about__title {
    margin-top: 40px;
  }
  .about__gallery {
    flex-direction: row;
    width: 100%;
    gap: 3%;
  }

  .about__image {
    height: 250px; /* mniejsza wysokość na mobile */
  }

  .about__image--small,
  .about__image--large {
    flex: 1; /* wyrównane na mobile */
  }

  .about__content {
    text-align: center;
  }
  .about__content .section-name {
    transform: translateX(20px);
  }
}
