/* =============================================
   CS Hero Block
   Prefix: .re-cs-
   ============================================= */

.re-cs-hero-wrap {
  --re-teal:   #4AF7B0;
  --re-slate:  #203749;
  --re-dark:   #203749;
  --re-white:  #ffffff;
  --re-light:  #f0f0f0;
  --re-border: #cccccc;
  --re-muted:  #4f5963;
}

/* ── HERO ── */
.re-cs-hero {
  overflow: hidden;
  max-width: 100vw !important;
  padding: 12px 0 0;
  background: var(--re-white);
  display: flex;
  flex-direction: column;
}

.re-cs-hero-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.re-cs-hero-content {
  max-width: 740px;
}

/* ── Hero Image – Mobile first: below text, 100% width, 40vh ── */
.re-cs-hero-image-right {
  width: 100%;
  height: 40vh;
  min-height: 200px;
  max-height: 340px;
  overflow: hidden;
  margin-top: 24px;
}

.re-cs-hero-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Typography ── */
.re-cs-hero h1 {
  font-family: "Mark-Heavy", sans-serif;
  font-size: clamp(24px, 6vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--re-dark);
}

.re-cs-hero-subtitle,
.re-cs-hero-subtitle p {
  font-family: "Mark-Medium", sans-serif;
  font-size: clamp(14px, 3.8vw, 18px);
  line-height: 1.4;
  color: var(--re-dark);
  margin-bottom: 24px;
}

.re-cs-hero-subtitle em,
.re-cs-hero-subtitle p em {
  font-style: normal;
  color: var(--re-teal);
  font-family: "Mark-Bold", sans-serif;
}

.re-cs-hero-breadcrumb {
  font-size: clamp(10px, 2.2vw, 12px);
  color: var(--re-muted);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.re-cs-hero-breadcrumb a {
  color: var(--re-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.re-cs-hero-breadcrumb a:hover {
  color: #4AF7B0;
}

.re-cs-hero-breadcrumb em {
  font-style: normal;
  color: #4AF7B0;
}

.re-cs-hero-context,
.re-cs-hero-context p {
  font-family: "Mark-Regular", sans-serif;
  font-size: clamp(14px, 3.2vw, 18px);
  line-height: 1.5;
  color: var(--re-dark);
  margin-bottom: 0;
  max-width: 720px;
}

.re-cs-hero-context strong,
.re-cs-hero-context p strong {
  color: var(--re-dark);
}

/* ── Client Card ── */
.re-cs-client-card {
  background: var(--re-light);
  border: 1px solid var(--re-border);
  border-radius: 6px;
  padding: clamp(12px, 3vw, 24px);
  margin-top: 20px;
  max-width: 100%;
}

.re-cs-client-logo-area {
  height: clamp(70px, 20vw, 110px);
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--re-border);
}

.re-cs-client-logo-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.re-cs-client-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.re-cs-client-tag {
  font-size: clamp(9px, 2vw, 10.5px);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--re-teal);
  color: var(--re-dark);
  border: 1px solid var(--re-teal);
}

.re-cs-expertise-stmt {
  font-size: clamp(11px, 2.5vw, 13px);
  color: var(--re-dark);
  line-height: 1.5;
  font-style: italic;
  border-left: 3px solid #4AF7B0;
  padding-left: 10px;
}

.re-cs-client-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--re-border);
}

.re-cs-client-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--re-border);
  gap: 8px;
}

.re-cs-client-meta-label {
  font-size: clamp(8px, 1.8vw, 10px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--re-muted);
  flex-shrink: 0;
}

.re-cs-client-meta-value {
  font-size: clamp(10px, 2vw, 12px);
  color: var(--re-dark);
  font-weight: 600;
  text-align: right;
}

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

/* ── 568px ── */
@media (min-width: 568px) {
  .re-cs-hero { padding-top: 28px; }
  .re-cs-hero-inner { padding: 0 20px; }
  .re-cs-hero-image-right { max-height: 400px; }
}

/* ── 768px ── */
@media (min-width: 768px) {
  .re-cs-hero { padding-top: 40px; }
  .re-cs-hero-inner { padding: 0 30px; }
  .re-cs-client-card { max-width: 85%; }
  .re-cs-hero-image-right {
    height: 44vh;
    max-height: 460px;
  }
}

/* ── 1024px: Side-by-side Layout ── */
@media (min-width: 1024px) {
  .re-cs-hero {
    flex-direction: row;
    align-items: stretch;
    padding-top: 50px;
  }

  .re-cs-hero-inner {
    flex: 0 1 55%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .re-cs-hero-content {
    max-width: 680px;
    padding-bottom: 40px;
  }

  .re-cs-client-card { max-width: 75%; }

  .re-cs-hero-image-right {
    flex: 0 0 45%;
    height: auto;
    max-height: none;
    min-height: 500px;
    margin-top: 0;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .re-cs-hero-image-right img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ── 1200px ── */
@media (min-width: 1200px) {
  .re-cs-hero { padding-top: 60px; }

  .re-cs-hero-inner {
    flex: 0 1 52%;
    padding: 0 15px 0 max(15px, calc((100vw - 1320px) / 2));
  }

  .re-cs-hero-content {
    margin-top: 30px;
    padding-bottom: 60px;
  }

  .re-cs-hero-image-right {
    flex: 0 0 48%;
    min-height: 580px;
  }
}

/* ── 1440px+ ── */
@media (min-width: 1440px) {
  .re-cs-hero-inner {
    padding-left: calc((100vw - 1320px) / 2);
  }

  .re-cs-hero-content {
    margin-top: 50px;
    padding-bottom: 80px;
  }

  .re-cs-hero-image-right {
    min-height: 640px;
  }
}
