/* =========================================================
   HOME.CSS — tylko strona główna (premium)
   - split, badges, oferta (duże zdjęcia), steps, opinie, kontakt
   ========================================================= */

.muted{ color: var(--muted); }

.home-block--alt{
  background: color-mix(in srgb, var(--surface) 72%, transparent 28%);
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent 30%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent 30%);
}

/* Split */
.home-split{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}

.home-media-card{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-media-card img{
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* Badges */
.home-badges{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent 12%);
  font-weight: 760;
  font-size: 13px;
}

/* =========================
   HOME — OFERTA
   ========================= */
.home-offer{
  padding: clamp(72px, 9vw, 110px) 0;
  background: #f6f4f1;
}

.home-offer__intro{
  max-width: 860px;
  margin-bottom: 34px;
}

.home-offer__intro .section-eyebrow{
  margin: 0 0 10px;
}

.home-offer__intro .section-title{
  margin: 0 0 14px;
}

.home-offer__intro .section-lead{
  max-width: 760px;
  margin: 0;
}

.home-offer-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.65fr);
  grid-template-areas:
    "featured bath wardrobes"
    "featured bath wardrobes"
    "featured skosy stairs"
    "cta      skosy stairs";
  gap: 22px;
  align-items: stretch;
}

.offer-tile{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(25, 25, 25, 0.08);
  box-shadow: 0 14px 38px rgba(0,0,0,.06);
}

.offer-tile__media{
  position: relative;
  overflow: hidden;
}

.offer-tile__media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .45s ease;
}

.offer-tile:hover .offer-tile__media img{
  transform: scale(1.03);
}

/* układ kart */
.offer-tile--featured{ grid-area: featured; min-height: 760px; }
.offer-tile--bath{ grid-area: bath; min-height: 360px; }
.offer-tile--wardrobes{ grid-area: wardrobes; min-height: 360px; }
.offer-tile--skosy{ grid-area: skosy; min-height: 360px; }
.offer-tile--stairs{ grid-area: stairs; min-height: 360px; }

/* duża karta */
.offer-tile--featured .offer-tile__media{
  position: absolute;
  inset: 0;
}

.offer-tile--featured .offer-tile__media::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 42%, rgba(0,0,0,.56) 100%);
}

.offer-tile--featured .offer-tile__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.offer-tile--featured .offer-tile__content{
  max-width: 560px;
}

.offer-tile--featured h3{
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 800;
}

.offer-tile--featured p{
  margin: 12px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 22px;
  line-height: 1.35;
}

/* małe wysokie karty */
.offer-tile--small{
  display: grid;
  grid-template-rows: 220px auto;
}

.offer-tile--small .offer-tile__media{
  height: 220px;
}

.offer-tile--small .offer-tile__body{
  padding: 22px 22px 24px;
}

.offer-tile--small h3{
  margin: 0 0 10px;
  color: #171717;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 750;
}

.offer-tile--small p{
  margin: 0;
  color: #666057;
  font-size: 15px;
  line-height: 1.55;
}

/* CTA w lewej dolnej kolumnie */
.home-offer__cta{
  grid-area: cta;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.home-offer__cta .btn{
  min-height: 52px;
  padding-inline: 22px;
}

/* tablet */
@media (max-width: 1100px){
  .home-offer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "featured featured"
      "bath wardrobes"
      "skosy stairs"
      "cta cta";
  }

  .offer-tile--featured{
    min-height: 560px;
  }

  .offer-tile--bath,
  .offer-tile--wardrobes,
  .offer-tile--skosy,
  .offer-tile--stairs{
    min-height: 320px;
  }
}

/* mobile */
@media (max-width: 720px){
  .home-offer{
    padding: 64px 0 80px;
  }

  .home-offer-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "bath"
      "wardrobes"
      "skosy"
      "stairs"
      "cta";
    gap: 18px;
  }

  .offer-tile--featured{
    min-height: 460px;
  }

  .offer-tile--featured .offer-tile__overlay{
    padding: 22px;
  }

  .offer-tile--featured h3{
    font-size: clamp(28px, 8vw, 40px);
  }

  .offer-tile--featured p{
    font-size: 18px;
  }

  .offer-tile--small{
    grid-template-rows: 200px auto;
    min-height: auto;
  }

  .offer-tile--small .offer-tile__media{
    height: 200px;
  }

  .offer-tile--small .offer-tile__body{
    padding: 18px 18px 20px;
  }

  .offer-tile--small h3{
    font-size: 19px;
  }

  .home-offer__cta{
    justify-content: flex-start;
  }
}
/* =========================================
   HERO — center + full screen background
   ========================================= */
.page-hero--home.page-hero--image{
  min-height: 100vh;
  height: 100vh;
}

.page-hero--home .page-hero-layer{
  min-height: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.page-hero--home .page-hero-inner{
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.page-hero--home .page-hero-text--centered{
  width: min(100%, 860px);
  margin: 0 auto;
  padding-top: clamp(18px, 3vh, 42px);
  text-align: center;
  display: grid;
  justify-items: center;
}

.page-hero--home .page-hero-eyebrow--hero{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0 18px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.page-hero--home .page-hero-eyebrow--hero::before,
.page-hero--home .page-hero-eyebrow--hero::after{
  content: '';
  position: absolute;
  top: 50%;
  width: 92px;
  height: 1px;
  background: rgba(245,239,232,.38);
}

.page-hero--home .page-hero-eyebrow--hero::before{
  right: 100%;
  margin-right: 18px;
}

.page-hero--home .page-hero-eyebrow--hero::after{
  left: 100%;
  margin-left: 18px;
}

.page-hero--home .page-hero-eyebrow__brand{
  color: #fff;
  font-weight: 800;
}

.page-hero--home .page-hero-eyebrow__dot{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(214,184,138,.95);
  flex: 0 0 auto;
}

.page-hero--home .page-hero-eyebrow__meta{
  color: rgba(255,255,255,.72);
}

.page-hero--home .page-hero-title--hero{
  margin: 0 auto;
  max-width: 9ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.035em;
  color: #f5efe8;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.page-hero--home .page-hero-lead--hero{
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.page-hero--home .page-hero-actions--hero{
  margin-top: 34px;
  justify-content: center;
  gap: 18px;
}

.hero-btn{
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.hero-btn:hover{
  transform: translateY(-1px);
}

.hero-btn--primary{
  background: rgba(18,18,18,.58);
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

.hero-btn--primary:hover{
  background: rgba(18,18,18,.72);
  border-color: rgba(255,255,255,.34);
}

.hero-btn--secondary{
  background: transparent;
  color: #f5efe8;
  border: 1px solid rgba(245,239,232,.55);
  backdrop-filter: blur(6px);
}

.hero-btn--secondary:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(245,239,232,.78);
  color: #fff;
}

@media (max-width: 900px){
  .page-hero--home .page-hero-title--hero{
    max-width: 10ch;
    font-size: clamp(46px, 9vw, 72px);
  }

  .page-hero--home .page-hero-lead--hero{
    max-width: 620px;
    font-size: clamp(18px, 3.2vw, 24px);
  }
}

@media (max-width: 640px){
  .page-hero--home .page-hero-text--centered{
    max-width: 100%;
  }

  .page-hero--home .page-hero-eyebrow--hero{
    margin-bottom: 18px;
    padding: 7px 12px;
    font-size: 10px;
    letter-spacing: .14em;
  }

  .page-hero--home .page-hero-title--hero{
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 54px);
    line-height: .98;
  }

  .page-hero--home .page-hero-lead--hero{
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.4;
  }

  .page-hero--home .page-hero-actions--hero{
    margin-top: 24px;
    gap: 12px;
  }

  .hero-btn{
    min-height: 52px;
    padding: 0 22px;
    font-size: 16px;
  }
}

/* =========================================
   O FIRMIE — mniej “ściany tekstu”, premium podział
   ========================================= */

.about-feature{ padding-top: 54px; padding-bottom: 54px; }

.about-feature-title{
  margin: 0;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.about-feature-lead{
  margin: 12px 0 0;
  max-width: 72ch;
}

.about-feature .home-badges{ margin-top: 16px; margin-bottom: 14px; }

.about-feature-top{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1060px;
  margin-inline: auto;
}

.about-feature-col{
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-feature-kicker{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 30%, var(--muted) 70%);
  font-weight: 800;
}

.about-feature-text{
  margin: 0;
  line-height: 1.65;
  max-width: 56ch;
  color: color-mix(in srgb, var(--text) 86%, var(--muted) 14%);
}

.about-feature-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: color-mix(in srgb, var(--text) 70%, var(--muted) 30%);
  line-height: 1.55;
}

.about-feature-list li{
  position: relative;
  padding-left: 18px;
}

.about-feature-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 70%, var(--muted) 30%);
  transform: translateY(-50%);
}

.about-feature-figure{
  margin: 26px 0 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f0f;
  box-shadow: var(--shadow);
}

.about-feature-figure img{
  width: 100%;
  height: clamp(280px, 36vw, 520px);
  object-fit: cover;
  display: block;
}

/* RWD */
@media (max-width: 980px){
  .home-split{ grid-template-columns: 1fr; }
  .offer-card{ grid-column: span 6; }

  .about-feature-top{ grid-template-columns: 1fr; gap: 18px; }
  .about-feature-text{ max-width: 70ch; }
  .about-feature-figure img{ height: clamp(240px, 55vw, 420px); }
}
@media (max-width: 560px){
  .offer-card{ grid-column: span 12; }
}

/* =========================
   HOME — OPINIE / ZAUFANIE
   ========================= */
.home-trust{
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(90px, 11vw, 130px);
  background: #060606;
}

.home-trust__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-trust__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(18px);
  opacity: .68;
}

.home-trust__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,.18) 0%, rgba(10,10,10,.18) 24%, rgba(10,10,10,.33) 68%, rgba(10,10,10,.56) 100%),
    radial-gradient(circle at center, rgba(205,168,125,.10) 0%, rgba(205,168,125,0) 58%);
}

.home-trust__inner{
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow--light{
  color: rgba(223, 197, 162, .86);
}

.home-trust__title{
  margin: 0;
  color: #f3ece4;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}

.home-trust__lead{
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.42;
}

.home-trust__actions{
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.home-trust__btn{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 20px;
  border: 1px solid rgba(241,229,214,.38);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  color: #f6eee4;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home-trust__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(241,229,214,.56);
  color: #fff;
}

.home-trust__btn-arrow{
  font-size: 22px;
  line-height: 1;
}

.home-trust__socials{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-trust__social{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.90);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: opacity .2s ease, transform .2s ease;
}

.home-trust__social:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.home-trust__social-icon{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.home-trust__social-icon--fb{
  background: #1877f2;
  color: #fff;
}

.home-trust__social-icon--g{
  background: #fff;
  color: #4285f4;
}

@media (max-width: 900px){
  .home-trust__title{
    font-size: clamp(36px, 8vw, 58px);
  }

  .home-trust__lead{
    font-size: clamp(17px, 3vw, 22px);
  }

  .home-trust__actions{
    gap: 18px;
  }
}

@media (max-width: 640px){
  .home-trust{
    padding: 74px 0 86px;
  }

  .home-trust__lead{
    margin-top: 14px;
    line-height: 1.5;
  }

  .home-trust__actions{
    margin-top: 26px;
    flex-direction: column;
    align-items: stretch;
  }

  .home-trust__btn{
    justify-content: center;
    width: 100%;
    min-height: 56px;
    font-size: 17px;
  }

  .home-trust__socials{
    justify-content: center;
    gap: 14px;
  }

  .home-trust__social{
    font-size: 16px;
  }

  .home-trust__social-icon{
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}