/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {
  padding: 6rem 1rem 4rem;
  background: var(--color-blue-grey-900);
}

.about-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

/* CONTENT */

.about-hero__pretitle {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark-blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-hero__title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--blue-grey-50);
}

.about-hero__text {
  max-width: 560px;
  margin-bottom: 1.5rem;
  color: var(--color-blue-grey-900);
  opacity: 0.9;
  color: var(--blue-grey-50);
}

.about-hero__button {
  margin-top: 0.5rem;
}

/* MEDIA (obrazek) */

.about-hero__media {
  text-align: right;
}

.about-hero__image {
  min-height: 400px;
  height: 30vh;
  max-height: 600px;
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

/* =========================================================
   RWD
========================================================= */

@media (max-width: 900px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-hero__media {
    order: -1; /* obrazek nad tekstem na mobile, jak w mockupach */
    text-align: center;
  }

  .about-hero__image {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
  .about-hero__content {
    width: 80vw;
    margin: auto;
  }
  .about-hero__title {
    text-align: center;
  }

  .about-hero__text {
    max-width: unset;
  }
  .about-hero__pretitle,
  .about-hero__button {
    text-align: justify;
  }

  .about-hero__button {
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 4rem 1rem 3rem;
  }

  .about-hero__title {
    font-size: 1.9rem;
  }
}
