/* =======================================
   AG CARDS – GRID INFORMATIVO
   Versión estable
======================================= */

.ag-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.ag-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}

.ag-card-icon {
  font-size: 30px;
  margin-bottom: 12px;
  display: block;
}

.ag-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.ag-card h3 a {
  text-decoration: none;
  color: #1e293b;
}

.ag-card h3 a:hover {
  text-decoration: underline;
}

.ag-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #444;
}

/* Responsive */

@media (max-width: 768px) {

  .ag-cards-grid {
    gap: 16px;
  }

  .ag-card {
    padding: 20px 18px;
  }

  .ag-card h3 {
    font-size: 16px;
  }

  .ag-card p {
    font-size: 13px;
  }

}
