/* =========================
   PODSTRONA NIERUCHOMOŚCI
========================= */

.real-estate-hero {
  padding-top: 150px;
  padding-bottom: 82px;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(92,184,92,.14),
      transparent 29%
    ),
    linear-gradient(180deg,#fbfdfb 0%,#fff 100%);
}

.real-estate-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(350px,.75fr);
  gap:72px;
  align-items:center;
}

.subpage-hero-content {
  max-width:680px;
}

.subpage-hero-content h1 {
  margin:0 0 18px;
  font-size:clamp(54px,7vw,94px);
  line-height:.96;
  letter-spacing:-.055em;
}

.subpage-hero-content > p {
  max-width:650px;
  margin:0 0 30px;
  color:#4d555e;
  font-size:clamp(18px,2vw,23px);
  line-height:1.55;
}

.hero-buttons {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}

.btn-partner {
  background:var(--graphite);
  color:#fff;
  box-shadow:0 12px 28px rgba(47,49,54,.2);
}

.btn-partner:hover {
  background:#191d22;
  transform:translateY(-1px);
}

.hero-contact-line {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
  color:var(--graphite);
  font-weight:800;
}

.real-estate-hero-card {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:430px;
  padding:48px;
  border:1px solid rgba(92,184,92,.16);
  border-radius:34px;
  background:linear-gradient(
    145deg,
    rgba(255,255,255,.96),
    rgba(234,248,236,.88)
  );
  box-shadow:0 30px 70px rgba(31,35,41,.12);
}

.real-estate-hero-card > img {
  width:min(280px,70%);
  height:auto;
}

.real-estate-partner {
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  padding:15px 18px;
  border:1px solid rgba(92,184,92,.2);
  border-radius:16px;
  background:rgba(255,255,255,.92);
  text-align:center;
  backdrop-filter:blur(10px);
}

.real-estate-partner span {
  display:block;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.real-estate-partner strong {
  color:var(--green-dark);
  font-size:18px;
}

/* Sekcja usług */

.section-kicker {
  display:block;
  margin-bottom:7px;
  color:var(--green-dark);
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.section-intro {
  max-width:760px;
  margin:-10px 0 42px;
  color:var(--muted);
  font-size:18px;
}

.real-estate-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.real-estate-card {
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  gap:22px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 42px rgba(31,35,41,.07);
  transition:.2s ease;
}

.real-estate-card:hover {
  transform:translateY(-4px);
  border-color:rgba(92,184,92,.5);
  box-shadow:0 26px 58px rgba(31,35,41,.11);
}

.real-estate-card-wide {
  grid-column:1 / -1;
}

.real-estate-icon {
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  border-radius:18px;
  background:rgba(92,184,92,.13);
  font-size:31px;
}

.real-estate-card h3 {
  margin:0 0 8px;
  font-size:23px;
  line-height:1.2;
}

.real-estate-card p {
  margin:0 0 15px;
  color:var(--muted);
}

.real-estate-card ul {
  margin:0;
  padding:0;
  list-style:none;
}

.real-estate-card li {
  position:relative;
  margin:8px 0;
  padding-left:22px;
  color:#414950;
}

.real-estate-card li::before {
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green-dark);
  font-weight:900;
}

.real-estate-tags {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.real-estate-tags span {
  padding:8px 12px;
  border:1px solid rgba(92,184,92,.22);
  border-radius:99px;
  background:var(--soft);
  color:var(--green-dark);
  font-size:14px;
  font-weight:750;
}

/* Partnerstwo */

.real-estate-partnership {
  padding:92px 0;
  background:linear-gradient(135deg,#20242b,#10151a);
  color:#fff;
}

.partnership-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(310px,.65fr);
  gap:72px;
  align-items:center;
}

.partnership-content h2 {
  max-width:700px;
  margin:0 0 20px;
  font-size:clamp(38px,5vw,62px);
  line-height:1.04;
  letter-spacing:-.045em;
}

.partnership-content > p {
  max-width:710px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:18px;
}

.partnership-benefits {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:38px;
}

.partnership-benefits > div {
  padding:20px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.05);
}

.partnership-benefits strong {
  display:block;
  margin-bottom:8px;
}

.partnership-benefits span {
  color:rgba(255,255,255,.66);
  font-size:14px;
}

.partner-card {
  padding:34px;
  border-radius:28px;
  background:#fff;
  color:var(--graphite);
  box-shadow:0 28px 70px rgba(0,0,0,.25);
}

.partner-label {
  display:inline-flex;
  padding:7px 11px;
  border-radius:99px;
  background:rgba(92,184,92,.13);
  color:var(--green-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.partner-card h3 {
  margin:18px 0 10px;
  font-size:30px;
}

.partner-card p {
  color:var(--muted);
}

.partner-card > a:not(.btn) {
  display:block;
  margin-top:12px;
  color:var(--green-dark);
  font-weight:800;
  word-break:break-word;
}

.btn-partner-block {
  width:100%;
  margin-top:24px;
}

/* Proces */

.process-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.process-card {
  padding:28px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 38px rgba(31,35,41,.06);
}

.process-card > span {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  margin-bottom:18px;
  border-radius:50%;
  background:rgba(92,184,92,.14);
  color:var(--green-dark);
  font-weight:900;
}

.process-card h3 {
  margin:0 0 8px;
  font-size:21px;
}

.process-card p {
  margin:0;
  color:var(--muted);
}

/* CTA */

.real-estate-cta {
  padding:82px 0;
  background:linear-gradient(135deg,#eef9ef,#fff8ed);
}

.real-estate-cta-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:50px;
}

.real-estate-cta h2 {
  max-width:720px;
  margin:0 0 12px;
  font-size:clamp(36px,4.6vw,58px);
  line-height:1.06;
  letter-spacing:-.045em;
}

.real-estate-cta p {
  max-width:700px;
  margin:0;
  color:var(--muted);
  font-size:17px;
}

.real-estate-cta-buttons {
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:235px;
}

/* Responsywność */

@media (max-width:980px) {
  .real-estate-hero {
    padding-top:125px;
  }

  .real-estate-hero-grid,
  .partnership-grid {
    grid-template-columns:1fr;
  }

  .partnership-benefits {
    grid-template-columns:1fr;
  }

  .process-grid {
    grid-template-columns:repeat(2,1fr);
  }

  .real-estate-cta-inner {
    align-items:flex-start;
    flex-direction:column;
  }

  .real-estate-cta-buttons {
    width:100%;
    flex-direction:row;
  }
}

@media (max-width:720px) {
  .real-estate-grid {
    grid-template-columns:1fr;
  }

  .real-estate-card-wide {
    grid-column:auto;
  }

  .real-estate-card {
    grid-template-columns:1fr;
  }

  .real-estate-icon {
    width:58px;
    height:58px;
  }

  .process-grid {
    grid-template-columns:1fr;
  }
}

@media (max-width:620px) {
  .real-estate-hero {
    padding-top:110px;
    padding-bottom:60px;
  }

  .subpage-hero-content h1 {
    font-size:48px;
  }

  .hero-buttons {
    flex-direction:column;
    align-items:stretch;
  }

  .hero-buttons .btn,
  .real-estate-cta-buttons .btn {
    width:100%;
  }

  .real-estate-cta-buttons {
    flex-direction:column;
  }

  .real-estate-card {
    padding:23px;
  }

  .partner-card {
    padding:26px;
  }
}