/* ---------------------------------------------------
   IMBUD — deweloper.css
   Style podstrony „Deweloper — Inwestycja Karpowicza Park"
--------------------------------------------------- */

.dew-realizacja {
  overflow: hidden;
}

/* ─── Zdjęcie (lewa kolumna) ─── */
.dew-realizacja__foto {
  position: relative;
  min-height: 620px;
}

.dew-realizacja__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Treść (prawa kolumna) ─── */
.dew-realizacja__content {
  background-color: var(--bs-secondary);
  padding: 4.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.dew-realizacja__overline {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin: 0 0 1.1rem;
}

.dew-realizacja__overline::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--bs-primary);
  flex-shrink: 0;
}

.dew-realizacja__title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent-color);
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}

.dew-realizacja__text {
  font-family: var(--body-font);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: #5a5650;
  margin: 0 0 2rem;
  max-width: 52ch;
}

.dew-realizacja__text strong {
  color: var(--accent-color);
  font-weight: 700;
}

.dew-realizacja__text:last-of-type {
  margin-bottom: 2.25rem;
}

@media (max-width: 991.98px) {
  .dew-realizacja__foto { min-height: 380px; }
  .dew-realizacja__content { padding: 3.25rem 2.25rem; }
  .dew-realizacja__text { max-width: none; }
}

@media (max-width: 575.98px) {
  .dew-realizacja__foto { min-height: 280px; }
  .dew-realizacja__content { padding: 2.5rem 1.25rem; }
}
