/* ===========================
   SECCIÓN – Emprendimientos destacados
   =========================== */

.empr-section {
  padding: 3rem 0;
  background-color: var(--aqc-gris-claro);
}

.empr-header {
  text-align: center;
  margin-bottom: 2rem;
}

.empr-title {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--aqc-azul);
}

.empr-description {
  margin: 0 auto;
  max-width: 600px;
  font-size: 0.98rem;
  color: #555555;
}

/* “Carrusel” horizontal con scroll-snap sin JS */

.empr-carousel {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.empr-carousel::-webkit-scrollbar {
  height: 6px;
}

.empr-carousel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.empr-carousel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

/* Tarjetas de emprendimiento */

.empr-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background-color: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.16s ease-out,
    box-shadow 0.2s ease-out;
}

.empr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.empr-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 65%;
  overflow: hidden;
}

.empr-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.empr-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aqc-azul), var(--aqc-azul-oscuro));
  color: #ffffff;
  font-size: 0.9rem;
}

/* Contenido dentro de la tarjeta */

.empr-content {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.empr-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222222;
}

.empr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  font-size: 0.8rem;
  color: #666666;
}

.empr-meta-item i {
  margin-right: 0.2rem;
}

.empr-excerpt {
  font-size: 0.85rem;
  color: #555555;
  margin-top: 0.25rem;
}

.empr-link {
  margin-top: 0.5rem;
  align-self: flex-start;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--aqc-rojo);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(211, 0, 0, 0.08);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.empr-link:hover,
.empr-link:focus {
  background: var(--aqc-rojo);
  color: #ffffff;
}

/* Texto cuando está vacío */

.empr-empty {
  text-align: center;
  margin-top: 2rem;
  color: #666666;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */

@media (min-width: 900px) {
  .empr-carousel {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }

  .empr-card {
    flex: 0 0 calc(25% - 1rem); /* 4 por fila aprox en desktop */
  }
}
