.inv-hero {
  margin: 10px 12px 0;
  border-radius: 20px;
  border: 1px solid rgba(240,165,0,0.2);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0f2c68 0%, #1a3a7c 100%);
}

.inv-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}

.inv-hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #fff;
  font-weight: 700;
  margin: 0.5rem 0;
}

.inv-hero-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 500px;
  margin: 0.8rem auto 0;
  line-height: 1.7;
}

.inv-sec {
  padding: 4rem 1.5rem;
}
.inv-card {
  background: linear-gradient(135deg, #0f2c68, #1a3a7c);
  border-radius: 20px;
  border: 1px solid rgba(240,165,0,0.2);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: rgba(240,165,0,0.35);
}

.inv-card-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(240,165,0,0.3);
}

.inv-card-cuerpo {
  color: #a8b8d8;
  font-size: 0.95rem;
  line-height: 1.85;
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .inv-hero { margin: 8px 6px 0; min-height: 200px; }
  .inv-sec  { padding: 2.5rem 1rem; }
  .inv-card { padding: 1.5rem; }
}
.profes-grandes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.profe-card-grande {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.profe-card-grande:hover {
  border-color: rgba(240,165,0,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.06);
}

.profe-avatar-grande {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid #F0A500;
  box-shadow: 0 0 24px rgba(240,165,0,0.25);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profe-avatar-grande img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .profes-grandes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .profes-grandes-grid { grid-template-columns: repeat(2, 1fr); }
}
