/* Real Estate App — 08 Process */

@keyframes cw-re-process-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-real-estate-app-process {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-real-estate-app-process__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-real-estate-app-process__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-real-estate-app-process__head-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-real-estate-app-process__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-real-estate-app-process__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-real-estate-app-process__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.cw-real-estate-app-process__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
}

.cw-real-estate-app-process__steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .cw-real-estate-app-process__steps {
    grid-template-columns: repeat(7, minmax(90px, 120px));
  }
}

.cw-real-estate-app-process__step {
  border: 0;
  background: transparent;
  color: #141210;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 90px;
  opacity: 0.6;
  font-family: inherit;
  transition: opacity 0.25s;
}

.cw-real-estate-app-process__step.is-active {
  opacity: 1;
}

.cw-real-estate-app-process__step.is-past {
  opacity: 0.85;
}

.cw-real-estate-app-process__step:focus-visible {
  outline: 2px solid #0b6b4f;
  outline-offset: 4px;
  border-radius: 4px;
}

.cw-real-estate-app-process__bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(20, 18, 16, 0.18);
  transition: background 0.3s;
}

.cw-real-estate-app-process__step.is-past .cw-real-estate-app-process__bar,
.cw-real-estate-app-process__step.is-active .cw-real-estate-app-process__bar {
  background: #141210;
}

.cw-real-estate-app-process__no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
}

.cw-real-estate-app-process__step-title {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
}

.cw-real-estate-app-process__detail {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: center;
}

.cw-real-estate-app-process__detail.is-updating {
  animation: cw-re-process-in 0.35s ease;
}

.cw-real-estate-app-process__detail-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-real-estate-app-process__detail-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #0b6b4f;
}

.cw-real-estate-app-process__detail-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.cw-real-estate-app-process__detail-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3a3530;
}
