* { box-sizing: border-box; margin: 0; padding: 0; }

.pg { font-family: inherit; }

.hero {
  background-image: url(/static/img/formacion/for-img-1.webp);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,17,25,0.92) 0%,
    rgba(0,38,58,0.85) 60%,
    rgba(0,55,84,0.75) 100%
  );
  z-index: 0;
  border-radius: 16px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 250px; height: 250px;
  background: radial-gradient(circle,
    rgba(0,55,84,0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cat-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  border-radius: 16px;
}

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; padding: 32px 24px; }
  .hero__visual { display: none; }
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,105,0,0.12);
  border: 1px solid rgba(255,105,0,0.25);
  color: #FF6900; font-size: 14px; font-weight: 600;
  padding: 4px 12px; border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero__title {
  font-size: clamp(24px, 4vw, 59px);
  font-weight: 800; line-height: 1.1;
  color: #E8EEF2; margin-bottom: 12px;
  text-align: left;
  margin-top: 40px;
}
.hero__title span { color: #FF6900; }
.hero__desc {
  font-size: 15px; line-height: 1.7;
  color: #8BA0AD; max-width: 480px;
  margin-bottom: 40px;
}
.hero__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
.hero__stat-num {
  font-size: 60px; font-weight: 800; margin-bottom: 5px;
  color: #E8EEF2; line-height: 1; text-align: center;
}
.hero__stat-label {
  font-size: 14px; color: #4a6070; margin-top: 2px; width: 100px; text-align: center;
}
.hero__visual {
  display: flex; align-items: center;
  justify-content: center; z-index: 1;
}
.hero__icon-wrap {
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,105,0,0.08);
  border: 1px solid rgba(255,105,0,0.2);
  display: flex; align-items: center;
  justify-content: center;
}
.hero__icon-wrap i { font-size: 64px; color: rgba(255,105,0,0.6); }

.section-label {
  font-size: 11px; font-weight: 700; color: #4a6070;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.cat-card {
  background: #00202F;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, transform 0.15s;
}
.cat-card:hover {
  border-color: rgba(255,105,0,0.35);
  transform: translateY(-2px);
}
.cat-thumb {
  height: 100px;
  background: #001119;
  display: flex;
  align-items: center;
  justify-content: left;
  position: relative;
  overflow: hidden;
  padding-left: 16px;
}
.cat-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, #00202F);
}
.cat-thumb-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,105,0,0.15);
  border: 1px solid rgba(255,105,0,0.25);
  display: flex; align-items: center;
  justify-content: center; z-index: 1;
}
.cat-thumb-icon i { font-size: 28px; color: #FF6900; }
.cat-body { padding: 14px 16px 16px; }
.cat-title {
  font-size: 25px; font-weight: 600; color: #E8EEF2;
  margin-bottom: 6px; line-height: 1.3;
}
.cat-desc {
  font-size: 15px; color: #8BA0AD;
  line-height: 1.5; margin-bottom: 12px; margin-top: 16px;
}
.cat-meta {
  display: flex; align-items: center;
  justify-content: space-between;
}
.cat-count {
  font-size: 12px; color: #4a6070;
  display: flex; align-items: center; gap: 4px;
}
.cat-count i { font-size: 13px; }
.cat-arrow {
  width: 70px; height: 70px; border-radius: 8px;
  background: rgba(255,105,0,0.1);
  display: flex; align-items: center; justify-content: center;
}
.cat-arrow i { font-size: 40px; color: #FF6900; }

.empty {
  text-align: center; padding: 48px 24px;
  color: #4a6070; font-size: 40px;
}

i.ti.ti-school{
  color: #FF6900;
}

i.ti.ti-layout-grid{
  color: white;
}

.grid-banner{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  font-size: 15px;
  font-family: 'Verdana', 'Arial', sans-serif !important;
  color: #2C2C2C;
}