.all-projectsHero {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #ddd;
    margin-top: 89px;
}

.all-projectsHero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.all-projects {
    padding: 64px 0 70px 0; 
    background: #fff;
}

.sectionTitle {
    margin: 0 0 18px;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.projectCard__content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: right;
    color: #fff;
}

.projectCard__company {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.2px;
    text-align: left;
}

.projectCard__red {
    position: absolute;
    inset: 0;
    background: rgba(196, 0, 24, 0.92);
    opacity: 0;
    transition: opacity 260ms ease;
}

.projectCard__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.75) 100%);
    transition: opacity 300ms ease;
}

/* Grid para all-projects (3 columnas) */
.projectsGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; /* usás 22px en el slider, mantenemos coherencia */
  margin-top: 26px;
}

@media (max-width: 992px){
  .projectsGrid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px){
  .projectsGrid{ grid-template-columns: 1fr; }
}