/* ═══════════════════════════════════════════════════
   Enfoques Transversales · Hub CTeI · CENIGAA
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.et-hero {
  background: #0d1126;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  overflow: hidden;
}
.et-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(0, 91, 190, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 85% 20%,  rgba(29, 107, 58, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.et-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.et-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}
.et-back:hover { color: rgba(255, 255, 255, 0.75); }

.et-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary, #005bbe);
  margin-bottom: 0.5rem;
}

.et-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
}

.et-hero-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.72;
  max-width: 560px;
  margin: 0 0 2rem;
}

/* Stats strip */
.et-hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 0.65rem 1.5rem;
  backdrop-filter: blur(6px);
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.et-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0 1.1rem;
}
.et-stat-n {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.et-stat-l {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.et-stat-sep {
  width: 1px;
  height: 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Contenedor de cards ── */
.et-cards-wrap {
  background: #f4f6f9;
  padding: 3rem 2rem 5rem;
}
.et-cards {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Card de enfoque ── */
.et-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
  text-decoration: none;
  color: inherit;
}
.et-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Cabecera coloreada */
.et-card-top {
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.et-card-top::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.et-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.et-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.35rem;
}

.et-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

/* Cuerpo */
.et-card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.et-card-desc {
  font-size: 0.845rem;
  color: #4b5563;
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

/* Mini stats dentro de la card */
.et-card-stats {
  display: flex;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.et-card-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.5rem;
  border-right: 1px solid #e5e7eb;
}
.et-card-stat:last-child { border-right: none; }
.et-card-stat-n {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.et-card-stat-l {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-top: 0.2rem;
  text-align: center;
}

/* CTA */
.et-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  align-self: flex-start;
}
.et-card-cta i { font-size: 0.72rem; transition: transform 0.18s; }
.et-card-cta:hover i { transform: translateX(3px); }

/* Colores por card */
.et-card--ocde .et-card-top  { background: linear-gradient(135deg, #005bbe 0%, #003d8f 100%); }
.et-card--ocde .et-card-stat-n { color: #005bbe; }
.et-card--ocde .et-card-cta { background: rgba(0, 91, 190, 0.08); color: #005bbe; }
.et-card--ocde .et-card-cta:hover { background: rgba(0, 91, 190, 0.15); }

.et-card--ods .et-card-top   { background: linear-gradient(135deg, #1D6B3A 0%, #124a27 100%); }
.et-card--ods .et-card-stat-n { color: #1D6B3A; }
.et-card--ods .et-card-cta { background: rgba(29, 107, 58, 0.08); color: #1D6B3A; }
.et-card--ods .et-card-cta:hover { background: rgba(29, 107, 58, 0.15); }

.et-card--mision .et-card-top { background: linear-gradient(135deg, #0C3B6E 0%, #071f3b 100%); }
.et-card--mision .et-card-stat-n { color: #0C3B6E; }
.et-card--mision .et-card-cta { background: rgba(12, 59, 110, 0.08); color: #0C3B6E; }
.et-card--mision .et-card-cta:hover { background: rgba(12, 59, 110, 0.15); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .et-cards { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .et-hero { padding-top: calc(80px + 1.5rem); padding-left: 1.25rem; padding-right: 1.25rem; }
  .et-hero-inner { align-items: flex-start; text-align: left; }
  .et-hero-stats { padding: 0.6rem 0.85rem; }
  .et-stat { padding: 0 0.75rem; }
  .et-cards-wrap { padding: 2rem 1.25rem 3.5rem; }
}
