/* ==========================================
   GRID DE MODULOS HOME - COPERA
   ========================================== */

.modulos-home {
  background: white;
  padding: 4rem 2rem;
}

.modulos-home__container {
  max-width: 1200px;
  margin: 0 auto;
}

.modulos-home__header {
  text-align: center;
  margin-bottom: 3rem;
}

.modulos-home__tag {
  display: inline-block;
  background: rgba(0, 165, 81, 0.1);
  color: #00a551;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 2px solid #00a551;
}

.modulos-home__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #192335;
  margin-bottom: 0.5rem;
}

.modulos-home__subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.modulos-home__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.modulos-home__card {
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.modulos-home__card:hover {
  border-color: #00a551;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 165, 81, 0.1);
  text-decoration: none;
}

.modulos-home__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #00a551, #a3dc35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.modulos-home__icon i {
  font-size: 1.5rem;
  color: white;
}

.modulos-home__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #192335;
  margin-bottom: 0.5rem;
}

.modulos-home__card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modulos-home__card-link {
  color: #00a551;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s ease;
}

.modulos-home__card:hover .modulos-home__card-link {
  gap: 0.6rem;
}

.modulos-home__more {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 968px) {
  .modulos-home__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .modulos-home__grid {
    grid-template-columns: 1fr;
  }

  .modulos-home {
    padding: 3rem 1rem;
  }
}