/* =========================
   O NAS — about.css
========================= */


/* ── HERO ─────────────────────────────────────────── */

.about-hero {
  position: relative;
  background: #1f1712;
  min-height: calc(100vh - 133px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

/* Faux wood-grain texture — pure CSS, bez obrazu */
.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #2b1c10;
  background-image:
    repeating-linear-gradient(
      89deg,
      transparent 0px, transparent 28px,
      rgba(160, 100, 30, 0.08) 28px, rgba(160, 100, 30, 0.08) 29px
    ),
    repeating-linear-gradient(
      91deg,
      transparent 0px, transparent 60px,
      rgba(100, 55, 15, 0.06) 60px, rgba(100, 55, 15, 0.06) 61px
    );
}

.about-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.about-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 100vh;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(31, 23, 18, 0.1) 0%,
    rgba(31, 23, 18, 0.85) 100%
  );
}

.about-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  padding: 0 40px 180px;
}

.about-hero__eyebrow {
  color: #b98c5b;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.about-hero__title {
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 22px;
  color: #fff;
}

.about-hero__text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  font-weight: 400;
  margin: 0;
}

/* Features bar — identyczna logika jak hp-hero__features */
.about-hero__features {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-hero__feature {
  padding: 46px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.about-hero__feature:last-child {
  border-right: none;
}

.about-hero__feature-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.about-hero__feature-text {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.75;
  margin-top: 4px;
}

.about-split__img {
    order: 2;
}

.about-split__content {
    order: 1;
}


/* ── SEKCJE OGÓLNE ────────────────────────────────── */

.about-section {
  padding: 120px 0;
}

.about-section--light {
  background: #fff;
  color: #111;
}

.about-section--dark {
  background: #1f1712;
  color: #fff;
}

.about-section__eyebrow {
  color: #8a652f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-section__eyebrow--light {
  color: #b98c5b;
}

.about-section__title {
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.06;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.about-section__title--light {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 46px);
}


/* ── DWUKOLUMNOWY TEKST ───────────────────────────── */

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.about-cols__prose {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.62);
  font-weight: 400;
}

.about-cols__prose + .about-cols__prose {
  margin-top: 18px;
}

.about-cols__prose--light {
  color: rgba(255, 255, 255, 0.72);
}


/* ── CYTAT ────────────────────────────────────────── */

.about-quote {
  border-left: 3px solid #b98c5b;
  padding: 2px 0 2px 22px;
  margin: 28px 0 0;
}

.about-quote--light {
  border-left-color: rgba(185, 140, 91, 0.55);
}

.about-quote p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
  color: #1f1712;
  margin: 0;
}

.about-quote--light p {
  color: rgba(255, 255, 255, 0.9);
}


/* ── SPLIT — obraz + tekst ────────────────────────── */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.about-split__img {
  position: relative;
  overflow: hidden;
  background: #2b1c10;
}

.about-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* placeholder gdy brak zdjęcia */
.about-split__img:not(:has(img))::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      87deg,
      transparent 0, transparent 20px,
      rgba(160, 100, 30, 0.12) 20px, rgba(160, 100, 30, 0.12) 21px
    );
  background-color: #3a2410;
}

.about-split__content {
  padding: 80px 60px;
  background: #1f1712;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split__content .about-cols__prose {
  margin-top: 28px;
}


/* ── FEATURES GRID (wyróżniki) ────────────────────── */

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-features__item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.about-features__item:hover {
  background: rgba(185, 140, 91, 0.07);
}

.about-features__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b98c5b;
  margin-bottom: 10px;
}

.about-features__text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}


/* ── RESPONSIVE ───────────────────────────────────── */

@media (max-width: 991.98px) {

  .about-hero {
    min-height: auto;
    display: block;
    padding-top: 0;
  }

  .about-hero__content {
    padding: 80px 28px 180px;
    max-width: 100%;
  }

  .about-hero__features {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    border-top: none;
  }

  .about-hero__feature {
    padding: 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-hero__feature:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-hero__feature:nth-child(even) {
    border-right: none;
  }

  .about-section {
    padding: 80px 0;
  }

  .about-cols {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 40px;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split__img {
    height: 460px;
  }

  .about-split__content {
    padding: 60px 28px;
  }

}

@media (max-width: 575.98px) {

  .about-hero__content {
    padding: 70px 28px 160px;
  }

  .about-hero__text {
    font-size: 16px;
  }

  .about-hero__features {
    grid-template-columns: 1fr;
  }

  .about-hero__feature:nth-child(odd) {
    border-right: none;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-split__img {
    height: 360px;
  }

  .about-split__content {
    padding: 48px 28px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-features__item {
    border-right: none;
  }

}
