/* Acasă — dashboards. */

.home-grid {
  display: grid; gap: 20px; align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
}
.home-grid--client { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
@media (max-width: 1080px) { .home-grid, .home-grid--client { grid-template-columns: minmax(0, 1fr); } }

/* Portfolio by stage, on the dark card */
.pipeline { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.pipeline li { display: flex; flex-direction: column; gap: 8px; }
.pipeline__top { display: flex; justify-content: space-between; font-size: var(--text-sm); font-weight: 750; }
.pipeline__top span:last-child { color: var(--mint); }
.pipeline p { font-size: var(--text-xs); color: var(--on-dark-faint); }

/* Activity feed */
.feed { list-style: none; padding: 8px 24px 16px; }
.feed li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed p { font-size: var(--text-md); color: var(--ink-2); }
.feed p strong { color: var(--ink); }
.feed p.muted { margin-top: 2px; font-size: var(--text-xs); color: var(--muted); }

/* Client hero: greeting, journey, the one next step */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px; border-radius: 28px;
  background: var(--dark); color: var(--on-dark);
}
.hero::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 48px; transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(217, 242, 107, 0.16), rgba(217, 242, 107, 0));
  pointer-events: none;
}
.hero__eyebrow { font-size: var(--text-sm); font-weight: 750; color: var(--mint); }
.hero h1 { color: var(--on-dark); margin-top: -12px; }
.hero .step { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: var(--on-dark-muted); }
.hero .step--done { color: var(--mint); }
.hero .step--done .step__dot { background: rgba(169, 211, 197, 0.18); color: var(--mint); }
.hero .step--now { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hero .step--now .step__dot { background: var(--dark); color: var(--accent); }
.hero__next {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px; border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__next-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.02em; }
.hero__next-text { margin-top: 4px; max-width: 560px; font-size: var(--text-md); color: var(--on-dark-muted); }
@media (max-width: 640px) { .hero { padding: 24px 20px; border-radius: 24px; } .hero__next .btn { width: 100%; } }
