/* Texto destacado y CTA */
.projects-highlight { text-align: center; margin-bottom: var(--space-lg); }
.projects-cta--center {
  margin-top: var(--space-md);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-md); text-align: center;
}
.projects-cta--center .btn { margin-left: 0; }

/* Grilla de proyectos */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: var(--space-xl);
}

/* Card de proyecto */
.project-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.project-card__media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f5f5f5;
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.project-card__body { padding: var(--space-md); display: grid; gap: .5rem; }
.project-card__title { font: inherit; font-weight: 700; font-size: 1.1rem; margin: 0; }
.project-card__meta { color: var(--color-muted-text); font-size: .95rem; }
.project-card__actions { margin-top: .5rem; }

.project-card__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  background: var(--color-primary); color: #fff; text-decoration: none; font-weight: 600;
}
.project-card__btn:hover { filter: brightness(.95); }

@media (max-width: 900px) {
  .page-hero { padding: 4.5rem 0; }
}
