.hero {
  height: 100dvh;
  height: calc(var(--vh, 1vh) * 100);
  background-position: top center;
  align-items: flex-end;
}

.hero__inner {
  padding: 28px 20px 36px;
}

.hero__title {
  font-size: 34px;
}

.hero__text {
  font-size: 16px;
  max-width: 100%;
}

.btn {
  padding: 12px 18px;
  font-size: 16px;
}

.section {
  padding: 56px 0;
}

.about {
  padding: 56px 0;
}

.about__grid {
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}

.about__image img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 12px;
}

.about__content h2 {
  font-size: 26px;
}

.about__content p {
  font-size: 16px;
}

.goals {
  padding: 56px 0;
}

.goals h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.goals__grid {
  grid-template-columns: 1fr;
  gap: 1px;
  justify-items: center;
}

.goals__item {
  width: 100%;
  max-width: 260px;
  height: 260px;
  border-radius: 12px;
}

.goals__item img {
  border-radius: 12px;
}

.goals__caption {
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 0 0 12px 12px;
}

.goals__label {
  font-size: 14px;
  margin-bottom: 4px;
  justify-self: start;
}

.goals__header {
  display: grid;
  width: max-content;
  margin: 0 auto 20px;
}

.goals__header h2 {
  font-size: 26px;
  margin: 0;
  text-align: center;
}

/*współpraca */

.coop {
  position: relative;
  padding: 56px 0;
  color: #fff;
  background-image: url("images/coop-mobile.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.coop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.coop .container {
  position: relative;
  z-index: 1;
}

.coop__title {
  font-size: 26px;
  margin-bottom: 24px;
}

.coop__grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.coop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border-radius: 12px;
  padding: 32px 20px;
  min-height: 280px;
  background: none;
  color: #fff;
}

.coop__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.coop__item h3 {
  font-size: 20px;
  margin: 0;
}

.coop__item p {
  font-size: 15px;
  margin: 0;
  max-width: 48ch;
}

.coop__item {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(2px);
}

/*Przemiany */

.transforms {
  padding: 56px 0;
}

.carousel {
  --slide-gap: 10px;
}

.carousel__arrow {
  display: none;
}

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-right: 16%;
}

.carousel__track {
  gap: var(--slide-gap);
  transform: none !important;
}

.carousel__slide {
  flex: 0 0 84%;
  width: 84%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  scroll-snap-align: start;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__slide img {
  object-fit: contain;
}
