/* =============================================
   CS Social Proof Block
   Prefix: .re-cs-
   ============================================= */

.re-cs-social-proof-wrap {
  --re-dark:  #203749;
  --re-teal:  #4AF7B0;
  --re-white: #ffffff;
}

.re-cs-social-proof {
  background: #203749;
  background-image: url("../../../../uploads/2020/10/mountainsminified.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.re-cs-social-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 55, 73, 0.72);
  z-index: 0;
}

.re-cs-sp-inner {
  position: relative;
  z-index: 1;
}

/* Label + Headline overrides for dark bg */
.re-cs-sp-label {
  color: rgba(62, 248, 174, 0.9) !important;
}

.re-cs-sp-label::before {
  background: #4AF7B0 !important;
}

.re-cs-sp-h2 {
  font-family: "Mark-Bold", sans-serif;
  font-size: clamp(20px, 5vw, 34px);
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2;
  margin-bottom: 10px;
}

.re-cs-sp-h2 em {
  font-style: normal;
  color: #4AF7B0 !important;
}

/* ── Grid ── */
.re-cs-sp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Quote ── */
.re-cs-quote-block {
  position: relative;
}

.re-cs-quote-mark {
  font-family: "Mark-Heavy", sans-serif;
  font-size: clamp(48px, 12vw, 96px);
  line-height: 0.7;
  color: rgba(62, 248, 174, 0.25);
  margin-bottom: 8px;
}

.re-cs-quote-text {
  font-family: "Mark-Regular", sans-serif;
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
}

.re-cs-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.re-cs-author-name {
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 800;
  color: #fff;
}

.re-cs-author-role {
  font-size: clamp(11px, 2.2vw, 12px);
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
}

/* Author photo */
.re-cs-team-photo-wrap {
  position: relative;
  margin: 20px 0 0;
  border-radius: 50%;
  overflow: hidden;
  width: 100px;
  height: 100px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.re-cs-team-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s ease;
}

.re-cs-team-photo-wrap:hover img {
  transform: scale(1.03);
}

.re-cs-team-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 32, 44, 0) 40%, rgba(18, 32, 44, 0.72) 100%);
  pointer-events: none;
}

/* ── Right column ── */
.re-cs-sp-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Behind-the-project card */
.re-cs-behind-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: clamp(16px, 3vw, 22px);
}

.re-cs-behind-card h3 {
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4AF7B0;
  margin-bottom: 12px;
}

.re-cs-team-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.re-cs-team-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 10px 4px 5px;
}

.re-cs-team-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(62, 248, 174, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #4AF7B0;
  font-weight: 800;
}

.re-cs-team-chip span {
  font-size: clamp(10px, 2vw, 12px);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Awards card */
.re-cs-awards-card {
  background: #4AF7B0;
  border: 1px solid rgba(32, 55, 73, 0.22);
  border-radius: 6px;
  padding: clamp(16px, 3vw, 22px);
}

.re-cs-awards-card h3 {
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #203749;
  margin-bottom: 12px;
}

.re-cs-awards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.re-cs-award-cert {
  background: transparent;
  border-radius: 4px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.re-cs-award-cert:hover {
  transform: translateY(-2px);
}

.re-cs-award-cert img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */

@media (min-width: 768px) {
  .re-cs-sp-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
  }
  .re-cs-team-photo-wrap {
    margin: 24px 0 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  }
  .re-cs-behind-card {
    padding: 20px 24px;
  }
  .re-cs-behind-card h3 { margin-bottom: 14px; }
  .re-cs-awards-row { gap: 10px; }
}

@media (min-width: 1024px) {
  .re-cs-sp-grid { gap: 48px; }
  .re-cs-behind-card { padding: 22px; }
}
