:root {
  --red: #dc2626;
  --dark: #111111;
  --body-bg: #f7f7f5;
  --surface: #ffffff;
  --border: #e4e4e0;
  --text: #1a1a1a;
  --muted: #6b7280;
   --rcp-red: #dc2626;
  --rcp-dark: #111111;
  --rcp-bg: #f7f7f5;
  --rcp-surface: #ffffff;
  --rcp-border: #e4e4e0;
  --rcp-text: #1a1a1a;
  --rcp-muted: #6b7280;
}
* ── SECTION ── */
.rcp-wrap {
  background: var(--rcp-bg);
  padding: 110px 0 100px;
}

.rcp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── HEADER ── */
.rcp-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rcp-eyebrow-bar {
  width: 40px;
  height: 2px;
  background: var(--rcp-red);
  flex-shrink: 0;
}

.rcp-eyebrow-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rcp-red);
}

.rcp-heading {
  font-family: 'Bebas Neue', sans-serif;
  /* reduced size for Recently Completed Projects title */
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--rcp-dark);
  letter-spacing: 0.03em;
  line-height: 0.92;
  margin-bottom: 72px;
}

.rcp-heading span { color: var(--rcp-red); }

/* ── GRID ── */
.rcp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── CARD ── */
.rcp-project-card {
  background: var(--rcp-surface);
  border: 1px solid var(--rcp-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.4s cubic-bezier(0.23,1,0.32,1);
}

.rcp-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.10);
}

/* Image */
.rcp-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.rcp-card-thumb img {
  width: 100%;
  height: 100%;
  /* show entire image instead of cropping */
  object-fit: contain;
  background: #000; /* optional letterbox color */
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.rcp-project-card:hover .rcp-card-thumb img { transform: scale(1.05); }

/* Tag overlaid on image bottom-left */
.rcp-card-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(220,38,38,0.2);
  color: var(--rcp-red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}

/* Body */
.rcp-card-body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rcp-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.rcp-card-location svg {
  width: 13px;
  height: 13px;
  stroke: var(--rcp-red);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.rcp-card-location span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rcp-red);
  text-transform: uppercase;
}

.rcp-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: var(--rcp-dark);
  letter-spacing: 0.04em;
  line-height: 1.0;
  margin-bottom: 6px;
}

/* Red underline accent */
.rcp-card-rule {
  width: 28px;
  height: 2px;
  background: var(--rcp-red);
  border-radius: 2px;
  margin-bottom: 16px;
}

.rcp-card-desc {
  font-size: 0.875rem;
  line-height: 1.78;
  color: var(--rcp-muted);
  font-weight: 400;
  flex: 1;
}

/* ── ANIMATIONS ── */
@keyframes rcpFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rcp-eyebrow  { animation: rcpFadeUp 0.7s ease both; }
.rcp-heading  { animation: rcpFadeUp 0.7s 0.08s ease both; }
.rcp-project-card:nth-child(1) { animation: rcpFadeUp 0.7s 0.15s ease both; }
.rcp-project-card:nth-child(2) { animation: rcpFadeUp 0.7s 0.25s ease both; }
.rcp-project-card:nth-child(3) { animation: rcpFadeUp 0.7s 0.35s ease both; }


body {
  background: var(--body-bg, var(--rcp-bg));
}

/* ── SECTION ── */
.process-section {
  background: var(--body-bg);
  padding: 120px 0 100px;
  overflow: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ── HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 90px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.eyebrow-line { width: 48px; height: 2px; background: var(--red); }

.eyebrow-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  /* match base .main-heading size (~36px, 2.25rem) */
  font-size: clamp(2.25rem, 6vw, 3rem);
  color: var(--dark);
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.section-title span { color: var(--red); }

/* ── PROCESS STEPS ── */
.steps-wrapper { margin-bottom: 90px; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  align-items: center;
  position: relative;
}

.step:last-child { border-bottom: 1px solid var(--border); }

.step::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}

.step:hover::after { transform: scaleX(1); }

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  align-self: center;
}

.step-tag {
  display: inline-block;
  background: rgba(220,38,38,0.07);
  border: 1px solid rgba(220,38,38,0.18);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1.0;
}

.step-body {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.step-info { padding-right: 20px; }

.step-visual {
  height: 350px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.step-visual img {
  width: 100%; height: 100%;
  object-fit: fill;
  transition: transform 0.6s ease;
}

.step:hover .step-visual img { transform: scale(1.04); }

/* Reverse step */
.step.reverse { grid-template-columns: 1fr 1fr 80px; }
.step.reverse .step-num    { order: 3; }
.step.reverse .step-info   { order: 2; }
.step.reverse .step-visual { order: 1; }

/* ── CARDS SECTION ── */
.cards-belt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.cards-belt-header {
  padding: 44px 56px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.belt-header-line { width: 32px; height: 2px; background: var(--red); }

.belt-header-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.info-card {
  border: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s ease;
}

.info-card:last-child { border: 2px solid var(--red); }
.info-card:hover { background: #fafaf8; }

/* IMAGE — top */
.card-visual {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.card-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.info-card:hover .card-visual img { transform: scale(1.04); }

/* TEXT — below image */
.card-content { padding: 32px 36px 40px; flex: 1; }

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  color: var(--dark);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 8px;
}


.card-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header    { animation: fadeUp 0.8s ease both; }
.step:nth-child(1) { animation: fadeUp 0.7s 0.1s ease both; }
.step:nth-child(2) { animation: fadeUp 0.7s 0.2s ease both; }
.step:nth-child(3) { animation: fadeUp 0.7s 0.3s ease both; }
.cards-belt        { animation: fadeUp 0.8s 0.4s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .step, .step.reverse { grid-template-columns: 60px 1fr; }
  .step-visual { display: none; }
  .step.reverse .step-num  { order: 0; }
  .step.reverse .step-info { order: 1; }
  .step.reverse .step-visual { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .info-card { border-right: none; border-bottom: 1px solid var(--border); }
  .info-card:last-child { border-bottom: none; }
  .rcp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .process-section { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* make each step act like a card on mobile */
  .step {
    display: block;
    grid-template-columns: none;
    gap: 12px;
    padding: 18px;
    border: 2px solid var(--primary-red, #dc3545);
    border-radius: 12px;
    margin-bottom: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  }

  /* hide the animated underline */
  .step::after { display: none; }

  .step-num {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.95rem;
    color: var(--red);
    margin-bottom: 8px;
  }

  .step-info { padding-right: 0; }
  .step-title { margin-bottom: 6px; }
  .step-body { margin-top: 0; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .cards-belt-header { padding: 24px 16px 16px; }
  .card-content { padding: 20px; }
  .rcp-wrap { padding: 60px 0 40px; }
  .rcp-container { padding: 0 16px; }
  .rcp-grid { grid-template-columns: 1fr; }
  .rcp-heading { margin-bottom: 32px; }
  .step-tag { display: none; }
}

