/* =========================
   BASE
========================= */
body{
  margin: 0;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #1f2937;
}

/* =========================
   HEADER
========================= */
.page-header{
  padding: 30px 40px 10px 40px;
}

.page-title{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #1f2937;
  text-decoration: none;
}

.page-title .back{
  padding: 6px 12px;
  border-radius: 10px;
  background: #fff7ed;
  color: #ea580c;
  font-size: .9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: all .25s ease;
}

.page-title:hover .back{
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   GRID DE APLICACIONES
========================= */
.app-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 por fila */
  gap: 20px;
  padding: 30px 40px;
}

/* =========================
   TARJETAS
========================= */
.app-card{
  height: 120px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.app-card i{
  font-size: 34px;
  color: #f97316;
  margin-bottom: 6px;
}

.app-card span{
  font-size: .95rem;
  font-weight: 700;
}

/* Hover */
.app-card:hover{
  transform: translateY(-5px);
  border-color: #f97316;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px){
  .app-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px){
  .app-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px){
  .app-grid{
    grid-template-columns: 1fr;
  }
}
