/* =========================================================
   OPINIE.CSS — poprawiona wersja premium
   ========================================================= */

.reviews-intro,
.reviews-feature,
.reviews-list{
  background: #f7f4f1;
}

.reviews-intro{
  padding: 64px 0 24px;
}

.reviews-intro-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.reviews-intro-copy{
  max-width: 760px;
}

.reviews-intro-title{
  margin: 0;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #171717;
}

.reviews-intro-lead{
  margin: 16px 0 0;
  color: #5d5d5d;
  font-size: 18px;
  line-height: 1.85;
}

.reviews-intro-text{
  margin: 16px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.82;
}

.reviews-values{
  display: grid;
  gap: 14px;
}

.reviews-value{
  padding: 24px 24px 22px;
  border: 1px solid rgba(60, 45, 32, 0.10);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 34px rgba(35, 24, 16, 0.05);
}

.reviews-value-title{
  margin: 0;
  color: #1d1d1d;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.reviews-value-text{
  margin: 10px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================
   WYRÓŻNIONA OPINIA
========================================= */

.reviews-feature{
  padding: 14px 0 26px;
}

.feature-review{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 0;
  border: 1px solid rgba(60, 45, 32, 0.10);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,247,244,0.96) 100%);
  box-shadow: 0 20px 44px rgba(31, 22, 15, 0.08);
}

.feature-review__content{
  position: relative;
  padding: 38px 38px 34px;
}

.feature-review__content::before{
  content: "“";
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 132px;
  line-height: 1;
  color: rgba(180, 143, 101, 0.13);
  pointer-events: none;
}

.review-stars{
  color: #b28759;
  font-size: 16px;
  letter-spacing: 0.14em;
  user-select: none;
}

.review-stars--feature{
  margin-top: 10px;
}

.feature-review__quote{
  margin: 24px 0 0;
}

.feature-review__quote p{
  margin: 0;
  color: #1f1f1f;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.feature-review__person{
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-review__meta{
  min-width: 0;
}

.feature-review__name{
  color: #1f1f1f;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.feature-review__place{
  margin-top: 4px;
  color: #777;
  font-size: 14px;
}

.feature-review__media{
  display: block;
  min-height: 100%;
  background: #111;
  text-decoration: none;
}

.feature-review__media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease, filter .35s ease;
}

.feature-review__media:hover img{
  transform: scale(1.04);
  filter: saturate(1.03);
}

/* =========================================
   BADGE / AVATAR
========================================= */

.review-badge{
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(60, 45, 32, 0.12);
}

.review-badge--image{
  object-fit: cover;
  object-position: center;
  background: #eee;
}

.review-badge--initials{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0e2d0 0%, #d8b48c 100%);
  color: #342417;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 10px 22px rgba(72, 44, 26, .08);
}

/* =========================================
   LISTA OPINII
========================================= */

.reviews-list{
  padding: 14px 0 74px;
}

.reviews-list-head{
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

.reviews-list-title{
  margin: 0;
  color: #171717;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.reviews-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.review-card{
  position: relative;
  grid-column: span 6;
  padding: 24px;
  border: 1px solid rgba(60, 45, 32, 0.10);
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 14px 34px rgba(31, 22, 15, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.review-card::before{
  content: "“";
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(180, 143, 101, 0.12);
  pointer-events: none;
}

.review-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31, 22, 15, 0.08);
  border-color: rgba(60, 45, 32, 0.18);
}

.review-card--wide{
  grid-column: span 8;
}

.review-card__top{
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__meta{
  min-width: 0;
}

.review-card__name{
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.review-card__place{
  margin-top: 4px;
  color: #777;
  font-size: 14px;
}

.review-card .review-stars{
  margin-left: auto;
  font-size: 14px;
}

.review-card__body{
  margin-top: 16px;
}

.review-card__text{
  margin: 0;
  color: #505050;
  font-size: 16px;
  line-height: 1.8;
}

.review-card__work{
  display: block;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(60, 45, 32, 0.10);
  background: #f0f0f0;
  text-decoration: none;
}

.review-card__work img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease, filter .35s ease;
}

.review-card__work:hover img{
  transform: scale(1.05);
  filter: saturate(1.03);
}

/* =========================================
   CTA — BLUR
========================================= */

.reviews-cta{
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(90px, 11vw, 130px);
  background: #060606;
}

.reviews-cta__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.reviews-cta__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(18px);
  opacity: .68;
}

.reviews-cta__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%);
}

.reviews-cta__inner{
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.reviews-cta__kicker{
  color: rgba(223, 197, 162, .86);
}

.reviews-cta__title{
  margin: 0;
  color: #f3ece4;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}

.reviews-cta__lead{
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.42;
}

.reviews-cta__actions{
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.reviews-cta__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);
  -webkit-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;
}

.reviews-cta__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(241,229,214,.56);
  color: #fff;
  text-decoration: none;
}

.reviews-cta__btn-arrow{
  font-size: 22px;
  line-height: 1;
}

/* =========================================
   LIGHTBOX
========================================= */

html.is-lb-open,
body.is-lb-open{
  overflow: hidden;
}

.lb-backdrop{
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.92);
}

.lb-backdrop.is-open{
  display: flex;
}

.lb-backdrop .lb-img{
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.lb-backdrop .lb-close,
.lb-backdrop .lb-prev,
.lb-backdrop .lb-next{
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.lb-backdrop .lb-close{
  top: 18px;
  right: 18px;
  font-size: 28px;
}

.lb-backdrop .lb-prev,
.lb-backdrop .lb-next{
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
}

.lb-backdrop .lb-prev{ left: 18px; }
.lb-backdrop .lb-next{ right: 18px; }

.lb-backdrop .lb-close:hover,
.lb-backdrop .lb-prev:hover,
.lb-backdrop .lb-next:hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.34);
}

/* =========================================
   RWD
========================================= */

@media (max-width: 1100px){
  .reviews-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card,
  .review-card--wide{
    grid-column: auto;
  }
}

@media (max-width: 980px){
  .reviews-intro-grid,
  .feature-review{
    grid-template-columns: 1fr;
  }

  .feature-review__media{
    min-height: 320px;
  }
}

@media (max-width: 720px){
  .reviews-intro{
    padding: 42px 0 18px;
  }

  .reviews-grid{
    grid-template-columns: 1fr;
  }

  .review-card{
    padding: 20px;
    border-radius: 20px;
  }

  .feature-review{
    border-radius: 22px;
  }

  .feature-review__content{
    padding: 24px 22px;
  }

  .feature-review__quote p{
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.46;
  }

  .review-card__top{
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .review-card .review-stars{
    margin-left: 0;
    width: 100%;
  }

  .reviews-cta{
    padding: 74px 0 86px;
  }

  .reviews-cta__title{
    font-size: clamp(36px, 10vw, 52px);
  }

  .reviews-cta__lead{
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.5;
  }

  .reviews-cta__actions{
    margin-top: 26px;
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-cta__btn{
    justify-content: center;
    width: 100%;
    min-height: 56px;
    font-size: 17px;
  }

  .lb-backdrop .lb-prev,
  .lb-backdrop .lb-next{
    display: none;
  }
}
/* =========================================================
   NADPISANIE — wyśrodkowanie opinii na dole
   ========================================================= */

.reviews-list-head{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-list-title{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.reviews-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.review-card,
.review-card--wide{
  grid-column: auto !important;
  width: 100%;
  max-width: 560px;
  flex: 0 1 560px;
}

.review-card--wide{
  max-width: 860px;
  flex-basis: 860px;
}

@media (max-width: 1100px){
  .review-card,
  .review-card--wide{
    max-width: 100%;
    flex-basis: calc(50% - 9px);
  }

  .review-card--wide{
    flex-basis: 100%;
    max-width: 860px;
  }
}

@media (max-width: 720px){
  .reviews-grid{
    gap: 16px;
  }

  .review-card,
  .review-card--wide{
    flex-basis: 100%;
    max-width: 100%;
  }
}