* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  font-family: "Open Sans", sans-serif;
}

/* ===== MAIN ===== */
.header-sgst {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #004d40;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
  flex-wrap: wrap;
}

.header-sgst h1 {
  font-size: 2rem;
  font-weight: bold;
}

.header-sgst img {
  max-height: 70px;
}

.cajas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 20px;
}

.box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.box h2 {
  font-size: 1.2rem;
  color: #004d40;
  margin-bottom: 15px;
  text-align: center;
}

.box img {
  display: block;
  max-width: 120px;
  margin: 0 auto 15px;
}

.box p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  text-align: justify;
}

.box ul {
  list-style: disc inside;
  margin-top: 10px;
}

.box ul li {
  margin-bottom: 5px;
}

.box a {
  color: #d32f2f;
  text-decoration: none;
  font-weight: bold;
}

.box a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .h1, .h2 {
    font-size: 1.4rem;
  }

  .imglogoc {
    width: 120px;
    height: 120px;
  }

  .box h2 {
    font-size: 1rem;
  }

  .box p {
    font-size: 0.9rem;
  }

  .direc {
    font-size: 16px;
  }
}
