.page-wrapper {
  min-width: auto;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  min-height: 80vh;
}

:root {
  --hero-gutter: clamp(16px, 4vw, 64px);
}

.hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 5% 60px;
  gap: clamp(20px, 3vw, 40px);
  min-height: 600px; 
  margin: auto;
}

/* Kolumna: imię, nazwisko i cytat */
.hero-left {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
}

.hero-name-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-name-wrapper h1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  color: #594a47;
  font-family: 'Noto Serif Display', serif;
  font-style: italic;
}

.hero-imie {
  grid-column: 2;
  justify-self: end;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-left: -40px;
}

.hero-nazwisko {
  grid-column: 1;
  justify-self: start;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-right: -40px;
}

.hero-left blockquote {
  margin-top: auto;
  margin-left: calc(var(--hero-gutter) * -1); 
  margin-bottom: 0px;
  padding: 18px 35px 18px 35px;
  text-align: center; 
  background: #73876e;
  color: #fafafa;
  font-size: clamp(16px, 1.8vw, 22px);
  font-style: italic;
  line-height: 1.4;
  border-radius: 12px;
  max-width: 300px;
  width: 100%;
  quotes: none;
  border: none;
}

.hero-left blockquote p {
  width: 100%;
  text-align: center;
}

.hero-left blockquote .quote-text {
  text-align: center;
  margin: 0 auto;
}

.hero-left blockquote::before,
.hero-left blockquote::after {
  content: none;
}

/* Kolumna: zdjęcie */
.hero-right {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right img {
  width: clamp(280px, 38vw, 520px);
  max-height: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  padding: 40px;
}

@media (max-width: 1024px) {
  .hero-left blockquote {
    max-width: 260px;
  }

  .hero-right img {
    width: clamp(220px, 40vw, 400px);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 0 clamp(16px, 5vw, 40px) 30px;
  }

  .hero-left {
    order: 1;
    align-items: center;
  }

  .hero-name-wrapper h1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
    justify-items: center;
  }

  .hero-imie {
    grid-column: 2;
    justify-self: end;
    margin-left: -20px;
  }

  .hero-nazwisko {
    grid-column: 1;
    justify-self: start;
    margin-right: -20px;
  }

  .hero-left blockquote {
    display: none;
  }

  .hero-right {
    order: 2;
    width: 100%;
  }

  .hero-right img {
    width: 100%;
    max-width: 350px;
    padding: 0;
  }
}

